You are not logged in.
Pages: 1
Hi guys, I'm having trouble with my external monitor.
When I try to enable it, xrandr throws a strange error:
$ xrandr --output HDMI-1-0 --auto
xrandr: Configure crtc 4 failed
I'm on Linux version 6.2.12-arch1-1 and nvidia 530.41.03-5 (my laptop has AMD integrated graphics and an Nvidia card, I don't remember which one is used by default though)
Output of xrandr:
$ xrandr
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 144.00*+ 60.01 59.97 59.96 60.00 59.93
1680x1050 144.00 59.95 59.88
1400x1050 74.76 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 144.00 85.02 75.02 60.02
1440x900 144.00
1400x900 59.96 59.88
1280x960 85.00 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 144.00 59.99 59.97 59.81 59.91
1152x864 75.00
1280x720 144.00 60.00 59.99 59.86 59.74
1024x768 144.00 85.00 75.05 60.04 85.00 75.03 70.07 60.00
1024x768i 86.96
960x720 85.00 75.00 60.00
928x696 75.00 60.05
896x672 75.05 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
832x624 74.55
960x540 59.96 59.99 59.63 59.82
800x600 144.00 85.00 75.00 70.00 65.00 60.00 85.14 72.19 75.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 74.76 59.98
800x450 59.95 59.82
640x512 85.02 75.02 60.02
700x450 59.96 59.88
640x480 144.00 85.09 60.00 85.01 72.81 75.00 59.94
720x405 59.51 58.99
720x400 85.04
684x384 59.88 59.85
640x400 59.88 59.98 85.08
576x432 75.00
640x360 59.86 59.83 59.84 59.32
640x350 85.08
512x384 85.00 75.03 70.07 60.00
512x384i 87.06
512x288 60.00 59.92
416x312 74.66
480x270 59.63 59.82
400x300 85.27 72.19 75.12 60.32 56.34
432x243 59.92 59.57
320x240 85.18 72.81 75.00 60.05
360x202 59.51 59.13
360x200 85.04
320x200 85.27
320x180 59.84 59.32
320x175 85.27
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 connected (normal left inverted right x axis y axis)
3840x2160 60.00 + 59.94 50.00 29.97 25.00 23.98
2560x1440 59.95
1920x1080 60.00 59.94 50.00 29.97 23.98
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
1680x1050 (0x4b) 146.250MHz -HSync +VSync
h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.29KHz
v: height 1050 start 1053 end 1059 total 1089 clock 59.95Hz
1280x1024 (0x55) 135.000MHz +HSync +VSync
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
1280x1024 (0x56) 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
1280x800 (0x63) 83.500MHz -HSync +VSync
h: width 1280 start 1352 end 1480 total 1680 skew 0 clock 49.70KHz
v: height 800 start 803 end 809 total 831 clock 59.81Hz
1152x864 (0x65) 108.000MHz +HSync +VSync
h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
v: height 864 start 865 end 868 total 900 clock 75.00Hz
1024x768 (0x70) 78.750MHz +HSync +VSync
h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.02KHz
v: height 768 start 769 end 772 total 800 clock 75.03Hz
1024x768 (0x71) 75.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.48KHz
v: height 768 start 771 end 777 total 806 clock 70.07Hz
1024x768 (0x72) 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 (0x8e) 49.500MHz +HSync +VSync
h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
v: height 600 start 601 end 604 total 625 clock 75.00Hz
800x600 (0x8d) 50.000MHz +HSync +VSync
h: width 800 start 856 end 976 total 1040 skew 0 clock 48.08KHz
v: height 600 start 637 end 643 total 666 clock 72.19Hz
800x600 (0x8f) 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
800x600 (0x90) 36.000MHz +HSync +VSync
h: width 800 start 824 end 896 total 1024 skew 0 clock 35.16KHz
v: height 600 start 601 end 603 total 625 clock 56.25Hz
640x480 (0xa3) 31.500MHz -HSync -VSync
h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
v: height 480 start 481 end 484 total 500 clock 75.00Hz
640x480 (0xa4) 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
My laptop only has one HDMI port.
I looked around on the Internet and I didn't find an answer/solution to this problem. Can someone help me? This is the first problem I haven't been able to solve myself in 3 years of using Linux
Last edited by Joshua25519 (2023-04-29 14:16:25)
Offline
I don't remember which one is used by default though
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Does only "--auto" fail or also "--mode 3840x2160"?
What about "--mode 1920x1080"?
Offline
Hello and thanks for the response.
$ xrandr --output HDMI-1-0 --auto
xrandr: Configure crtc 4 failed
$ xrandr --output HDMI-1-0 --mode 3840x2160
xrandr: Configure crtc 4 failed
$ xrandr --output HDMI-1-0 --mode 1920x1080
xrandr: Configure crtc 4 failed
My Xorg log is available at http://0x0.st/HKDB.log
Offline
The output is on the nvidia chip, try to explicitly set the output provider source (check "xrandr --listproviders"), https://wiki.archlinux.org/title/PRIME#Reverse_PRIME
Offline
I don't quite understand what I'm supposed to do here, the wiki instructions are unclear...
Here are the commands I ran:
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 1 name:modesetting
Provider 1: id: 0x276 cap: 0x2, Sink Output crtcs: 4 outputs: 5 associated providers: 1 name:NVIDIA-G0
$ xrandr --setprovideroutputsource NVIDIA-G0 modesetting
Nothing happened.
I'm sorry. I hope I'm not wasting your time too much with my issue
Offline
xrandr --setprovideroutputsource NVIDIA-G0 modesetting
is correct, but won't immediately do anything.
Can you activate the output afterwards ("xrandr --output HDMI-1-0 --mode 3840x2160")?
Offline
That still outputs the same error
Offline
Do you have more luck when using xf86-video-amdgpu instead of the modesetting driver?
Offline
I installed the package you mentionned and rebooted.
xrandr --listproviders has different output (just the name though)
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x53 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 1 name:AMD Radeon Graphics @ pci:0000:06:00.0
Provider 1: id: 0x1f5 cap: 0x2, Sink Output crtcs: 4 outputs: 5 associated providers: 1 name:NVIDIA-G0
But apart from that, I still get the same error when I try to turn on the second monitor
$ xrandr --output HDMI-1-0 --auto
xrandr: Configure crtc 4 failed
Offline
[ 17086.084] (II) NVIDIA(G0): Validated MetaModes:
[ 17086.084] (II) NVIDIA(G0): "NULL"
[ 17086.084] (II) NVIDIA(G0): Virtual screen size determined to be 640 x 480
[ 17086.391] (WW) NVIDIA(G0): DFP-2 does not have an EDID, or its EDID does not contain a
[ 17086.391] (WW) NVIDIA(G0): maximum image size; cannot compute DPI from DFP-2's EDID.
[ 17086.391] (==) NVIDIA(G0): DPI set to (75, 75); computed from built-in default
https://wiki.archlinux.org/title/NVIDIA … de_setting
"nvidia_drm.modeset=1" should get you an edid in /sys/class/drm/card1-HDMI-1-0/edid (the "HDMI-1-0" part might differ) and hopefully some validated modes.
Offline
Thank you so much. This works, my monitor turns on however I'm getting a lot of input lag.
Actually, it's not quite input lag because the mouse works fine but any text field lags horribly and takes seconds to comprehend input.
Do you think this problem is related?
Should I post my Xorg log again?
Offline
Do you still have xf86-video-amdgpu installed? Get rid of it again.
Offline
That solves it. Thank you.
Offline
Pages: 1