[SOLVED] Can't use the NVENC encoder at all + fails to export

Hi,

Recently i tried to export a video in Shotcut version 25.07.26 (it also happened in the previous version) but saw it giving me errors and i checked them out but i couldn’t find any useful indicators:

Gtk-Message: 13:36:44.616: Failed to load module "xapp-gtk3-module"
[h264_nvenc @ 0x756e74201a40] Loaded Nvenc version 13.0
[h264_nvenc @ 0x756e74201a40] Nvenc initialized successfully
[h264_nvenc @ 0x756e74201a40] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_UNKNOWN: unknown error
[h264_nvenc @ 0x756e74201a40] Nvenc unloaded
[libvpx-vp9 @ 0x756e743ef480] v1.14.1
[libvpx-vp9 @ 0x756e743ef480] --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-pic --enable-optimizations --target=x86_64-linux-gcc --disable-static --enable-shared --enable-vp8 --enable-vp9 --enable-libs --disable-install-docs --as=nasm --enable-vp9-highbitdepth
[AVIOContext @ 0x756e743efd40] Statistics: 32768 bytes read, 0 seeks
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x756e743f3380] Statistics: 32810 bytes read, 3 seeks
[libvpx-vp9 @ 0x756e743eeb80] v1.14.1
[libvpx-vp9 @ 0x756e743eeb80] --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-pic --enable-optimizations --target=x86_64-linux-gcc --disable-static --enable-shared --enable-vp8 --enable-vp9 --enable-libs --disable-install-docs --as=nasm --enable-vp9-highbitdepth
[chain avformat-novalidate] /home/user/Videos/meme templates/KSI: "yes yes yes no no no" meme template.webm
    checking VFR: pkt.duration 33
[opus @ 0x756e745490c0] Could not update timestamps for skipped samples.
Failed with exit code 11
La tâche d'exportation a échoué ; nouvel essai sans traitement parallèle.
Gtk-Message: 13:36:45.000: Failed to load module "xapp-gtk3-module"
[h264_nvenc @ 0x75d880201a40] Loaded Nvenc version 13.0
[h264_nvenc @ 0x75d880201a40] Nvenc initialized successfully
[h264_nvenc @ 0x75d880201a40] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_UNKNOWN: unknown error
[h264_nvenc @ 0x75d880201a40] Nvenc unloaded
[libvpx-vp9 @ 0x75d86800d840] v1.14.1
[libvpx-vp9 @ 0x75d86800d840] --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-pic --enable-optimizations --target=x86_64-linux-gcc --disable-static --enable-shared --enable-vp8 --enable-vp9 --enable-libs --disable-install-docs --as=nasm --enable-vp9-highbitdepth
[AVIOContext @ 0x75d86800ee80] Statistics: 32768 bytes read, 0 seeks
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[AVIOContext @ 0x75d868011980] Statistics: 32810 bytes read, 3 seeks
[libvpx-vp9 @ 0x75d86800cf40] v1.14.1
[libvpx-vp9 @ 0x75d86800cf40] --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-pic --enable-optimizations --target=x86_64-linux-gcc --disable-static --enable-shared --enable-vp8 --enable-vp9 --enable-libs --disable-install-docs --as=nasm --enable-vp9-highbitdepth
[chain avformat-novalidate] /home/user/Videos/meme templates/KSI: "yes yes yes no no no" meme template.webm
    checking VFR: pkt.duration 33
[opus @ 0x75d868167900] Could not update timestamps for skipped samples.
Failed with exit code 11
Failed with exit code 11

after letting shotcut detect encoders, for some reason it only chose h264_vaapi and hevc_vaapi and didnt see my Nvidia GPU, even when trying to select it manually it still uses my IGPU, I have a laptop with a GTX 1650 TI (nvidia driver 575 open) and an intel core i5 10th gen running Linux Mint 22.1, and I’m running Flatpak Shotcut with the flatpak nvidia driver (org.freedesktop.Platform.GL.nvidia-575-64-03).

One little note: recently, i updated my gpu driver from 550 to 575 open so I’m not sure if something changed or not.

I did a google search for you on “does linux nvidia open support nvenc”
Found this https://www.reddit.com/r/linux_gaming/comments/1ikjvop/comment/mbni967/

The only Linux with NVENC system I have is an old Ubuntu 20.04 that I must keep a little longer for backward compatibility testing. It still works for me with the portable/AppImage/Snap. However, I cannot test the flatpak since the flatpak version is too old for FlatHub, no longer supported, and not upradable since 20.04 is EOL. But I bet NVENC in the newest flatpak still works on the correct setup.

I did what was suggested (flatpak update) and everything now works perfectly fine. Thank you!

1 Like

This topic was automatically closed after 90 days. New replies are no longer allowed.