plex not detecting nvidia GPU

dean.viens

Dabbler
Joined
Feb 23, 2023
Messages
32
hello all, i dont know what is going on but all of a sudden after an upgrade to plex my gpu is no longer listed in the menu.

here are commands for information:


admin@truenas[~]$ nvidia-smi
Fri Jan 5 16:12:19 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03 Driver Version: 535.54.03 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| 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 GTX 1660 ... Off | 00000000:01:00.0 Off | N/A |
| 29% 34C P0 1W / 125W | 0MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------+
admin@truenas[~]$

admin@truenas[~]$ lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 0d)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 0d)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #5 (rev f0)
00:1c.5 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #6 (rev f0)
00:1c.7 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #8 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a308 (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
02:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. Device 500f (rev 03)
03:00.0 SATA controller: ASMedia Technology Inc. ASM1166 Serial ATA Controller (rev 02)
04:00.0 SATA controller: ASMedia Technology Inc. ASM1166 Serial ATA Controller (rev 02)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
06:00.0 Non-Volatile memory controller: Micron/Crucial Technology P1 NVMe PCIe SSD (rev 03)
admin@truenas[~]$

ix-original-cropped.png

OS Version:TrueNAS-SCALE-23.10.1
Product:System Product Name
Model:Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz


not sure how to fix it but it just says 0 nvidia gpu to allocate in the menu for plex
all using bluecharts
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
I have the same situation with a p2000. have you managed to fix the issue?
 

dean.viens

Dabbler
Joined
Feb 23, 2023
Messages
32
yes, all you need to do is remove gpu suppoirt from kubernites settings and then put it back and it recognizes it again.
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
you mean these ones? under plex config?
1709484544412.png
 

dean.viens

Dabbler
Joined
Feb 23, 2023
Messages
32
no in the advanced settings of the apps in general.
 

Attachments

  • Screenshot 2024-03-03 at 9.50.44 AM.png
    Screenshot 2024-03-03 at 9.50.44 AM.png
    15.2 KB · Views: 29

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
got it. thanks
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
not yet done. I think I'm missing something:
1709494330145.png
the driver seems ok. the gpu is on.
I enabled and disabled the GPU support in k8s
1709494388642.png



the problem is I can't see it in plex. all GPU entries are 0. I start the app and force a transcode, then my CPU goes to the roof => the GPU is not used!
there is a setting I miss. But I can't find which.
 
Last edited:

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
I did. It required a restart to actually use it. not it works, with the setting you suggested and restart it works
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
Yes. No.issues
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
I just did a new check. restarted and checked - it seems to work nice
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
what version are you?
 
Top