[RESPONDED] Debian 12 on Framework laptop 16

Has anyone run into an issue where KDE crashes sometimes when you open the audio settings? These messages get logged when the crash happens:

Summary
kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=7734, emitted seq=7736
kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process  pid 0 thread  pid 0
kernel: amdgpu 0000:c1:00.0: amdgpu: GPU reset begin!
kernel: amdgpu 0000:c1:00.0: amdgpu: MODE2 reset
kernel: amdgpu 0000:c1:00.0: amdgpu: GPU reset succeeded, trying to resume
kernel: [drm] PCIE GART of 512M enabled (table at 0x00000080FFD00000).
kernel: amdgpu 0000:c1:00.0: amdgpu: SMU is resuming...
kernel: amdgpu 0000:c1:00.0: amdgpu: SMU is resumed successfully!
kernel: [drm] DMUB hardware initialized: version=0x08000500
kernel: [drm] kiq ring mec 3 pipe 1 q 0
kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
kernel: amdgpu 0000:c1:00.0: [drm:jpeg_v4_0_hw_init [amdgpu]] JPEG decode initialized successfully.
kernel: amdgpu 0000:c1:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 1
kernel: amdgpu 0000:c1:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 1
kernel: amdgpu 0000:c1:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
kernel: amdgpu 0000:c1:00.0: amdgpu: recover vram bo from shadow start
kernel: amdgpu 0000:c1:00.0: amdgpu: recover vram bo from shadow done
kernel: [drm] ring gfx_32793.1.1 was added
plasmashell[4086]: [GFX1-]: GFX: RenderThread detected a device reset in PostUpdate
kwin_wayland_wrapper[1441]: kwin_scene_opengl: A graphics reset not attributable to the current GL context occurred.
kernel: [drm] ring compute_32793.2.2 was added
kernel: [drm] ring sdma_32793.3.3 was added
kernel: [drm] ring gfx_32793.1.1 test pass
kernel: [drm] ring gfx_32793.1.1 ib test pass
kernel: [drm] ring compute_32793.2.2 test pass
kernel: [drm] ring compute_32793.2.2 ib test pass
kernel: [drm] ring sdma_32793.3.3 test pass
kernel: [drm] ring sdma_32793.3.3 ib test pass
kernel: amdgpu 0000:c1:00.0: amdgpu: GPU reset(1) succeeded!
kwin_wayland_wrapper[1441]: kwin_scene_opengl: Waiting for glGetGraphicsResetStatus to return GL_NO_ERROR timed out!
kwin_wayland_wrapper[1441]: OpenGL vendor string:                   AMD
kwin_wayland_wrapper[1441]: OpenGL renderer string:                 AMD Radeon Graphics (gfx1103_r1, LLVM 15.0.6, DRM 3.49, 6.1.0-20-amd64)
kwin_wayland_wrapper[1441]: OpenGL version string:                  4.6 (Core Profile) Mesa 22.3.6
kwin_wayland_wrapper[1441]: OpenGL shading language version string: 4.60
kwin_wayland_wrapper[1441]: Driver:                                 Unknown
kwin_wayland_wrapper[1441]: GPU class:                              Unknown
kwin_wayland_wrapper[1441]: OpenGL version:                         4.6
kwin_wayland_wrapper[1441]: GLSL version:                           4.60
kwin_wayland_wrapper[1441]: Mesa version:                           22.3.6
kwin_wayland_wrapper[1441]: X server version:                       1.22.1
kwin_wayland_wrapper[1441]: Linux kernel version:                   6.1
kwin_wayland_wrapper[1441]: Requires strict binding:                no
kwin_wayland_wrapper[1441]: GLSL shaders:                           yes
kwin_wayland_wrapper[1441]: Texture NPOT support:                   yes
kwin_wayland_wrapper[1441]: Virtual Machine:                        no
kwin_wayland_wrapper[1441]: BlurConfig::instance called after the first use - ignoring
kwin_wayland_wrapper[1441]: ZoomConfig::instance called after the first use - ignoring
kwin_wayland_wrapper[1441]: WindowViewConfig::instance called after the first use - ignoring
kwin_wayland_wrapper[1441]: SlidingPopupsConfig::instance called after the first use - ignoring
kwin_wayland_wrapper[1441]: SlideConfig::instance called after the first use - ignoring
kwin_wayland_wrapper[1441]: OverviewConfig::instance called after the first use - ignoring
kwin_wayland_wrapper[1441]: KscreenConfig::instance called after the first use - ignoring
kwin_wayland_wrapper[1441]: DesktopGridConfig::instance called after the first use - ignoring

The last bit (from the line about “a graphics reset not attributable” until the end) gets repeated, many times.

I’m having trouble figuring out what’s wrong and how to fix it, but one part that looks odd to me is that it says “Driver: unknown” which leads me to believe the iGPU is not supported… what that has to do with the audio menu, I don’t know.

I don’t have the dGPU.

Edit: I found these lines get logged when booting:

Summary
kernel: amdgpu 0000:c1:00.0: firmware: failed to load amdgpu/gc_11_0_1_mes_2.bin (-2)
kernel: firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
kernel: amdgpu 0000:c1:00.0: firmware: failed to load amdgpu/gc_11_0_1_mes_2.bin (-2)
kernel: amdgpu 0000:c1:00.0: Direct firmware load for amdgpu/gc_11_0_1_mes_2.bin failed with error -2
kernel: [drm] try to fall back to amdgpu/gc_11_0_1_mes.bin
kernel: amdgpu 0000:c1:00.0: firmware: direct-loading firmware amdgpu/gc_11_0_1_mes.bin
kernel: amdgpu 0000:c1:00.0: firmware: direct-loading firmware amdgpu/gc_11_0_1_mes1.bin

So something seems to be wrong with the firmware that’s installed, but I don’t know where to get the right ones - I’ve already installed the nonfree firmware-amd-graphics (it was by default), and the wiki link doesn’t have any relevant information.

Edit: Upgrading to kernel 6.6, as described here, and adding the missing firmware files as described later in the thread, seems to have fixed the issue.

1 Like