Ubuntu 18.04 HW transcoding not working

Is HW transcoding not supported with Ubuntu 18.04? I previously was debian 9 and it worked fine but I decided to switch to ubuntu 18.04 and now it does not work. Is it not supported? The computer supports intel quick sync and it worked fine on windows and debian.

HW transcoding does work with Ubuntu 18.04.

Please do the following:

  1. Verify DEBUG logging only in Settings - Server - General . VERBOSE is UNCHECKED. Save
  2. Start Playback
  3. Play for 15 seconds
  4. Stop Playback
  5. wait 30 seconds
  6. Setings - Server - Troublehooting - Download Logs
  7. Attach the ZIP it gives

Plex Media Server Logs_2019-03-01_22-11-21.zip (3.0 KB)

Here you go

You gave me only the statistics log.

I need the WHOLE log set.

Please do as I ask?

Try these logs

Plex Media Server Logs_2019-03-01_22-03-49.zip (158.5 KB)

The log has this line.

Mar 01, 2019 21:59:12.446 [0x7f6165ff8700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Invalid argument

I need the whole MDE sequence. That’s why I asked for it.

If you are concerned about privacy, I will PM you

I installed the ubuntu desktop and now HW transcoding is working. For some reason it does not work without the desktop so I am going to use debian instead. There must be files missing that are needed for HW transcoding when you don’t install the desktop.

Without the desktop, there was no dependency to install the i965-va-driver, next time just install it.

I figured it was a driver. I actually installed i915-va-driver and it did not work. I guess that was the wrong driver. Maybe I will give it another shot because I like that Ubuntu is more up to date.

Installed that driver and it still does not work

Can you list /dev/dri?

This is on my Ubuntu server 18.04 (headless, no desktop of course):

philippe@carp:~$ ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 80 Feb 13 11:50 by-path
crw-rw---- 1 root video 226, 0 Feb 13 11:50 card0
crw-rw---- 1 root video 226, 128 Feb 13 11:50 renderD128

Intel NUC, I3-7100U
HW transcoding works fine.

Phil

I get this. Like i said it works fine when i installed debian headless. It works on ubuntu when the DE is installed. i3-4130 HD 4400

drwxr-xr-x 3 root root 100 Mar 2 01:39 .
drwxr-xr-x 20 root root 4120 Mar 2 01:39 …
drwxr-xr-x 2 root root 80 Mar 2 01:39 by-path
crw-rw---- 1 root video 226, 0 Mar 2 01:39 card0
crw-rw---- 1 root video 226, 128 Mar 2 01:39 renderD128

Silly question. Reboot the machine since installing?
Certain kernel drivers are fussy.

Yes it was restarted.

Problem solved. I had to add my user to the vidoe group. Why didn’t it happen automatically ? Did not have to do that with debian.

Did you switch to running Plex under your username?

Yes I did. On Debian my user is auto added to video but on Ubuntu that doesn’t happen.

Apparently not. I wasn’t aware.

The udev rules are set for that group. HW transcoding keys off it since it’s always present on distros now.