680M (Rebrandt) laptop randomly becomes very slow to update the screen
Brief summary of the problem:
At some random point, usually after a few suspend/resume cycles, possibly associated with video playback somehow, the screen starts refreshing at a very low framerate (single digit FPS, if not SPF).
During this, dmesg logs:
[173951.256546] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_cmd_run_list [amdgpu]] No reply for DMUB command: status=3
[173951.256783] amdgpu 0000:77:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[173951.256805] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] DMCUB STATE:
[173951.256996] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] dmcub_version : 04004400
[173951.257181] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [0] : 00000007
[173951.257375] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [1] : 04004400
[173951.257580] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [2] : 00000000
[173951.257763] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [3] : 00000000
[173951.257947] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [4] : 017ef20a
[173951.258136] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [5] : 00000001
[173951.258328] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [6] : 000001f4
[173951.258537] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [7] : 00000001
[173951.258722] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [8] : 00000000
[173951.258906] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [9] : 00000000
[173951.259090] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [10] : 0000000b
[173951.259288] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [11] : 00000000
[173951.259490] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [12] : 80000000
[173951.259675] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [13] : 00000000
[173951.259861] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [14] : 00000004
[173951.260046] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] scratch [15] : 00000000
[173951.260230] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[0] : 00000000
[173951.260428] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[1] : 00000000
[173951.260629] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[2] : 00000000
[173951.260813] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[3] : 00000000
[173951.260999] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[4] : 00000000
[173951.261184] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[5] : 00000000
[173951.261375] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[6] : 00000000
[173951.261595] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[7] : 00000000
[173951.261792] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[8] : 00000000
[173951.261991] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] pc[9] : 00000000
[173951.262184] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] unk_fault_addr : 00000000
[173951.262375] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] inst_fault_addr : 00000000
[173951.262578] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] data_fault_addr : 00000000
[173951.262774] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] inbox1_rptr : 000003c0
[173951.262971] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] inbox1_wptr : 00000bc0
[173951.263158] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] inbox1_size : 00002000
[173951.263349] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] inbox0_rptr : 00000000
[173951.263535] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] inbox0_wptr : 00000000
[173951.263720] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] inbox0_size : 00000000
[173951.263904] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] is_enabled : 1
[173951.264100] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] is_soft_reset : 0
[173951.264289] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] is_secure_reset : 0
[173951.264484] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] is_traceport_en : 1
[173951.264670] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] is_cw0_en : 1
[173951.264855] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_log_diagnostic_data [amdgpu]] is_cw6_en : 1
[173951.473684] amdgpu 0000:77:00.0: [drm:dc_dmub_srv_cmd_run_list [amdgpu]] No reply for DMUB command: status=3
which repeats a few times with varying values of scratch[4]
and inbox1_wptr
.
The log messages stop after that, but the screen continues refreshing very slowly until the laptop is rebooted. I have not found any other way to get it out of this state.
The CPU and the rest of the system remains perfectly operational and accessible via SSH.
Hardware description:
- CPU: Ryzen 7 6800HS
- GPU:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S] [1002:73ef] (rev c2)
77:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev c8)
- System Memory: 40GB
- Display(s): integrated laptop display, BOE NE140WUM-NX1
- Type of Display Connection: eDP
System information:
- Distro name and Version: NixOS unstable
- Kernel version: 6.11
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
TBD???
Edited by Ilya K.