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: LCD_Range Glitch  (Read 2094 times)

0 Members and 1 Guest are viewing this topic.

DJO_Maverick

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 62
  • Last login:Today at 12:54:08 am
  • Chrono Crosser
LCD_Range Glitch
« on: July 26, 2024, 08:13:33 pm »
So I've found an odd edge case that seems vaguely related (maybe) to the AMD timings limitation previously discussed...

So as a workaround to that limitation, I've been setting GM to use the highest aspect-appropriate resolution that doesn't cause GM to freak out and give up.  Previously I used the older manual custom range for LCD (which you can see in there still), but then I shifted to the LCD_Range method when it became available.  Recently (not sure what build), that developed an issue where the first time I launch any game with MAME (on a given power cycle), it launches with incorrect timings and causes slow-motion, audio-tearing, unplayability.  If I exit GM...  then relaunch the exact same game (or any other game), it works exactly as intended.  That will be the case until I shut the cabinet off.

This happens 100% of the time for me, consistently and predictably.  Doing the exact same launch command twice in a row causes inconsistent results, and inconsistent logs.

With the two attached logs, paperboy1 is launching it as the first use of GM for a power cycle.  I closed it, then ran it again, and that generated paperboy2.  Absolutely no changes were made to configuration of GM, displays, system, or anything. 

And for clarity, it's not limited to paperboy; same thing happens regardless of what the first game launched is.  Seeking guidance, please.

Thanks,

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: LCD_Range Glitch
« Reply #1 on: July 29, 2024, 05:09:49 am »
Hi DJO_Maverick,

By looking at your logs, I can see a difference between both. On the first log, the desktop is at 2560x2880, on the second one, the desktop is at 1920x2160. I don't understand why this is the case, maybe as a consequence of launching GM the first time, the desktop is left at 1920x2160, although this should not be the case.

Whatever it is, in the first log adding the custom mode fails due to the high pixel clock of the higher resolution, while on the second case it works because the resolution is lower.

With the lcd preset, GroovyMAME always picks whatever is the current desktop resolution and locks all others.
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

DJO_Maverick

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 62
  • Last login:Today at 12:54:08 am
  • Chrono Crosser
Re: LCD_Range Glitch
« Reply #2 on: July 30, 2024, 06:54:24 pm »
Setting aside a moment the mystery of why it thinks the desktop resolution was altered when it wasn't-

My prior workaround has been to set the desktop to 1920x2160 full-time, which dodges the pixel clock issue.  It's desirable to have it set to the native resolution (2560x2880) for things on the cab other than mame, however.  Is there a setting in the ini that would work with LCD Range to limit it to 1920x2160, overriding the desktop resolution?  Or is the custom range method the only way to accomplish that?

Thanks,