Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: Alaska on April 15, 2020, 06:17:50 pm

Title: Bottom Screen Warp - GroovyMame with Super Resolutions - SOLVED
Post by: Alaska on April 15, 2020, 06:17:50 pm
I am getting screen warp in several games at the bottom of the screen. Is there an easy fix? I am using GM with CRT_Emudrivers and Super Resolutions.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: buttersoft on April 15, 2020, 07:19:50 pm
looks like a monitor issue more than anything. Have you tried another video source like a console on this monitor, and if so, does it have the same issue?
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Alaska on April 16, 2020, 05:19:32 pm
Most other games inside of MAME play full screen top to bottom with no issues. This includes the Windows desktop and the HyperSpin main menu... not sure why I am getting the funky warp for certain games.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Alaska on April 16, 2020, 05:23:08 pm
Here is the main menu in HS
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: buttersoft on April 16, 2020, 11:44:52 pm
What monitor are you using, and what monitor preset in VMM? The 15.8kHz reporting in the last pic of your first post looks off. That allows for only ~304 total lines, where a 288p@52Hz should have 312 lines and be about 16.2kHz. I'm thinking your modeline has been compressed to fit into whatever monitor range preset you've specified, and the sync pulse is being captured too late so the last lines are being drawn while the beam is on the way back up - i've never seen vertical foldover from the bottom before, but hey.

Can you use the Arcade15 preset in VMM instead of the Generic15 one? If not, you could try adding a 2560x288@50.00000 mode to VMM or it's resolution files, and see if the sizing is right? You could perhaps also adjust your crt_range lines in mame.ini to do that as well.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: haynor666 on April 17, 2020, 02:59:59 am
I've seen this problem once - monitor simply was designed for 60 Hz modes only and does not work correctly with 50 Hz modes. Looks like You are forced to rotate monitor or use interlaced modes at 60 Hz.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: psakhis on April 17, 2020, 11:16:25 am
It's a vertical game on a horizontal monitor  :dunno

In my case, i choose (game based) between crop lines but maintain frequency and pixel perfect or stretch image loosing pixel perfect. Normaly i prefer crop and adjust vertical align with slider if it's necessary.

EDIT: Verticals shoot 'em ups i played most of them horizontal with inverted controls.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Alaska on April 17, 2020, 12:39:33 pm
The monitor is a WG K7000. I did specify that particular model in the VMM setup but will try using Arcade 15 to see if it remedies the issue. I can do some digging to find out what resolutions work and which ones do not.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: haynor666 on April 17, 2020, 01:34:09 pm
https://www.arcade-museum.com/manuals-monitors/Wells%20Gardner%20K7000%20Manual.pdf

Accoring to manual it can work even with 47 Hz.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Alaska on April 17, 2020, 11:06:26 pm
If I run the game rotated 90 degrees either way then i get a res of 2560 x 224p 60.606 Hz at 15.636 kHz and everything fits the screen as shown. I tried switching from K7000 to Arcade 15.7 and Generic 15.7 in VMM. No change  :dunno

Is there any way to forego switchres for only this game and other vertical games?
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: haynor666 on April 18, 2020, 04:53:15 am
Because game now uses 2560x240@60.6 instead of 2560x288@51. Try K7000 monitor definition as suggested previously.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Calamity on April 18, 2020, 05:26:39 am
Hi Alaska,

I swear I have seen this issue reported before in this forum, and related to a K7000 iirc (at least it was a WG, that's for sure). Unfortunately the search engine doesn't work and Google never helped much with this forum.

What I'd do is trying to increase the vertical front porch. In mame.ini, create a custom monitor preset by doing this:

monitor custom
crt_range0  15625-15800, 49.50-63.00, 2.000, 4.700, 8.000, 0.192, 0.160, 1.056, 0, 0, 192, 288, 448, 576

Here, the value in black is the vertical front porch, I've increased it a bit already. Try increasing it by 0.064 steps (0.064 = 1 line). But if you don't fix it after adding 2 or 3 lines, undo the changes and just try to limit the vertical resolution:

monitor custom
crt_range0  15625-15800, 49.50-63.00, 2.000, 4.700, 8.000, 0.064, 0.160, 1.056, 0, 0, 192, 256, 448, 512

This will force vertical games above 256 lines to be shown with an interlaced mode.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Alaska on April 18, 2020, 11:42:22 pm
Thanks Calamity, first and foremost for all the hard work with CRT_Emudrivers!

So I went back in and made the following changes
VMM - switched back to WG K7000

Mame.ini
crt_range0  15625-15800, 49.50-63.00, 2.000, 4.700, 8.000, 0.192, 0.160, 1.056, 0, 0, 192, 288, 448, 576
crt_range0  15625-15800, 49.50-63.00, 2.000, 4.700, 8.000, 0.256, 0.160, 1.056, 0, 0, 192, 288, 448, 576
crt_range0  15625-15800, 49.50-63.00, 2.000, 4.700, 8.000, 0.320, 0.160, 1.056, 0, 0, 192, 288, 448, 576
 
then

monitor custom
crt_range0  15625-15800, 49.50-63.00, 2.000, 4.700, 8.000, 0.064, 0.160, 1.056, 0, 0, 192, 256, 448, 512

unfortunately none of the changes worked... The game still loads with the funky bottom warp.

If I remember right, the K7000 I have might be a K7001, if that is an actual thing. I know that I have a rare flyback and I believe the monitor was manufactured by Zenith?! Sorry it has been 3-4 years since I pulled the back panel off and inspected this thing.

Something else that might be noteworthy. When I run VMM and generate the super resolutions then install, the roll up happens during some of the blank screens when the signal is out of range. Not sure if there is an underlying issue...

Thanks again for the help!

Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Calamity on April 19, 2020, 05:20:53 am
Launch Arcade OSD, test each mode individually and note down which resolutions trigger the foldover issue. Just wondering if the issue starts at 288/576i, 256/512i, or even before.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Alaska on April 19, 2020, 05:28:10 pm
The following resolutions had bottom screen foldover. Note that I went through every resolution in Aracde OSD. If it is not listed then it worked without any issues.

Folder over happened for:
256 - 57p (very slight fold over at the very bottom of the screen)
264 - 56p
272 - 54p
280 - 53p
288 - 51p
--- again no issues until ---
512 - 57i (very slight fold over and slight screen shake)
544 - 54i (similar to 288p)
560 - 53i (similar to 288p)
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Alaska on April 22, 2020, 04:45:31 pm
I tried

crt_range0  15625-15800, 49.50-63.00, 2.000, 4.700, 8.000, 0.064, 0.160, 1.056, 0, 0, 192, 240, 448, 480

Still no luck...
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Calamity on April 22, 2020, 05:27:21 pm
Please post a log, I need to see what modes are being selected.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions
Post by: Alaska on April 23, 2020, 02:43:47 pm
Before wasting more of your time I smashed a few barley pops and  ran through a few things again and found the issue. GM is setup to read the mame.ini in the GM folder. My frontend looks at mame.ini in the folder located at GM\ini ... and then I had generated a mspacman.ini inside of the main GM dir. 

Long story short, I deleted the mspacman.ini and changed the mame.ini file again to:

monitor custom
crt_range0  15625-15800, 49.50-63.00, 2.000, 4.700, 8.000, 0.064, 0.160, 1.056, 0, 0, 192, 256, 448, 512

VMM I selected WG7000 for my monitor.

I started GM and launched Ms. Pacman. It now loads in 2560x480i with no fold over! Calamity - your initial solution worked, and apologies for the operator error. It now looks great but there are a few issues with game play and sound.

Before tackling those I went back into GM UI and redirected the program to look at GM\ini and deleted the extra .ini file from the GM dir.

The choppy play issue I resolved by changing the frame delay from 0 to 1. The game now plays great but I have no sound when GM load in 2560x480i. Any easy fixes here?

Thanks again for the help and apologies for the oversight.
Title: Re: Bottom Screen Warp - GroovyMame with Super Resolutions - SOLVED
Post by: Alaska on April 23, 2020, 04:00:31 pm
Easy solution. By chance someone brought this thread to the top http://forum.arcadecontrols.com/index.php/topic,159183.0.html (http://forum.arcadecontrols.com/index.php/topic,159183.0.html)

Changed

OSD SOUND
sound           changed from 'auto' to 'portaudio'
latency         1

PORTAUDIO
pa_api          "Windows WDM-KS"
pa_device     none
pa_latency    0.001