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: Switchres crash and can't get switchres to choose right resolution  (Read 1083 times)

0 Members and 1 Guest are viewing this topic.

Fusion916

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:September 03, 2023, 03:55:07 am
I am using 0.257 groovymame and I have two issues.

1. When I use a switchres backend besides powerstrip, I get what appears to be a segfault (log attached).

2. When I use the powerstrip switchres backend, I can never get it to switch to the native resolution of the game. Ive tried no multiple games, it never picks the correct native resolution. For example, sf2, it never picks 384x224, even though the resolution is available (and works fine in regular mame). I have messed around with mame.ini a great deal and no matter what settings I change, I can never get it to use the correct native resolution. Any ideas? Also log is attached for that long with my mame.ini.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1483
  • Last login:Yesterday at 04:59:25 am
  • retro maniac
Re: Switchres crash and can't get switchres to choose right resolution
« Reply #1 on: August 27, 2023, 11:18:06 am »
Is you display1 an Intel integrated gpu ?

Fusion916

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:September 03, 2023, 03:55:07 am
Re: Switchres crash and can't get switchres to choose right resolution
« Reply #2 on: August 27, 2023, 01:58:26 pm »
Is you display1 an Intel integrated gpu ?

No my display1 is an Nvidia GTX 1630. Also if it helps debuging, switchres does not segfault if I use display1 as my video output, but when I switch it to display6 (Radeon HD5450 using crt emudriver, hooked up to a CRT) thats when it segfaults.

Fusion916

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:September 03, 2023, 03:55:07 am
Re: Switchres crash and can't get switchres to choose right resolution
« Reply #3 on: August 27, 2023, 02:00:46 pm »
Also, just to re-iterate, maybe I am not understanding the documentation but (after switching to switchres_backend to powerstrip to it doesnt sefault) I would like to really understand how switchres is choosing it's resolution, because I am missing something as to why it doesn't choose the actual native display resolution when its available. Something about the switchres scoring I don't understand.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1483
  • Last login:Yesterday at 04:59:25 am
  • retro maniac
Re: Switchres crash and can't get switchres to choose right resolution
« Reply #4 on: August 27, 2023, 04:19:07 pm »
All your modes are marked as system. Question is why. Maybe You have magic or dynamic resolutions enabled.

CRT driver along with test mode is enabled?
« Last Edit: August 27, 2023, 04:22:57 pm by haynor666 »

Fusion916

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:September 03, 2023, 03:55:07 am
Re: Switchres crash and can't get switchres to choose right resolution
« Reply #5 on: August 28, 2023, 01:12:10 am »
All your modes are marked as system. Question is why. Maybe You have magic or dynamic resolutions enabled.

CRT driver along with test mode is enabled?

I don't know why all of my modes are marked as system. They are all of the modelines I added using VMmaker. Is there some option or something in VMmaker that is causing them to be marked as system? Does it even matter that they are being marked as system?

What do you mean magic or dynamic resolutions? And I have CRT emudriver installed and it is in test mode. The resolutions work just fine going to my CRT monitor.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7418
  • Last login:May 02, 2024, 04:59:06 am
  • Quote me with care
Re: Switchres crash and can't get switchres to choose right resolution
« Reply #6 on: August 28, 2023, 04:08:46 am »
Hi Fusion916,

I'd say you installed CRT Emudriver based on Catalyst 12.6, that's only for pre-HD 5000 cards.

Try with the version based on Catalyst 16.2.1 (this).

The Powerstrip backend will only work if you have Powerstrip installed (legacy app for legacy hw).
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

Fusion916

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:September 03, 2023, 03:55:07 am
Re: Switchres crash and can't get switchres to choose right resolution
« Reply #7 on: August 30, 2023, 02:32:23 am »
Hi Fusion916,

I'd say you installed CRT Emudriver based on Catalyst 12.6, that's only for pre-HD 5000 cards.

Try with the version based on Catalyst 16.2.1 (this).

The Powerstrip backend will only work if you have Powerstrip installed (legacy app for legacy hw).

Thanks it looks like you nailed it. I uninstalled my previous crt emudriver and used the package you linked and everything started to work correctly. groovymame no longer crashes when I use the default switchres backend and now switchres always picks the correct resolution. I tried a lot of different games that does a lot of internal resolution switching I have not come across any problems yet. Thank you.

BTW I don't know how you figured this out? It is not very obvious from what I could see, haha.