https://bugs.kde.org/show_bug.cgi?id=498542
Bug ID: 498542 Summary: Kwin wayland and Mesa 24.3 Classification: Plasma Product: kwin Version: master Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: pereira.a...@gmail.com Target Milestone: --- SUMMARY Since the release of Mesa 24.3, Kwin wayland has issues with chromium/electron wayland gpu acceleration, with an amdgpu card. It works fine in Kwin if I downgrade Mesa to 24.2.x. In Hyprland, it works fine with both Mesa 24.2 and 24.3. In Mesa 24.2, chromium/electron apps have their GPU acceleration enabled, and I test it on a 8K video that plays smoothly and without using much CPU. With Mesa 24.3, all the GPU acceleration is disabled (on chrome://gpu) and 8K video barely plays, using 100% CPU On Hyprland, everything is fine with either 24.2 or 24.3. STEPS TO REPRODUCE 1. Launch an chromium/electron app with the params listed bellow 2. Go to chrome://gpu or try to play a video 3. Check CPU/GPU usage OBSERVED RESULT GPU acceleration is disabled/not working EXPECTED RESULT GPU acceleration should work on Mesa 24.3, as it does on Mesa 24.2 and with Mesa 24.3 in Hyprland SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION This issue happens with either plasma 6.2 or the new beta for 6.3. The params I use to launch the chromium/electron apps: ``` export CHROMEPARAMS=" \ --ignore-gpu-blocklist \ --enable-gpu-rasterization \ --enable-oop-rasterization \ --enable-accelerated-2d-canvas \ --enable-quic \ --enable-smooth-scrolling \ --disable-features=Vulkan,DefaultANGLEVulkan,VulkanFromANGLE \ --enable-features=AcceleratedVideoEncoder,AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiIgnoreDriverChe cks,WaylandWindowDecorations,UseMultiPlaneFormatForHardwareVideo,FluentOverlayScrollbar \ --gtk-version=4 \ --disable-gtk-ime \ --wayland-text-input-version=3 \ --enable-wayland-ime \ --ozone-platform-hint=wayland \ --ozone-platform=wayland \ --password-store=basic \ --touch-events=disabled \ --use-angle=gl \ --use-gl=angle \ " export GDK_BACKEND=wayland export QT_QPA_PLATFORM=wayland export GTK_THEME=Breeze export LIBVA_DRIVER_NAME=radeonsi ``` Thanks! -- You are receiving this mail because: You are watching all bug changes.