flathub / org.mamedev.MAME

https://flathub.org/apps/details/org.mamedev.MAME
2 stars 1 forks source link

Issues on Fedora Silverblue #28

Open aboutafter opened 1 year ago

aboutafter commented 1 year ago

Hello,

I'm trying the MAME Flatpak and Fedora Silverblue for the first time and I ran into a couple of problems:

$ flatpak run org.mamedev.MAME
Ignoring MAME exception: Error: BGFX video does not work with wayland videodriver. Please change either of the options.
Fatal error: Error: BGFX video does not work with wayland videodriver. Please change either of the options.

The MAME binary from the repos doesn't have that problem in Fedora Workstation (or Arch) and can run on the Wayland session without problems. Is there a way to fix that instead of going back to the x11 session?

I have a Ryzen 5 5600 with a Radeon RX 6600 if that's important.

Also, thank you for your work!

jflatt commented 1 year ago

It only has a minimal configuration out of the box. As you've seen, bgfx doesn't work everywhere. I'm guessing Fedora Workstation or Arch has xwayland installed which will allow bgfx to run.

aboutafter commented 1 year ago

Sorry for the delay.

I have the same problem with Wayland on Debian 12 (Gnome). I needed to change the bgfx patch to "app/share/mame/bgfx" (so I guess the mame.ini could be distributed with that change). But after that I get the same error than on Silverblue. Both OSs have xwayland installed.

Any idea why it doesn't work?