You are not logged in.

#1 2021-08-22 13:01:12

gabe12
Member
Registered: 2021-08-22
Posts: 2

[SOLVED] xrandr-hdmi issue

Hello,

I have a Lenovo X1Exterme with Intel & Nvidia GTX1650 cards.
I'm facing a problem where each time I boot the system and login via lightdm xrandr is setting the nvidia HDMI output to `HDMI-1-1`
Which is the wrong address and doesn't work with the external monitor and gives error `configure crtc 5 failed `

Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
eDP1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   3840x2160     60.00*+  59.97
   3200x1800     59.96    60.00    59.94
   2880x1620     60.00    59.96    59.97
   2560x1600     59.99    59.97
   2560x1440     59.96    60.00    59.95
   2048x1536     60.00
   1920x1440     60.00
   1856x1392     60.01
   1792x1344     60.01
   2048x1152     60.00    59.90    59.91
   1920x1200     59.88    59.95
   1920x1080     59.96    60.00    59.93
   1600x1200     60.00
   1680x1050     59.95    59.88
   1400x1050     59.98
   1600x900      60.00    59.95    59.82
   1280x1024     60.02
   1400x900      59.96    59.88
   1280x960      60.00
   1368x768      60.00    59.88    59.85
   1280x800      59.81    59.91
   1280x720      59.86    60.00    59.74
   1024x768      60.00
   1024x576      60.00    59.90    59.82
   960x540       60.00    59.63    59.82
   800x600       60.32    56.25
   864x486       60.00    59.92    59.57
   640x480       59.94
   720x405       59.51    60.00    58.99
   640x360       59.84    59.32    60.00
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)

Now when I restart the login manager `systemctl restart lightdm` and login again, I see the xrandr setting HDMI to `HDMI-1-0` and it is working properly.

Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
eDP1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   3840x2160     60.00*+  59.97
   3200x1800     59.96    60.00    59.94
   2880x1620     60.00    59.96    59.97
   2560x1600     59.99    59.97
   2560x1440     59.96    60.00    59.95
   2048x1536     60.00
   1920x1440     60.00
   1856x1392     60.01
   1792x1344     60.01
   2048x1152     60.00    59.90    59.91
   1920x1200     59.88    59.95
   1920x1080     59.96    60.00    59.93
   1600x1200     60.00
   1680x1050     59.95    59.88
   1400x1050     59.98
   1600x900      60.00    59.95    59.82
   1280x1024     60.02
   1400x900      59.96    59.88
   1280x960      60.00
   1368x768      60.00    59.88    59.85
   1280x800      59.81    59.91
   1280x720      59.86    60.00    59.74
   1024x768      60.00
   1024x576      60.00    59.90    59.82
   960x540       60.00    59.63    59.82
   800x600       60.32    56.25
   864x486       60.00    59.92    59.57
   640x480       59.94
   720x405       59.51    60.00    58.99
   640x360       59.84    59.32    60.00
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 disconnected (normal left inverted right x axis y axis)

```
I've tried different login managers ( lightdm / sddm )
and different DE / WM ( LXDE / I3 / Awesome)

I'm looking for help on where to start for troubleshooting this behavior.

?14:02:23 ❯ uname -a
Linux milo 5.13.12-arch1-1 #1 SMP PREEMPT Wed, 18 Aug 2021 20:49:03 +0000 x86_64 GNU/Linux

?15:00:11 ❯ lspci
00:00.0 Host bridge: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 02)
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)

Last edited by gabe12 (2021-08-22 19:17:25)

Offline

#2 2021-08-22 14:50:50

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

Offline

#3 2021-08-22 19:15:13

gabe12
Member
Registered: 2021-08-22
Posts: 2

Re: [SOLVED] xrandr-hdmi issue

I edited the modules line in  "/etc/mkinitcpio.conf" to be

MODULES=(battery i915 nvidia nvidia_modeset nvidia_uvm nvidia_drm)

and It worked like a charm.
Thank you.

Last edited by gabe12 (2021-08-22 19:15:51)

Offline

Board footer

Powered by FluxBB