Public bug reported:

After booting into a GNOME Wayland session on Ubuntu, gnome-shell
continuously logs the following errors:

Failed to query buffer age, got error 3003
Failed to lock front buffer on /dev/dri/card2:
gbm_surface_lock_front_buffer failed

The session also experiences repeated XWayland disconnects:

Connection to xwayland lost

This occurs on a hybrid graphics system using:

Intel UHD Graphics 770 (i915) card2
NVIDIA RTX 3050 Mobile (nvidia)  card1
PRIME profile: on-demand

The issue appears related to GNOME/Mutter Wayland compositing and
DRM/GBM buffer handling.

Hardware
Intel Corporation Alder Lake-S GT1 [UHD Graphics 770]
NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile]
Environment
Session type: wayland
PRIME mode: on-demand
Relevant Logs
Failed to query buffer age, got error 3003
Failed to lock front buffer on /dev/dri/card2:
gbm_surface_lock_front_buffer failed

Connection to xwayland lost

Failed to open gpu '/dev/dri/card1':
DRM_CLIENT_CAP_UNIVERSAL_PLANES not supported

Additional Notes

The following obsolete Mutter experimental features were present:

['scale-monitor-framebuffer', 'xwayland-native-scaling']

GNOME logs:

Unknown experimental feature 'scale-monitor-framebuffer'
Unknown experimental feature 'xwayland-native-scaling'

The issue seems significantly worse under Wayland than Xorg.

Steps to Reproduce
Boot Ubuntu
Log into GNOME Wayland session
Use desktop normally
Observe repeated gnome-shell GBM/front-buffer errors in journal
Expected Result

GNOME Wayland compositor should render normally without repeated DRM/GBM
failures or XWayland disconnects.

Actual Result

Continuous compositor buffer lock failures and periodic XWayland
disconnects occur.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: mutter (not installed)
ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
Uname: Linux 7.0.0-15-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue May 12 11:56:37 2026
InstallationDate: Installed on 2026-04-27 (15 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: mutter
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mutter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152252

Title:
  GNOME Wayland repeatedly fails to lock front buffer on Intel iGPU and
  XWayland disconnects on hybrid Intel + NVIDIA system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2152252/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to