Change core clock from 59.18 hz to 60 hz
Change core clock from 59.18 hz to 60 hz
Hello
I want to change the clock of the neo geo system from the current 59.18 hz to 60 hz, I have downloaded quartus and the files to compile the core but I do not know what parameter the clock changes.
The problem I have is that the tv where it is connected mister is not able to synchronize with the pixel clock of neo geo and you get a scroll stutter every x seconds, and I tried all the vsync options and it is the same in all.
If someone is so kind to indicate me and apologize for my English, thanks in advance.
I want to change the clock of the neo geo system from the current 59.18 hz to 60 hz, I have downloaded quartus and the files to compile the core but I do not know what parameter the clock changes.
The problem I have is that the tv where it is connected mister is not able to synchronize with the pixel clock of neo geo and you get a scroll stutter every x seconds, and I tried all the vsync options and it is the same in all.
If someone is so kind to indicate me and apologize for my English, thanks in advance.
-
- Core Developer
- Posts: 216
- Joined: Sun May 24, 2020 8:48 pm
- Has thanked: 49 times
- Been thanked: 285 times
Re: Change core clock from 59.18 hz to 60 hz
At Project Navigator at top left select IP Components.
Right click Entity "pll" -> Edit in parameter editor.
There you see Desired Frequency 96.0 & 48.0 Mhz. For 60Hz you need 60/59.18 x 96Mhz = 97.330180 and 48.665090. Enter those both at Desired Frequency and then make sure Actual Frequency matches exactly. Finally click Finish.
Right click Entity "pll" -> Edit in parameter editor.
There you see Desired Frequency 96.0 & 48.0 Mhz. For 60Hz you need 60/59.18 x 96Mhz = 97.330180 and 48.665090. Enter those both at Desired Frequency and then make sure Actual Frequency matches exactly. Finally click Finish.
-
- Posts: 257
- Joined: Sun May 24, 2020 9:06 pm
- Has thanked: 64 times
- Been thanked: 13 times
Re: Change core clock from 59.18 hz to 60 hz
Just to add to this, I'm not sure it will help you. 59.18 isn't an unusual frequency for 15khz capable displays so I'd be more inclined to believe you have other issues.
Do any other cores work on this display? What is it?
Do any other cores work on this display? What is it?
Re: Change core clock from 59.18 hz to 60 hz
Thank you very much, it works perfect, now I have smooth scrolling without stuttering. Again, thank you very muchpaulbnl wrote: ↑Mon Oct 26, 2020 12:31 pm At Project Navigator at top left select IP Components.
Right click Entity "pll" -> Edit in parameter editor.
There you see Desired Frequency 96.0 & 48.0 Mhz. For 60Hz you need 60/59.18 x 96Mhz = 97.330180 and 48.665090. Enter those both at Desired Frequency and then make sure Actual Frequency matches exactly. Finally click Finish.
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
Can you please share the compiled core? I also have the same stuttering problem on my TV. Thanks!
Re: Change core clock from 59.18 hz to 60 hz
HiInsert Disk Two wrote: ↑Sat Dec 05, 2020 1:53 pm Can you please share the compiled core? I also have the same stuttering problem on my TV. Thanks!
https://mega.nz/file/BFJUXRIS#ANTV25gld ... zLK3heeaZs
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
That's awesome, thank you so much!
Do you plan to keep it updated in the future?
Do you plan to keep it updated in the future?
Re: Change core clock from 59.18 hz to 60 hz
YesInsert Disk Two wrote: ↑Sat Dec 05, 2020 2:57 pm That's awesome, thank you so much!
Do you plan to keep it updated in the future?
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
Neogeo core got updated today. Anyone got a 60hz corrected version of it please? Thanks.
Re: Change core clock from 59.18 hz to 60 hz
Update 60hzInsert Disk Two wrote: ↑Thu Jan 14, 2021 8:17 pm Neogeo core got updated today. Anyone got a 60hz corrected version of it please? Thanks.
https://mega.nz/file/JIp0yQoZ#VvSgmo_Q2 ... eAaAV6RLWw
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
Updates on Neogeo are done by Sorgelig himself and he does not want to include this option.
Re: Change core clock from 59.18 hz to 60 hz
Ahhh ok, if he doesn't want to include that change i'd say there must be a perfectly good reason for that?
Then it's left to people themselves to recompile their custom core i guess.
Then it's left to people themselves to recompile their custom core i guess.
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
Well when I asked him if he could implement it I was told "to buy a good TV"
Unfortunately it doesn't really have to do with a TV being good or not. So at least they are people out there who are doing it themselves. Pity this has to be done manually with every release
Unfortunately it doesn't really have to do with a TV being good or not. So at least they are people out there who are doing it themselves. Pity this has to be done manually with every release
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
Any chance this can be patched for 60hz. This is a custom core with cropping.
http://temlib.org/pub/mister/crop/
http://temlib.org/pub/mister/crop/
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
Official NeoGeo core with 1080p crop is out. Looking forward for a 60hz patched version
Re: Change core clock from 59.18 hz to 60 hz
Update 60hzInsert Disk Two wrote: ↑Thu Feb 11, 2021 10:42 am Official NeoGeo core with 1080p crop is out. Looking forward for a 60hz patched version
https://mega.nz/file/wRwEgAxC#c99a8LP5Z ... NR0eWhs-Ug
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
Thanks for the awesome work, I do hope that at one point Sorgelig implements the option within the official core.
Re: Change core clock from 59.18 hz to 60 hz
I wish this option was included as well. 60hz fixes my wavy picture.
Also I wonder why Sorgelig says to buy a good tv. I have a Sony KV32FV310, I don't think it is bad lol.
There is an option like this on the cave core and it works great.
Thanks for the update joseupp.
Also I wonder why Sorgelig says to buy a good tv. I have a Sony KV32FV310, I don't think it is bad lol.
There is an option like this on the cave core and it works great.
Thanks for the update joseupp.
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
Meanwhile there is another Neo Geo official core update :/ This cat and mouse game will never end
Re: Change core clock from 59.18 hz to 60 hz
Maybe joseupp will update us again.
Now if only jotego would add the option with the cps system. I see from his jtbin github that he is aware of the 60hz issue. Even had a twitter poll about it.
Now if only jotego would add the option with the cps system. I see from his jtbin github that he is aware of the 60hz issue. Even had a twitter poll about it.
-
- Posts: 221
- Joined: Sun May 24, 2020 7:59 pm
- Has thanked: 16 times
- Been thanked: 28 times
Re: Change core clock from 59.18 hz to 60 hz
Yes, I have talked to him about 60hz and he decided to do a poll about it
Re: Change core clock from 59.18 hz to 60 hz
I haven't had any issue on PVM and BVM but I know some CRT such as Barco CRTs have synch issues with Neogeo MiSTer or legit Neogeo hardware
Re: Change core clock from 59.18 hz to 60 hz
joseupp, do you think you could update us? Otherwise I might try to setup myself and provide an update on a regular basis.joseupp wrote: ↑Sat Feb 13, 2021 12:12 amUpdate 60hzInsert Disk Two wrote: ↑Thu Feb 11, 2021 10:42 am Official NeoGeo core with 1080p crop is out. Looking forward for a 60hz patched version
https://mega.nz/file/wRwEgAxC#c99a8LP5Z ... NR0eWhs-Ug
If anyone has pointers to get me running up fast, please let me know. I will start by looking at the official GitHub page.
Re: Change core clock from 59.18 hz to 60 hz
I can now build the core.
Once I confirm it works, I will update this thread with a new version when there is an update on the original core. I might do it thru a github branch in the future. For the time being, mega will suffice for storage I guess.
Once I confirm it works, I will update this thread with a new version when there is an update on the original core. I might do it thru a github branch in the future. For the time being, mega will suffice for storage I guess.
Re: Change core clock from 59.18 hz to 60 hz
Its been a long a difficult journey but I was finally was able to make it happen. Enjoy.
https://mega.nz/folder/xlUVEIzB#vKdNV8vkMuQixxPgItnV2w
https://mega.nz/folder/xlUVEIzB#vKdNV8vkMuQixxPgItnV2w
Re: Change core clock from 59.18 hz to 60 hz
Thank you so, so, much for this. Also to all the others that have contributed to this thread.uberyoji wrote: ↑Thu Feb 25, 2021 2:13 am Its been a long a difficult journey but I was finally was able to make it happen. Enjoy.
https://mega.nz/folder/xlUVEIzB#vKdNV8vkMuQixxPgItnV2w
Outside of my main retro gaming PVM I have an ASUS ROG Swift PG279Q, an Iiyama RedEagle G-Master, and downstairs a Samsung JU7500. The NeoGeo core simply flat-out refuses to lock sync on any of them. I get nothing but a series of flickers followed by a black screen unless I want to forfeit vsync_adjust=2 (no thanks). The only solution up until now was to run the MiSTer through my old Elgato Game Capture HD and activate its software through my computer which would bridge some form of pass-through or sync handshake to my various displays. Hardly ideal.
These revised cores have fixed all of this. Thank you again, honestly. I don't like to power my PVM up unless I'm going to be playing for extended durations, so this has enabled quick-fix bouts of Neo gaming through my LCDs. To me, at least, this is a big deal. If I didn't have the PVM I wouldn't have been able to play at all.
How difficult is the process? It's something I'd like to learn how to do myself and maybe assist with.
Re: Change core clock from 59.18 hz to 60 hz
Not too complicated honestly if you have a little xp in software devs. It is basically those steps high level:
1) install Quartus lite v17.0 (once)
2) Install git (once)
3) Get/update source code from repo
4) Modify Entity pll from 96 to 97.330180 and 48 to 48.665090
5) Compile core
6) Profit
I plan to maintain the 60hz fork forever so no worries, I will always update this thread each time there is a version in a timely fashion now that my setup is done. I put some notifications on the repo to alert myself when the master is updated.
1) install Quartus lite v17.0 (once)
2) Install git (once)
3) Get/update source code from repo
4) Modify Entity pll from 96 to 97.330180 and 48 to 48.665090
5) Compile core
6) Profit
I plan to maintain the 60hz fork forever so no worries, I will always update this thread each time there is a version in a timely fashion now that my setup is done. I put some notifications on the repo to alert myself when the master is updated.
Re: Change core clock from 59.18 hz to 60 hz
Is this an issue where an incompatible pixel clock is being calculated for some displays? I wonder if changing the video mode would help a bit.
A real example. I run vsync_adjust=2 unless forced to otherwise. I had a global video_mode set to 1920x1080@60hz (one of the standard modes available).
The arcade scramble core WOULD NOT sync to my freesync monitor unless I used vsync_adjust=0. I brought it up in the bug tracker and Sorg said that sometimes the calculated pixel clock isn't compatible, so maybe try the PAL (50hz) mode. That works, and since I am using vsync_adjust=2, the vertical refresh matches the core like it should.
If you're using vsync_adjust=2 try another video mode and see what happens.
Issue for reference: https://github.com/MiSTer-devel/Arcade- ... /issues/25
A real example. I run vsync_adjust=2 unless forced to otherwise. I had a global video_mode set to 1920x1080@60hz (one of the standard modes available).
The arcade scramble core WOULD NOT sync to my freesync monitor unless I used vsync_adjust=0. I brought it up in the bug tracker and Sorg said that sometimes the calculated pixel clock isn't compatible, so maybe try the PAL (50hz) mode. That works, and since I am using vsync_adjust=2, the vertical refresh matches the core like it should.
If you're using vsync_adjust=2 try another video mode and see what happens.
Issue for reference: https://github.com/MiSTer-devel/Arcade- ... /issues/25