Jellyfin Forum
SOLVED: nvidia hardware acceleration - 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: nvidia hardware acceleration (/t-solved-nvidia-hardware-acceleration)



nvidia hardware acceleration - bond-title-bond - 2023-11-03

Hello,
I'm having one heck of a time figuring this out.
I'm running openmediavault which is just debian 11 without a desktop environment. I'm using a gtx1070. I'm running jellyfin as a stand alone. I am not running it on docker.
I installed the nvidia driver following the instructions on the debian wiki, then configured jellyfin based on the docs. nvidia-detect says

Detected NVIDIA GPUs:
1c:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)

Checking card: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
Your card is only supported up to the 390 legacy drivers series.
Your card is also supported by the Tesla 440 drivers series.
Your card is also supported by the Tesla 418 drivers series.
It is recommended to install the
nvidia-legacy-390xx-driver
package. 

which is weird because nvidia's website says 535.129.03 is the current driver. apt install nvidia-driver installs 545.23.06-1 which nvidia's website says supports the gtx 1070.
regardless of which one I install, when I run nvidia-smi I get the output

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Could this be because I don't have a desktop enviroment?
after setting acceleration to nvidia NVENC, anytime I play anything it says This client isn't compatible with the media and the server isn't sending a compatible media format.

Any idea as to what I might be doing wrong?
Thanks!


RE: nvidia hardware acceleration - TheDreadPirate - 2023-11-03

Check out this guide.

https://wiki.debian.org/NvidiaGraphicsDrivers#Version_470.129.06

Nvidia and jellyfin definitely work without a desktop environment. Most of the Linux users here run Jellyfin without a DE. I'm not sure if the guide you followed also told you to add the non-free repo, but the guide above mentions that is required to get the necessary version that Jellyfin requires.


RE: nvidia hardware acceleration - bond-title-bond - 2023-11-03

That's actually the guide I followed to install the driver. I definitely have the repo.


RE: nvidia hardware acceleration - TheDreadPirate - 2023-11-03

After following that guide, how much of the Jellyfin Nvidia guide did you follow?

https://jellyfin.org/docs/general/administration/hardware-acceleration/nvidia/#configure-on-linux-host

I'm assuming you also installed these packages.

sudo apt update && sudo apt install -y libnvcuvid1 libnvidia-encode1


RE: nvidia hardware acceleration - bond-title-bond - 2023-11-03

Jellyfin-ffmpeg5 was already installed.

I installed libnvcuvid1 libnvidia-encode1.

I installed and ran nvidia-smi and it said it couldn't communicate with the driver.

I rebooted, tried again and got the same error.

Then I tried to enable HWA just incase and it didn't work.

Edit: for poops and giggles I installed cuda. it didn't change anything.


RE: nvidia hardware acceleration - TheDreadPirate - 2023-11-03

https://forum.openmediavault.org/index.php?thread/43344-omv6-and-nvidia-gpu/&postID=319418#post319418

Code:
apt install linux-headers-amd64

Try this?


RE: nvidia hardware acceleration - bond-title-bond - 2023-11-03

Heck yeah! That worked! Thank you!