Hello,
I’m having a bit of an issue trying to create a custom resolution for one of my displays.
I do the usual steps with cvt 1280 960 144, then using xrandr --newmode [output] and lastly xrandr --addmode DP-4 "1280x960_144.00", however on that last step I always get the following error:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 45
Current serial number in output stream: 46
I looked online and other people have the same issue, however none of the fixes provided there worked for me. In case it’s relevant, I’m using the latest proprietary nvidia 520 drivers.
If you have any idea what might be going on or how I could fix my issue, please let me know
EDIT: I know that that specific resolution works on my monitor, because I have used it while I was still using Windows without any issues or problems
Please check if you have your preferred resolution listed and if the Hz is correct with:
(Just as a reminder, you cant’t use xrandr with Wayland) xrandr -q
It is possible that the frequency you want to use is unsupported at that resolution by that monitor. Have you tried the same when specifying 60 Hz instead of 144 Hz?
as I said, the refresh rate @ that resolution can’t be unsupported because I ran exactly that under Windows.
I ended up switching from Fedora on GNOME to the KDE spin and wrote an xrandr script that just scales my resolution down by the factor that results in my prefered resolution, as a sort of workaroudn solution (the reason why I switched is because I had some scaling issues under GNOME that I knew i didn’t have on KDE)
I guess that concludes that I was sadly not able to fix this issue in the way I wanted to, however the workaround is sufficient enough, at least for now.
Thanks for all the responses I got, I learned something new!
Do not forget, Nvidia is closed source. And Linux drivers already have been given less attention. This is why even Linus had shown his in satisfaction about Nvidia. Never less, with your workaround you found a way out of this dilemma (more or less ).
oh I will not be buying another nvidia card if I ever decide to upgrade, thats for sure haha - and not just for Linux reasons, the company, their price hiking and the shady stuff they do has become too much to accept