You are not logged in.
After recent upgrade I am unable to connect to my external monitor
~/ xrandr --output DP-1-1 --mode 2560x1440 --right-of eDP-1
xrandr: Configure crtc 3 failed
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 21 (RRSetCrtcConfig)
Value in failed request: 0x0
Serial number of failed request: 58
Current serial number in output stream: 58
Using thinkpad X1E with Nvidia graphics card.
I read on the archlinux main page that nvidia breaks with linux > 5.9. Has that been resolved? Also after I install linux-lts what should I do to make it the default kernel used? because after reboot it still show linux.5.10.3
TL;DR: Installed linux-lts and nvidia-lts to get the external monitor working
Edit 2: nvidia package version : nvidia-460.32.03-1 fixes this issue. No need to use nvidia-lts if you don't want to
Last edited by abhixec (2021-01-07 20:31:48)
Offline
Please post the output of "xrandr -q" and your xorg log.
As for selecting the "default" kernel, the preselection of your https://wiki.archlinux.org/index.php/Ar … oot_loader depends on your boot boot loader, so yo'll have to specify that but that aspect is probably also covered by the relevant wiki page.
Online
Please post the output of "xrandr -q" and your xorg log.
As for selecting the "default" kernel, the preselection of your https://wiki.archlinux.org/index.php/Ar … oot_loader depends on your boot boot loader, so yo'll have to specify that but that aspect is probably also covered by the relevant wiki page.
$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 60.03*+ 60.01 59.97 59.96 59.93 47.99
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
DP-1-0 disconnected
DP-1-1 connected
2560x1440 59.95 +
2048x1080 60.00 24.00
1920x1080 60.00 59.94 50.00
1600x1200 60.00
1280x1024 75.02 60.02
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 59.94
640x480 75.00 59.93 59.94
HDMI-1-0 disconnected
1280x1024 (0x51) 108.000MHz +HSync +VSync
h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz
1024x768 (0x62) 65.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
800x600 (0x71) 40.000MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
640x480 (0x7e) 25.175MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
Offline
…and your xorg log
https://wiki.archlinux.org/index.php/Xorg#General
At least the outputs and mode exist. Can you
xrandr --output DP-1-1 --mode 1920x1080 --right-of eDP-1
or
xrandr --output DP-1-1 --mode 2560x1440 --below eDP-1
?
Edit: grammar
Last edited by seth (2021-01-01 12:05:30)
Online
seth wrote:…and your xorg log
https://wiki.archlinux.org/index.php/Xorg#General
At least the outputs and mode exist. Can you
xrandr --output DP-1-1 --mode 1920x1080 --right-of eDP-1
or
xrandr --output DP-1-1 --mode 2560x1440 --below eDP-1
?
Edit: grammar
$ grep -e Log -e tty /var/log/Xorg.0.log | xsel --clipboard
[ 134.581] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 31 22:31:40 2020
[ 144.290] (II) config/udev: Adding input device Logitech G502 (/dev/input/mouse3)
[ 144.290] (**) Logitech G502: Applying InputClass "system-keyboard"
[ 144.290] (**) Logitech G502: Applying InputClass "touchpad"
[ 144.290] (II) Using input driver 'libinput' for 'Logitech G502'
[ 144.290] (**) Logitech G502: always reports core events
[ 144.376] (EE) libinput: Logitech G502: Failed to create a device for /dev/input/mouse3
[ 144.376] (EE) PreInit returned 2 for "Logitech G502"
[ 144.378] (II) config/udev: Adding input device Logitech G502 (/dev/input/event29)
[ 144.378] (**) Logitech G502: Applying InputClass "libinput pointer catchall"
[ 144.378] (**) Logitech G502: Applying InputClass "libinput keyboard catchall"
[ 144.378] (**) Logitech G502: Applying InputClass "system-keyboard"
[ 144.378] (**) Logitech G502: Applying InputClass "touchpad"
[ 144.378] (II) Using input driver 'libinput' for 'Logitech G502'
[ 144.380] (**) Logitech G502: always reports core events
[ 144.386] (II) event29 - Logitech G502: is tagged by udev as: Keyboard Mouse
[ 144.387] (II) event29 - Logitech G502: device is a pointer
[ 144.387] (II) event29 - Logitech G502: device is a keyboard
[ 144.388] (II) event29 - Logitech G502: device removed
[ 144.388] (II) libinput: Logitech G502: needs a virtual subdevice
[ 144.388] (II) XINPUT: Adding extended input device "Logitech G502" (type: MOUSE, id 22)
[ 144.389] (**) Logitech G502: (accel) selected scheme none/0
[ 144.389] (**) Logitech G502: (accel) acceleration factor: 2.000
[ 144.389] (**) Logitech G502: (accel) acceleration threshold: 4
[ 144.394] (II) event29 - Logitech G502: is tagged by udev as: Keyboard Mouse
[ 144.395] (II) event29 - Logitech G502: device is a pointer
[ 144.395] (II) event29 - Logitech G502: device is a keyboard
[ 144.396] (**) Logitech G502: Applying InputClass "libinput pointer catchall"
[ 144.396] (**) Logitech G502: Applying InputClass "libinput keyboard catchall"
[ 144.396] (**) Logitech G502: Applying InputClass "system-keyboard"
[ 144.396] (**) Logitech G502: Applying InputClass "touchpad"
[ 144.396] (II) Using input driver 'libinput' for 'Logitech G502'
[ 144.397] (**) Logitech G502: always reports core events
[ 144.397] (II) libinput: Logitech G502: is a virtual subdevice
[ 144.397] (II) XINPUT: Adding extended input device "Logitech G502" (type: KEYBOARD, id 23)
full xorg.log https://pastebin.com/j0GbrNFd
xrandr --output DP-1-1 --mode 2560x1440 --below eDP-1
xrandr: Configure crtc 3 failed
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 21 (RRSetCrtcConfig)
Value in failed request: 0x0
Serial number of failed request: 58
Current serial number in output stream: 58
Last edited by abhixec (2021-01-01 12:16:54)
Offline
Not "grep somethingthatmakesnosenseatall™", the entire log.
Did you try the smaller resolution?
Online
Not "grep somethingthatmakesnosenseatall™", the entire log.
Did you try the smaller resolution?
Smaller resolution also gave me the same error
realized that I grepped the wrong thing only after clicking post, sorry!
entire log : https://pastebin.com/j0GbrNFd
Last edited by abhixec (2021-01-01 12:19:06)
Offline
[ 147.718] (II) modeset(0): Allocate new frame buffer 2560x1440 stride
[ 147.790] randr: failed to create shared pixmap
[ 147.790] (EE) NVIDIA(G0): Failed to configure Reverse PRIME on output DP-1-1.
Online
[ 147.718] (II) modeset(0): Allocate new frame buffer 2560x1440 stride [ 147.790] randr: failed to create shared pixmap [ 147.790] (EE) NVIDIA(G0): Failed to configure Reverse PRIME on output DP-1-1.
Should have mentioned that before but even after I set it I still get same error!
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 1 name:modesetting
Provider 1: id: 0x23f cap: 0x2, Sink Output crtcs: 4 outputs: 3 associated providers: 1 name:NVIDIA-G0
$ xrandr --setprovideroutputsource NVIDIA-G0 modesetting
$ xrandr --output DP-1-1 --mode 2560x1440 --below eDP-1
xrandr: Configure crtc 3 failed
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 21 (RRSetCrtcConfig)
Value in failed request: 0x0
Serial number of failed request: 58
Current serial number in output stream: 58
updated xorg.log : https://pastebin.com/pqtCaTvq
Edit: add xorg.log
Last edited by abhixec (2021-01-01 12:33:13)
Offline
Same problem. As the allocation leading to the failure happens in the modesetting driver, https://archlinux.org/packages/extra/x8 … deo-intel/ ?
(This will alter output and provider names!)
Online
Same problem. As the allocation leading to the failure happens in the modesetting driver, https://archlinux.org/packages/extra/x8 … deo-intel/ ?
(This will alter output and provider names!)
I have that already installed and rebooted before attempting the above.
Offline
Can you just mirror the output?
xrandr --output DP-1-1 --mode 1920x1080 --pos 0x0
Online
Can you just mirror the output?
xrandr --output DP-1-1 --mode 1920x1080 --pos 0x0
Sadly still the same error!
Offline
**grrrrumplfx**
https://bbs.archlinux.org/viewtopic.php?id=235026 suggests it to be a BIOS issue.
=> What HW (notebook) is this specifically?
Ftr, the function also returns a null pixmap if the sharing fails (rather than the creation)
Online
**grrrrumplfx**
https://bbs.archlinux.org/viewtopic.php?id=235026 suggests it to be a BIOS issue.
=> What HW (notebook) is this specifically?Ftr, the function also returns a null pixmap if the sharing fails (rather than the creation)
It is Thinkpad X1 Extreme Gen 1. And yes I actually updated the bios last night too and still the same. :'(
Offline
Back to square #1 - did you try the LTS kernel behavior?
Online
Back to square #1 - did you try the LTS kernel behavior?
I installed LTS but don't know how to set in grub
Offline
You should™ get a bootmanager menu…
https://wiki.archlinux.org/index.php/GRUB
"set default=N" in /boot/grub/grub.conf or "GRUB_DEFAULT=N" in /etc/default/grub ("N" being the Nth entry in the list and you'll have to grub-mkconfig for /etc/default/grub to apply)
Online
You should™ get a bootmanager menu…
https://wiki.archlinux.org/index.php/GRUB
"set default=N" in /boot/grub/grub.conf or "GRUB_DEFAULT=N" in /etc/default/grub ("N" being the Nth entry in the list and you'll have to grub-mkconfig for /etc/default/grub to apply)
Ok I installed linux-lts and booted into it but now it xrandr -q doesn't even list other displays :'( it only shows eDP1.
Offline
Forgot to install nvidia-lts?
Online
Forgot to install nvidia-lts?
Why didn't I think of that. Thanks a bunch mate, that did it! Happy New Year!
Last edited by abhixec (2021-01-02 07:26:00)
Offline
I have the exact same problem. But I cannot install nvidia-lts because my /boot partition is full. Is there any other workaround for this?
Offline
Though I haven't tried it myself you could try installing nvidia beta driver from aur. It is suppose to support Linux 5.10
Last edited by abhixec (2021-01-07 08:52:10)
Offline
Though I haven't tried it myself you could try installing nvidia beta driver from aur. It is suppose to support Linux 5.10
This fixed it, thanks a lot!
This is probably obvious for most people but maybe it will help someone:
paru -R nvidia nvidia-lts
paru -S nvidia-beta
reboot
Offline
abhixec wrote:Though I haven't tried it myself you could try installing nvidia beta driver from aur. It is suppose to support Linux 5.10
This fixed it, thanks a lot!
This is probably obvious for most people but maybe it will help someone:
paru -R nvidia nvidia-lts paru -S nvidia-beta reboot
Just an FYI, the latest nvidia driver fixes the issue on linux kernel 5.10. So you probably don't need the aur beta version.
Offline