Search found 60 matches

by Coolbho3k
Wed Mar 20, 2024 11:12 pm
Forum: Nintendo 64 (N64)
Topic: N64 Core Development Ends
Replies: 43
Views: 8711

Re: N64 Core Development Ends

I ust wanted to throw out here that after some testing last night, I would recommand for people who experience crashes on RE2 and Conker to use the overclock DDR3 RAM script, yesterday I was wondering if I got lucky since I never had any crashes on RE2 while using the script in the past month. So I decided to not use it last night and RE 2 crashed...
by Coolbho3k
Fri Mar 15, 2024 1:24 pm
Forum: Nintendo 64 (N64)
Topic: N64 Core Development Ends
Replies: 43
Views: 8711

Re: N64 Core Development Ends

I ust wanted to throw out here that after some testing last night, I would recommand for people who experience crashes on RE2 and Conker to use the overclock DDR3 RAM script, yesterday I was wondering if I got lucky since I never had any crashes on RE2 while using the script in the past month. So I decided to not use it last night and RE 2 crashed...
by Coolbho3k
Thu Mar 14, 2024 9:39 pm
Forum: Nintendo 64 (N64)
Topic: N64 Core Development Ends
Replies: 43
Views: 8711

Re: N64 Core Development Ends

I ust wanted to throw out here that after some testing last night, I would recommand for people who experience crashes on RE2 and Conker to use the overclock DDR3 RAM script, yesterday I was wondering if I got lucky since I never had any crashes on RE2 while using the script in the past month. So I decided to not use it last night and RE 2 crashed...
by Coolbho3k
Sun Sep 03, 2023 2:34 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Thanks! It's nice to have options like this, I'm all for this kind of tinkering :p I wonder if any of your discoveries could be applied to fix antonio's villena 128mb 4 cells memory incompatibility by allowing to tweak the SDRam timing or overclock it to go around its limitation. I have bought another one a months ago, but I don't like e-waste ^^....
by Coolbho3k
Sun Sep 03, 2023 2:19 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Oh boy Ok so I looked into my og file I was using up until now and it was set to 1200000 while the name was 1.3ghz so that explain why I was having a significant performance boost still compare to stock XD Glad I'm not crazy. Using the loading of N64 Resident Evil 2 USA as a reference benchmark: Stock= 35 seconds memory 1050+cpu at 1.2ghz= 31 seco...
by Coolbho3k
Thu Aug 31, 2023 10:42 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

So which frequency would get apply then if it's set at 1300000? Is the 1400000 number connected to the right value? Since you just told me this I tried it and it didn't immediately crashed I forget if it sets it to 1200000 or doesn't do anything haha. No it isn't connected to anything. You can try 2000000 and it won't crash. Oh boy Ok so I looked ...
by Coolbho3k
Thu Aug 31, 2023 8:01 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Nope, I updated the kernel way back when you did the beta, but since then I just let the main update do its thing. Why it shouldn't work? Is it possible that it actually doesn't apply without any error message? It would be funny, me believing it's running while it's actually not XD Yeah it will probably apply without any error message. The list of...
by Coolbho3k
Thu Aug 31, 2023 7:41 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Thanks! 1050 on memory and 1.3ghz on the CPU is stable for me. 1100 on the memory crashes right away at both 1.2ghz or 1.3ghz 1.3 GHz actually shouldn't work, are you using a custom kernel? Nope, I updated the kernel way back when you did the beta, but since then I just let the main update do its thing. Why it shouldn't work? Is it possible that i...
by Coolbho3k
Thu Aug 31, 2023 7:33 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Neocaron wrote: Thu Aug 31, 2023 7:29 pm

Thanks! 1050 on memory and 1.3ghz on the CPU is stable for me. 1100 on the memory crashes right away at both 1.2ghz or 1.3ghz

1.3 GHz actually shouldn't work, are you using a custom kernel?

by Coolbho3k
Thu Aug 31, 2023 7:08 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Neocaron wrote: Thu Aug 31, 2023 6:55 pm

how would I go to combine the CPU OC + the memory OC in one script?

You can just copy the following lines near the top of the memory overclock file, after #!/bin/bash

echo "1200000" > "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
echo "Max CPU frequency set to 1200 MHz"

by Coolbho3k
Thu Aug 31, 2023 5:00 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Very nice to see! Any instability to report? Do you have a simple script to run for these? I've been running the 1300 OC pretty consistantly and it has been very stable for me. (Antonio's setup) See https://github.com/coolbho3k/MiSTer-Overclock-Scripts/blob/master/mister_mem_oc.sh Change the TARGET_KHZ line in mister_mem_oc.sh before copying it ov...
by Coolbho3k
Wed Aug 30, 2023 9:50 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

I don't think the N64 core will need this anymore as it's coming along great but there's some fascinating improvements from overclocking memory in Robert's DDR3 test core. There are across the board improvements to latency. There is a great improvement to bandwidth on non-burst reads. There is barely any improvement to bandwidth on burst reads. At ...
by Coolbho3k
Wed Apr 19, 2023 5:51 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Kamil wrote: Tue Apr 18, 2023 7:03 pm
Kamil wrote: Tue Mar 29, 2022 7:53 pm

I have a power adapter 5V, 4A.
400 MHz works as it should.
1000 MHz sometimes crashes, even for F9.
1200 MHz crashes when loading core or F9.
I probably lost the silicon fight.
:-(

Hello.
After I used an optical HDMI cable (galvanically separated Mister from the LCD TV), the 1100 MHz overclock works.

That is really weird haha.

by Coolbho3k
Wed Apr 19, 2023 5:39 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

FPGA64 wrote: Tue Apr 18, 2023 4:10 pm

I think its going to lead to a nightmare of support questions. Now not only can you have people having overclocked the Arm but also their memory potentially to just on the edge of stability.

I've also been exploring tweaking some of the DDR3 registers in a way that isn't overclocking but might improve things for core developers.

by Coolbho3k
Tue Apr 18, 2023 5:59 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Robert did some initial tests in the MiSTer Discord with some of these tweaks. Overclocking the RAM did make a difference, the other tweaks not so much, including changing CL. One of the tweaks made the performance worse. One of the other tweaks didn't make a difference in the benchmark - I think it might actually be prioritizing FPGA memory access...
by Coolbho3k
Mon Apr 17, 2023 2:43 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

One more register that may helpful: https://www.intel.com/content/www/us/en/programmable/hps/cyclone-v/hps.html#sfo1411577375739.html This allows you to configure the memory ports to disable "auto-precharge" which improves "highly random accesses" - maybe this could improve latency at the cost of throughput for cores? devmem 0xF...
by Coolbho3k
Mon Apr 17, 2023 1:58 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Poking around some other settings. One of the complaints about DDR3 for cores is that the latency can be inconsistent due to contention with the HPS/Linux side of things. But it seems the priority of memory access can be customized. By default it seems the memory controller prioritizes HPS and FPGA memory access equally. These tweaks are not overcl...
by Coolbho3k
Mon Apr 17, 2023 12:21 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

I also found where to adjust timings: https://www.intel.com/content/www/us/en/programmable/hps/cyclone-v/hps.html#sfo1411577368421.html Ie. to set CL latency from 7 to 6 the command is devmem 0xFFC25004 w 0x783CCC07 Although timings can also be adjusted in u-boot here. https://github.com/MiSTer-devel/u-boot_MiSTer/blob/MiSTer/board/terasic/de10-nan...
by Coolbho3k
Sun Apr 16, 2023 11:24 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

I messaged Robert and he's now aware of it and will keep it mind as he's developing the N64 core :) Actually I came back to this because I heard the big news about the N64 core and that he was using the DDR3. Apparently the DDR3 has plenty of bandwidth for the N64 core, but latency might be an issue, especially given the shared nature of the memory...
by Coolbho3k
Sat Apr 15, 2023 9:25 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Well that didn't take long. Here are the commands to overclock DDR3. Try at your own risk. These commands must be run sequentially - that is, you must overclock to 900 MHz before setting 950 MHz, as large jumps will cause the system to crash. I could make clock transitions smooth with a kernel driver like I did with the CPUfreq one. The SDRAM part ...
by Coolbho3k
Sat Apr 15, 2023 7:20 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

With the announcement of the N64 core I'm going to start looking into if I can do anything with the DDR3.

by Coolbho3k
Thu Dec 15, 2022 7:38 am
Forum: Hardware Setups
Topic: Questions about MT-32 Pi or Pi-Midi
Replies: 17
Views: 2308

Re: Questions about MT-32 Pi or Pi-Midi

Where can I even buy an assembled Pi-Midi?

by Coolbho3k
Wed Nov 02, 2022 4:37 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

So if I put the modded kernel in now, will update_all override it even if there hasn't been a main kernel update yet? Getting impatient for it to come down officially... update_all will not override your custom kernel until an official Linux update comes I believe. And when the official Linux update comes, it'll include these changes, so I think y...
by Coolbho3k
Thu Oct 27, 2022 4:42 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

@theypsilon has accepted my PR to MiSTer-unstable-nightlies and now we have automatic unstable builds of the kernel! I haven't tested this specific build yet but it should be working.

https://github.com/MiSTer-unstable-nigh ... ble-builds
by Coolbho3k
Mon Oct 24, 2022 10:27 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Currently it gets unstable before it gets hot. So if you push to 1.4ghz you just get instability, but not in a way where you would TJ max the chip or burn it. This will not happen in a official kernel anyway. Maybe someone will do what Coolbho3k while pushing voltage up and clocking it at 1.6 or even 2 ghz but this will never end up into main sinc...
by Coolbho3k
Mon Oct 24, 2022 5:40 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Not to go off topic, but if it's just close enough at 1.2 GHz, has anyone tried just running `renice` on the munt process to make it a higher priority when running it on-board? After the overclock the process priority might just make a difference. I haven't tried no, how would that work? Is the Kernel in main already updated btw? Not yet, the kern...
by Coolbho3k
Mon Oct 24, 2022 5:02 pm
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Not to go off topic, but if it's just close enough at 1.2 GHz, has anyone tried just running `renice` on the munt process to make it a higher priority when running it on-board? After the overclock the process priority might just make a difference.
by Coolbho3k
Mon Oct 24, 2022 3:23 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

And, it's merged into main! Thanks everyone who tested and Sorg. There should be no need to install my built kernel once the kernel is next updated; in the meantime, the zImage_dtb link will be in the OP!
by Coolbho3k
Sun Oct 23, 2022 8:08 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Its still unproven. The arm cores have no thermal throttle. Its a very dangerous thing to put into main and should be left as a user replace option. 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 happ...
by Coolbho3k
Sun Oct 23, 2022 7:49 am
Forum: Linux
Topic: Release DE10 Nano Overclock Kernel BETA
Replies: 202
Views: 171388

Re: Release DE10 Nano Overclock Kernel BETA

Sorry guys, been neglecting my duty here. Released a new binary zImage_dtb with latest MiSTer kernel changes merged in: https://github.com/coolbho3k/Linux-Kernel_MiSTer/releases/tag/v1.0.1 Wifi and Bluetooth are working for me with no other changes. My branch is also updated with these changes so folks can of course continue to build against it. I ...