Firefox via Jail = Tearing videoframe

FreeBSD 14.1
FreeBSD 14.2
CPU: Intel i7-4770k
GPU: Intel HD Graphics 4600
Kernel module: i915kms
Xorg, sddm
User are member of the video group.

Launching Firefox (or Librewolf) on the host: the video plays correctly.
Launch Firefox (or Librewolf) via Jail and get a Tearing videoframe.

I check it through a special video -

The problem is solved by changing the parameter gfx.webrender.all=true
Default gfx.webrender.all=false

Tried changing other variables:
media.ffmpeg.vaapi.enabled=true
media.hardware-video-decoding.force-enabled=true
doesn't help, requires gfx.webrender.all=true

I checked it on other browsers via jail: chromium, ungoogled-chromium, smplayer - everywhere the video plays correctly, without breaking the video frame.
vainfo inside jail shows vaapi configuration correctly.

Firefox bug or feature?

xorg.conf
Code:
Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        Option      "AccelMethod" "sna"
        Option "DRI" "3"
        Option "TearFree" "true"
        BusID       "PCI:0:2:0"
EndSection

Code:
# pkg info | grep -i drm
drm-61-kmod-6.1.92             DRM drivers modules
libdrm-2.4.123,1               Direct Rendering Manager library and headers

# pkg info | grep -i mesa
mesa-dri-24.1.7_1              OpenGL hardware acceleration drivers for DRI2+
mesa-libs-24.1.7_1             OpenGL libraries that support GLX and EGL clients

# pkg info | grep -iE 'intel|libva|vaapi'
libva-2.22.0                   VAAPI wrapper and dummy driver
libva-intel-driver-2.4.1_3     VAAPI legacy driver for Intel GMA 4500 (Gen4) to UHD 630 (Gen9.5)
libva-intel-hybrid-driver-1.0.2_3 Hybrid VP8 encoder and VP9 decoder for Intel GPUs
libva-utils-2.22.0             Collection of tests and utilities for VAAPI
xf86-video-intel-2.99.917.923_1,1 X.Org legacy driver for Intel integrated graphics chipsets

If you use Firefox (or Librewolf) via jail, please check if this problem is reproduced and report back on your hardware. If your problem is not reproducible, please unsubscribe too. Thank you.
 
Back
Top