Problems with Wayland + Ubuntu + GBM/Pixmap/Scanout/SharedImage

Description:
When using Ubuntu 24.04.03 under Wayland with NVIDIA driver 580.95.05 and an RTX 3080, serious GPU problems occur in Chromium (and sometimes Firefox).

Symptoms:

  1. Chromium GPU process crashes repeatedly (GpuProcessHost exited with code 8704).
  2. Videos on YouTube and other GPU-accelerated content experience severe FPS drops.
  3. Hardware decoding via VA-API is not supported.

Relevant log messages (excerpt):
Cannot create bo with format= RGBA_8888 and usage=Scanout|Rendering|Texturing
CreateSharedImage: could not create backing
SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox
Restarting GPU process due to unrecoverable error. Context was lost.
eglCreateContext: Requested version is not supported

System information:
GPU: NVIDIA RTX 3080
Driver: 580.95.05
CUDA: 13.0
OS: Linux Ubuntu 24.04.03
Browser: Chromium (latest version), Firefox (WebRender enabled)
Session: Wayland

Steps to reproduce:

  1. Start Ubuntu 24.04.03 under Wayland.
  2. Open Chromium (or Firefox with WebRender).
  3. Play YouTube or other WebGL/hardware-rendered content.
  4. Observe: FPS drops, GPU process crashes.

Expected behavior:

  1. GPU process remains stable.
  2. Hardware decoding for videos works.
  3. Chromium/Firefox use the GPU correctly via GBM/Wayland.

Actual behavior:

  1. GPU process crashes.
  2. Videos are software-decoded → FPS drops significantly.
  3. Chromium falls back to software renderer.

Additional notes:
These issues do not occur under X11 (“Ubuntu on Xorg”).

The problem only affects Wayland sessions with NVIDIA drivers.

Request:

Please check whether GBM/Pixmap/Scanout/SharedImage support under Wayland can be improved for RTX 30xx GPUs.

Goal: Stable use of Chromium/Firefox under Wayland without GPU process crashes.
See also