OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
gpu-drivers high common DISPUTE

Fix black/flickering video in Chromium browsers on hybrid Intel+NVIDIA

omarchyarchendeavouroscachyoshyprlandwaylandnvidiaintellaptop
CORRECTED An auditor found the fix wrong or incomplete and rewrote it.
AUDIT NOTE

The symptom, the eglCreateImage 0x3009 / OzoneImageBacking log trio and the cross-GPU DMA-BUF modifier explanation are real and match Omarchy issues 3891 and 4901 (both exist, titled 'Videos not playing after recent update' and 'Hybrid Intel+NVIDIA: Chromium hardware acceleration requires manual workarounds'). Two flags are wrong: --use-gl=desktop was removed from Chromium years ago (Linux is ANGLE-only now. The value is ignored/errors and the modern equivalent is --use-angle=gl), and --disable-gpu-compositing is offered as a routine step when it turns off GPU compositing browser-wide. It is a last-resort sledgehammer that costs performance everywhere.

The cause above was not rewritten and may still contain the error described. The fix below is the corrected version.

Symptom

After a system update, videos in Chromium, Brave or Chrome show a black rectangle, stutter badly, or the browser crashes. Launching from a terminal spews:


ERROR:ui/gl/angle_platform_impl.cc:42] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERROR:gpu/command_buffer/service/shared_image/ozone_image_backing.cc:316] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
ERROR:gpu/command_buffer/service/shared_image/shared_image_manager.cc:404] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking

Cause

Cross-GPU buffer sharing. The compositor renders on one GPU (often the NVIDIA dGPU) while Chromium's ANGLE/EGL path imports DMA-BUFs allocated on the other (the Intel iGPU). The two do not agree on format modifiers, so eglCreateImage fails and every video frame is dropped.

Fix

Pin Chromium's VA-API to the iGPU:


env = LIBVA_DRIVER_NAME,iHD            # Omarchy 3.x / Hyprland <= 0.54

hl.env("LIBVA_DRIVER_NAME", "iHD")     -- Hyprland 0.55+ / Omarchy 4

Then ~/.config/chromium-flags.conf (or brave-flags.conf / chrome-flags.conf):


--ozone-platform=wayland
--enable-features=UseOzonePlatform,WaylandLinuxDrmSyncobj,VaapiVideoDecodeLinuxGL,VaapiVideoEncoder
--enable-gpu-rasterization
--enable-zero-copy
--ignore-gpu-blocklist

Fully restart the browser (pkill chromium) and check chrome://gpu for 'Video Decode: Hardware accelerated' and no ANGLE/EGL errors.

If video is still black, escalate in this order:


--use-angle=gl          # force the GL ANGLE backend instead of the default

and only as a last resort:


--disable-gpu-compositing   # disables GPU compositing for the whole browser

Do not use --use-gl=desktop (removed from Chromium, silently ignored) and do not use --use-angle=vulkan on this setup (reported to render the window transparent).

Verify

chrome://gpu shows 'Video Decode: Hardware accelerated' and no eglCreateImage errors on stderr. A 1080p YouTube video plays smoothly and intel_gpu_top shows the Video engine above 0%.

Sources

chromium-video-black-hybrid-angle