You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kodi (and likely other flatpaks) depends on the org.freedesktop.Platform.GL.nvidia flatpak runtime.
If you install Kodi while using nvidia 450-57, for example, the org.freedesktop.Platform.GL.nvidia-450-57 runtime will be installed and Kodi will function correctly.
If you then update your nvidia drivers, to say 455-38 and run flatpak kodi:
flatpak run tv.kodi.Kodi
libEGL warning: DRI2: failed to authenticate
libva info: VA-API version 1.5.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_5
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed
libva info: va_openDriver() returns -1
/app/bin/kodi: line 220: 10 Segmentation fault (core dumped) ${KODI_BINARY} $SAVED_ARGS
Kodi fails. Installing org.freedesktop.Platform.GL.nvidia-455-38 with flatpak will fix the issue.
The simplest work-around is:
Open Steam Buddy
Uninstall Kodi
Install Kodi
This will pick up the latest runtime.
Another work-around is to run: flatpak update
or flatpak update tv.kodi.Kodi
The text was updated successfully, but these errors were encountered:
A fix could use our post update hook script and might look like:
if nvidia runtime is installed and doesn't match the GPU driver currently installed (or the one we are about to restart into for an update)
try to install the runtime corresponding to the current/new GPU driver
This logic would have to run post-update but also any time you try run a flatpak app because the user could restart early or launch a flatpak before the update is complete. Doing the check/update before the app launches will be a poor experience if there is no or poor network though. Might take a while to timeout.
I had this issue again with GamerOS 22 since the NVIDIA drivers have been updated again and thought of a possible solution :
Instead of launching Kodi directly, wrap the launch command in a script that will :
Check if the currently installed driver matches the currently installed flatpak runtime
If they match, launch Kodi
If they don't, display a warning (much like it's done for Steam Buddy's password) saying an update is necessary, while running flatpak update tv.kodi.Kodi in the background, then launch Kodi
If the update takes too, it could be aborted by providing the user with steps on the warning screen : for example, invite him to open the Steam overaly and kill the app that way.
Kodi (and likely other flatpaks) depends on the
org.freedesktop.Platform.GL.nvidia
flatpak runtime.If you install Kodi while using nvidia 450-57, for example, the
org.freedesktop.Platform.GL.nvidia-450-57
runtime will be installed and Kodi will function correctly.If you then update your nvidia drivers, to say 455-38 and run flatpak kodi:
Kodi fails. Installing
org.freedesktop.Platform.GL.nvidia-455-38
with flatpak will fix the issue.The simplest work-around is:
This will pick up the latest runtime.
Another work-around is to run:
flatpak update
or
flatpak update tv.kodi.Kodi
The text was updated successfully, but these errors were encountered: