https://bugs.kde.org/show_bug.cgi?id=529269
Bug ID: 529269
Summary: Full screen QtQuick applications (including
kscreenlocker) freeze under NVIDIA when direct scanout
is enabled
Classification: Plasma
Product: kwin
Version First 6.8.3
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: compositing
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 198771
--> https://bugs.kde.org/attachment.cgi?id=198771&action=edit
WAYLAND_DEBUG=client log (issue reproduced with unset
KWIN_DRM_NO_DIRECT_SCANOUT)
DESCRIPTION
Full screen QtQuick applications freeze under NVIDIA mobile RTX 4070 with the
latest production branch version of NVIDIA's open source drivers. This is
triggered specifically by direct scanout in KWin, as the issue cannot be
reproduced when running the application in a window, with
QT_QUICK_BACKEND=software applied to the application and with
KWIN_DRM_NO_DIRECT_SCANOUT=1 applied to KWin.
This is a generalized version of bug 520879, which specifically concerned
`screenlocker_greet. No logs appear in dmesg or journalctl --full when the
issue is reproduced.
STEPS TO REPRODUCE
1. Save as /tmp/test.qml:
import QtQuick
Window {
visible: true
visibility: Window.FullScreen
color: "black"
Rectangle {
width: 200; height: 200; color: "tomato"
NumberAnimation on x { from: 0; to: 800; duration: 1500; loops:
Animation.Infinite }
}
}
2. Run: qml6 /tmp/test.qml
3. Repeat after adding KWIN_DRM_NO_DIRECT_SCANOUT=1 to /etc/environment and
rebooting.
OBSERVED RESULT
Without KWIN_DRM_NO_DIRECT_SCANOUT=1, the animated square freezes after about a
second. With the environment variable applied and loaded by KWin, the animation
keeps going until the program is terminated.
EXPECTED RESULT
The animated square keeps moving until the program is terminated.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.8.3
KDE Frameworks Version: 6.32.0
Qt Version: 6.12.0
Kernel Version: 7.3.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7435HS
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4070 Laptop GPU
--
You are receiving this mail because:
You are watching all bug changes.