Page 3 of 4

Re: Change core clock from 59.18 hz to 60 hz

Posted: Fri Mar 25, 2022 1:21 am
by uberyoji
lufeig wrote: Fri Mar 25, 2022 1:15 am Latest 20220212 core patched to 60Hz

https://mega.nz/file/qShQjAjD#5J6MJsUah ... TC_W1AVwgo
Maybe we should start an github fork together and release those thru a custom db. What do you think?

Re: Change core clock from 59.18 hz to 60 hz

Posted: Fri Mar 25, 2022 1:39 am
by lufeig
I'm sorry but don't have the knowledge nor the discipline for that.

I just modified the source code according to the instructions given on this post and compiled it.

Sharing the compiled patched core is my way to say "thanks" for all the information shared here. ;)

_________________________

EDIT: @uberyoji, if you want, feel free to test and upload to your Mega account the file I shared here. No need for credits, all I did was following instructions.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Fri Mar 25, 2022 2:00 am
by uberyoji
Eheh all good lufeig. I'll make it happen now that I know how to make custom mister DBs.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Fri Mar 25, 2022 4:38 am
by uberyoji
Done. Now you can use the update_all script to update the custom core. Enjoy!

Add the following to the bottom of /media/fat/downloader.ini on your MiSTer:

Code: Select all

[uberyoji_neogeo_mister_60hz]
db_url = https://raw.githubusercontent.com/uberyoji/NeoGeo_MiSTer_60hz/master/releases/uberyoji_neogeo_mister_60hz.json
If you want to update manually, I will put them in the release folder of the github fork.
https://github.com/uberyoji/NeoGeo_MiSTer_60hz

Re: Change core clock from 59.18 hz to 60 hz

Posted: Fri Mar 25, 2022 11:29 am
by lufeig
uberyoji wrote: Fri Mar 25, 2022 4:38 am Done. Now you can use the update_all script to update the custom core. Enjoy!

Add the following to the bottom of /media/fat/downloader.ini on your MiSTer:

Code: Select all

[uberyoji_neogeo_mister_60hz]
db_url = https://raw.githubusercontent.com/uberyoji/NeoGeo_MiSTer_60hz/master/releases/uberyoji_neogeo_mister_60hz.json
If you want to update manually, I will put them in the release folder of the github fork.
https://github.com/uberyoji/NeoGeo_MiSTer_60hz
nice initiative, congrats! well done!

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sun Mar 27, 2022 5:51 am
by lufeig
uberyoji wrote: Fri Mar 25, 2022 4:38 am Done. Now you can use the update_all script to update the custom core. Enjoy!

Add the following to the bottom of /media/fat/downloader.ini on your MiSTer:

Code: Select all

[uberyoji_neogeo_mister_60hz]
db_url = https://raw.githubusercontent.com/uberyoji/NeoGeo_MiSTer_60hz/master/releases/uberyoji_neogeo_mister_60hz.json
If you want to update manually, I will put them in the release folder of the github fork.
https://github.com/uberyoji/NeoGeo_MiSTer_60hz
neo geo core was updated yesterday, march 26th.

this is the updated core with the 60Hz patch. you can upload it to your github release folder if you want to save a couple of minutes instead of compiling it. ;)

https://mega.nz/file/6fwlWLKK#6xHUo_U1v ... Uj1Cgqt3IA

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sun Mar 27, 2022 7:00 pm
by emmadness
Thank you very much for this work! I have some questions:

1. When I access this modified 60Hz Core, is there something to "activate" in the options?

2. What are the games where you can feel the difference with 60Hz?

I am using a Dell LCD 17" FP1708FP 1280x1024@60Hz monitor with DVI to HDMI output.

I would like to do some tests well and draw conclusions. Thank you very much!

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sun Mar 27, 2022 8:10 pm
by uberyoji
There is nothing to activate as both aes and mvs have their timing set to 60hz. However what I could do is change the timing only on the mvs. This way 60hz be toggled by using the menu.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sun Mar 27, 2022 9:04 pm
by emmadness
uberyoji wrote: Sun Mar 27, 2022 8:10 pm There is nothing to activate as both aes and mvs have their timing set to 60hz. However what I could do is change the timing only on the mvs. This way 60hz be toggled by using the menu.
That's good because I just like the MVS arcade experience and I play that way.
Can you tell me a couple of games where at 60Hz the change is noticeable? Whether for better or worse, no problem. I want to feel the difference.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sun Mar 27, 2022 9:13 pm
by uberyoji
Core updated. Just run the updater if you configured the custom db.
On my end I didnt notice any difference in any roms.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sun Mar 27, 2022 9:26 pm
by lufeig
On Samurai Shodown II (Samurai Spirits II), on the character selection screen, the background moves constantly from right to left.

On the original core I notice it stuttering from time to time.

On the patched core it moves smoothly.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Tue Mar 29, 2022 10:56 am
by pac
Just had a look out of curiosity - no issues here with the original core in the SS2 character select screen. But as always, depends on lots of factors like the display used (LG OLED gen 8 here).

Re: Change core clock from 59.18 hz to 60 hz

Posted: Tue Mar 29, 2022 10:34 pm
by uberyoji
It is mainly for crts.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sat Apr 02, 2022 3:15 pm
by mistahsnart
For those curious about what 60hz does for HD displays, we had a good discussion on it a while ago. 15khz shadow flickers on the Neo Geo are usually the most notable visible artifact with it's slightly off timing on fixed refresh panels. I have a crystal modded MVS to run at 60hz just for this issue.

viewtopic.php?t=2562

Does it "matter"? Subjectively it can be a distraction, but it's one of those "once you see it, you can't unsee it" things.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sat Apr 02, 2022 7:22 pm
by emmadness
lufeig wrote: Sun Mar 27, 2022 9:26 pm On Samurai Shodown II (Samurai Spirits II), on the character selection screen, the background moves constantly from right to left.

On the original core I notice it stuttering from time to time.

On the patched core it moves smoothly.
I've tried it and you're right, good detail!

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sun Apr 03, 2022 5:29 pm
by lufeig
60hz patched core based on the latest release 20220403

https://mega.nz/file/HDYQmYYD#Kem7qH2rw ... ulO42f5LN4

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sun Apr 03, 2022 6:06 pm
by uberyoji
Eheh i updated also. If you run update_all with the custom db ;)

Re: Change core clock from 59.18 hz to 60 hz

Posted: Mon Apr 04, 2022 3:02 pm
by Insert Disk Two
I really appreciate people patching cores to 60hz even though certain certain elitist gatekeepers, don't appreciate because they are against options. Is there a way this can be automated, especially for arcade cores where frequencies are all over the place!

Thanks and keep up the good work.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Mon Apr 04, 2022 10:16 pm
by uberyoji
Unfortunately it is very difficult to automate :-/ as each source files are different. On top of that, I don't believe you can automate the compilation online with github tasks for example. As for the neogeo, no worries, I will maintain this fork for a long time. My setup is done and it takes me just a couple of minutes to sync, compile and deploy the custom db.

I tried to modify some cores from jotego but he's using a linux env/setup which I haven't spent enough time putting in place properly.

Is there a particular arcade core you have in mind?

Re: Change core clock from 59.18 hz to 60 hz

Posted: Tue Apr 05, 2022 3:43 pm
by uberyoji
Oh after reading about github actions, I believe some automation could be performed after all as Quartus seems available on linux and could potentially called from command line. Maybe I should start a new thread for further discussion about this.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Wed Apr 06, 2022 1:38 pm
by Insert Disk Two
uberyoji wrote: Mon Apr 04, 2022 10:16 pm Unfortunately it is very difficult to automate :-/ as each source files are different. On top of that, I don't believe you can automate the compilation online with github tasks for example. As for the neogeo, no worries, I will maintain this fork for a long time. My setup is done and it takes me just a couple of minutes to sync, compile and deploy the custom db.

I tried to modify some cores from jotego but he's using a linux env/setup which I haven't spent enough time putting in place properly.

Is there a particular arcade core you have in mind?
Thanks for taking your time to reply!

Joetgo has been asking for help for people to add 60hz options for his core on his Github, here is the link maybe you want to take a look:
https://github.com/jotego/jtbin/issues/157

I have an Eizo S2133 which is proper 4:3 and I use in TATE mode for shmups. It is quite picky with frequency, so not everything works, for example Out Zone (Toaplan), maybe you can take a look. There are a couple of others, if you are interested I can list them as well.

Regarding other games there are some which may also have issues with some TVs, for example Bad Dudes vs Dragon Ninja (I believe its around 57hz) and Double Dragon 1 and 2 (55hz!).

Thanks :)

Re: Change core clock from 59.18 hz to 60 hz

Posted: Tue Oct 04, 2022 4:00 pm
by Primeira_Fase
Please, could anyone make a TurboGFX / PC Engine core with 60hz?

Re: Change core clock from 59.18 hz to 60 hz

Posted: Wed Oct 05, 2022 12:45 am
by Primeira_Fase
Primeira_Fase wrote: Tue Oct 04, 2022 4:00 pm Please, could anyone make a TurboGFX / PC Engine core with 60hz?
Dont need anymore, i have learned how to do It, i maked my own custom core, works great!!!!

Re: Change core clock from 59.18 hz to 60 hz

Posted: Wed Oct 05, 2022 1:14 am
by uberyoji
Primeira_Fase wrote: Wed Oct 05, 2022 12:45 am
Primeira_Fase wrote: Tue Oct 04, 2022 4:00 pm Please, could anyone make a TurboGFX / PC Engine core with 60hz?
Dont need anymore, i have learned how to do It, i maked my own custom core, works great!!!!
Good for you. It is not that hard. I mentionned the steps in the posts.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Tue Oct 11, 2022 8:14 am
by SwedishGojira
Is there nobody able to just add this to the regular core as a setting? Like some other cores have a setting for 60Hz stable. I believe this would be the proper way to do this instead of just releasing alternative cores every release. Sadly don't know how to do this myself :(

Re: Change core clock from 59.18 hz to 60 hz

Posted: Tue Oct 11, 2022 9:52 pm
by uberyoji
Sorge is against it. His answer was to a) buy a better tv or b) fork the core. Which I did.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Wed Oct 12, 2022 4:29 pm
by SwedishGojira
Have anyone actually TRIED to add it as an option? Usually if someone does the actual work and it is done in a proper way then Sorge will actually look at adding functions. But I can understand he don't want to do everything himself.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Sun Oct 23, 2022 10:44 pm
by Ricdeau
Primeira_Fase wrote: Wed Oct 05, 2022 12:45 am
Primeira_Fase wrote: Tue Oct 04, 2022 4:00 pm Please, could anyone make a TurboGFX / PC Engine core with 60hz?
Dont need anymore, i have learned how to do It, i maked my own custom core, works great!!!!
Sorry to not do this via PM, but since I just lurk here and never post I can't send PMs. Would you mind sharing that modified core? Aside from Neo Geo TurboGrafx is the only core that I play that's far enough from 60Hz that my display doesn't like it.

Also many thanks to uberyoji for maintaining this clock adjusted fork of the Neo Geo core.

Re: Change core clock from 59.18 hz to 60 hz

Posted: Mon Oct 24, 2022 4:41 pm
by uberyoji
Ricdeau wrote: Sun Oct 23, 2022 10:44 pm
Primeira_Fase wrote: Wed Oct 05, 2022 12:45 am
Primeira_Fase wrote: Tue Oct 04, 2022 4:00 pm Please, could anyone make a TurboGFX / PC Engine core with 60hz?
Dont need anymore, i have learned how to do It, i maked my own custom core, works great!!!!
Sorry to not do this via PM, but since I just lurk here and never post I can't send PMs. Would you mind sharing that modified core? Aside from Neo Geo TurboGrafx is the only core that I play that's far enough from 60Hz that my display doesn't like it.

Also many thanks to uberyoji for maintaining this clock adjusted fork of the Neo Geo core.
You can find the neogeo fork on my GitHub here: https://github.com/uberyoji/NeoGeo_MiSTer_60hz

Re: Change core clock from 59.18 hz to 60 hz

Posted: Tue Oct 25, 2022 12:28 pm
by Ricdeau
uberyoji wrote: Mon Oct 24, 2022 4:41 pm
Ricdeau wrote: Sun Oct 23, 2022 10:44 pm
Primeira_Fase wrote: Wed Oct 05, 2022 12:45 am

Dont need anymore, i have learned how to do It, i maked my own custom core, works great!!!!
Sorry to not do this via PM, but since I just lurk here and never post I can't send PMs. Would you mind sharing that modified core? Aside from Neo Geo TurboGrafx is the only core that I play that's far enough from 60Hz that my display doesn't like it.

Also many thanks to uberyoji for maintaining this clock adjusted fork of the Neo Geo core.
You can find the neogeo fork on my GitHub here: https://github.com/uberyoji/NeoGeo_MiSTer_60hz
I have your Neo Geo fork. I was seeing if the other guy would share the TG16 modified core.