V4L2 Hardware Decode does not work (Missing /dev/video*) (Flathub Specific)
V4L2 Hardware Decode does not work on (only) the flatpak version of Epiphany. It does work on my (Gentoo) distribution package manager install. I start epiphany with flatpak run --device=all org.gnome.Epiphany
and flatpak info --show-permissions org.gnome.Epiphany
shows devices=dri;all;
. I believe this is because WebKitWebProcess
does not have access to /dev/video*
inside its sub-sandbox even when the epiphany parent has access to this device.
Flatpak Versions (broken HW decode):
- Epiphany: 44.6
- WebKitGTK: 2.40.4
- GStreamer: 1.20.6
- Distributor: Flathub
System Versions (working HW decode):
- Epiphany: 44.2
- WebKitGTK: 2.40.1
- GStreamer: 1.20.4
- Distributor: Gentoo
Note that, since this issue seems to be Flatpak specific, it seems like it might be an issue in Flatpak specific code or requires Flatpak specific handling and so I am reporting it here.
Edited by Abhinav Praveen