Linux Kodi doesn't launch on Wayland
#1
Some time ago I've started using the Wayland session of KDE Plasma (Currently 6.2.2.) on Garuda Linux instead of X11 and ever since I wasn't able to launch Kodi. Though it works fine on X11.
I thought this might be Kodi not supporting Wayland, but recently I've installed Arch on other computer and Kodi ran without any problems in Wayland session, so yeah...
I have no idea what the issue is, the crashlog doesn't seem to contain anything useful, and the error in command line doesn't tell me much:
Code:
/usr/bin/kodi: line 215: 11844 Floating point exception(core dumped) ${KODI_BINARY} ${ENV_ARGS} $SAVED_ARGS
The only way I managed to get Kodi working on Wayland was launching it via sudo, so I thought maybe something inside my /.kodi is wrong, but renaming that folder haven't fixed that issue.
Here's the crashlog: https://paste.kodi.tv/ogokinuqur.kodi
I hope someone is able to guide me on how to fix it as it would be nice to be able to launch Kodi in the Wayland session of KDE Plasma and not having to switch to X11 for Kodi alone.
Reply
#2
It crashes in the nvidia-vaapi-driver, the root cause could be in the driver or Kodi but that's impossible to say without installed debug symbols. Removing the libva-nvidia-driver packet should prevent the issue.

To investigate the root cause would require launching Kodi in GDB, loading debug symbols via debuginfod, reproducing the crash and then creating a back trace.
Reply
#3
(2024-10-31, 16:35)Neo1973 Wrote: Removing the libva-nvidia-driver packet should prevent the issue.

Thanks! You're right, though I had libva-vdpau-driver installed instead but removing it fixed this issue. I've found libva-vdpau-driver-wayland in the AUR and after installing it Kodi launched without any problems. (Though I don't know how I can verify if it does anything, after all it's a package with no maintainers with one vote last updated in 2022.) So maybe nVidia still hasn't resolved all their Wayland issues, or something.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi doesn't launch on Wayland0