Setting maximum resolution for gaming on nvidia gnome bazzite.

Can I configure bazzite to have a maximum resolution for each monitor? The desktop environment is totally fine, but every game or application that uses Proton or WINE wants to set the resolution way higher than it should. Gamescope is a good workaround for some things, but not all. I've tried using xrandr commands, modifying the xorg.conf, and a couple other things. Nothing in nvidia-settings is helpful. Any help would be appreciated, this is driving me nuts.
16 Replies
boR
boROP3w ago
No solution for this?
皇家海星
皇家海星3w ago
set the resolution in your game
boR
boROP3w ago
That doesn't work. Some of them won't even offer the correct aspect ratio since it's not being correctly reported. One of them will not offer a correct resolution in fullscreen, and if it's windowed and set to the resolution of the monitor, it makes the window size about 1/3 of the screen. I'd really like to fix the problem and not treat a symptom. Wine config has microscopic windows because it thinks that my resolution is much higher. If it's not causing display issues, it'll cause games to run at high resolutions with very low FPS.
皇家海星
皇家海星3w ago
You can try to set wine virtual desktop open winecfg from protontricks, if you are running your games through steam
boR
boROP3w ago
the fun thing about that is it does the same thing that running in windowed mode does, it sets a window taking about 1/3 of my screen and runs inside that. it thinks it has a 4k screen to work with, but I only have a 2k screen
皇家海星
皇家海星3w ago
try setting the dpi in winecfg?
boR
boROP3w ago
That does work for some games.
皇家海星
皇家海星3w ago
default is 96, which should work if you are using 1x scaling
boR
boROP3w ago
Again it's like treating a symptom though and has to be done per game. I'm looking for a real fix.
皇家海星
皇家海星3w ago
If you are using fractional scaling, you'd need to use a newer wine/proton version
boR
boROP3w ago
So there's no way to just configure the nvidia drivers or Wayland to max out at a certain resolution?
皇家海星
皇家海星3w ago
afaik Kwin should communicate the maximum display resolution don't even bother with trying to configure it in the nvidia drivers or xrandr, those don't work here Try a proton version >10.15 with ProtonPlus afaik display scaling fix is somewhere near that time
boR
boROP3w ago
Is there a way to configure kwin? I've been using the newest verisons of proton for everything but I'll make sure they're above that.
皇家海星
皇家海星3w ago
kscreen-doctor tbh I suspect an Nvidia issue
boR
boROP3w ago
is that for KDE only?
皇家海星
皇家海星3w ago
yes

Did you find this page helpful?