Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues on Fedora Silverblue #28

Open
aboutafter opened this issue May 6, 2023 · 2 comments
Open

Issues on Fedora Silverblue #28

aboutafter opened this issue May 6, 2023 · 2 comments

Comments

@aboutafter
Copy link

Hello,

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

  • The first one is that the bgfx_path in mame.ini is pointing to "bgfx" and needs to be changed to "/app/share/mame/bgfx" to work. I'm not sure if there is another path that needs changing too.

  • The second problem is that for that to work, the video option needs to be changed to bgfx and that crashes on Wayland with the message:

$ 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
Copy link
Collaborator

jflatt commented May 9, 2023

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants