How to display a video game at its native resolution in full screen?

Without zooming if the native resolution of the video game is lower than the resolution of the screen , 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 .

It’s also possible in windowed mode if the game can e.g. Half-Life 2 but e.g. an old game like Lego Racer 2 ( via Proton ) can’t .

I think gamescope can used to upscale a game’s resolution to your screen.

You misunderstood .
E.g. if I set Half-Life 2 at 1280x720 in full screen , it’s zoomed at 1920x1080 : the resolution of my screen , but I want the game displayed 1280x720 .

If what you want is having the game centered with black bars around, you can set Gamescope to use integer scaling by passing --scaler integer.

AFAIK fullscreen scaling without gamescope is done in-game in all native Valve games on Linux and in anything run via Proton.

Ah thanks .

Unfortunately gamescope isn’t available on Debian testing …

& it’s a compositor , why not KWin directly ? I’ll create the feature request .

" AFAIK fullscreen scaling without gamescope is done in-game in all native Valve games on Linux and in anything run via Proton. " How ?

Compile it yourself? There’s a package for Debian unstable but I’m not sure if it would work in testing.

I created the feature request : 496782 – Feature request : no scaling option . , I wait an answer .

This is a pretty niche use case that is almost exclusively relevant to gaming, so I’d think supporting it would be a moderate priority for a gaming-dedicated tool like gamescope, but pretty low priority for a general-purpose one like KWin?

And a side note if it’s helpful - if there are a lot of custom/specific things you want to do with gaming on a PC, you may find that Debian is not as optimal of a base as some other distributions that prioritize more up-to-date software. For example, Valve once produced SteamOS using Debian as a base, but switched away due to the incompatibility between the Debian “frozen features” model and the Valve/Steam need to rapidly release.

The desktop also can be at native resolution .

I’m on Debian testing KDE with the official NVIDIA driver from its website ( I can write a link , why ? ) , Debian testing is rolling release , updates every day .
I play big games like Black Mesa , Serious Sam Fusion , Burnout Paradise , Rocket League , GTA V without issue ( but THE FINALS freezes after 25 minutes , I posted on Steam ) .

Indeed SteamOS was on Debian stable , should be testing in my opinion , I don’t even understand why Arch Linux exists ( Debian is older ) , e.g. an AUR package is painful to install ( must compile … ) , no graphical package manager ( I use Synaptics ) .