I’m using the NVIDIA graphics driver 450.66 with a GTX 1080 and it’s connected to an ASUS ROG PG27AQ display that is 3840x2160 @ 60Hz.
In Windows this combination is capable of all sorts of resolutions, and so you would think it is in Linux, and the NVIDIA driver does indeed say exactly that.
Unfortunately only 640x480, 800x600, 1024x768, and the native 3840x2160 resolutions actually work. Everything else makes my display go dark, write “OUT OF RANGE” and then revert to normal after 15 seconds.
All of my games also detect all these terrible resolutions, and many of them will automatically attempt to use them. For Warcraft 3 Reforged, I want to use a 1080p resolution because the game runs like trash, but it’s still Warcraft 3 and I love it, but I can’t select it because, if I do, I get no display output.
The selectable resolutions also change with each release of the graphics driver. I can’t quite figure out the pattern, but it’s on long timeframe. It doesn’t change between reboots or anything like that. More like when I update sometimes. Sometimes it writes (Scaled) after everything and the GPU works as normal. Sometimes they just straight up aren’t there. And sometimes, like now, they are listed but don’t work.
I use nvidia-settings to change it. I don’t have the system settings plugin for KDE to change resolution installed at all.
I have never tried using xrandr or arandr to set my resolution.
By the way, even if we do manage to restore the (Scaled) resolutions, they don’t show up in Wine for some absurd reason. That’s gonna be the next step.
That documentation had the answer. Had a really hard time figuring some of this out, but … yeah.
The first point of confusion was Manjaro’s graphics handling, which meant that all my xorg changes weren’t taking effect. Well, the magic takes place inside mhwd.d.
All of the broken resolutions were caused by the setting Option “ModeValidation” “AllowNonEdidModes”
Now, I didn’t set that. I had no idea it even existed. I think the reason why it keeps changing is that some people in the Manjaro community, when packing these, sets that option, while others do not. Not good - that’s not a setting that should be enabled by default from reading what it does.
Once this line was gone I also got my scaled resolutions back!
As for wine, it’s broken at some point. 5.7-fshack works, 5.14 does not. Not sure why exactly, but doesn’t matter for the time being. It works.
That’s interesting indeed, I wonder why AllowNonEdidModes is there, honestly, it doesn’t seem like something that should be enabled by default, but I guess there are reasons.