pdulvp / jellyfin-qnap

Jellyfin server packaging for QNAP NAS
https://jellyfin.org
476 stars 32 forks source link

Transcoding with NVidia driver #84

Open pringleprng opened 4 months ago

pringleprng commented 4 months ago

Transcoding seems to not be working anymore. Most likely an issue with qnap gpu driver?

515.48.07 Driver Version: 515.48.07 CUDA Version: 11.7 [hevc_nvenc @ 0x555556525380] Driver does not support the required nvenc API version. Required: 12.0 Found: 11.1 [hevc_nvenc @ 0x555556525380] The minimum required Nvidia driver for nvenc is 520.56.06 or newer

pdulvp commented 4 months ago

Hi, Indeed, the last jellyfin ffmpeg requires Nvidia drivers being at least "520". https://github.com/jellyfin/jellyfin-ffmpeg/releases/tag/v6.0.1-6

From what I seen here, the last version for QNAP is 515. I guess you shall stick with the jellyfin 10.8.x releases until your driver being released. https://www.qnap.com/en-us/app_releasenotes/list.php?app_choose=NVIDIA_GPU_DRV

gummykage commented 3 months ago

Try downgrading ffmpeg to the previous version.

pdulvp commented 3 months ago

Can you try latest release 10.9.4 embedding ffmpeg5 if its working properly

pringleprng commented 3 months ago

Both the new releases for 10.9.4 regular and ffmpeg5 just do not work. 10.9.3 works fine but no transcoding of course. I'm running a TS-h686 quts hero with newest firmware. 10.9.6 doesn't work either.

pdulvp commented 3 months ago

can you try to look if there is the folder /opt/NVIDIA_GPU_DRV/usr/nvidia exists in your NAS.

I have added only /opt/NVIDIA_GPU_DRV/usr/nvidia to additional paths, on https://github.com/pdulvp/jellyfin-qnap/blob/master/jellyfin-ffmpeg.sh#L61C22-L61C52 but maybe the folder is not good. maybe /opt/NVIDIA_GPU_DRV/usr/lib ?

You can try by editing the jellyfin-ffmpeg/ffmpeg file script to add paths. (and jellyfin/bin/jellyfin file script) located at /share/xxxx/.qpkg/jellyfin

https://github.com/pdulvp/jellyfin-qnap/issues/68#issuecomment-1881938733