Issues with new laptop and AMD CPU

I have problem with my new Lenovo laptop and AMD CPU.
When I use terminal or I am searching in app launcher, my screen is refreshing only when my mouse moves. Same happens sometimes in systemsettings when i use only my keyboard. I guess it is some problem with CPU and its iGPU and drivers that I have. I haven’t found a solution for my laptop specs. I just found there might be problem with lenovo specifically and its Phoenix3 vendor drivers.
Do you have any suggestions?
Some info about my pc that might help:

System:
  Kernel: 6.12.7-2-cachyos arch: x86_64 bits: 64 compiler: clang v: 18.1.8
    clocksource: tsc
  Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A wm: kwin_wayland vt: 2 dm: SDDM
    Distro: CachyOS base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 83DD v: IdeaPad Slim 5 16AHP9
    serial: <superuser required> Chassis: type: 10 v: IdeaPad Slim 5 16AHP9
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: No DPK serial: <superuser required>
    part-nu: LENOVO_MT_83DD_BU_idea_FM_IdeaPad Slim 5 16AHP9
    uuid: <superuser required> UEFI: LENOVO v: NGCN25WW date: 04/04/2024
Battery:
  ID-1: BAT1 charge: 59.9 Wh (78.8%) condition: 76.0/76.0 Wh (100.0%)
    power: 6.9 W volts: 16.4 min: 15.1 model: SMP L23M4PK3 type: Unknown
    serial: <filter> status: discharging cycles: 2
CPU:
  Info: 6-core model: AMD Ryzen 5 8645HS w/ Radeon 760M Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 4 rev: 2 cache: L1: 384 KiB L2: 6 MiB
    L3: 16 MiB
  Speed (MHz): avg: 1100 min/max: 400/5015 boost: enabled cores: 1: 1100
    2: 1100 3: 1100 4: 1100 5: 1100 6: 1100 7: 1100 8: 1100 9: 1100 10: 1100
    11: 1100 12: 1100 bogomips: 103008
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Phoenix3 vendor: Lenovo
    driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports:
    active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6, HDMI-A-1,
    Writeback-1 bus-ID: 04:00.0 chip-ID: 1002:1900 class-ID: 0300 temp: 35.0 C
  Device-2: Syntek Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-1:2 chip-ID: 174f:1820 class-ID: fe01
    serial: <filter>
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: N/A display-ID: 0
  Monitor-1: eDP-1 res: 1862x1164 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.2-cachyos1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    gfx1103_r1 LLVM 18.1.8 DRM 3.59 6.12.7-2-cachyos) device-ID: 1002:1900
    display-ID: :0.0
  API: Vulkan v: 1.4.303 layers: N/A surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: N/A device-ID: 1002:1900

[SOLUTION was the parameter amdgpu.dcdebugmask=0x410 ]

Please try adding either amdgpu.dcdebugmask=0x410 or amdgpu.dcdebugmask=0x10 in the kernel boot parameters.

edit: Also please try this kernel without the parameters above.

I might just be a big noob, but how do i build this kernel? I only build kernels from kernel org with make, but this is not simiar right?

The kernel is already prebuilt for you, just download the packages and install it with sudo pacman -U *.pkg.tar.zst

tried it, didnt work…

Neither did any of the amdgpu debug masks?

if I did it correctly, it didn’t work.

You can check if you did it correctly by checking if its present in cat /proc/cmdline.

yeah, it is not there. I added it into /boot/loader/entries/linux-cachyos.conf is that right?

ok, now it works!! I just made small mistake when copying, for some reason it was pasted on other line but in terminal I saw it in same line.

Well, thanks again! :smile:

Which one worked? :smile:

amdgpu.dcdebugmask=0x410. Havent’t even tried second one because this one works perfectly.

1 Like