Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: Fusion916 on August 26, 2023, 10:29:32 pm

Title: Switchres crash and can't get switchres to choose right resolution
Post by: Fusion916 on August 26, 2023, 10:29:32 pm
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.
Title: Re: Switchres crash and can't get switchres to choose right resolution
Post by: haynor666 on August 27, 2023, 11:18:06 am
Is you display1 an Intel integrated gpu ?
Title: Re: Switchres crash and can't get switchres to choose right resolution
Post by: Fusion916 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.
Title: Re: Switchres crash and can't get switchres to choose right resolution
Post by: Fusion916 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.
Title: Re: Switchres crash and can't get switchres to choose right resolution
Post by: haynor666 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?
Title: Re: Switchres crash and can't get switchres to choose right resolution
Post by: Fusion916 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.
Title: Re: Switchres crash and can't get switchres to choose right resolution
Post by: Calamity 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 (http://"https://drive.google.com/file/d/1dwjXRFdySz4moxGTGcVWLdQDG-zw5-cJ/view")).

The Powerstrip backend will only work if you have Powerstrip installed (legacy app for legacy hw).
Title: Re: Switchres crash and can't get switchres to choose right resolution
Post by: Fusion916 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 (http://"https://drive.google.com/file/d/1dwjXRFdySz4moxGTGcVWLdQDG-zw5-cJ/view")).

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.