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: 34
Current serial number in output stream: 35
Estou usando o CachyOS, Minha placa de video é uma Nvdia
Ele ta querendo usar resolucao custom mas quando usa o comando
xrandr --addmode HDMI-O “1104x1080_60.00”
da o erro que ele mandou fiz uma script para deixa mas facil isso no meu notebook funcionou normalmente apenas no dele que nao
I’ve seen all of the internet that if you want to set a custom resolution with xrandr using a NVIDIA GPU, for most people it won’t let you and will give you an error which looks like this:
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 153 (RANDR). Minor opcode of failed request: 18 (RRAddOutputMode). Serial number of failed request: 29. Current serial number in output stream: 30
After months of struggling to find a fix, a link caught my eyes (Appendix B. X Config Options) and I’ve found that if you add this line:
Option “UseEDID” “FALSE”
to your xorg.conf file at the monitor section and then reboot, it will give you a bunch of new resolutions and the posibility to finally add your custom resolutions using xrandr without giving the error of the above.
I hope this is useful for those folks who tried all of the fixes they could ever found on the internet, but didn’t get any results, like me."