You are not logged in.

#1 2022-03-16 22:58:39

blackhasu
Member
Registered: 2022-03-16
Posts: 3

Issue with setting up resolution in Xorg and Xrandr

I installed arch about 3 days ago and I haven't been able to set the resolution to my monitor, which is 1920x1080 (just for clarity's sake I downloaded nouveau and nvidia drivers). Xorg miss-detected it and though I edited the xorg.conf file it just doesn't work. So I tried using Xrandr and follow the steps to adding (

 xrandr --addmode DVI-I-0 "1920x1080_60.00" 

) my resolution to the list of modes but I always recieve 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 have seen people with the same issue but never with answears to it.

Here's some information you might want to know:

Output of Xrandr:

Screen 0: minimum 8 x 8, current 1024 x 768, maximum 16384 x 16384
DVI-I-0 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00*+
   1600x900      59.82
   1400x900      59.88
   1368x768      59.88    59.85
   1280x800      59.91    59.81
   1280x720      59.86    59.74
   1024x576      59.90    59.82
   960x540       59.82    59.63
   864x486       59.92    59.57
   800x600       72.19    60.32    56.25
   800x450       59.82
   700x450       59.88
   684x384       59.88    59.85
   640x480       59.94
   640x400       59.98    59.88
   640x360       59.86    59.83
   512x384       60.00
   512x288       60.00    59.92
   480x270       59.82    59.63
   432x243       59.92    59.57
   400x300       72.19
   320x240       60.05

Xorg.conf file:

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Modeline       "1920x1080_60.00"  173.00  1920 2048
2248 2576  1080 1083 1088 1120 -hsync +vsync
    Option         "PreferredMode" "1920x1080_60.00"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes       "1920x1080_60.00"
    EndSubSection
EndSection

Last edited by blackhasu (2022-03-17 08:42:40)

Offline

#2 2022-03-17 06:46:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,710

Re: Issue with setting up resolution in Xorg and Xrandr

Please use code tags, https://bbs.archlinux.org/help.php#bbcode and post your xorg log, https://wiki.archlinux.org/title/Xorg#General
You're most likely running on the VESA or fbdev driver.

Offline

#3 2022-03-17 08:51:16

blackhasu
Member
Registered: 2022-03-16
Posts: 3

Re: Issue with setting up resolution in Xorg and Xrandr

seth wrote:

Sorry, I'm embarrassed...

seth wrote:

and post your xorg log, https://wiki.archlinux.org/title/Xorg#General
You're most likely running on the VESA or fbdev driver.

Xorg.0.log:

[    18.707] (II) event12 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
[    18.707] (II) event12 - Eee PC WMI hotkeys: device is a keyboard
[    18.707] (II) config/udev: Adding input device PC Speaker (/dev/input/event11)
[    18.707] (II) No input driver specified, ignoring this device.
[    18.707] (II) This device may have been added with another device file.
[    18.718] (**) Razer Razer DeathAdder 2013 Keyboard: Applying InputClass "libinput keyboard catchall"
[    18.718] (**) Razer Razer DeathAdder 2013 Keyboard: Applying InputClass "system-keyboard"
[    18.718] (II) Using input driver 'libinput' for 'Razer Razer DeathAdder 2013 Keyboard'
[    18.718] (**) Razer Razer DeathAdder 2013 Keyboard: always reports core events
[    18.718] (**) Option "Device" "/dev/input/event3"
[    18.718] (II) libinput: Razer Razer DeathAdder 2013 Keyboard: is a virtual subdevice
[    18.718] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1/0003:1532:0037
.0002/input/input3/event3"
[    18.718] (II) XINPUT: Adding extended input device "Razer Razer DeathAdder 2013 Keyboard" (type: KEYBOARD, id
 17)
[    18.718] (**) Option "xkb_model" "abnt"
[    18.718] (**) Option "xkb_layout" "br"
[    18.719] (**) dakai PS/2+USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[    18.719] (**) dakai PS/2+USB Keyboard Consumer Control: Applying InputClass "system-keyboard"
[    18.719] (II) Using input driver 'libinput' for 'dakai PS/2+USB Keyboard Consumer Control'
[    18.719] (**) dakai PS/2+USB Keyboard Consumer Control: always reports core events
[    18.719] (**) Option "Device" "/dev/input/event7"
[    18.719] (II) libinput: dakai PS/2+USB Keyboard Consumer Control: is a virtual subdevice
[    18.719] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/0003:0E6A:02C0
.0005/input/input7/event7"
[    18.719] (II) XINPUT: Adding extended input device "dakai PS/2+USB Keyboard Consumer Control" (type: KEYBOARD
, id 18)
[    18.719] (**) Option "xkb_model" "abnt"
[    18.719] (**) Option "xkb_layout" "br"
[   546.811] (EE) event6  - dakai PS/2+USB Keyboard: client bug: event processing lagging behind by 24ms, your sy
stem is too slow
[   551.283] (EE) event6  - dakai PS/2+USB Keyboard: client bug: event processing lagging behind by 23ms, your sy
stem is too slow

I will also check out those links you sent to try to correct the error, thanks man!

Last edited by blackhasu (2022-03-17 08:54:25)

Offline

#4 2022-03-17 12:50:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,710

Re: Issue with setting up resolution in Xorg and Xrandr

That's only a part of the org log (looks like the tail) and lacks all the crucial parts.

Offline

#5 2022-03-17 22:13:52

blackhasu
Member
Registered: 2022-03-16
Posts: 3

Re: Issue with setting up resolution in Xorg and Xrandr

seth wrote:

That's only a part of the org log (looks like the tail) and lacks all the crucial parts.


I swear that's the only part of the log that I have... I don't know if there's a way to see more stuff but making a

  cat /var/log/Xorg.0.log 

it's the only things I recieve

Offline

#6 2022-03-18 06:59:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,710

Re: Issue with setting up resolution in Xorg and Xrandr

it's the only things I recieve

Don't copy out of the pager - see the first link below.

Offline

Board footer

Powered by FluxBB