@ExHongKonger
Check the group which owns /dev/dri and make sure plex is a member of that group.
The card0/card1 issue was caused by the Linux kernel changing (again). The solution we have now with ‘card1’ is a Canonical change and they handled it in 22.04 by writing a series of udev rules for drm.
PMS can deal with card0 or card1 (or card2 -haha)
[chuck@lizum ~.2000]$ ls -la /dev/dri
total 0
drwxr-xr-x 3 root root 160 Jan 26 20:11 ./
drwxr-xr-x 23 root root 5880 Jan 26 20:16 ../
drwxr-xr-x 2 root root 140 Jan 28 12:43 by-path/
crw-rw----+ 1 root render 226, 0 Jan 26 20:11 card0
crw-rw----+ 1 root render 226, 1 Jan 26 20:11 card1
crw-rw----+ 1 root render 226, 2 Jan 28 12:43 card2
crw-rw----+ 1 root render 226, 128 Jan 26 20:11 renderD128
crw-rw----+ 1 root render 226, 129 Jan 26 20:11 renderD129
[chuck@lizum ~.2001]$
card0 = the desktop VGA
card1 = the UHD 770
card2 = the Nvidia RTX 2000 card
The Alderlake’s 770 and Nvidia work correctly but you must SELECT it in transcoder’s settings.
I upgraded to 24.04.1 last night.
This is my Xeon + P2200 machine.
[chuck@lizum ~.2000]$ gog ls -laR /dev/dri
/dev/dri:
total 0
drwxr-xr-x 3 root root 120 Jan 28 02:30 .
drwxr-xr-x 19 root root 5400 Jan 28 02:30 ..
drwxr-xr-x 2 root root 100 Jan 28 02:30 by-path
crw-rw---- 1 root render 226, 0 Jan 28 02:30 card0
crw-rw---- 1 root render 226, 1 Jan 28 02:30 card1
crw-rw---- 1 root render 226, 128 Jan 28 02:30 renderD128
/dev/dri/by-path:
total 0
drwxr-xr-x 2 root root 100 Jan 28 02:30 .
drwxr-xr-x 3 root root 120 Jan 28 02:30 ..
lrwxrwxrwx 1 root root 8 Jan 28 02:30 pci-0000:07:00.0-card -> ../card1
lrwxrwxrwx 1 root root 13 Jan 28 02:30 pci-0000:07:00.0-render -> ../renderD128
lrwxrwxrwx 1 root root 8 Jan 28 02:30 pci-0000:0d:00.0-card -> ../card0
[chuck@lizum ~.2001]$
Notice how it now maps out
Also notice the group should be render on Ubuntu (how I coded it in the native installer)
[chuck@glockner rules.d.2002]$ cat 60-plex-hw-transcoding.rules
SUBSYSTEM=="drm", GROUP="render" , MODE="0660"
[chuck@glockner rules.d.2003]$
If you still have ‘video’ then I wonder if udevadm --trigger hasn’t fired
-or-
plex:plex is not a member of groups video and render
(I add plex to both groups in the native app)