You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On hybrid Intel+NVIDIA laptops, Chromium's hardware acceleration is broken out of the box. Enabling "Use hardware acceleration when available" in Chromium settings causes black screen, flickering, and visual corruption. This forces users to disable hardware acceleration entirely, losing VAAPI video decode and GPU rasterization.
The root cause is a cross-GPU DMA-BUF incompatibility: Hyprland's compositor runs on the NVIDIA GPU, while Chromium renders via the Intel GPU through ANGLE/OpenGL. When Chromium's GPU compositor tries to import NVIDIA DMA-BUF buffers as EGLImages on the Intel GPU, it fails with EGL_BAD_MATCH (0x3009), producing hundreds of errors per second:
eglCreateImage failed with 0x00003009
OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
This is the same issue reported in #3899 (same hardware: 13th Gen Intel + RTX 3050).
Investigation & what we tried
1. Set LIBVA_DRIVER_NAME=iHD in ~/.config/hypr/envs.conf
Result: Partially successful. Without this, vainfo defaults to NVIDIA's NVDEC driver which has limited VAAPI support. With iHD, Intel's full VAAPI stack activates (60+ profiles including H264, VP9, HEVC, AV1 encode/decode).
2. Added VA-API flags to chromium-flags.conf (as proposed in #4773)
Result: Partially successful.chrome://gpu showed "Video Decode: Hardware accelerated" and chrome://media-internals confirmed VaapiVideoDecoder was being used. However, the eglCreateImage errors persisted, causing black screen and flickering.
Auto-add --disable-gpu-compositing for hybrid Intel+NVIDIA systems to prevent the cross-GPU eglCreateImage errors
This would make Chromium usable with hardware acceleration out of the box on hybrid laptops, instead of forcing users to either disable HW acceleration entirely or manually figure out the workaround.
System details
Problem
On hybrid Intel+NVIDIA laptops, Chromium's hardware acceleration is broken out of the box. Enabling "Use hardware acceleration when available" in Chromium settings causes black screen, flickering, and visual corruption. This forces users to disable hardware acceleration entirely, losing VAAPI video decode and GPU rasterization.
The root cause is a cross-GPU DMA-BUF incompatibility: Hyprland's compositor runs on the NVIDIA GPU, while Chromium renders via the Intel GPU through ANGLE/OpenGL. When Chromium's GPU compositor tries to import NVIDIA DMA-BUF buffers as EGLImages on the Intel GPU, it fails with
EGL_BAD_MATCH (0x3009), producing hundreds of errors per second:This is the same issue reported in #3899 (same hardware: 13th Gen Intel + RTX 3050).
Investigation & what we tried
1. Set
LIBVA_DRIVER_NAME=iHDin~/.config/hypr/envs.confResult: Partially successful. Without this,
vainfodefaults to NVIDIA's NVDEC driver which has limited VAAPI support. WithiHD, Intel's full VAAPI stack activates (60+ profiles including H264, VP9, HEVC, AV1 encode/decode).2. Added VA-API flags to
chromium-flags.conf(as proposed in #4773)Result: Partially successful.
chrome://gpushowed "Video Decode: Hardware accelerated" andchrome://media-internalsconfirmedVaapiVideoDecoderwas being used. However, theeglCreateImageerrors persisted, causing black screen and flickering.3. Tried
--use-angle=vulkanwith Vulkan featuresResult: Failed. Chromium window became completely transparent/invisible. ANGLE Vulkan cannot render at all on this hybrid setup.
4. Added
--disable-gpu-compositing(working solution)Result: Working workaround. This disables only the GPU compositor (the part that does cross-GPU buffer sharing), while keeping:
Working configuration
~/.config/hypr/envs.conf~/.config/chromium-flags.confProposal
For hybrid Intel+NVIDIA systems, Omarchy could:
LIBVA_DRIVER_NAME=iHDin the environment (needed for Intel VAAPI to work when NVIDIA is present)chromium-flags.conf(as proposed in Enable VA-API hardware acceleration in default Chromium flags #4773)--disable-gpu-compositingfor hybrid Intel+NVIDIA systems to prevent the cross-GPUeglCreateImageerrorsThis would make Chromium usable with hardware acceleration out of the box on hybrid laptops, instead of forcing users to either disable HW acceleration entirely or manually figure out the workaround.
Related issues