Bug 494492

Summary: Lower Framerate in Fullscreen Mode on Minecraft in Plasma 6.1+
Product: [Plasma] kwin Reporter: Edgars <edgarsciruliss>
Component: performanceAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate, xaver.hugl
Priority: NOR Keywords: regression, wayland-only
Version First Reported In: 6.1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Edgars 2024-10-10 21:49:23 UTC
Description:
Since updating to Plasma 6.1, I have noticed lower framerate performance when playing Minecraft in fullscreen mode. Upon exiting fullscreen, the framerate increases significantly. Despite waiting for the Plasma 6.2 update, the issue persists, so I am filing this bug report.

Fullscreen: https://ibb.co/BTHw9xy
Windowed: https://ibb.co/27jR4hz

Steps to Reproduce:
1. Launch Minecraft in fullscreen mode.
2. Observe the average framerate while playing in fullscreen.
3. Exit fullscreen mode.
4. Compare the average framerate between fullscreen and windowed modes.

Observed Result:
The framerate in fullscreen mode is lower than expected. When exiting fullscreen, the framerate increases significantly, even though fullscreen should theoretically provide better performance due to direct scanout.

Expected Result:
Framerate should be higher or at least comparable when playing in fullscreen mode, as it should benefit from direct scanout and improved GPU resource allocation.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 62.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: Katana GF76 11UE
System Version: REV:1.0
Comment 1 Edgars 2024-10-10 21:53:44 UTC
Forgot to mention:
I am using nvidia-dkms 560.35.03-5
Comment 2 Zamundaaa 2026-01-22 14:43:56 UTC
IIRC Nvidia only allocated a low amount of buffers on Wayland, and more buffers are required for full performance in fullscreen. They fixed that in more recent driver versions though.

If you can still reproduce this in Plasma 6.5 with the latest Nvidia drivers, just reopen this