RetroDECK
RetroDECK copied to clipboard
XEMU: Pathing Error & Wayland problem
small error with how xemu is configured, but it doesn't work when running RetroDECK on a wayland desktop:
xemu_version: 0.7.116
xemu_branch: b3fc80b3a83fa99aeb541a0c665cfb596cedd71c
xemu_commit: b3fc80b3a83fa99aeb541a0c665cfb596cedd71c
xemu_date: Thu Dec 14 03:22:31 PM UTC 2023
xemu_settings_get_base_path: base path: /home/chroma/.var/app/net.retrodeck.retrodeck/data/xemu/xemu/
xemu_settings_get_path: config path: /home/chroma/.var/app/net.retrodeck.retrodeck/data/xemu/xemu/xemu.toml
Failed to initialize SDL video subsystem: x11 not available
The pathing error we can check for 0.8.0b.
Wayland is a bit more complex as many flatpak versions of the emulators does not work even outside of RetroDECK or are semi broken in wayland.
@XargonWan check the pathing of XEMU
I found a workaround, when I set SDL_VIDEODRIVER=wayland in the flatpak container then ran the configurator, xemu loaded properly
I found a workaround, when I set
SDL_VIDEODRIVER=waylandin the flatpak container then ran the configurator, xemu loaded properly
Maybe we should use the same approach as this?
--env=QT_QPA_PLATFORM=wayland-egl;wayland;xcb
I'm not sure what SDL uses to detect what video driver to use, but that might need to be passed into the flatpak for it to work. I'm not sure if the same QT syntax would work, you could try though.
I'm not sure what SDL uses to detect what video driver to use, but that might need to be passed into the flatpak for it to work. I'm not sure if the same QT syntax would work, you could try though.
My fear is that if we set that flag, we might break it for x11