Support hardware transcoding for Linux (Asahi, etc) on Apple Silicon

Passing through /dev/dri to Plex docker on Asahi Fedora 40 does not enable the hardware transcoding option.

Support for hardware transcoding on Linux running on Apple Silicon would be great.

Its cool I’m not the only one interested in this, but I feel like this request would be more appropriately directed at Asahi Lina since she and the team are the only people working on getting GPU functional on Asahi.

Maybe here?

1 Like

Does Plex just come along for the ride one the Asahi team gets their part done, or is going to be additional work on the Plex team’s part?

The reason Asahi doesn’t support this via docker seems to be connected to how Linux Kernel development handles up/downstreams and its dispute with Rust in this particular case.

But there seems to be a sort of partial workaround for Flatpak:
“This, in practice, means that users cannot have GPU acceleration work together with container technologies (such as Docker/Podman, but also including things like Waydroid), since standard container images will ship upstream Mesa builds, which would not be compatible. We have a partial workaround for Flatpak, but all other container systems are out of luck. Due to all this and more, the difficulty of upstreaming to the Linux kernel is hurting our downstream users today.”

Taken from the resignation Post of marcan resigning-as-asahi-linux-project-lead

I saw that, but I don’t think it supports it natively either. I think I tested it with ffmpeg before, but I don’t remember what I did.