Proprietary Nvidia drivers on Linux do not work with default app.asar option VaapiOnNvidiaGPUs

(#4907) Bug Open: Needs triage desktop media packaging video

Thread

Comment by Fullest
FullestReviewer 1 vote 2 replies
Hi, does this occur with all video files? What kind of codec(s) are used in the affected videos? What kind of GPU do you use? This feature was enabled last month because it actually solved the problem of HEVC videos failing to play back on systems using nvidia GPU's, so if disabling it fixes problems for you then more details would be helpful. Thanks!
Comment by Lycos
Lycos OP1 vote edited 1 reply
Hi. Yes this happens with all vidoe files. h.264 high HEVC main vp9 and vp8 all had the issue with the video not showing. the decoding works but the video is simply not drawn.
  • GPU: NVIDIA GeForce RTX 4070 (AD104), proprietary driver 595.112.07
  • VA-API: nvidia-vaapi-driver 0.0.18 (direct backend), libva 2.24.1. vainfo lists H.264, HEVC Main, VP8 and VP9 Profile 0 decode.
  • Session: X11 (XFCE), Gentoo Linux
  • Fluxer: 2026.1117.144711 (Electron 44.10.0), the Linux x64 tarball build
Since I use X11 I wonder if the fix was a thing specific to Wayland...
Comment by Fullest
FullestReviewer 2 votes
Oh, yeah it is possible wayland vs. x11 is what makes or breaks this. Here's my info (and things work correctly for me)
  • GPU: NVIDIA GeForce RTX 3080, proprietary driver 620.70.06
  • Desktop Environment: KDE Plasma 6.8.2
  • Window Manager: KWin (Wayland)
  • Fluxer version: Canary Desktop 2026.1116.164241, Web 2026.1117.140332, Linux 7.3.3-200.fc44.x86_64 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US
    ❯ vainfo
    Trying display: wayland
    libva info: VA-API version 1.23.0
    libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
    libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
    libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
    libva info: Found init function __vaDriverInit_1_0
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 1.23 (libva 2.23.0)
    vainfo: Driver version: VA-API NVDEC driver [direct backend]
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            : VAEntrypointVLD
          VAProfileMPEG2Main              : VAEntrypointVLD
          VAProfileVC1Simple              : VAEntrypointVLD
          VAProfileVC1Main                : VAEntrypointVLD
          VAProfileVC1Advanced            : VAEntrypointVLD
          VAProfileH264Main               : VAEntrypointVLD
          VAProfileH264High               : VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointVLD
          VAProfileJPEGBaseline           : VAEntrypointVLD
          VAProfileHEVCMain               : VAEntrypointVLD
          VAProfileVP8Version0_3          : VAEntrypointVLD
          VAProfileVP9Profile0            : VAEntrypointVLD
          VAProfileAV1Profile0            : VAEntrypointVLD
          VAProfileHEVCMain10             : VAEntrypointVLD
          VAProfileHEVCMain12             : VAEntrypointVLD
          VAProfileVP9Profile2            : VAEntrypointVLD
          VAProfileHEVCMain444            : VAEntrypointVLD
          VAProfileHEVCMain444_10         : VAEntrypointVLD
          VAProfileHEVCMain444_12         : VAEntrypointVLD
          VAProfileNone                   : VAEntrypointVideoProc
I don't have any systems using X11 to test with, so I can't directly confirm the issue but I'll set this back to needs triage so hopefully someone else in the community can check for us.