Screen goes blank (white) after switching from Thunderbolt to built in LCD after several hours - Radeon 680M
Brief summary of the problem:
- After several hours of use (failed within 4h), the screen will be blank after one of the following:
- System goes into standby automatically
- Thunderbolt cable is unplugged
- Manually switch display with
mons
script
- When solid white, cursor is still visible and moveable
- No sign of processes crashing or kernel backtrace in logs
- Can still access other TTYs (eg Ctrl+Alt+F6)
- Cannot recover (or haven't figured out how)
- Need to run
i3-msg restart
to get back to login screen (loses data) - Plugging back the cable, removing, etc has no effect
- Need to run
External screen gets disconnected, switched, or powered off. This causes the desktop to be unusable, just displaying white, and nothing else is visible. Plugging back to external screen, it still stays white and unusable.
I expect to be able to unplug/switch screens without it turning white and becoming unusable. This is difficult to reproduce, as it takes time (cannot immediately happen). Occurs at least once a day, typically after 5h.
Hardware description:
- CPU: AMD Ryzen 7 PRO 6850HS
- GPU: 64:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev d8)
- System Memory: 64GB Crucial Ram
- Display(s): Internal 16in screen, Dell U3223QE
- Type of Display Connection: USB-C to DP (USB-PD port) via Dell WD19TBS dock
- Laptop: HP Elitebook 865 G9, UEFI version 01.03.01 Rev.A
System information:
- Distro name and Version: Arch linux
- Kernel version: Linux g9 6.1.9-arch1-1 #1 (closed) SMP PREEMPT_DYNAMIC Wed, 01 Feb 2023 17:07:39 +0000 x86_64 GNU/Linux
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
Log in to the system, switch to external display (non mirroring, only use external display). After several hours of use, let the system go into standby, or remove the thunderbolt cable. The screen will be white, and the mouse cursor moves (even changing cursor as you move to other parts of the screen, eg pointer to hand).
Attempting to force the system to sleep and removing the thunderbolt cable immediately after boot (or within a recent restart) does not trigger this. Seems to be related to usage and time.
Attached files:
Screenshots/video files
Log files (for system lockups / game freezes / crashes)
In the logs, I see the following. Not sure if it is a red herring.
Feb 03 22:04:18 g9 kernel: thunderbolt 0000:65:00.5: 0:2: retimer NVM format of vendor 0x7fea is not supported
Feb 03 22:04:21 g9 kernel: thunderbolt 0000:65:00.5: 2: DROM data CRC32 mismatch (expected: 0x53c34f38, got: 0xa213a381), continuing
Feb 03 22:04:21 g9 kernel: thunderbolt 0000:65:00.5: 2: DROM buffer overrun
Feb 03 22:04:21 g9 kernel: thunderbolt 0000:65:00.5: 2: parsing DROM failed
- Dmesg log (full log)
- journalctl.log
- Dmesg crash log - Crash dump near the end at Line 1431 crash.txt
- Xorg log