gnome-shell deadlocked on startup [Failed to post KMS update: CRTC property (GAMMA_LUT) not found] on Alder Lake with older (than supported) kernels

Bug #1991777 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Triaged
Low
Unassigned

Bug Description

My Ubuntu session is currently impossible to launch. Upon trying, I get a couple ~blank displays, sometimes along with a cursor at the position it was in GDM.

Only way out is `chvt …`, or killing gnome-shell, over SSH.

"Ubuntu on Xorg" works fine. The wayland session does work for a test user as well.

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: gnome-shell 43.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.23.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Oct 5 11:47:11 2022
DisplayManager: gdm3
InstallationDate: Installed on 2022-08-31 (34 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Alpha amd64 (20220829)
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pl_PL.UTF-8
 SHELL=/bin/zsh
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions: mutter-common 43.0-1ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
description: updated
Revision history for this message
Michał Sawicz (saviq) wrote (last edit ):

I had these set in my profile to deal with other issues:

```
export MUTTER_DEBUG_FORCE_KMS_MODE=simple
export MUTTER_DEBUG_ENABLE_ATOMIC_KMS=0
export MUTTER_DEBUG_DISABLE_HW_CURSORS=1
```

Unsetting them didn't help.

I don't have any extensions beyond what's default.

Revision history for this message
Michał Sawicz (saviq) wrote :

So. I've removed `~/.config/dconf/user` and now I can start the session again. The only difference in GsettingsChanges is the list of notification apps (which, btw, could possibly be considered sensitive, and could be redacted by apport).

Setting it back to the value when the session was broken didn't break it again.

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

It's these errors:

[69492.694398] michal-laptop gnome-shell[825407]: Failed to post KMS update: CRTC property (GAMMA_LUT) not found
[69492.694448] michal-laptop gnome-shell[825407]: Page flip discarded: CRTC property (GAMMA_LUT) not found

That's a regression of something we already fixed. It regressed when upstream redesigned the fix. Already tracking in bug 1985869.

summary: - gnome-shell deadlocked on startup
+ gnome-shell deadlocked on startup [Failed to post KMS update: CRTC
+ property (GAMMA_LUT) not found] on Alder Lake with older kernels
affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: gnome-shell deadlocked on startup [Failed to post KMS update: CRTC property (GAMMA_LUT) not found] on Alder Lake with older kernels

If atomic KMS is disabled then the same bug may present as:

Failed to post KMS update:
drmModeCrtcSetGamma on CRTC 80 failed: Function not implemented

summary: gnome-shell deadlocked on startup [Failed to post KMS update: CRTC
- property (GAMMA_LUT) not found] on Alder Lake with older kernels
+ property (GAMMA_LUT) not found] on Alder Lake with older (than
+ supported) kernels
Changed in mutter (Ubuntu):
importance: Undecided → Low
status: New → Triaged
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.