Ubuntu 24.04 & HW transcoding

Will this transcoding-refactor also allow hardware-accelerated transcoding with subtitle burn-in?

2 Likes

Just tried the latest available beta, 1.40.3.8555, on my Plex LXC running under Proxmox 8.2 with kernel 6.8.4-3-pve on a Meteor Lake Intel 125h machine. Hardware transcoding works, including with HDR tonemapping enabled HOWEVER the colors are far too bright with that enabled. I have a feeling @ChuckPa is about to say “well duh” but I’m just having trouble following which piece of the puzzle is causing that part and if its something I can fix now by for example installing new/different Intel drivers.

Color saturation level is a common complaint of mobius tone mapping.

Please hang in there. I am working with a build which will address that

1 Like

Ahh that’s good to know, thanks @ChuckPa

The N100 mini pc’s are TGLx so will easily do HEVC encoding but will not do AV1 encoding in the future.

1 Like

I know you can’t commit to anything, things can change yaddah yaddah - but transcoding to HEVC is transcoding to HEVC 8bit or 10bit or both/options?

I ask because in the QSV encode/decode matrix chart Apollo Lake is capable of HEVC 8bit encode (and 10bit decode) while everything later supports 10bit encode it looks like.

Needs to be flushed out on the per-CPU basis.

This is still active development where anything can, and usually does, happen.
(You know, like Murphy’s Law! lol)

1 Like

Oh, that would be really nice! Make it so! :wink:

:saluting_face:

lol

Hi everyone.

I’ve been following along this busy thread as best possible and was hoping to summarise? It sounds like for my case (Intel N100, looking to upgrade to 24.04), then it sounds like using the 1.40.3.8555 beta it’s basically good to go?

I don’t have huge requirements, as long as HW decoding is basically working then it would be nice to upgrade, but not critical

Cheers!

You guys should test with an ARC. I think you’ll be surprised, or is something happening by accident. I think you might actually install the drivers. I had boot ssd fail on one system, so refreshing my system. Loaded up fresh 22.04.4lts. Did not manually add the intel repositories. Drop the plexinc docker on, and all gpu functions work, all the way upto av1 transcode.
Vainfo was not even installed on this machine, I just installed it for this output with multiple errors.

Combinational hevc and av1 transcode is super great even on an 7-8year old potato cpu.

1 Like

@Menel

The docker image doesn’t install anything on the host. Docker doesn’t work that way. Everything needed for the container to run is INSIDE the image.

There will not be any visible capability outside the container as you’re showing in your screenshots.

Must have been something either Ubuntu is now including or some other package you tried.

What I was thinking, is you install the driver inside of the docker?

No. Drivers are installed on the base host. At most, client runtimes are installed in the container. With Docker, you don’t install anything. You only need pass /dev/dri through to the container.

In the case of the ARC GPU card, Plex uses it through the VA API if supporting card drivers are installed on the host.

2 Likes

Can confim new update to 24.04 and kernel as well as latest release today of plex. It is now GPU trancoding correctly on a I713th Gen Intel® Iris® Xe Graphics Ubuntu 6.8.0-35.35-generic 6.8.4 kernel.

Still not working in Win 11 i7 155H Arc Meteor lake with latest drivers.
reguards

Does this also apply for LXC setups? Should I be installing VAAPI drivers on the Proxmox host or the container if I want to use that API?

Proxmox has special considerations because of how they handle LXCs.

If you search these forums “proxmox hardware transcoding” and variations (Proxmox HW transcoding) , you’ll find proxmox-specific instructions.

Thanks @ChuckPa. So far I’ve been using TTeck’s scripts for setting up the Plex LXC but I’ll do some searching here.

Oooo… Is that why (H.264) we lose HDR when transcoding 4K HDR H.265 content?

H.264 does not support HDR so at the moment if you transcode from H.265+HDR the result will be H.264+SDR and you will need tone mapping to make it look decent. But if we can encode to H.265 the result will still be HDR making tone mapping unneeded in many circumstances.

1 Like