Hetzner i9 9900k hardware transcoding

I am trying to setup hardware transcoding for my hetzner server but am unable to get it working. I followed all the steps and also updated the kernel. I am using Ubuntu 18.04.

When i run the commands to check below is the result

ls -la /dev/dri
total 0
drwxr-xr-x  3 root root       100 Apr  2 13:25 .
drwxr-xr-x 19 root root      4240 Apr  2 13:25 ..
drwxr-xr-x  2 root root        80 Apr  2 13:25 by-path
crw-rw----  1 root video 226,   0 Apr  2 13:25 card0
crw-rw----  1 root video 226, 128 Apr  2 13:25 renderD128
vainfo
error: can't connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

I have checked the hardware transcoding option in plex media server as well. I am using this on plexguide.

Would highly appreciate if someone could guide me in the right direction

Server Version#: Version 1.19.1.2589

Did you do all this?

I already see that your device doesn’t have 777 permissions.

But here it says:
Note: If VAINFO works, it’s almost a sure bet you’ll be able to get the Docker Plex to work. However, as long as the /dev/dri folder with the two driver files are there, you’re probably okay even if running VAINFO throws an error.

And by the way: you need a Plex pass.

I followed the guide step by step.

how can i give the permission?. I did execute

sudo usermod -a -G video vncuser

vncuser is my username. Yes, I do have plex pass as well.

7) chmod -R 777 /dev/dri to change permissions (critical step for use in Docker!
You probably need to do it as root or with “sudo”.

Is vncuser also the user that runs plex?!

yes, I did that step 7 as well. Vncuser is the user i use to run plex

Your output of ls -la /dev/dri does not show permissions of 777 for the two devices card0 and rendererD128. Do it again sudo chmod -R 777 /dev/dri, check if it proceeds without error and check again ls -la /dev/dri.

did that and I get this result

ls -la /dev/dri
total 0
drwxrwxrwx  3 root root       100 Apr  2 13:25 .
drwxr-xr-x 19 root root      4240 Apr  2 13:25 ..
drwxrwxrwx  2 root root        80 Apr  2 13:25 by-path
crwxrwxrwx  1 root video 226,   0 Apr  2 13:25 card0
crwxrwxrwx  1 root video 226, 128 Apr  2 13:25 renderD128

not sure what I am doing wrong :frowning:

If I may add here?

In the -9xxx CPUs, the iHD driver is needed.
Intel moved away from the i965 with the 9000’s.
The API/ABI is different now just as is the data flow internal to the chip.

What does PMS itself show in the log files?