[i915] Using gnome-shell with a USB-C dock causes the kernel to log "adding CRTC not allowed without modesets" and crashes in drm_atomic_check_only
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
New
|
Unknown
|
|||
Linux |
Unknown
|
Unknown
|
|||
kwin (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
mutter (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
GJS crashes - here's the crashdump. I saw the crash occur after a screensaver had been running, and the screens had gone blank. I assume this means they were turned off by the sleep timer. When I worke the machine, I was presented with a prompt, I *quickly* entered my login credentials and momentarily saw the desktop and all open programs on it. Then, the screens (3) flickered and I saw the login prompt again. I logged in (again), and all applications had been shut down.
I checked /var/log/syslog and saw the following details -- see (log). Uploaded file, and the crashdump.
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: xorg 1:7.7+23ubuntu2
ProcVersionSign
Uname: Linux 5.19.0-29-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 16 20:52:55 2023
DistUpgraded: 2023-01-14 21:42:30,924 DEBUG Running PostInstallScript: '/usr/lib/
DistroCodename: kinetic
DistroVariant: ubuntu
DkmsStatus:
8812au/
8812au/
nvidia/470.161.03, 5.19.0-29-generic, x86_64: installed
virtualbox/6.1.38, 5.15.0-58-generic, x86_64: installed
virtualbox/6.1.38, 5.19.0-29-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])
Subsystem: Lenovo TigerLake-LP GT2 [Iris Xe Graphics] [17aa:22d4]
InstallationDate: Installed on 2023-01-09 (7 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: LENOVO 20XY0027US
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
Title: Xorg crash
UpgradeStatus: Upgraded to kinetic on 2023-01-15 (1 days ago)
dmi.bios.date: 07/27/2022
dmi.bios.release: 1.55
dmi.bios.vendor: LENOVO
dmi.bios.version: N32ET79W (1.55 )
dmi.board.
dmi.board.name: 20XY0027US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Yoga Gen 6
dmi.product.name: 20XY0027US
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2
version.
version.
version.
version.
version.
version.
version.
summary: |
gnome-shell crashes in the kernel at drm_atomic_check_only and the - kernel says "adding CRTC not allowed without modesets: requested 0x4, - affected 0x7" + kernel says "adding CRTC not allowed without modesets" |
summary: |
- gnome-shell crashes in the kernel at drm_atomic_check_only and the - kernel says "adding CRTC not allowed without modesets" + Using gnome-shell with a USB-C dock crashes the kernel at + drm_atomic_check_only and logs "adding CRTC not allowed without + modesets" |
summary: |
- Using gnome-shell with a USB-C dock crashes the kernel at - drm_atomic_check_only and logs "adding CRTC not allowed without - modesets" + Using gnome-shell with a USB-C dock causes the kernel to log "adding + CRTC not allowed without modesets" and crashes in drm_atomic_check_only |
tags: | added: i915 |
summary: |
- Using gnome-shell with a USB-C dock causes the kernel to log "adding - CRTC not allowed without modesets" and crashes in drm_atomic_check_only + [i915] Using gnome-shell with a USB-C dock causes the kernel to log + "adding CRTC not allowed without modesets" and crashes in + drm_atomic_check_only |
Changed in gnome-shell: | |
status: | Unknown → New |
Thanks for the bug report.
The biggest issue here seems to be a kernel crash:
Jan 16 19:40:28 semiauto kernel: [84513.834489] adding CRTC not allowed without modesets: requested 0x4, affected 0x7 gpu/drm/ drm_atomic. c:1403 drm_atomic_ check_only+ 0x40c/0x450 [drm]
Jan 16 19:40:28 semiauto kernel: [84513.834564] WARNING: CPU: 4 PID: 2041 at drivers/
But it sounds like the kernel is complaining that gnome-shell is to blame. To work around that, please try adding:
MUTTER_ DEBUG_FORCE_ KMS_MODE= simple
to /etc/environment and then reboot.
But there are three different crashes here and we need separate bugs opened for each. The other two crashes are of 'gjs-console' and I can see 'gnome-shell' also crashed according to the log. Please open new bugs about each of those by following https:/ /wiki.ubuntu. com/Bugs/ Responses# Missing_ a_crash_ report_ or_having_ a_.crash_ attachment