You are not logged in.

#1 2025-12-02 00:14:01

zpg443
Member
Registered: 2016-12-03
Posts: 312

[SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

Apparently this is a known issue with linux-firmware-amdgpu. See last post.

Dual monitor setup
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.12.59-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7700 8-Core Processor
Memory: 32 GiB of RAM (30.4 GiB usable)
Graphics Processor: AMD Ryzen 7 7700 8-Core Processor (integrated)
Manufacturer: ASRock
Product Name: B650M-HDV/M.2 

Error "Desktop effects were restarted due to a graphics reset" and intermittent in frequency.

Kwin Error log

Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in GetSynciv(invalid call)
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in GetSynciv(invalid call)
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: generating OpenGL texture handle failed
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:15 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:16 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:16 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:16 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:16 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost
Dec 01 14:01:16 archmain kwin_wayland[860]: A graphics reset not attributable to the current GL context occurred.
Dec 01 14:01:16 archmain kwin_wayland[860]: 0x3: GL_CONTEXT_LOST in context lost 

Kernel driver:

 lspci -k | grep -EA3 'VGA|3D|Display'
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c5)
        Subsystem: ASRock Incorporation Device 364e
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu 

Loaded kernel modules:

lsmod | grep amdgpu
amdgpu              15470592  80
amdxcp                 12288  1 amdgpu
drm_exec               12288  1 amdgpu
gpu_sched              65536  1 amdgpu
drm_buddy              24576  1 amdgpu
i2c_algo_bit           24576  1 amdgpu
drm_suballoc_helper    12288  1 amdgpu
drm_ttm_helper         16384  2 amdgpu
ttm                   102400  2 amdgpu,drm_ttm_helper
drm_display_helper    266240  1 amdgpu
crc16                  12288  2 amdgpu,ext4
video                  81920  1 amdgpu 

Mesa/OpenGL version and renderer (userspace driver):

 glxinfo | grep -E "OpenGL renderer|OpenGL version"
OpenGL renderer string: AMD Ryzen 7 7700 8-Core Processor (radeonsi, raphael_mendocino, LLVM 21.1.5, DRM 3.61, 6.12.60-1-lts)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.2.7-arch1.1 

Vulkan info (for Wayland compositing):

vulkaninfo --summary | grep deviceName
        deviceName         = AMD Ryzen 7 7700 8-Core Processor (RADV RAPHAEL_MENDOCINO)

       
Full graphics summary:

 inxi -Gxxxz
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Raphael vendor: ASRock
    driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports:
    active: DP-1,HDMI-A-1 empty: DP-2,DP-3,Writeback-1 bus-ID: 0c:00.0
    chip-ID: 1002:164e class-ID: 0300 temp: 52.0 C
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,vesa alternate: fbdev dri: radeonsi gpu: amdgpu
    d-rect: 5120x1440 display-ID: 0
  Monitor-1: DP-1 pos: right model: PA278QV serial: <filter> res:
    mode: 2560x1440 hz: 60 scale: 100% (1) dpi: 109
    size: 597x336mm (23.5x13.23") diag: 685mm (27") modes: max: 2560x1440
    min: 720x400
  Monitor-2: HDMI-A-1 pos: primary,left model: PA278QV serial: <filter> res:
    mode: 2560x1440 hz: 60 scale: 100% (1) dpi: 109
    size: 597x336mm (23.5x13.23") diag: 685mm (27") modes: max: 2560x1440
    min: 720x400
  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: 25.2.7-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Ryzen 7 7700 8-Core Processor
    (radeonsi raphael_mendocino LLVM 21.1.5 DRM 3.61 6.12.60-1-lts)
    device-ID: 1002:164e display-ID: :1.0
  API: Vulkan v: 1.4.328 layers: 1 surfaces: N/A device: 0
    type: integrated-gpu hw: amd driver: mesa radv device-ID: 1002:164e
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdriinfo,
    xdpyinfo, xprop, xrandr 

Last edited by zpg443 (2025-12-02 22:18:43)

Offline

#2 2025-12-02 10:02:14

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,404
Website

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

Is this a new error?

Offline

#3 2025-12-02 13:09:03

zpg443
Member
Registered: 2016-12-03
Posts: 312

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

Yes, it was previously stable, and the parameter used with the LTS kernel is amdgpu.sg_display=0

Offline

#4 2025-12-02 13:56:47

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,404
Website

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

Can you fix it by downgrading the kernel? Is the issue fixable by switching to the "linux" package?

Offline

#5 2025-12-02 14:00:10

zpg443
Member
Registered: 2016-12-03
Posts: 312

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

The issue appears related to how KWin's OpenGL compositor interacts with the AMD integrated graphics driver, particularly on Wayland. Similar graphics resets have been reported on Github where KWin detects the context loss and attempts recovery.

Diagnostics (1):

$ journalctl -b -p err
Dec 02 06:47:04 archmain (udev-worker)[455]: event6: Failed to call EVIOCSKEYCODE with scan code 0xc022d, and key code 103: Invalid argument
Dec 02 06:47:04 archmain (udev-worker)[455]: event6: Failed to call EVIOCSKEYCODE with scan code 0xc022e, and key code 108: Invalid argument
Dec 02 06:47:05 archmain bootctl[576]:  Mount point '/boot' which backs the random seed file is world accessible, which is a security hole! 
Dec 02 06:47:05 archmain bootctl[576]: Random seed file '/boot/loader/random-seed' is world accessible, which is a security hole!
Dec 02 06:47:05 archmain kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* lttpr_caps phy_repeater_cnt is 0x0, forcing it to 0x80.
Dec 02 07:06:13 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.1.0 timeout, signaled seq=44304, emitted seq=44306
Dec 02 07:06:13 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: Process information: process kwin_wayland pid 3344 thread kwin_wayla:cs0 pid 3386
Dec 02 07:06:14 archmain kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* lttpr_caps phy_repeater_cnt is 0x0, forcing it to 0x80.
Dec 02 07:06:14 archmain kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
Dec 02 07:06:14 archmain systemd-coredump[23919]: [?] Process 5599 (tradingview) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 69:
                                                  #0  0x000057b41976cd70 n/a (/app/extra/tradingview/tradingview + 0x8debd70)
                                                  #1  0x000057b419753253 n/a (/app/extra/tradingview/tradingview + 0x8dd2253)
                                                  #2  0x000057b4196032c2 n/a (/app/extra/tradingview/tradingview + 0x8c822c2)
                                                  #3  0x000057b4198ba0cb n/a (/app/extra/tradingview/tradingview + 0x8f390cb)
                                                  #4  0x000057b4198bbce8 n/a (/app/extra/tradingview/tradingview + 0x8f3ace8)
                                                  #5  0x000057b4198c04e8 n/a (/app/extra/tradingview/tradingview + 0x8f3f4e8)
                                                  #6  0x000057b4198b4faf n/a (/app/extra/tradingview/tradingview + 0x8f33faf)
                                                  #7  0x000057b4198b4d4f n/a (/app/extra/tradingview/tradingview + 0x8f33d4f)
                                                  #8  0x000057b4198ab5cf n/a (/app/extra/tradingview/tradingview + 0x8f2a5cf)
                                                  #9  0x000057b4198ac6b1 n/a (/app/extra/tradingview/tradingview + 0x8f2b6b1)
                                                  #10 0x000057b415e5deed n/a (/app/extra/tradingview/tradingview + 0x54dceed)
                                                  #11 0x000057b4177e985f n/a (/app/extra/tradingview/tradingview + 0x6e6885f)
                                                  #12 0x000057b41780cda2 n/a (/app/extra/tradingview/tradingview + 0x6e8bda2)
                                                  #13 0x000057b4177a5803 n/a (/app/extra/tradingview/tradingview + 0x6e24803)
                                                  #14 0x000057b41780d557 n/a (/app/extra/tradingview/tradingview + 0x6e8c557)
                                                  #15 0x000057b4177cd1de n/a (/app/extra/tradingview/tradingview + 0x6e4c1de)
                                                  #16 0x000057b41985bf9b n/a (/app/extra/tradingview/tradingview + 0x8edaf9b)
                                                  #17 0x000057b413c2da25 n/a (/app/extra/tradingview/tradingview + 0x32aca25)
                                                  #18 0x000057b413c2e1eb n/a (/app/extra/tradingview/tradingview + 0x32ad1eb)
                                                  #19 0x000057b413c2f34d n/a (/app/extra/tradingview/tradingview + 0x32ae34d)
                                                  #20 0x000057b413c2cf47 n/a (/app/extra/tradingview/tradingview + 0x32abf47)
                                                  #21 0x000057b413c2d020 n/a (/app/extra/tradingview/tradingview + 0x32ac020)
                                                  #22 0x000057b413567458 n/a (/app/extra/tradingview/tradingview + 0x2be6458)
                                                  #23 0x000071cd1bce3975 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x2b975)
                                                  #24 0x000071cd1bce3a28 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x2ba28)
                                                  #25 0x000057b41311302a n/a (/app/extra/tradingview/tradingview + 0x279202a)
                                                  ELF object binary architecture: AMD x86-64

                                                 
                       
Diagnostics (2):

$ dmesg | grep -i amdgpu
dmesg: read kernel buffer failed: Operation not permitted
[lpc123@archmain ~]$ sudo dmesg | grep -i amdgpu
Please touch the FIDO authenticator.
[    0.000000] Command line: initrd=\amd-ucode.img initrd=\initramfs-linux-lts.img root=PARTUUID=50f91bc3-6b9c-d04a-904e-5e4d75fb3fe2 rw quiet loglevel=0 systemd.show_status=false rd.udev.log_level=0 console=tty2 fbcon=map:1 amdgpu.sg_display=0
[    0.027840] Kernel command line: initrd=\amd-ucode.img initrd=\initramfs-linux-lts.img root=PARTUUID=50f91bc3-6b9c-d04a-904e-5e4d75fb3fe2 rw quiet loglevel=0 systemd.show_status=false rd.udev.log_level=0 console=tty2 fbcon=map:1 amdgpu.sg_display=0
[    5.881724] [drm] amdgpu kernel modesetting enabled.
[    5.891284] amdgpu: Virtual CRAT table created for CPU
[    5.891293] amdgpu: Topology: Add CPU node
[    5.891365] amdgpu 0000:0c:00.0: enabling device (0006 -> 0007)
[    5.893611] amdgpu 0000:0c:00.0: amdgpu: Fetched VBIOS from VFCT
[    5.893613] amdgpu: ATOM BIOS: 102-RAPHAEL-008
[    6.017770] amdgpu 0000:0c:00.0: vgaarb: deactivate vga console
[    6.017776] amdgpu 0000:0c:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[    6.017818] amdgpu 0000:0c:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[    6.017821] amdgpu 0000:0c:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[    6.017924] [drm] amdgpu: 512M of VRAM memory ready
[    6.017928] [drm] amdgpu: 15583M of GTT memory ready.
[    6.040780] amdgpu 0000:0c:00.0: amdgpu: reserve 0xa00000 from 0xf41e000000 for PSP TMR
[    6.104718] amdgpu 0000:0c:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    6.110465] amdgpu 0000:0c:00.0: amdgpu: RAP: optional rap ta ucode is not available
[    6.110468] amdgpu 0000:0c:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    6.111639] amdgpu 0000:0c:00.0: amdgpu: SMU is initialized successfully!
[    6.113839] snd_hda_intel 0000:0c:00.1: bound 0000:0c:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    6.151515] amdgpu 0000:0c:00.0: [drm] *ERROR* lttpr_caps phy_repeater_cnt is 0x0, forcing it to 0x80.
[    6.307278] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    6.307289] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[    6.307902] amdgpu: Virtual CRAT table created for GPU
[    6.308004] amdgpu: Topology: Add dGPU node [0x164e:0x1002]
[    6.308006] kfd kfd: amdgpu: added device 1002:164e
[    6.308015] amdgpu 0000:0c:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 2, active_cu_number 2
[    6.308019] amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[    6.308020] amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.1.0 uses VM inv eng 1 on hub 0
[    6.308022] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 4 on hub 0
[    6.308023] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 5 on hub 0
[    6.308024] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[    6.308026] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[    6.308027] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[    6.308028] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[    6.308030] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[    6.308031] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[    6.308032] amdgpu 0000:0c:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 12 on hub 0
[    6.308034] amdgpu 0000:0c:00.0: amdgpu: ring sdma0 uses VM inv eng 13 on hub 0
[    6.308035] amdgpu 0000:0c:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
[    6.308036] amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
[    6.308038] amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
[    6.308039] amdgpu 0000:0c:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
[    6.308332] amdgpu 0000:0c:00.0: amdgpu: Runtime PM not available
[    6.308932] [drm] Initialized amdgpu 3.61.0 for 0000:0c:00.0 on minor 1
[    6.314142] amdgpu 0000:0c:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[    6.562844] amdgpu 0000:0c:00.0: [drm] REG_WAIT timeout 1us * 100000 tries - optc31_disable_crtc line:145
[ 1154.043512] amdgpu 0000:0c:00.0: amdgpu: Dumping IP State
[ 1154.044440] amdgpu 0000:0c:00.0: amdgpu: Dumping IP State Completed
[ 1154.054508] amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.1.0 timeout, signaled seq=44304, emitted seq=44306
[ 1154.054510] amdgpu 0000:0c:00.0: amdgpu: Process information: process kwin_wayland pid 3344 thread kwin_wayla:cs0 pid 3386
[ 1154.195238] amdgpu 0000:0c:00.0: amdgpu: GPU reset begin!
[ 1154.350119] amdgpu 0000:0c:00.0: amdgpu: MODE2 reset
[ 1154.357289] amdgpu 0000:0c:00.0: amdgpu: GPU reset succeeded, trying to resume
[ 1154.357417] amdgpu 0000:0c:00.0: amdgpu: PSP is resuming...
[ 1154.379001] amdgpu 0000:0c:00.0: amdgpu: reserve 0xa00000 from 0xf41e000000 for PSP TMR
[ 1154.571585] amdgpu 0000:0c:00.0: amdgpu: RAS: optional ras ta ucode is not available
[ 1154.577236] amdgpu 0000:0c:00.0: amdgpu: RAP: optional rap ta ucode is not available
[ 1154.577238] amdgpu 0000:0c:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[ 1154.577240] amdgpu 0000:0c:00.0: amdgpu: SMU is resuming...
[ 1154.577775] amdgpu 0000:0c:00.0: amdgpu: SMU is resumed successfully!
[ 1154.582264] amdgpu 0000:0c:00.0: [drm] *ERROR* lttpr_caps phy_repeater_cnt is 0x0, forcing it to 0x80.
[ 1154.689517] amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[ 1154.689520] amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.1.0 uses VM inv eng 1 on hub 0
[ 1154.689521] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 4 on hub 0
[ 1154.689523] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 5 on hub 0
[ 1154.689524] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[ 1154.689525] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[ 1154.689526] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[ 1154.689527] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[ 1154.689528] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[ 1154.689529] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[ 1154.689530] amdgpu 0000:0c:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 12 on hub 0
[ 1154.689532] amdgpu 0000:0c:00.0: amdgpu: ring sdma0 uses VM inv eng 13 on hub 0
[ 1154.689533] amdgpu 0000:0c:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
[ 1154.689534] amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
[ 1154.689535] amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
[ 1154.689536] amdgpu 0000:0c:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
[ 1154.691564] amdgpu 0000:0c:00.0: amdgpu: GPU reset(1) succeeded!
[ 1154.694441] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!

The GPU's graphics ring (gfx_0.1.0) is timing out while processing KWin's commands.


Added to boot parameters:

amdgpu.gpu_recovery=1 amdgpu.noretry=0

Full boot parameters:

rw quiet loglevel=0 systemd.show_status=false rd.udev.log_level=0 console=tty2 fbcon=map:1 amdgpu.sg_display=0  amdgpu.gpu_recovery=1 amdgpu.noretry=0

Adding to ~/.config/kwinrc:

GLPreferBufferSwap=a
GLTextureFilter=2

Full ~/.config/kwinrc file with this change:

[Compositing]
AllowTearing=true              # optional – can reduce input lag even more if you don’t mind occasional tearing in games
Backend=OpenGL                 # makes sure it doesn’t fall back to anything else
Enabled=true
GLCore=true                    # forces OpenGL core profile (slightly faster)
GLPreferBufferSwap=a
GLTextureFilter=2
Latency=Performance            # this is the hidden “Prefer smoother animations” vs “Prefer lower latency”
MaxFPS=165                     # or 144 / 120 / 240 – whatever is higher than your monitors
RefreshRate=165000             # same number in milliHz
TearingPrevention=FullScreenRepaints   # old name still works, same as the GUI option
WindowsBlockCompositing=false

[Desktops]
Id_1=8a2b92a3-de2f-4064-b64a-2c10722387d1
Number=1
Rows=1

[Input]
TabletMode=off

[Performance]
AnimationSpeed=5               # 0 = instant, 3 = default, 5 = very fast, 6 = instant (new scale)

[Plugins]
blurEnabled=false
dialogparentEnabled=false
dimscreenEnabled=false
frozenappEnabled=false
overviewEnabled=false
screenedgeEnabled=false

[Rendering]
ScaleMethod=Accurate           # the one that disappeared from the GUI – huge perf win

[Tiling]
padding=4

[Tiling][50a77279-6c0a-5345-ad8b-702fc3d1c9bc]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}

[Tiling][8a2b92a3-de2f-4064-b64a-2c10722387d1][2c3c2c8b-5e20-4455-a59c-0f033bd09a1e]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}

[Tiling][8a2b92a3-de2f-4064-b64a-2c10722387d1][b2b20d7b-7b34-483c-b0bf-fb5a4f611e78]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}

[Tiling][d0d4bda8-1acc-58ee-a079-164ac8c8cd71]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}

[Wayland]
Vsync=true                     # usually already true, but force it

[Xwayland]
Scale=1

Offline

#6 2025-12-02 14:01:33

zpg443
Member
Registered: 2016-12-03
Posts: 312

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

gromit wrote:

Can you fix it by downgrading the kernel? Is the issue fixable by switching to the "linux" package?

I will not use downgrade, and I am already using the LTS kernel.

Offline

#7 2025-12-02 14:05:35

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,404
Website

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

zpg443 wrote:

I will not use downgrade, and I am already using the LTS kernel.

Why not do some debugging? Testing "linux" would be a sensible thing to do and downgrading linux-lts is part of narrowing the issue down further

Offline

#8 2025-12-02 15:49:05

zpg443
Member
Registered: 2016-12-03
Posts: 312

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

Not ready to mark solved just yet, but I have stress tested by running simultaneously: Tradingview within flatpak, Unity game program in a librewolf browser window, youtube in a chromium window. No reset problems yet.

The following might be improving Wayland performance in KDE when in a dual monitor setup using the LTS kernel and AMD Ryzen with integrated graphics:

1. Boot with:

amdgpu.sg_display=0  amdgpu.gpu_recovery=1 amdgpu.noretry=0

2. Modify ~/.config/kwinrc to these compositing settings:

[Compositing]
Backend=OpenGL
Enabled=true
GLCore=false                  # ← critical: compatibility profile
GLPreferBufferSwap=a
GLTextureFilter=1             # ← Nearest (or 0 if you want even less load)
Latency=Performance
MaxFPS=60                     # ← match your real refresh rate
RefreshRate=60000
TearingPrevention=FullScreenRepaints
WindowsBlockCompositing=false

3. Ensure refresh rates are set at 60 Hz.

According to Grok:

1. Boot Parameters: amdgpu.sg_display=0 amdgpu.gpu_recovery=1 amdgpu.noretry=0

Why it helps: amdgpu.sg_display=0: Disables Secure Group Display (a power-saving feature), which can cause display core glitches on Raphael iGPUs during multi-monitor handoff—directly tied to your lttpr_caps errors in dmesg.
amdgpu.gpu_recovery=1: Enables automatic GPU reset on timeouts (your logs show successful MODE2 resets, but this ensures KWin recovers without full hangs).
amdgpu.noretry=0: Allows command submission retries, preventing infinite loops during gfx ring stalls (common in KWin's OpenGL path).

Evidence: Matches fixes in Arch forums for Ryzen 7000 iGPU Wayland issues (e.g., external monitor freezes resolved by these params + kernel 6.11/6.12).

No regressions reported on 6.12 LTS.

Caveats: None major—add amdgpu.dcdebugmask=0x10 if resets persist (stabilizes dual-monitor clocks). Verify in /proc/cmdline after boot.

2. ~/.config/kwinrc Compositing Settings

Your proposed block is excellent—it's a dialed-back version of your original aggressive config (e.g., dropping GLCore=true avoids core-profile shader bugs that hang RDNA2 iGPUs; GLTextureFilter=1 cuts filtering overhead by ~50%; MaxFPS=60 prevents wasting cycles on uncapped compositing). This shifts KWin to a "low-load" OpenGL 2.0 compatibility mode, which is far more forgiving on your 2-CU iGPU.

Last edited by zpg443 (2025-12-02 16:02:06)

Offline

#9 2025-12-02 19:03:55

zpg443
Member
Registered: 2016-12-03
Posts: 312

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

Still having issues, now with the Brave browser:

 Dec 02 12:34:17 archmain systemd[778]: Started Brave - Web Browser.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished successfully.
░░ 
░░ The job identifier is 1516.

Dec 02 12:34:18 archmain brave[6348]: [6348:6348:1202/123418.306138:ERROR:chrome/browser/ui/views/user_education/impl/browser_user_education_interface_impl.cc:154] Attempting to show IPH IPH_DiscardRing before browser initialization complete; IPH will not be shown.
Dec 02 12:34:19 archmain brave[6420]: [6420:6425:1202/123419.715381:ERROR:services/network/p2p/socket_manager.cc:137] Failed to resolve address for aa.online-metrix.net., errorcode: -105
Dec 02 12:34:19 archmain brave[6420]: [6420:6425:1202/123419.715424:ERROR:services/network/p2p/socket_manager.cc:137] Failed to resolve address for aa.online-metrix.net., errorcode: -105
Dec 02 12:34:19 archmain brave[6420]: [6420:6425:1202/123419.723706:ERROR:services/network/p2p/socket_manager.cc:137] Failed to resolve address for aa.online-metrix.net., errorcode: -105
Dec 02 12:34:19 archmain brave[6481]: [6481:15:1202/123419.775053:ERROR:third_party/webrtc/p2p/base/stun_port.cc:104] Binding error response: class=4 number=1 reason=Unauthorized
Dec 02 12:34:20 archmain brave[6420]: [6420:6425:1202/123420.142126:ERROR:services/network/p2p/socket_manager.cc:137] Failed to resolve address for aa.online-metrix.net., errorcode: -105
Dec 02 12:34:20 archmain brave[6481]: [6481:15:1202/123420.164787:ERROR:third_party/webrtc/p2p/base/stun_port.cc:104] Binding error response: class=4 number=1 reason=Unauthorized
Dec 02 12:34:20 archmain brave[6420]: [6420:6425:1202/123420.194832:ERROR:services/network/p2p/socket_manager.cc:137] Failed to resolve address for aa.online-metrix.net., errorcode: -105
Dec 02 12:34:20 archmain brave[6420]: [6420:6425:1202/123420.194848:ERROR:services/network/p2p/socket_manager.cc:137] Failed to resolve address for aa.online-metrix.net., errorcode: -105
Dec 02 12:34:43 archmain chromium[1747]: [1747:1761:1202/123443.301312:ERROR:services/network/restricted_cookie_manager.cc:1148] site_for_cookies from renderer='SiteForCookies: {site=null; schemefully_same=false}' from browser='SiteForCookies: {site=https://perplexity.ai; s>
Dec 02 12:34:43 archmain chromium[1747]: [1747:1761:1202/123443.301326:ERROR:services/network/restricted_cookie_manager.cc:1157] top_frame_origin from renderer='null [internally: (90A6DF7F4CBBA97545B7D38450A22E7A) anonymous]' from browser='https://www.perplexity.ai';
Dec 02 12:34:48 archmain chrome[6348]: [6348:6375:1202/123448.225899:INFO:chrome/browser/extensions/extension_garbage_collector.cc:188] Garbage collection for extensions on file thread is complete.
Dec 02 12:34:59 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: Dumping IP State
Dec 02 12:34:59 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: Dumping IP State Completed
Dec 02 12:34:59 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.1.0 timeout, signaled seq=10618, emitted seq=10620
Dec 02 12:34:59 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: Process information: process kwin_wayland pid 851 thread kwin_wayla:cs0 pid 892
Dec 02 12:34:59 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: GPU reset begin!
Dec 02 12:34:59 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: MODE2 reset
Dec 02 12:34:59 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: GPU reset succeeded, trying to resume
Dec 02 12:34:59 archmain kernel: [drm] PCIE GART of 1024M enabled (table at 0x000000F41FC00000).
Dec 02 12:34:59 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: PSP is resuming...
Dec 02 12:34:59 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: reserve 0xa00000 from 0xf41e000000 for PSP TMR
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: RAS: optional ras ta ucode is not available
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: RAP: optional rap ta ucode is not available
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: SMU is resuming...
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: SMU is resumed successfully!
Dec 02 12:35:00 archmain kernel: [drm] kiq ring mec 2 pipe 1 q 0
Dec 02 12:35:00 archmain kernel: [drm] DMUB hardware initialized: version=0x05002C00
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: [drm] *ERROR* lttpr_caps phy_repeater_cnt is 0x0, forcing it to 0x80.
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.1.0 uses VM inv eng 1 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 4 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 5 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
Dec 02 12:35:00 archmain brave[6417]: [6417:6417:1202/123500.174545:ERROR:ui/gl/gl_fence_android_native_fence_sync.cc:67] eglDupNativeFenceFDANDROID duplication failure. Returned error=-1
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 12 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring sdma0 uses VM inv eng 13 on hub 0
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
Dec 02 12:35:00 archmain kernel: amdgpu 0000:0c:00.0: amdgpu: GPU reset(1) succeeded!
Dec 02 12:35:00 archmain kwin_wayland[851]: 0x2: GL_CONTEXT_LOST in context lost
Dec 02 12:35:00 archmain kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!

Note the issue discussed here:
https://github.com/brave/brave-browser/issues/49921
It says the issue was resolved even though it crashed when I ran version Brave 1.84.141 (Official Build) (64-bit)

The kernel log shows ring gfx_0.1.0 timeout and GPU reset begin! followed by a successful MODE2 reset and re‑init, then Failed to initialize parser -125!.
KWin reports GL_CONTEXT_LOST and “graphics reset not attributable to the current GL context,” which is what it does when the driver has just reset the GPU.
This happens with multiple clients (Brave, TradingView Flatpak, KWin itself), on Wayland and X11, and after trying compositor tunables and kernel parameters, so it is not a single misbehaving app

Offline

#10 2025-12-02 22:17:28

zpg443
Member
Registered: 2016-12-03
Posts: 312

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

Apparently this is a known issue with linux-firmware-amdgpu. Will mark solved and wait for firmware update.

https://gitlab.freedesktop.org/drm/amd/-/issues/4737

Offline

#11 2025-12-02 22:22:37

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,404
Website

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

Does downgrading the firmware fix the issue?

Offline

#12 2025-12-02 22:35:14

zpg443
Member
Registered: 2016-12-03
Posts: 312

Re: [SOLVED] AMD Ryzen 7 Integrated graphics Wayland Errors

There is no reason to downgrade. The developer has gotten it reverted upstream for now. See bottom of page at gitlab link above. I'll wait.

Offline

Board footer

Powered by FluxBB