Re: Release DE10 Nano Overclock Kernel BETA
Posted: Sat Jul 30, 2022 1:04 pm
MI2 test is in the Cartrographer's room at the start. Thats the hardest bit of music for the system.
The online community for MiSTer FPGA enthusiasts
https://misterfpga.org/
Here ya go, you be the judge. I'm not much of a MIDI expert. Please excuse the squeaking and static noises in the background, that's just my loud as hell NAS. I assure you the mister output is clear. This is running at 1.2ghz overclock with munt on AO486.
This is awesome that you did that! Thank you for taking the time. It shows how conservative the power budget on the chip is in the first place and how completely safe this really is. I can also confirm the complete stabilty with every core I thrown at it at 1.2ghz. Temperature wise, It has to be negligeable for me as well on the antonio Villena model, but I don't have hard number.wizzo wrote: ↑Fri Jul 29, 2022 10:47 am I ended up doing a little test measuring temperatures at different speeds. The reported temperatures are meaningless given all the variables, but I wanted to see the relative temperature difference. We all seem to agree 800mhz (stock) with a fan and heatsink is safe, right?
- I have an aluminium heatsink and a noctua fan. I ran the test without a case.
- I attached a temperature sensor to the base of the heatsink with a thermal pad, then the sensor connected back to the nano's i2c bus through the RTC board.
- I had an ambient temperature of around 21C.
- I ran through the following a couple times at each speed: menu idle, NES Gradius II, PSX Crash Warped, AO486 Monkey Island 2 with munt running, AO486 Ultima 7 with munt running (Kitrinx mentioned this game was particularly demanding and sensitive to timing issues)
Unless someone really wants me to, I won't write out the whole table here. It turned out to be very predictable and linear. The summary is:
- At each step I left it running long enough for the temperature to stabilise.
- The highest temperature I recorded was 31.4C which is AO486 and munt running at 1.2ghz. The game running didn't seem to matter.
- Lowest temperature was 28.8C for NES running at 400mhz.
- The difference between 800mhz and 1.2ghz across the board is around 0.5C.
- The difference between 400mhz and 800mhz was around 0.3C.
- munt started running well at 1ghz and I had trouble telling the difference between that and 1.2ghz (someone else probably can tell)
- The temperature difference is so small that I had trouble with ambient temperature affecting the result too much.
So that's that. Personally I'm satisfied that the overclock is safe. It's hard to say what the internal temperature of the chip is, or how it's affected by passive cooling and no heatsink... but it's like a 3% temperature difference with my setup. Putting my case back on was like 5x worse for temperature than overclocking to 1.2ghz
- I noticed 2 possible glitches in Ultima but they also occurred at 800mhz. Noticed no glitches otherwise, but this probably needs a lot more testing.
Even without having a MT32pi, when I tried munt a few months ago I could tell it wasn't dead perfect at 1.2ghz but still awesome! It was much better than regular audio, so it's still an upgrade. It's a good middle ground for people, especially currently. At 1ghz it was missing notes, so not great.
I have to agree. Even as a "hidden" option there's some implication of it being supported and safe if the patch is shipped. Where would the warning go as well? It'd be up to the third party scripts to warn users of potential risk. It sounds like there are people in this thread too who got unlucky and overclocking causes crashes
The de10 nano uses a particularly heat-tolerant SoC, specced to run safely at up to 125 degrees C, so any conceivable temperature increase is harmless to the hardware - the worst thing that could happen would be timing issues in the most complex cores (mainly ao486).
Looked for myself, checks out here.ToothbrushThreepwood wrote: ↑Sun Jul 31, 2022 8:41 pmThe de10 nano uses a particularly heat-tolerant SoC, specced to run safely at up to 125 degrees C, so any conceivable temperature increase is harmless to the hardware - the worst thing that could happen would be timing issues in the most complex cores (mainly ao486).
Bring this thing to main (IMO) - the improvement to onboard munt/fluidsynth alone outweighs the potential cons.
Excatly the point since the FPGA is on the same die as the Arm cores this may cause subtle timing issues. We all know the majority of people given a go fast option will turn it on regardless and so this will make support so much harder as we also know that when it breaks people will not remember they have "Turboed" the arm chips.ToothbrushThreepwood wrote: ↑Sun Jul 31, 2022 8:41 pmThe de10 nano uses a particularly heat-tolerant SoC, specced to run safely at up to 125 degrees C, so any conceivable temperature increase is harmless to the hardware - the worst thing that could happen would be timing issues in the most complex cores (mainly ao486).
Bring this thing to main (IMO) - the improvement to onboard munt/fluidsynth alone outweighs the potential cons.
It could be put in some "experimental/unsafe features" tab (like in the PSX core) and have the warning in the scroller text.
At least 99% of the people would still forget that they have turboed the ARM cpu.
It was just an example. You could put it in mister ini too, or whatever, I'm sure there is a reasonably safe way of implementing it.grizzly wrote: ↑Mon Aug 01, 2022 10:49 amAt least 99% of the people would still forget that they have turboed the ARM cpu.
If you added a big red flashing warning sign over the whole screen with a blaring horn that can not be clicked past for 5sec then most people would still forget, sure less then 99%.
Normally I would agree with your point of view and I'makeley wrote: ↑Mon Aug 01, 2022 11:27 am And no, it wouldn't be 99% of users, more like 9, but whatever the number, it's still not a good reason to stop others benefitting from this feature. I find all these nannying attitudes rather bizarre, this is a device for adults and what they do with it past certain level of warnings is on them.
Yeah, pretty sure this will indeed happen, but I'm just talking about the principle, seeing as this "safety" theme appears now and then. And the arguments against are usually not very convincing, same as in this case.
Thank you! Strangely my wifi is still not working with this version. Bluetooth does work fine (strange considering it's a combo adapter.) I have this adapter: https://misteraddons.com/collections/pa ... 4352060549wizzo wrote: ↑Mon Sep 05, 2022 10:09 amHere you go!
https://github.com/wizzomafizzo/mrext/b ... zImage_dtb
Hmm I'm not sure. It works fine on the stock kernel though?centsy wrote: ↑Mon Sep 05, 2022 3:28 pm Thank you! Strangely my wifi is still not working with this version. Bluetooth does work fine (strange considering it's a combo adapter.) I have this adapter: https://misteraddons.com/collections/pa ... 4352060549
Anyone else run into this?
Yea, everything works great on the stock kernel. I see the same issue with the version on the Releases page in the first post, so I'm not sure if your customization is really at fault or if there is some other issue.wizzo wrote: ↑Tue Sep 06, 2022 1:14 amHmm I'm not sure. It works fine on the stock kernel though?centsy wrote: ↑Mon Sep 05, 2022 3:28 pm Thank you! Strangely my wifi is still not working with this version. Bluetooth does work fine (strange considering it's a combo adapter.) I have this adapter: https://misteraddons.com/collections/pa ... 4352060549
Anyone else run into this?
To be clear, the kernel I linked isn't *exactly* the stock kernel plus overclock. I also added a patch for my own wifi dongle and set it to compile wifi and bluetooth into the kernel rather than using modules. But I can't imagine why it would make the wifi on that dongle stop working?
IIRC, some Linux features must be loaded as modules to work correctly; this was some change they made like twenty years ago. It was so long ago that my memory is quite vague, but I remember being frustrated that I couldn't compile static kernels anymore, as I regarded module loading as a security attack surface. (which, ultimately, proved to be correct, although not that important compared to just attacking the drivers directly, in either module or static form.)wizzo wrote: ↑Tue Sep 06, 2022 1:14 amHmm I'm not sure. It works fine on the stock kernel though?centsy wrote: ↑Mon Sep 05, 2022 3:28 pm Thank you! Strangely my wifi is still not working with this version. Bluetooth does work fine (strange considering it's a combo adapter.) I have this adapter: https://misteraddons.com/collections/pa ... 4352060549
Anyone else run into this?
To be clear, the kernel I linked isn't *exactly* the stock kernel plus overclock. I also added a patch for my own wifi dongle and set it to compile wifi and bluetooth into the kernel rather than using modules. But I can't imagine why it would make the wifi on that dongle stop working?
Like Wizzo I don't see what the driver being statically linked vs. a module has to do with overclocking or why the overclocking would break it, assuming the driver works statically linked without the overclock patch.Malor wrote: ↑Sun Oct 16, 2022 1:24 pmIIRC, some Linux features must be loaded as modules to work correctly; this was some change they made like twenty years ago. It was so long ago that my memory is quite vague, but I remember being frustrated that I couldn't compile static kernels anymore, as I regarded module loading as a security attack surface. (which, ultimately, proved to be correct, although not that important compared to just attacking the drivers directly, in either module or static form.)wizzo wrote: ↑Tue Sep 06, 2022 1:14 amHmm I'm not sure. It works fine on the stock kernel though?centsy wrote: ↑Mon Sep 05, 2022 3:28 pm Thank you! Strangely my wifi is still not working with this version. Bluetooth does work fine (strange considering it's a combo adapter.) I have this adapter: https://misteraddons.com/collections/pa ... 4352060549
Anyone else run into this?
To be clear, the kernel I linked isn't *exactly* the stock kernel plus overclock. I also added a patch for my own wifi dongle and set it to compile wifi and bluetooth into the kernel rather than using modules. But I can't imagine why it would make the wifi on that dongle stop working?
While the base wifi and bluetooth can apparently be compiled in, since that's working fine for you, it's possible that the adapter driver he's loading is expecting them to be modules, and thus isn't working. A dmesg dump would probably help pin that down.