org.gnome.SettingsDaemon.XSettings.service fails to restart properly after AMD GPU reset event

Bug #2066187 reported by Jozef Behran
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-hwe-6.5 (Ubuntu)
New
Undecided
Unassigned

Bug Description

GNOME did not recover successfully from a GPU reset event. The system is still running but no direct interaction with it is possible. Keyboard appears to be running but the screen shows what was on it when the GPU crashed.

Attached is a SYSLOG fragment showing the problem. At 04:12:09 the GPU crashed. At 04:17:06 the crash was detected and a GPU reset was issued. At 04:17:07 the org.gnome.SettingsDaemon.XSettings.service crashed with "failure status". Subsequent attempts to restart it (10 shown) caused it to terminate with "timeout status".

I reported this originally as an xorg bug because the computer became completely unusable and the only way to recover was a hard power-off. I could not even switch to another virtual console.

I can't tell which package exactly this occured in because the package search does not work properly. It might be xorg itself but the failing org.gnome.SettingsDaemon.XSettings.service suggests the problem to be somewhere else.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 6.5.0-35.35~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-35-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Mon May 20 17:42:42 2024
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus:
 openrazer-driver/3.2.0, 6.5.0-26-generic, x86_64: installed
 openrazer-driver/3.2.0, 6.5.0-35-generic, x86_64: installed
 virtualbox/6.1.50, 6.5.0-26-generic, x86_64: installed
 virtualbox/6.1.50, 6.5.0-35-generic, x86_64: installed
ExtraDebuggingInterest: Yes, including running git bisection searches
GpuHangFrequency: This is the first time
GraphicsCard:
 NVIDIA Corporation Device [10de:28e1] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:14c3]
 Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [1002:1681] (rev 0a) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:14c3]
InstallationDate: Installed on 2024-02-14 (96 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
MachineType: ASUSTeK COMPUTER INC. ASUS TUF Gaming A15 FA507NU_FA507NU
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-35-generic root=UUID=ac7c0a1e-2f8d-465c-9ec4-f8861895ec66 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/15/2023
dmi.bios.release: 5.24
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: FA507NU.306
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: FA507NU
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.ec.firmware.release: 3.6
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrFA507NU.306:bd03/15/2023:br5.24:efr3.6:svnASUSTeKCOMPUTERINC.:pnASUSTUFGamingA15FA507NU_FA507NU:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFA507NU:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:
dmi.product.family: ASUS TUF Gaming A15
dmi.product.name: ASUS TUF Gaming A15 FA507NU_FA507NU
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3.1~22.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Jozef Behran (jctech) wrote :
Revision history for this message
Jozef Behran (jctech) wrote :

It looks the syslog fragment I was talking about in the bug report got lost in the bug submission process. Here it is.

Revision history for this message
Jozef Behran (jctech) wrote :

Ok, now I realized that my system runs on Wayland. So no xorg problem.

affects: ubuntu → xorg (Ubuntu)
Revision history for this message
Jozef Behran (jctech) wrote :

Probably xwayland as my setup does not involve running xorg. Or gnome: why is
org.gnome.SettingsDaemon.XSettings.service needed on Wayland? Gnome does not use xwayland to run itself, it runs on wayland natively.

Revision history for this message
Jozef Behran (jctech) wrote :

When I think about it now, I started to suspect that the Wayland compositor in Gnome went wacko when the GPU reset occured. Unfortunately, I can't replicate this as I have no idea how to easily trigger a GPU reset. Generally submitting a GPU load that overloads it should do the trick but constructing such a load is currently beyond my abilities.

summary: org.gnome.SettingsDaemon.XSettings.service fails to restart properly
- after GPU reset event
+ after AMD GPU reset event
affects: xorg (Ubuntu) → linux-hwe-6.5 (Ubuntu)
tags: added: amdgpu
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.