JMBeresford / retrom

A centralized game library/collection management service with a focus on emulation
GNU General Public License v3.0
731 stars 11 forks source link

AppImage Fails on Fedora #185

Closed NovaCyntax closed 4 hours ago

NovaCyntax commented 1 day ago

Describe the bug

When launching Retrom AppImage on Bazzite OS (Immutable Fedora distro designed for gaming), the window remains white. The following error is displayed in the terminal: Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...

Steps To Reproduce

Steps to reproduce the behavior:

  1. Launch Retrom AppImage
  2. Observe

Expected behavior

Application interface launches

Screenshots

image

Environment (please complete the following information where applicable):

Logs

Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...

Additional context

The application works fine on my other devices. This OS is commonly used on the Steam Deck and similar Linux-based gaming PCs.

JMBeresford commented 1 day ago

@NovaCyntax can you confirm that the fixe(s) mentioned in #107 do not work for your case?

NovaCyntax commented 1 day ago

WEBKIT_DISABLE_COMPOSITING_MODE=1 ./Retrom_0.0.80_amd64.AppImage' did not resolve the issue. Additionally, my system has an AMD GPU, so the Nvidia suggestion wouldn't help. Bazzite uses a "Wayland to X11 Video Bridge", and does some funky things with graphics, so I would imagine that's what's causing it.

JMBeresford commented 1 day ago

You can still have nvidia utilities installed w/ amd GPU being present, this is not uncommon. I would suggest taking a look at your installed packages just in case, I also may have a potential fix for this incoming in next release based on some new info I encountered.

JMBeresford commented 1 day ago

@NovaCyntax Could you try the AppImage from this pre-release build? It is currently building, should be available within 10m of this comment

NovaCyntax commented 23 hours ago

I tested the (old) AppImage on a Fedora 41 KDE Edition install as well (to see if it was an issue with Bazzite in particular), and received the same result. I will try the new AppImage once I see it. The .rpm package works fine on Fedora 41 (but Bazzite is very restricted, so it doesn't play nicely with .rpm files). For what it's worth, I intend to stay on Fedora 41, I was just testing Bazzite while distrohopping.

Update: The debug .AppImage worked! Performance is noticeably lower than the .rpm package, but I am able to interface with the menus and perform actions. Given I encountered the same issue on both Fedora and Bazzite, I think this issue may be solved.

JMBeresford commented 23 hours ago

@NovaCyntax Interesting, I know many people have had success w/ the AppImage across many common distros ( barring the odd issue w/ gfx drivers / nvidia utilities ) prior to this fix.

I would suggest using the AppImage if the performance is acceptable, as none of the other Linux distribution methods support the auto-update mechanism. Could you perhaps elaborate on the performance issues when using the AppImage?

NovaCyntax commented 23 hours ago

With the AppImage, the "framerate" when using the application is noticeably lower (e.g. when menus are expanded). This may only be visible because I have a higher refresh rate on my monitor.

JMBeresford commented 4 hours ago

@NovaCyntax Perhaps the official non-debug release will fare better ( v0.4.5, which is now available ), but I will close this now pending any other reports of performance issues with the AppImage. Let me know if you encounter any other issues!