Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s18: CRT problems #692

Closed
2 tasks done
jotego opened this issue Jun 3, 2024 · 73 comments
Closed
2 tasks done

s18: CRT problems #692

jotego opened this issue Jun 3, 2024 · 73 comments
Assignees
Labels
enhancement New feature or request

Comments

@jotego
Copy link
Owner

jotego commented Jun 3, 2024

Some monitors are troubled with JTS18 analogue video output. Try this:

  • Check that HS length is like the original (VS already checked). The original screenshot is in the doc folder.
  • Compile the core for longer HS lengths and make the file available here for users to check
@jotego jotego added the enhancement New feature or request label Jun 3, 2024
@jotego jotego added this to JTCores Jun 3, 2024
@jotego
Copy link
Owner Author

jotego commented Jun 3, 2024

You could associate the length to the debug_bus, so users can try a few manually

@PapiFed
Copy link

PapiFed commented Jun 3, 2024

Just FYI using DV I have:
No sync on a Sony PVM-2950
Sync on a JVC TMH-150cg

@rp-jt
Copy link
Collaborator

rp-jt commented Jun 5, 2024

I have compiled the core for varying manually the length of HS and VS
You can find the rbf file here:

jts18.rbf.zip

To do so, please press the keys [+] or [-] (or equivalent to where they are in the Spanish keyboard) to adjust horizontally and "Shift + [+]" or "Shift + [-]" to adjust vertically. I leave the position of the keys in the Spanish keyboard below for reference.

To go back to the original settings, Press either "Ctrl + [+]" or "Ctrl + [-]"

An eight-digit number should come up in the bottom of the screen when doing so. The four digits on the right are associated with HS and the 4 in the left with VS. Please let us know if there's an eight digit combination that works for you.
Thanks

Plus-minus-keyboard

@Schermobianco
Copy link

My test on PVM Panasonic BT-1415DA

https://streamable.com/g5cjcy

@PapiFed
Copy link

PapiFed commented Jun 6, 2024

Are Sync width and sync length the same thing ?

@jotego
Copy link
Owner Author

jotego commented Jun 6, 2024

Are Sync width and sync length the same thing ?

Yes. The important parameters are the synchronization signal frequency and its active time (expressed as pulse width or length)

@PapiFed
Copy link

PapiFed commented Jun 6, 2024

Are Sync width and sync length the same thing ?

Yes. The important parameters are the synchronization signal frequency and its active time (expressed as pulse width or length)

Having the option to modulate the vertical sync width in all Cores would be a dream for all high end Ikegami monitors owners (probably JVC DT-V owners also). It is currently only available in a few Cores.

@PapiFed
Copy link

PapiFed commented Jun 6, 2024

Played around quite a bit with this test Core but could not get any non-scrambled image to display on the 2950.

@Fpg-Lee
Copy link

Fpg-Lee commented Jun 6, 2024

Played around quite a bit with this test Core but could not get any non-scrambled image to display on the 2950.

Same here, implementation would benefit from H+V adjustments within the visible GUI via HDMI to stabilize CRT syncs.
P.s the controls wouldn't respond after config for me, I couldn't get a coin to insert to further test game inputs on either game.

@Fpg-Lee
Copy link

Fpg-Lee commented Jun 6, 2024

'Dirty' S18 core control pads don't respond after before/after config for me, I couldn't get a coin to insert to further test game inputs on either game. Thanks

@tonytoon
Copy link

tonytoon commented Jun 6, 2024

FYI ] and / are the US Keyboard equivalents of + and -

@tonytoon
Copy link

tonytoon commented Jun 6, 2024

Went through all 255 possibilities (I assume only the top octet should change?) and did not find anything that synced. Values ending in 2 seemed to be the closest, with no rolling but still clearly off. Sony KV35V75 running svideo.

@Fpg-Lee
Copy link

Fpg-Lee commented Jun 6, 2024

FYI ] and / are the US Keyboard equivalents of + and /

Thanks. Have you tried the core via HDMI? the Core will not add coins, the BETA does.

@tonytoon
Copy link

tonytoon commented Jun 6, 2024

FYI ] and / are the US Keyboard equivalents of + and /

Thanks. Have you tried the core via HDMI? the Core will not add coins, the BETA does.

I did but I didn't even try to insert coins. I spent the whole time stepping through the sync values.

@terminator2k2
Copy link

FYI ] and / are the US Keyboard equivalents of + and /

Thanks. Have you tried the core via HDMI? the Core will not add coins, the BETA does.

I did but I didn't even try to insert coins. I spent the whole time stepping through the sync values.

its likely a debug core , made with no inputs/sound

jotego added a commit that referenced this issue Jun 8, 2024
@jotego
Copy link
Owner Author

jotego commented Jun 8, 2024

So far three users tried this debug build and it only helped one (@Schermobianco). @Schermobianco's video is not available anymore but I think the result was that going from a zero to a non-zero value made it visible. I measured the PCB and found that HS was 6% longer there (equivalent to 2 pixels). I have modified the core to match the PCB length (b7015c2). The extra 320ns may help some users but from the reports here it looks like this change will benefit few people.

HS signal measured on the board: 5.32us active time length
hsync

@Schermobianco
Copy link

Hi @jotego , no it doesn't help me the better sync I had was the same as the original core (top left sync issue)

IMG_20240608_081913.jpg

@Fpg-Lee
Copy link

Fpg-Lee commented Jun 8, 2024

Hi @jotego , no it doesn't help me the better sync I had was the same as the original core (top left sync issue)

IMG_20240608_081913.jpg

Is the updated Core compiled and available? Thanks.

@Schermobianco
Copy link

Hi @jotego , no it doesn't help me the better sync I had was the same as the original core (top left sync issue)

IMG_20240608_081913.jpg

Is the updated Core compiled and available? Thanks.

My photo is from the test core, the updated core compiled isn't available right now

@Fpg-Lee
Copy link

Fpg-Lee commented Jun 8, 2024

Hi @jotego , no it doesn't help me the better sync I had was the same as the original core (top left sync issue)
IMG_20240608_081913.jpg

Is the updated Core compiled and available? Thanks.

My photo is from the test core, the updated core compiled isn't available right now

Gotcha, I ran the updater incase Jose added it to Update all, I got my fingers crossed it improves CRT sync compatibility for many CRT users.

@bazset
Copy link

bazset commented Jun 8, 2024

I tried the first custom core posted. I tried every combination available but nothing synced the picture (Sony PVM).

@jotego when will the new core be posted? will it be combined into the update_all core or will it need to be manually downloaded?

@jotego
Copy link
Owner Author

jotego commented Jun 8, 2024

@jotego when will the new core be posted? will it be combined into the update_all core or will it need to be manually downloaded?

jts18_8db7b95.zip

This version has exactly the same HS/VS signals as the original board. Let me know if it works.

@Schermobianco
Copy link

@jotego when will the new core be posted? will it be combined into the update_all core or will it need to be manually downloaded?

jts18_8db7b95.zip

This version has exactly the same HS/VS signals as the original board. Let me know if it works.

@jotego Same here

VID_20240608_170320.mp4

@jotego
Copy link
Owner Author

jotego commented Jun 8, 2024

Thanks for testing it. We will build another debug version just focusing on HS as it looks like the vertical signal gets locked correctly.

@bazset
Copy link

bazset commented Jun 9, 2024

@jotego I tried the new core in jts18_8db7b95.zip and this is what i got. same as the original core.

sd.mp4

@rogersouza-work
Copy link

@jotego I tried the new core in jts18_8db7b95.zip and this is what i got. same as the original core.

sd.mp4

I've got the same image on my arcade (Toshiba tri-sync monitor)

@Schermobianco
Copy link

Let's try a shorter HS than the original. This compilation uses 3us for HS width, which is a more typical value. Let me know how it goes.

jts18_6ae69c20.rbf.zip

JT in my case it's worse

@rogersouza-work
Copy link

JT, does not work for me either.
BTW, would you recommend someone in Spain (I live in Valencia) for recap service?
Cheers

@PapiFed
Copy link

PapiFed commented Jun 15, 2024

Let's try a shorter HS than the original. This compilation uses 3us for HS width, which is a more typical value. Let me know how it goes.

jts18_6ae69c20.rbf.zip

No luck on the PVM-2950.

@jotego
Copy link
Owner Author

jotego commented Jun 15, 2024

JT, does not work for me either. BTW, would you recommend someone in Spain (I live in Valencia) for recap service? Cheers

Ask here. Another option is RetroArcadia (Tel 615237811).

@rogersouza-work
Copy link

JT, RetroArcadia con Ruben. Genial!
Thanks a lot, and sorry for my misunderstood about recapping and everything.

@erkkav
Copy link

erkkav commented Jun 24, 2024

I also have Sega System 18 core sync problems with my Sega Aero City and it's Nanao MS8 -monitor. Every other Mister core works flawlessly on it. If that's valuable info I have Sega System 18 Multi (from Arcade Projects forums) too. It has Clutch Hitter as donor board. Original Clutch Hitter board and Multi afterwards has worked with the same monitor setup without problems.

@Fpg-Lee
Copy link

Fpg-Lee commented Jun 24, 2024

I also have Sega System 18 core sync problems with my Sega Aero City and it's Nanao MS8 -monitor. Every other Mister core works flawlessly on it. If that's valuable info I have Sega System 18 Multi (from Arcade Projects forums) too. It has Clutch Hitter as donor board. Original Clutch Hitter board and Multi afterwards has worked with the same monitor setup without problems.

I'm seeing quite a few owners of original S18 PCB's say they have no problem with S18 sync. .
What could be causing such incompatibility from the fpga core, that is not present with the original PCB?
Could the problem be coming from the Mister analogue board?

@jotego
Copy link
Owner Author

jotego commented Jun 25, 2024

As explained above, the voltage levels are different. That is not set by the core but by the external DAC.

I do not think there is nothing to do here from the core side. I am closing this issue.

@jotego jotego closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
@github-project-automation github-project-automation bot moved this from 🙋‍♂️ Backlog to ✅ Done in JTCores Jun 25, 2024
@Fpg-Lee
Copy link

Fpg-Lee commented Jun 25, 2024

As explained above, the voltage levels are different. That is not set by the core but by the external DAC.

I do not think there is nothing to do here from the core side. I am closing this issue.

Hey Jose, I scrolled above, but did not see an explanation about DAC voltage levels being different from the original PCB, apologize if I missed/misread anything.
I saw your replies regarding you suggesting people get their CRT serviced, and you saying you may add further H+V sync settings to the core, what is the reality moving forward for the Mister DAC issue on S18?

Gracias.

@jotego
Copy link
Owner Author

jotego commented Jun 25, 2024

Here it is: #692 (comment)

As I said, core-wise I cannot do anything effective. I could add more options but I think it is not going to help. I can modify the core speed, and that may lock the signal better in those screens with problems but at the cost of altering the gameplay.

MiSTer hardware vendors could add a voltage adjustment to the DAC output for this. That is rather common in supergun devices to connect arcade PCBs. This would require a new IO board or an adapter. There are probably things one can do to the signals between the MiSTer and the TV set to fix this. Most notably, changing the voltage levels, changing the line impedance and limiting the bandwidth.

We may try to limit the bandwidth at the core output a bit, as part of the work we are doing on a different topic. That may help but I cannot know for sure.

If I had one of these screens, I would service it and replace all capacitors.

By the way, I can see a similar effect on my CRT with a completely different core. Ghosts'n Goblins video output does not get synchronized until the game gets to the screen full of capital H characters. After that, the TV is able to lock it in. So even the video content can have an effect on the PLL locking the synchronization signal. That clearly points to noise coupling inside the TV set. My point is that video locking is a sensitive analog signal processing and tiny things can disturb it.

@jotego
Copy link
Owner Author

jotego commented Jun 25, 2024

Another solution for troubled users is to use MiSTer's composite output instead of component. There is a chance that may work as the signal goes through a lot of processing that will alter the conditions for the PLL synchronization circuit.

@Fpg-Lee
Copy link

Fpg-Lee commented Jun 25, 2024

Here it is: #692 (comment)

As I said, core-wise I cannot do anything effective. I could add more options but I think it is not going to help. I can modify the core speed, and that may lock the signal better in those screens with problems but at the cost of altering the gameplay.

MiSTer hardware vendors could add a voltage adjustment to the DAC output for this. That is rather common in supergun devices to connect arcade PCBs. This would require a new IO board or an adapter. There are probably things one can do to the signals between the MiSTer and the TV set to fix this. Most notably, changing the voltage levels, changing the line impedance and limiting the bandwidth.

We may try to limit the bandwidth at the core output a bit, as part of the work we are doing on a different topic. That may help but I cannot know for sure.

If I had one of these screens, I would service it and replace all capacitors.

By the way, I can see a similar effect on my CRT with a completely different core. Ghosts'n Goblins video output does not get synchronized until the game gets to the screen full of capital H characters. After that, the TV is able to lock it in. So even the video content can have an effect on the PLL locking the synchronization signal. That clearly points to noise coupling inside the TV set. My point is that video locking is a sensitive analog signal processing and tiny things can disturb it.

Sorry I did see that post before, but did not make the connection as to the difference being with the DAC.

Is there a chance that if Directvideo mode is used via HDMI to VGA that output may play nicer with CRT's?

If not then outside of using Composite, which isn't really an option for me, then it is an unfortunate reality.

It's a shame there isn't a solution whereby the Core could increase the DAC so incrementally that the game would only be sped up by say 1HZ or so till the Screen sync's..
I'm guessing this is either not possible? or require a lot of work?

Thanks again.

@jotego
Copy link
Owner Author

jotego commented Jun 26, 2024

The core just does not have control over the amplitude of the HS/VS signals on the IO board.

@Fpg-Lee
Copy link

Fpg-Lee commented Jun 26, 2024

The core just do not have control over the amplitude of the HS/VS signals on the IO board.

Gotcha, now I have learned the limitation of the Core-DAC relationship regarding sync issues such as this, this has been valuable for me to learn and hopefully others.

@wdjkfskdjf
Copy link

Another solution for troubled users is to use MiSTer's composite output instead of component. There is a chance that may work as the signal goes through a lot of processing that will alter the conditions for the PLL synchronization circuit.

I tried component and im geting the same out of sync issue. I also tried jts18_6ae69c20.rbf.zip and i didnt work on my Sony PVM

@MikeS11
Copy link

MikeS11 commented Jul 12, 2024

The core is running at 15kHz and thats way out of spec for most consumer TVs, the cores resolution needs another mode that makes CRT's happy. Something like this:

image

If its really the HSYNC length, that should be very easy to decrease to ~4.5us, might be worth changing both

@jotego
Copy link
Owner Author

jotego commented Jul 13, 2024

Indeed, there is a good chance that speeding up the game would make it more friendly to screens. We may add a general feature to JTFRAME to support this in all cores. It would have the side effect of altering the speed of everything, including music.

Such a feature may need at least 3 weeks of work to get implemented and many Patreon subscribers hate to see the game release flow interrupted, so it is not a task we can embrace blindly.

@MikeS11
Copy link

MikeS11 commented Jul 13, 2024

It shouldn't affect the games speed, the pixel clock and all clock frequencies stay the same. It only adjusts the games video timing e.g. screen refresh rate or h freq for a crt. Just adjusting the hcnt would help in this case.

@rogersouza-work
Copy link

rogersouza-work commented Jul 18, 2024

Hello, @jotego. How's going.
Just letting you know that've just done full recap (Nichicon caps) on my Toshiba PB-9929 and I'm still getting scrambled image on Sega System 18 core.

@danieldoyle
Copy link

Hey @rogersouza-work do you have an hfreq/hhold adjust? Most of my arcade monitors chassis I tested have needed a slight tweak to those to sync but then they are good to go

@MikeS11
Copy link

MikeS11 commented Jul 18, 2024

Hello, @jotego. How's going. Just letting you know that've just done full recap (Nichicon caps) on my Toshiba PB-9929 and I'm still getting scrambled image on Sega System 18 core.

It's not your monitor, like Daniel mentioned, it's the hfreq that needs to be adjusted by your monitor if you can or better in the core itself. It's a wip for the core

@jotego
Copy link
Owner Author

jotego commented Jul 18, 2024

I do think that the monitors do play a role here too, not just the signal frequency. It is a combination of the frequency and voltage of the signals, plus whatever the monitor was designed to tolerate, plus the effects of aging components.

We do not have numbers for this, but this core seems to be the most troublesome core so far for CRT users. Not 100% of users though, there have been plenty of reports of users having no trouble at all.

@jotego jotego changed the title s18: try different length for HS/VS signals s18: CRT problems Jul 19, 2024
@konradpop
Copy link

konradpop commented Nov 14, 2024

I also have Sega System 18 core sync problems with my Sega Aero City and it's Nanao MS8 -monitor. Every other Mister core works flawlessly on it. If that's valuable info I have Sega System 18 Multi (from Arcade Projects forums) too. It has Clutch Hitter as donor board. Original Clutch Hitter board and Multi afterwards has worked with the same monitor setup without problems.

I have the same issue with sync with the sega system 18 core and a nanao MS9 chassis, original board works fine just like yours
Uploading 20241114_194501.jpg…

@danieldoyle
Copy link

@konradpop the adjustment for MS9 that impacts horizontal hold is on the main chassis just give it a slight tweak. (HS Limit I believe is the name or HH 15 I forget which) I barely tweaked mine and all cores including system18 have synched fine ever since on my MS9. Anyone with MS8 or MS9 with sys18 it’s either you need to tweak the pot or the pot has gone bad and needs deoxit/replacement but it’s totally solvable unlike some other crts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

No branches or pull requests