Plex hardware transcoding not working, /dev/dri empty

user12

Cadet
Joined
Dec 7, 2022
Messages
6
  • ASUS PRIME Z590-A
  • Intel G5900
  • TrueNAS-SCALE-22.12-RC.1
My issue is very similar to this: https://www.truenas.com/community/threads/unable-to-get-hw-transcoding-for-plex.96598/, but my /dev/dri is empty.

Screenshots showing plex errors (happens with official and truecharts):
cuda.JPG
cuda2.JPG


GPU shows up in some places:
gpu.JPG
intel.JPG


/dev/dri is empty:
dev_dri.JPG


Possibly relevant: I did previously use this command to get a monitor to work:
midclt call system.advanced.update '{"kernel_extra_options": "nomodeset i915.modeset = 0"}'
https://www.truenas.com/community/threads/video-output-stops-during-boot.99550/

Here's another poster who appears to have the same issue, but no solution:
https://www.truenas.com/community/t...-newer-intel-cpus-in-scale.100046/post-690025
 

user12

Cadet
Joined
Dec 7, 2022
Messages
6
I solved the missing /dev/dri with this command:
midclt call system.advanced.update '{"kernel_extra_options": ""}'
HW transcoding still not working (Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred).
 

user12

Cadet
Joined
Dec 7, 2022
Messages
6
Fixed! After the change in the previous post, this dropdown gave me 6 options instead of just 1:
allocate1.png

selecting Allocate 1 instead of Allocate 0 made hardware transcoding work.
 

Daisuke

Contributor
Joined
Jun 23, 2011
Messages
1,041
I presume is expected to see 2 card directories, since there are 2 cards present into server:
Code:
# lspci | egrep 'NVIDIA|VGA'
03:00.0 3D controller: NVIDIA Corporation GP104GL [Tesla P4] (rev a1)
0a:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. G200eR2
# ls -lh /dev/dri
total 0
drwxr-xr-x 2 root root        100 Nov 30 21:50 by-path
crw-rw---- 1 root video  226,   0 Nov 30 21:50 card0
crw-rw---- 1 root video  226,   1 Nov 30 21:50 card1
crw-rw---- 1 root render 226, 128 Nov 30 21:50 renderD128
 
Last edited:
Top