Ao usar o xrandr --addmode corretamente da erro

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

Caso queira adicionar resoluções não detectadas ou modificadas use o guia abaixo
https://wiki.archlinux.org/title/Xrandr#Adding_undetected_resolutions
Para adicionar permanentemente
https://wiki.archlinux.org/title/Xrandr#Permanently_adding_undetected_resolutions
Lembrando que o xrandr não funciona com o wayland apenas com o servidor X (Xorg)

1 curtida

mesmo fazendo do jeito que ta no wiki do archlinux acontece isso no xorg

Manda o que você está fazendo, os comandou que usou, etc…

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

Comandos usados:
cvt 1100 1080
xrandr --newmode “1104x1080_60.00” 98.75 1104 1176 1288 1472 1080 1083 1093 1120 -hsync +vsync
xrandr --addmode HDMI-0 “1104x1080_60.00”

Caso queria da uma olhada no codigo do script: GitHub - ViniciusRed/custom-resolution-for-linux: A bash script to easily manage custom display resolutions on Linux using xrandr.

" xrandr error BadMatch (invalid parameter attributes) [SOLVED]

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."

valeu vou avisar ele

1 curtida