Framework 13 AMD 7840U freeze on Linux kernel 7.0.0 and 7.0.1

Which Linux distro are you using? Gentoo

Which kernel are you using? 7.0.0 and 7.0.1

Which BIOS version are you using? 3.18

Which Framework Laptop 13 model are you using? AMD Ryzen™ 7040 Series

Kernel log:

kernel: amdgpu 0000:c1:00.0: [drm] ERROR dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
last message buffered 4 times
kernel: amdgpu 0000:c1:00.0: [drm] ERROR [CRTC:363:crtc-0] flip_done timed out
kernel: amdgpu 0000:c1:00.0: [drm] ERROR flip_done timed out
kernel: amdgpu 0000:c1:00.0: [drm] ERROR [CRTC:363:crtc-0] commit wait timed out

Symptoms:

I walked away a bit, came back and found that the screen was black and the laptop was not responsive - I could not switch terminal, I could not kill windows manager. Not in suspended mode as the power LED was on constantly. I had to hold power switch to shut it down.

I believed that kernel 6.19 had less of this issue.

Just mask the 7.0 kernel and move along with your life. I’m also having issues with 7.0 kernel on an 11th gen 13.

Thanks. I am only reporting the issue and not expecting a fix here. :smiley:

Does adding amdgpu.dcdebugmask=0x10 to the kernel command line help?

I’m running a FW 13 AMD 7840U with 6.18 firmware and kernel 7.0.0 on cachyos and haven’t seen this issue. Perhaps something with the kernel configuration on gentoo?

I am also running in to this issue. I am on FW13 7640u. Errors from journalctl look like this:

Apr 27 20:07:36 fw gdm-fingerprint][4195]: gkr-pam: couldn’t unlock the login keyring.
Apr 27 20:07:26 fw kernel: Bluetooth: hci0: No dsm support to set reset delay
Apr 27 20:07:26 fw kernel: ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
Apr 27 20:07:26 fw kernel: ucsi_acpi USBC000:00: unknown error 256
Apr 27 20:07:25 fw kernel: ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
Apr 27 20:07:25 fw kernel: ucsi_acpi USBC000:00: unknown error 0

or like this

Apr 27 20:06:48 fw kernel: amdgpu 0000:c1:00.0: [drm] ERROR [CRTC:364:crtc-0] flip_done timed out
Apr 27 20:06:37 fw kernel: amdgpu 0000:c1:00.0: [drm] ERROR dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
Apr 27 20:06:37 fw kernel: amdgpu 0000:c1:00.0: [drm] ERROR dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
Apr 27 20:05:33 fw gdm-fingerprint][4179]: gkr-pam: couldn’t unlock the login keyring.
Apr 27 20:05:25 fw kernel: Bluetooth: hci0: No dsm support to set reset delay
Apr 27 20:05:24 fw kernel: ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
Apr 27 20:05:24 fw kernel: ucsi_acpi USBC000:00: unknown error 256
Apr 27 20:05:24 fw kernel: ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
Apr 27 20:05:24 fw kernel: ucsi_acpi USBC000:00: unknown error 0
Apr 27 20:05:23 fw kernel: ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
Apr 27 20:05:23 fw kernel: ucsi_acpi USBC000:00: unknown error 0

I have had this problem since january but since then I have switched from Fedora 43 to Ubuntu 26.04 LTS. Still having this issue, hopefully it is related to kernel 7.0.0.

Update: My computer hard froze an additional two times while trying to write this message. Very hard to get work done when it is behaving like this. Is there anyone who knows if it is possible this could be a hardware issue? My device has been quite a lemon. I have already had to replace both the top cover and the screen due to two manufacturing defects.

update 2: It crashed now three times before i could finish this message, trying to send as quickly as possible

It was an older version of the kernel that caused the freeze, on 7.0 I’m able to removed the line without freezing after half a year of having that line. Tested on both Wayland and X11

Edit: I re-added amdgpu.dcdebugmask=0x10 to the kernel command line just to make sure

I am on 7.0.2 now, see how it goes. Someone suggested KWIN_DRM_NO_AMS=1 for KDE Plasma on the forum here: https://gitlab.freedesktop.org/drm/amd/-/work_items/4141

FYI, 7.0.2 and 7.0.3 do not have problem.

1 Like