After wake-up, no monitor signal
Brief summary of the problem:
I start up my Debian (testing) system and in the GDM greeter screen I do nothing. The system falls asleep (power button LED blinking). When I wake it up with pressing the space bar (power LED stops blinking, is on continuously), the screen remains in sleep. No signal is going to the screen.
This used to work with a previous kernel: Worked:
linux-image-6.5.0-0-amd64 6.5~rc6-1~exp1 (just tested and confirmed)
linux-image-6.4.0-2-amd64 6.4.4-3 (I know it worked also before that)
linux-image-6.5.0-1-amd64 6.5.3-1 (Pretty sure it also worked on that one, but I haven't confirmed.)
I don't know exactly when it broke, but with these kernels the described problem happens (tested today):
linux-image-6.5.0-4-amd64 6.5.10-1
linux-image-6.5.0-5-amd64 6.5.13-1
linux-image-6.6-amd64 6.6.4-1~exp1
I haven't tested all other in-between versions I have installed, as it takes quite a while to test it (waiting for the system to go to sleep).
Also, recovering was not easy. In most cases, I had to revert to Alt-SysReq-REISUB sequence to reboot.
Hardware description:
- amd_s2idle report: <TODO: When debugging a s2idle issue, please capture a log using amd_s2idle.py >
Tried it, but it doesn't run correctly:
$ python3 /tmp/amd_s2idle.py
Location of log file (default s2idle_report-2023-12-13.txt)?
Debugging script for s2idle on AMD systems
💻 ASUS System Product Name (To be filled by O.E.M.) running BIOS 14.15 (1415) released 05/16/2023 and EC unknown
Traceback (most recent call last):
File "/tmp/amd_s2idle.py", line 2415, in <module>
test = app.prerequisites()
^^^^^^^^^^^^^^^^^^^
File "/tmp/amd_s2idle.py", line 1874, in prerequisites
i()
File "/tmp/amd_s2idle.py", line 822, in capture_kernel_version
self.kernel_minor = int(kernel.split(".")[1])
^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '6-amd64'
After adjusting that code a bit, it stpped again:
$ python3 /tmp/amd_s2idle.py
Location of log file (default s2idle_report-2023-12-13.txt)?
Debugging script for s2idle on AMD systems
💻 ASUS System Product Name (To be filled by O.E.M.) running BIOS 14.15 (1415) released 05/16/2023 and EC unknown
🐧 Debian GNU/Linux trixie/sid
🐧 Kernel 6.6-amd64
Checking prerequisites for s2idle
✅ AMD Ryzen 9 7950X 16-Core Processor (family 19 model 61)
✅ LPS0 _DSM enabled
🚦 Unable to test FADT from kernel log
✅ HSMP driver `amd_hsmp` not detected (blocked: False)
❌ PMC driver `amd_pmc` did not bind to any ACPI device
✅ USB4 driver `thunderbolt` loaded
✅ GPU driver `amdgpu` available
Traceback (most recent call last):
File "/tmp/amd_s2idle.py", line 2415, in <module>
test = app.prerequisites()
^^^^^^^^^^^^^^^^^^^
File "/tmp/amd_s2idle.py", line 1906, in prerequisites
if not check():
^^^^^^^
File "/tmp/amd_s2idle.py", line 1366, in check_amdgpu
self.kernel_log.seek()
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'seek'
Not sure what to do about this, so please let me know if you need more information.
System information:
- Distro name and Version: Debian testing of today
- Kernel version: see above, but currently: Linux creator 6.6-amd64 #1 (closed) SMP PREEMPT_DYNAMIC Debian 6.6.4-1~exp1 (2023-12-03) x86_64 GNU/Linux
How to reproduce the issue:
See above. Just boot into GDM greeter and wait for system to go to sleep. Then wake it up with pressing space bar.