I’m having an issue with my screen flashing very quickly before starting any video. The videos I open from the web browser or the videos I play on the desktop with the player cause this problem. Below you can see the Display properties of my computer.
-Session-
Type : wayland
-Wayland-
Current Display Name : wayland-0
-X Server-
Current Display Name : :0
Vendor : The X.Org Foundation
Version : (Unknown)
Release Number : 12201003
-Screens-
Screen 0 : 1366x768 pixels
-Outputs (XRandR)-
XWAYLAND0 : Connected; 1366x768 pixels, offset (0, 0)
-OpenGL (GLX)-
Vendor : Intel
Renderer : Mesa Intel(R) HD Graphics 520 (SKL GT2)
Direct Rendering : Yes
Version (Compatibility) : 4.6 (Compatibility Profile) Mesa 22.1.4
Shading Language Version (Compatibility) : 4.60
Version (Core) : 4.6 (Core Profile) Mesa 22.1.4
Shading Language Version (Core) : 4.60
Version (ES) : OpenGL ES 3.2 Mesa 22.1.4
Shading Language Version (ES) : OpenGL ES GLSL ES 3.20
GLX Version : 1.4
I use Brave browser. (but problem also same in Firefox) Also I have same problem for local videos when I play them with gnome videos or mpv etc. I didn’t experienced this problem with other distros (what i tried) on Wayland and I want to use Wayland (Xwayland).
I then launched Brave and installed the enhanced-h264ify extension to block { VP8, VP9, and AV1 }. Hardware acceleration works well in Xorg, although i965 works better for my Intel box (default iHD if not set).
export LIBVA_DRIVER_NAME=i965
Today, I witnessed Brave utilized the Video engine using Intel Graphics. It works flawlessly in Xorg. But drops frames in Wayland.