u/NapoleonWils0n

Firefox widevine working in Rocky Linux Podman container on Freebsd
▲ 22 r/freebsd

Firefox widevine working in Rocky Linux Podman container on Freebsd

I have managed to get Firefox working with widevine for drm playback working in a Rocky Linux Podman container on Freebsd

Without the Nvidia driver installed in the container using some witchcraft

devfs.rules, starting pulseaudio on the Frebsd host using pavucontrol and mounting the wayland and pulseaudio sockets from Freebsd inside the Podman container

using the dummy-uvm and mounting some of the Linuxulator directories for the Nvidia driver from the Freebsd host to the container and lots of other settings as well

Firefox settings to get the widevine to download and install and hardware accelerated video playback

with persistent settings as well so when you restart the container all your extensions and settings are preversed

Picture in Picture also works so you can pop the video out and display it on a second monitor

Tested using Youtube free with ads movies which use drm, successfully playing back a 1080p video on the second display with ublock origin installed to block the ads

See the attached screenshot

Cuda works in the container as well as nvenc encoding which i use in a ffmpeg container

Im creating github project for this, so now i have cracked Cuda, ffmpeg nvenc encoding and Firefox widevine drm playback i should be able to create containers for different Linux applications

In theory python applications that use Cuda like Whisperx, Stable diffusion, Comfy UI should also be possible

As well as thing like Davinci Resolve as well

Ill do a youtube video about this and post a heads up when its upload

https://preview.redd.it/ef0r5unx062h1.jpg?width=3840&format=pjpg&auto=webp&s=43e2851119ea04076cbf1c1b390eb6a2cab9f73c

reddit.com
u/NapoleonWils0n — 3 days ago