Bug 496782

Summary: Feature request: option to display applications in fullscreen mode without scaling them to fit the screen, leaving black borders around the content
Product: [Plasma] kwin Reporter: Jérémy Bézairie <jeremy.bezairie>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: john.kizer
Priority: NOR    
Version First Reported In: 5.27.11   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jérémy Bézairie 2024-11-28 11:19:12 UTC
E.g. a video game like Zaz : if its resolution is set to 1280x720 & fullscreen , the game is upscaled to the resolution of my screen : 1920x1080 , but I want the game displayed 1280x720 ( native resolution ) , the image centered at screen with black borders .

On Windows 11 it’s NVIDIA Control Panel , Adjust desktop size and position , Scaling , No scaling but on Debian testing KDE there isn’t such option in NVIDIA X Server Settings , neither Wayland nor X11 .

A solution : gamescope as suggested in https://discuss.kde.org/t/how-to-display-a-video-game-at-its-native-resolution-in-full-screen/26106/4 but :
gamescope is a compositor , so why not KWin instead ?
gamescope isn't available in Debian testing https://packages.debian.org/search?keywords=gamescope , I don't know why ...

I also posted here : https://forums.developer.nvidia.com/t/how-to-display-a-video-game-at-its-native-resolution-in-full-screen/314961 .

Linux/KDE Plasma: 6.11.9-amd64 (64-bit)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.15