Mutter autopkgtests are failing if a GPU exists but is not accessible

Bug #2068119 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
mutter (Ubuntu)
Fix Released
Medium
Unassigned
Jammy
Fix Committed
Medium
Daniel van Vugt

Bug Description

Mutter autopkgtests are failing if a GPU exists but is not accessible. Surprisingly this only just started becoming a problem recently:

2730s # libmutter-MESSAGE: Running Mutter Test (using mutter 42.9) as a Wayland display server
2730s libmutter-Message: 13:24:23.050: Running Mutter Test (using mutter 42.9) as a Wayland display server
2730s Bail out! libmutter-FATAL-WARNING: Failed to open gpu '/dev/dri/card0': Failed to open device '/dev/dri/renderD128': Permission denied
2730s
2730s (/usr/libexec/installed-tests/mutter-10/mutter-test-runner:6015): libmutter-WARNING **: 13:24:23.139: Failed to open gpu '/dev/dri/card0': Failed to open device '/dev/dri/renderD128': Permission denied

https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/arm64/m/mutter/20240604_132730_8ae4b@/log.gz
https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/arm64/m/mutter/20240604_160842_abf03@/log.gz

I can also reproduce it on amd64 using a second user account that doesn't have access to /dev/dri/*

Previous successful builds look like they worked only because there was no GPU to fail to open(?)

description: updated
summary: - Mutter autgopkgtests are failing if a GPU exists but is not accessible
+ Mutter autopkgtests are failing if a GPU exists but is not accessible
description: updated
Changed in mutter:
status: Unknown → New
Revision history for this message
Brian Murray (brian-murray) wrote :

I also had a look at these regressions and noticed that they seem to be happening on instances in bos03 which is PS6 and has newer hardware than PS4.5. (We recently completed the transition to PS6.)

I opened a bug 2068053 about for this for my team to investigate it some more.

Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

I think Mutter needs fixing here more than changing the hardware config again to work around it. We can also expect more reliable test results by using a virtual GPU in future.

Changed in mutter:
status: New → Unknown
Changed in mutter (Ubuntu):
status: In Progress → Fix Released
tags: added: fixed-in-mutter-43.0 fixed-upstream
Changed in mutter (Ubuntu Jammy):
status: New → In Progress
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → High
Changed in mutter (Ubuntu):
assignee: Daniel van Vugt (vanvugt) → nobody
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

Fix committed in readiness for 42.9-0ubuntu9, but there's no need to actually release that right now.

https://salsa.debian.org/gnome-team/mutter/-/commit/9dc8a804dd75f72cecaf938551d8d16044c2b49b

Changed in mutter (Ubuntu Jammy):
status: In Progress → Fix Committed
Changed in mutter:
status: Unknown → Fix Released
Changed in mutter (Ubuntu):
importance: High → Medium
Changed in mutter (Ubuntu Jammy):
importance: High → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.