https://bugs.kde.org/show_bug.cgi?id=527713
Bug ID: 527713
Summary: NVIDIA Vulkan fullscreen causes a Wayland protocol
error at 6500K, but works with Night Light at 3500K
Classification: Plasma
Product: kwin
Version First 6.8.0
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 197588
--> https://bugs.kde.org/attachment.cgi?id=197588&action=edit
The attachment includes the reproducer, detailed comparisons, and redacted
logs. No media file is required.
SUMMARY
Switching mpv to fullscreen with NVIDIA Vulkan reproducibly terminates its
Wayland connection at 6500K. The identical test succeeds with Night Light at
3500K. KWin itself remains running.
This has also been reported to NVIDIA via [email protected]. There is no
public upstream ticket URL yet. I am reporting here to help verify the
interaction between KWin's scanout feedback and Night Light.
STEPS TO REPRODUCE
1. Extract repro.lua from the attached archive.
2. Set a 6500K preview:
qdbus6 org.kde.KWin /org/kde/KWin/NightLight org.kde.KWin.NightLight.preview
6500
3. Immediately run:
mpv --no-config --vo=gpu --gpu-api=vulkan --gpu-context=waylandvk
--vulkan-device='NVIDIA GeForce RTX 4060 Laptop GPU' --script=./repro.lua
--audio=no 'av://lavfi:testsrc2=size=640x360:rate=30'
4. Repeat with a 3500K preview. The same command succeeds.
5. Restore automatic Night Light:
qdbus6 org.kde.KWin /org/kde/KWin/NightLight
org.kde.KWin.NightLight.stopPreview
OBSERVED RESULT
At 6500K, shortly after entering fullscreen:
“explicit sync is used, but no buffer is attached”
and VK_ERROR_SURFACE_LOST_KHR.
The trace shows SCANOUT feedback followed by synchronization points and
wl_surface.attach(nil). At 3500K, neither the SCANOUT tranche nor the
null-buffer submission appears during the test.
EXPECTED RESULT
Fullscreen playback continues regardless of Night Light temperature.
SOFTWARE/HARDWARE
Arch Linux; kernel 7.1.4-1-g14
Plasma/KWin 6.8.0, Wayland
NVIDIA RTX 4060 Laptop GPU, driver 615.78.08
AMD Radeon 890M, Mesa 26.2.5
mpv 0.41.0; libplacebo 7.360.1
External TV: 3840x2160 at 119.88 Hz, scale 2
ADDITIONAL INFORMATION
AMD Vulkan and AMD OpenGL work. Disabling the fullscreen animation does not
prevent the failure.
The attachment includes the reproducer, detailed comparisons, and redacted
logs. No media file is required.
--
You are receiving this mail because:
You are watching all bug changes.