i915: Use count on domain AUDIO_ PLAYBACK is already zero
Steps to reproduce:
- Build and install the linux-drm-xe-next kernel.
- Boot with modprobe.blacklist=i915
- Start a Plasma session
- Log out of Plasma
- Shut down SDDM
- Force the GPU device to detach with sysfs remove
- rmmod xe
- modprobe i915
- Force rescan from the parent device of the GPU
- Start SDDM
- Log into Plasma again
- Leave the desktop to suspend the displays for a while
-
How often does the steps listed above trigger the issue? Happened once so far.
-
Which platforms and features are affected (if you can). DG2, Arc A770 LE 16GB, display power management
-
The following information about your system:
- System architecture: x86_64
- Kernel version: 6.3.0-1-drm-xe-next-git-g90a956e5620d-dirty
- Linux distribution: Arch
- Machine or mother board model: MSI B450 Tomahawk
- Display connector: DP, DP
- A full dmesg with debug information and/or a GPU crash dump: i915_pm.txt
-
To obtain a dmesg with debug information, add
drm.debug=0xe log_buf_len=4M
to your kernel command line, then reboot and reproduce the issue again. Make sure to attach the full dmesg all the way from boot. (Please use "Attach a file" to attach the logs to the issue, avoid linking to logs on external sites.) I'll attempt this one later. -
In the case of a GPU hang, dmesg will contain a "GPU crash dump saved to /sys/class/drm/card0/error" message. The contents of that file are crucial to debugging the issue. Note that the contents of that file are generated by the kernel when it is read, so it will appear to have zero bytes. Reading the file contents with cat will produce the expected result. For example, use
cat /sys/class/drm/card0/error | bzip2 > error.bz2
. This was a driver crash. Possibly due to not unloading the snd_hda_intel driver when doing the partial detach/reattach of the GPU.
-
-
Other attachments if relevant:
- for suspend/resume problems, refer to the guide. Not sure if this is relevant, since it was display suspend/resume, not system suspend/resume. I'll check anyway.