HW transcoding not working on i3-10100/AsRock H570M-ITX/AC/Debian 11 system

Server Version#: 1.25.4.5487

I upgraded my J5005 system (where HW transcoding worked) to an i3-10100 on an AsRock H570M-ITX/AC board. Both old and new systems are on Debian 11 and I just used the Library folder from the old system and migrated it over to the new system. Everything migrated beautifully except HW transcoding is not working for some reason. Here are the PMS logs.

I checked the Preferences.xml file and it doesn’t have the VaapiDriver="i965" entry which is expected for newer CPU’s (no modification).

I installed all required Intel runtime libraries:

--2022-02-08 14:15:45--  https://downloads.plex.tv/plex-media-server-new/1.25.4.5487-648a8f9f9/debian/plexmediaserver_1.25.4.5487-648a8f9f9_amd64.deb
Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.12.47, 104.18.13.47, 2606:4700::6812:d2f, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.12.47|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 78416314 (75M) [application/x-debian-package]
Saving to: ‘plexmediaserver_1.25.4.5487-648a8f9f9_amd64.deb’

plexmediaserver_1.25.4.5487-648a8f9f9_amd64.deb                                 100%[====================================================================================================================================================================================================>]  74.78M  40.8MB/s    in 1.8s

2022-02-08 14:15:47 (40.8 MB/s) - ‘plexmediaserver_1.25.4.5487-648a8f9f9_amd64.deb’ saved [78416314/78416314]

(Reading database ... 81768 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.25.4.5487-648a8f9f9_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.25.4.5487-648a8f9f9) over (1.25.4.5487-648a8f9f9) ...
Setting up plexmediaserver (1.25.4.5487-648a8f9f9) ...
PlexMediaServer install: PlexMediaServer-1.25.4.5487-648a8f9f9 - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   Update
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         render
PlexMediaServer install:   Metadata Dir:        /home/plex/Library/Application Support
PlexMediaServer install:   Temp Directory:      /home/plex/Transcode
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Config file used:    /etc/systemd/system/plexmediaserver.service.d/override.conf
PlexMediaServer install:   Intel i915 Hardware: Found
PlexMediaServer install:   Nvidia GPU card:     Not Found
PlexMediaServer install:
PlexMediaServer install:   OpenCL:              Installed
PlexMediaServer install:   Intel Gmmlib:        Installed
PlexMediaServer install:   Intel IGC Core:      Installed
PlexMediaServer install:   Intel IGC OpenCL:    Installed
PlexMediaServer install:   Intel OpenCL:        Installed
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: PlexMediaServer-1.25.4.5487-648a8f9f9 - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for mailcap (3.69) ...

The only difference I saw is that the beignet driver is no longer needed. Is this expected @ChuckPa?

@anon18523487 any ideas?

FYI, versions after 21.49.21786 break HDR tonemapping.

See Quicksync doesn’t work after enabling HDR Tone Mapping

Thanks, that definitely was the cause! Do you know if this being worked on by Intel?

There is an open issue at github, so they’re at least aware of the problem.

Got it.

When upgrading/downgrading libraries, do you need to uninstall and reinstall in the correct order mentioned by the Plex installer? Or just overwrite on top in the correct order?

Personally, I’d go with uninstall/reinstall, as that should definitely work, and it took all of 3 minutes to install the libraries on my system, so time should not be a concern.

That written, I’ll defer to @ChuckPa. He’ll let me know if I’m off-base. :slight_smile:

I happened to see the thread before installing the libraries on my system, so I didn’t have to deal with moving to the older release.

I see. I’m just not sure if when uninstalling I need to use autoremove and purge to remove dependencies and config files, respectively. And then I have another PMS with an older version of the libraries which I need to upgrade to 21.49.21786.

The Intel Compute Runtime libraries for the CPU are independent of the PMS version.

The installer will handle removing and then properly reinstalling everything in /usr/lib/plexmediaserver.

There is no need to purge your metadata (location specified in override.conf). Your override will persist through the uninstall/reinstall of PMS.

As long as you’ve removed the old ICR versions and then installed the 21.49 versions, you’ll be ok.

To remove the ICR modules, normal dpkg -r will do the job. Manually uninstall them so you can install the lower 21.49 versions of those same Intel files.

1 Like

Right, I get that the Intel runtime libraries are independent of the PMS version. I was more on wondering how to properly uninstall the libraries than anything.

Is using dpkg -r also applicable when upgrading the libraries? I have another system with older libraries that I need to upgrade.

The normal dpkg -i supports upgrading an older package with a newer.

Whether you’re installing fresh or upgrading manually, dpkg -i will do the job.

Ok, perfect! Why is there an order of installation for these libraries? In github, the instructions are to install them with a wildcard (*.deb) which I’m not sure how that works in terms of installation order.

When you install using the wildcard (all are listed on the command line together), normal processing within DPKG allows it to satisfy the sequence dependency because they are all within a single transaction.

You could do the same with removal by typing all the package names on the command line .

Ok. So if I got that right, installing using dpkg -i *.deb while on the directory where the deb files are is exactly the same as installing them individually in the correct sequence. That’s good know as I was actually installing them one by one which is a hassle.

Yes. Why should we fuss with figuring out what the transactional order is when DPKG can do it for us :slight_smile:

1 Like

Nobody is even updating this github issue. Do you have any ideas if this is already fixed with the latest version of the Intel runtime libraries?

Stay at 21.49 for now.

It was mentioned on another thread that Intel changed the API. Plex Engineering knows about it and is working on it.

21.49 should be OK. I’m running Plex on an i5-10500T w/ Ubuntu 20.04 and tonemapping is working fine with 21.49.

I see, ok. So this is up to Plex now.

Found the thread. You can follow it by scrolling to the bottom and changing “Normal” to “Watching.” Any updates should be in the PMS release announcement thread as well.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.