2024-06-23, 08:59 PM
So I'm new to Jellyfin, selfhosting and know next to nothing about transcoding. Just been following the guides.
I think it's working based on the Playback Info in the client, but just looking for confirmation from more knowledgeable users.
So first, setup:
I turned my old gaming PC into a Debian home server. I have a NVidia GTX 2070.
I'm running Jellyfin in a docker container. I followed the guides on the Jellyfin site to install my Nvidia drivers, the Nvidia docker toolkit, etc.
I set the NVIDIA_DRIVER_CAPABILITIES and NVIDIA_VISIBLE_DEVICES env vars, and also set the gpu with the following:
"device=GPU-211bc500-a72c-1af2-c289-1e3b472e6417","capabilities=compute,compat32,graphics,utility,display,video"
The device # I got from checking the NVidia driver.
I can then run the following: docker exec -it jellyfin nvidia-smi
And I see this:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.147.05 Driver Version: 525.147.05 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 On | N/A |
| 0% 46C P8 9W / 215W | 143MiB / 8192MiB | 3% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
So next, I set my Jellyfin transcoding settings as such: https://imgur.com/NgCrN5i
When I play a video at 4k@120mbps, I see the following in my playback info on the client: https://imgur.com/diyvS3W
Does this mean it's working? Is there anything else I can do to verify?
Like I said, based on the "Transcoding" info in the Playback, it seems to be working, however I'm noticing high CPU usage in "htop" but thought it would impact my GPU more, so I was confused. Perhaps I'm just misunderstanding.
Thank you
I think it's working based on the Playback Info in the client, but just looking for confirmation from more knowledgeable users.
So first, setup:
I turned my old gaming PC into a Debian home server. I have a NVidia GTX 2070.
I'm running Jellyfin in a docker container. I followed the guides on the Jellyfin site to install my Nvidia drivers, the Nvidia docker toolkit, etc.
I set the NVIDIA_DRIVER_CAPABILITIES and NVIDIA_VISIBLE_DEVICES env vars, and also set the gpu with the following:
"device=GPU-211bc500-a72c-1af2-c289-1e3b472e6417","capabilities=compute,compat32,graphics,utility,display,video"
The device # I got from checking the NVidia driver.
I can then run the following: docker exec -it jellyfin nvidia-smi
And I see this:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.147.05 Driver Version: 525.147.05 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 On | N/A |
| 0% 46C P8 9W / 215W | 143MiB / 8192MiB | 3% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
So next, I set my Jellyfin transcoding settings as such: https://imgur.com/NgCrN5i
When I play a video at 4k@120mbps, I see the following in my playback info on the client: https://imgur.com/diyvS3W
Does this mean it's working? Is there anything else I can do to verify?
Like I said, based on the "Transcoding" info in the Playback, it seems to be working, however I'm noticing high CPU usage in "htop" but thought it would impact my GPU more, so I was confused. Perhaps I'm just misunderstanding.
Thank you