Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Groovymame .219 Video Distortion  (Read 1756 times)

0 Members and 1 Guest are viewing this topic.

JohnnySeeJohnnyDo

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 01, 2020, 12:40:46 pm
  • I want to build my own arcade controls!
Groovymame .219 Video Distortion
« on: March 31, 2020, 02:55:40 pm »
Hi

Having a problem with some scrolling distortion on Groovymame .219. Playing on a 1080p Screen in full screen. Below is my file and a video of the distortion. You can see it in the building when scrolling. Is this due to uneven pixels? It kinda looks like screen tear?

https://streamable.com/a01kv

For some reason Switchres in mame information states 720x480i. Isn't it supposed to be 1920x1080?


buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1807
  • Last login:Today at 06:30:11 am
  • Is running at 15kHz
Re: Groovymame .219 Video Distortion
« Reply #1 on: April 01, 2020, 05:43:44 am »
If you read the info on the modes switchres can get to, all of them are fractionally scaling. If you tell GM to use integer scaling x and y, it will still pick the same video mode but fix both your horizontal and vertical scaling issues by displaying the image in the middle as big as it can blow it up in whole numbers, leaving some black space around it.

I'm not an expert on GM on an LCD, but the log says most of your video modes are locked, no idea if that's to do with your monitors EDID or what. Id fix this first, and see what the result is. Then you could try the above if you're still having scaling issues.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Groovymame .219 Video Distortion
« Reply #2 on: April 01, 2020, 06:02:46 am »
Start by setting "monitor lcd" in your mame.ini. By default its set as generic_15 that is meant for arcade monitors, if you use that with an LCD it'll attempt to set 15 kHz and fail, thus disabling switchres and all the scaling logic, causing video glitches like the one you're seeing.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

JohnnySeeJohnnyDo

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 01, 2020, 12:40:46 pm
  • I want to build my own arcade controls!
Re: Groovymame .219 Video Distortion
« Reply #3 on: April 01, 2020, 12:04:45 pm »
Alright Calamity I changed it to LCD and now switchres is stating 1920x1080p 59.939 hz 67.431 khz.

So if I keep bilinear filtering on I don't see that distortion when scrolling vertically. Only problem is it is pretty blurry.

Since SF2 Hyper Fightng CPS2 is 384x224 for proper aspect ratio you need to squash the width or else it will be too wide.

Since im on a 1080p display there has to be a way to take up all 1080 vertical pixels without this effect right? I know 224 doesn't go into 1080 evenly but on the SF 30th anniversary and many other stretch vertically and it doesn't exhibit this problem. What butters seems to be stating is to scale the vertical by 4, horizontal by 4 so its 1536x896 but that would be too wide unless you squash the width. Would still have bars on top and bottom vertically too.

Does mames bilinear filtering just suck? It looks horrible. What filters would I need to use to get the sharpness back?

I've seen people say just increase the bitmap prescale/prescale option and keep bilinear filtering on. Do I change it in the mame gui or in mame.ini? If so how much (goes from 1-8). Changing it to 6 and keeping bilinear on does return a lot of sharpness and doesn't display shimmering. Below is a picture.

Thanks.

« Last Edit: April 01, 2020, 12:23:58 pm by JohnnySeeJohnnyDo »