Jellyfin Forum
SOLVED: Issues with Hardware Transcoding after updating to version 10.9.6 - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Issues with Hardware Transcoding after updating to version 10.9.6 (/t-solved-issues-with-hardware-transcoding-after-updating-to-version-10-9-6)



Issues with Hardware Transcoding after updating to version 10.9.6 - Noble - 2024-06-12

Hello everyone,

I'm having an issue i've haven't dealt with before after updating my Jellyfin App on one of my TrueNAS Boxes to version 10.9.6

Code:
ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec    60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter    9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample  4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[AVHWDeviceContext @ 0x5583eccbde00] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x5583eccbde00] Could not dynamically load CUDA
Device creation failed: -1.
Failed to set value 'cuda=cu:0' for option 'init_hw_device': Operation not permitted
Error parsing global options: Operation not permitted

Since it's a TrueNAS Scale machine I can't use apt-get or most linux disco commands. I've tried starting a new instance and I keep getting the same issue when trying to transcode HEVC. Can anyone point me in the right direction?

Thanks


RE: Issues with Hardware Transcoding after updating to version 10.9.6 - TheDreadPirate - 2024-06-12

What GPU do you have in your system and what nvidia driver version is running? With Jellyfin 10.9.X came jellyfin-ffmpeg6, which raised the minimum Nvidia driver version to 520.


RE: Issues with Hardware Transcoding after updating to version 10.9.6 - Noble - 2024-06-12

(2024-06-12, 05:47 PM)TheDreadPirate Wrote: What GPU do you have in your system and what nvidia driver version is running?  With Jellyfin 10.9.X came jellyfin-ffmpeg6, which raised the minimum Nvidia driver version to 520.

nvidia-smi reports Driver Version 545.23.08 and Cuda Version 12.3

GPU is a GTX 1660 Ti


RE: Issues with Hardware Transcoding after updating to version 10.9.6 - TheDreadPirate - 2024-06-12

Is the nvidia container toolkit installed? Perhaps double check that your GPU pass-through settings weren't reverted when the app upgraded?


RE: Issues with Hardware Transcoding after updating to version 10.9.6 - Noble - 2024-06-12

(2024-06-12, 06:02 PM)TheDreadPirate Wrote: Is the nvidia container toolkit installed?  Perhaps double check that your GPU pass-through settings weren't reverted when the app upgraded?

I'm feeling stupid... I've been messing with this for hours this morning and your right. GPU passthrough got reverted... I scheduled all my updates for early morning when no one was using the services and between the UI changes updating truenas from bluefin to dragonfish and all the applications on that machine being updated I completely forgot to verify the settings... 

Thanks so much for your time.