Hi All,
Back again, transcoding is all I post about. Everything else always goes great, promise!
I got a free Nvidia T4 card, and could not pass it up. My plex server was built with an Intel I9, so been doing igpu, after a few posts, dri driver tinkering, hw transcoding worked fine. I installed the T4, and installed the driver for it.
root@Homer:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs# ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001EB8sv000010DEsd000012A2bc03sc02i00
vendor : NVIDIA Corporation
model : TU104GL [Tesla T4]
driver : nvidia-driver-450-server - distro non-free
driver : nvidia-driver-510 - distro non-free
driver : nvidia-driver-515 - distro non-free recommended
driver : nvidia-driver-470 - distro non-free
driver : nvidia-driver-418-server - distro non-free
driver : nvidia-driver-470-server - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
So i installed the nvidia-driver-515 through apt. I played a video on plex and it is still choosing vaapi.
Sep 05, 2022 19:22:30.945 [0x7f83196bcb00] DEBUG - [Req#13a9/Transcode] TPU: hardware transcoding: using hardware decode accelerator vaapi
Sep 05, 2022 19:22:30.945 [0x7f83196bcb00] DEBUG - [Req#13a9/Transcode] TPU: hardware transcoding: zero-copy support present
Sep 05, 2022 19:22:30.945 [0x7f83196bcb00] DEBUG - [Req#13a9/Transcode] TPU: hardware transcoding: using zero-copy transcoding
Sep 05, 2022 19:22:30.945 [0x7f83196bcb00] DEBUG - [Req#13a9/Transcode] Codecs: hardware transcoding: testing API vaapi
Sep 05, 2022 19:22:30.947 [0x7f83196bcb00] DEBUG - [Req#13a9/Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
I check the dri folder and linux sees what i assume is the igpu and nvidia (only had one card before).
root@Homer:/var/log# ls -ls /dev/dri
total 0
0 drwxr-xr-x 2 root root 120 Sep 5 18:56 by-path
0 crw-rw----+ 1 root render 226, 0 Sep 5 18:56 card0
0 crw-rw----+ 1 root render 226, 1 Sep 5 18:56 card1
0 crw-rw----+ 1 root render 226, 128 Sep 5 18:56 renderD128
0 crw-rw----+ 1 root render 226, 129 Sep 5 18:56 renderD129
Now i do see these messages in syslog, so maybe the drivers i am using are unhappy
Sep 5 19:22:31 Homer Plex Media Server[3615]: beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
Sep 5 19:22:31 Homer Plex Media Server[3615]: (If you have multiple ICDs installed and OpenCL works, you can ignore this message)
Sep 5 19:22:31 Homer Plex Media Server[3615]: beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
Sep 5 19:22:31 Homer Plex Media Server[3615]: (If you have multiple ICDs installed and OpenCL works, you can ignore this message)
Sep 5 19:22:31 Homer Plex Media Server[3615]: beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
Sep 5 19:22:31 Homer Plex Media Server[3615]: (If you have multiple ICDs installed and OpenCL works, you can ignore this message)
root@Homer:~# dpkg-query -l | grep intel-
ii intel-gmmlib 22.0.0 amd64 Intel(R) Graphics Memory Management Library Package
ii intel-igc-core 1.0.9636 amd64 Intel(R) Graphics Compiler for OpenCL™
ii intel-igc-opencl 1.0.9636 amd64 Intel(R) Graphics Compiler for OpenCL™
ii intel-level-zero-gpu 1.2.22081 amd64 Intel(R) Graphics Compute Runtime for oneAPI Level Zero.
ii intel-media-va-driver:amd64 20.1.1+dfsg1-1 amd64 VAAPI driver for the Intel GEN8+ Graphics family
ii intel-microcode 3.20220510.0ubuntu0.20.04.1 amd64 Processor microcode firmware for Intel CPUs
ii intel-opencl-icd 21.52.22081 amd64 Intel graphics compute runtime for OpenCL
This should correspond to version 21.49.21786, which works with my igpu.
I am wondering if i need to update the runtime version i have for opencl, i know my version is form 2021, however history as shown the newer stuff tends to not like the i9.
Looking for advice, I expected plex to pick the card before the igpu from what i read.