Created attachment 182292 [details] This archive contains all logs that ive collected SUMMARY I am experiencing significant stability issues with KWin on Wayland, primarily frequent ~1-second desktop hangs accompanied by "kwin_scene_opengl: Wait failed" and various OpenGL framebuffer errors. These issues occur on my AMD Renoir iGPU (Ryzen 7 5800H) and RTX 3050 Laptop GPU in an Acer Nitro AN515-45 laptop with hybrid graphics. Notably, GNOME on Wayland is stable on the same system. STEPS TO REPRODUCE 1. Boot into a KDE Plasma Wayland session on the described hardware/software. 2. Use the desktop normally (e.g., open a few applications like a web browser and terminal, move windows around). The hangs and associated log errors typically occur within minutes to an hour of use. OBSERVED RESULT 1. Frequent desktop hangs (approx. 1 second) during general usage (opening applications, moving windows, sometimes within minutes of login). These hangs correlate directly with "kwin_scene_opengl: Wait failed" messages in the KWin logs (in attached kwin_opengl_errors.txt). 2. Occasionally, the more severe "kwin_wayland_drm: Pageflip timed out!" error is observed, but the "Wait failed" and framebuffer errors are much more common. EXPECTED RESULT A stable KWin Wayland session without hangs, pageflip timeouts (that sometimes happens too, but rare), or framebuffer errors, utilizing the AMD iGPU for compositing. SOFTWARE/OS VERSIONS Operating System: CachyOS Linux KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.2-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics Memory: 30.7 Gb of RAM Graphics Processor 1: NVIDIA GeForce RTX 3050 Laptop GPU Graphics Processor 2: AMD Radeon Graphics NVIDIA proprietary driver version: 575.57.08 MESA version: 1:25.1.3-4 libdrm version: 2.4.125-1.1 ADDITIONAL INFORMATION I need to mention that i use 2 monitors. 1 connected to iGPU and another to dGPU Display (ARZOPA): 1920x1080 @ 60 Hz in 16" [External] (connected to NVIDIA gpu) Display (NCP004D): 1920x1080 @ 144 Hz in 16" [Built-in] * (connected to AMD igpu, main) I have already tried various kernels: Linux 6.15.2-arch1-1 linux-cachyos 6.15.2-2 linux-cachyos-lts 6.12.33-1 i have also tried downgrading NVIDIA drivers from 575.57.08 to 570.153.02 tried to disable all desktop effects and even creating new user Verified that my user is in 'video' and 'render' groups. Updated BIOS to latest one for my laptop Reinstalled plasma packages tried turning on/off adaptive sync for integrated monitor tried enabling/disabling "screen tearing" setting for both monitors in settings tried disabling color profiles for monitors GNOME on Wayland: Stable on the same system with the same drivers. No comparable hangs or rendering errors observed during extended use (over an hour, including gaming) When run from a TTY (no display server active for user), eglinfo shows the AMD Renoir iGPU correctly initializing with radeonsi for the GBM platform and does NOT show the "_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)" error (see attached eglinfo_from_tty.txt and eglinfo_from_kde.txt) I tried to capture GDB backtrace right after the system (see kwin_gdb_backtrace.txt). Symbols for KWin are present, but system library symbols (Mesa, Qt) were not fully resolved via debuginfod for my CachyOS builds I think the problem lies in syncing one desktop among 2 GPUs i cant figure out how to attach multiple files so i compressed them into an archive, sorry if thats not how im supposed to attach files The archive report.tar.gz contains: [amdgpu_uevent dmesg_full eglinfo_from_kde eglinfo_from_tty kwin_gdb_backtrace kwin_info kwin_opengl_errors lspci_vvnnk vulkaninfo_summary]
after some additional testing i see that this bug doesn`t happen when only 1 monitor is connected (the laptops internal monitor)
If you can still reproduce this, please report it at https://gitlab.freedesktop.org/mesa/mesa/-/issues