gnome-shell 42.9 Wayland sessions fail to start on Intel 12th gen or later if running 5.15/5.17 kernels (Failed to lock front buffer on /dev/dri/cardN: drmModeAddFB2WithModifiers failed: Invalid argument)
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | |||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | |||
linux-hwe-5.19 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | |||
linux-intel-iotg (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | |||
linux-oem-5.17 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | |||
mutter (Ubuntu) | Status tracked in Mantic | |||||
Jammy |
Fix Released
|
Critical
|
Daniel van Vugt | |||
Kinetic |
Invalid
|
Undecided
|
Unassigned | |||
Lunar |
Invalid
|
Undecided
|
Unassigned | |||
Mantic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
gnome-shell/mutter 42.9 fails to start (black screen) on Intel Alder Lake systems running older kernels such as 5.15.
[ Test Plan ]
Try to log into gnome-shell. Verify there is a picture on the screen.
[ Where problems could occur ]
The offending code change relates to Intel-specific chip IDs so the change is limited to Intel systems. Although affected Intel systems worked perfectly before the change so we don't expect any problems in reverting the change. In theory the worst case is limited to more problems like that described in Impact above.
[ Workarounds ]
Add MUTTER_
or upgrade to a newer kernel:
sudo apt install linux-generic-
[ Other Info ]
The log messages relating to this bug are:
iul 11 19:00:11 MY-PC gnome-shell[1040]: Failed to lock front buffer on /dev/dri/card0: drmModeAddFB2Wi
iul 11 19:00:11 MY-PC gnome-shell[1040]: Failed to lock front buffer on /dev/dri/card0: drmModeAddFB2Wi
iul 11 19:00:11 MY-PC gnome-shell[1040]: Failed to lock front buffer on /dev/dri/card0: drmModeAddFB2Wi
iul 11 19:00:11 MY-PC gnome-shell[1040]: Failed to lock front buffer on /dev/dri/card0: drmModeAddFB2Wi
...
For kinetic: The bug never existed in mutter 43.0 (it was introduced in 43.2) and was already fixed in the kernel anyway.
For lunar and later: The bug was already fixed in the kernel. You would only ever encounter it in theory if you downgrade the kernel.
description: | updated |
description: | updated |
summary: |
- [intel] gnome-shell Wayland sessions fail to start on intel-iotg kernels - (Failed to lock front buffer on /dev/dri/cardN: + [Intel Alder Lake] gnome-shell Wayland sessions fail to start on 5.15 + kernels (Failed to lock front buffer on /dev/dri/cardN: drmModeAddFB2WithModifiers failed: Invalid argument) |
Changed in linux (Ubuntu): | |
status: | New → Fix Released |
summary: |
- [Intel Alder Lake] gnome-shell Wayland sessions fail to start on 5.15 - kernels (Failed to lock front buffer on /dev/dri/cardN: + gnome-shell 42.9 Wayland sessions fail to start on Intel Alder Lake + running 5.15 kernels (Failed to lock front buffer on /dev/dri/cardN: drmModeAddFB2WithModifiers failed: Invalid argument) |
description: | updated |
description: | updated |
description: | updated |
Changed in mutter (Ubuntu Lunar): | |
status: | Invalid → Won't Fix |
Changed in mutter (Ubuntu Mantic): | |
status: | Invalid → Won't Fix |
Changed in mutter (Ubuntu Lunar): | |
status: | Won't Fix → Invalid |
Changed in mutter (Ubuntu Mantic): | |
status: | Won't Fix → Invalid |
no longer affects: | mutter (Ubuntu Jammy) |
Changed in linux (Ubuntu Jammy): | |
status: | New → Confirmed |
Changed in mutter (Ubuntu Jammy): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in linux-intel-iotg (Ubuntu Jammy): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Jammy): | |
status: | Confirmed → Won't Fix |
no longer affects: | linux-intel-iotg (Ubuntu Jammy) |
Changed in linux-hwe-5.19 (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
summary: |
- gnome-shell 42.9 Wayland sessions fail to start on Intel Alder Lake - running 5.15 kernels (Failed to lock front buffer on /dev/dri/cardN: - drmModeAddFB2WithModifiers failed: Invalid argument) + gnome-shell 42.9 Wayland sessions fail to start on Intel 12th gen or + later if running 5.15/5.17 kernels (Failed to lock front buffer on + /dev/dri/cardN: drmModeAddFB2WithModifiers failed: Invalid argument) |
tags: | removed: block-proposed |
tags: | removed: block-proposed |
Thanks for the bug report. It appears the kernel '5.15.0- 1034-intel- iotg' is too old for the integrated GPU of 'i7-1260P'.
Did you install that kernel manually? Or perhaps install some IOT image instead of Ubuntu Desktop? I would have expected a fresh install of Ubuntu Desktop 22.04.2 to come with a newer kernel:
https:/ /ubuntu. com/download/ desktop
so please install that instead.