TransWikia.com

Three monitors: xrandr configure crtc failed

Unix & Linux Asked by Cash Weaver on November 9, 2021

As of today, I am unable to enable all three of my monitors at their preferred resolution (2560×1440). This configuration has been working for the last two weeks without error. I had unplugged the laptop and monitors from the dock this weekend so I could hook the monitors up to my gaming PC. I plugged everything back into the dock this morning. There have been no software updates as far as I am aware.

I get the following error when attempting to enable all three monitors:

xrandr: Configure crtc 2 failed

Hardware

Software

  • OS: Debian Testing
  • Window Manager: i3wm

Note: All of the external monitors show up as DP-1-{1,2,3} even though one of these cables is HDMI; not Displayport. I recall that the monitors previously (when the three monitor set-up was working) showed as DP-2-{1,2,3}.

Things I Have Tried

  1. Turning the laptop off and on again.
  2. Un-mounting the laptop, turning it on and logging in while off the mount, then turning it off again to put it back on the mount.
  3. Plugging and unplugging the monitor cables from the mount while the laptop is running
  4. Activating each of the two-of-three sets of monitors (eg: Dell1 and Dell2, Dell1 and HP, etc) at preferred resolution (2560×1440). This works without error.
  5. Activating all three monitors with one of the three at a reduced resolution (Dell1 2560×1440, Dell2 2560×1440, and HP 1920×1080). This works without error.
  6. Adding custom resolutions (2552x1440_60.00 59.94, 2048x1152_60.00 59.90, 2480x1395_60.00 59.97) and setting the third monitor to these resolutions. 2048x1152_60.00 59.90 worked; the other two didn’t work.

arandr layout output (formatted for reading):

#!/bin/sh
xrandr 
  --output eDP-1 --off 
  --output DP-1 --off 
  --output HDMI-1 --off 
  --output DP-2 --off 
  --output DP-1-1 --mode 2560x1440 --pos 4898x2033 --rotate left 
  --output DP-1-2 --mode 2560x1440 --pos 2338x1846 --rotate normal 
  --output DP-1-3 --mode 2560x1440 --pos 2338x3286 --rotate normal

xrandr --verbose with the two Dell monitors enabled: gist.

One Answer

I was able to set all monitors to 2560x1440 by setting the third monitor to a lower refresh rate. My current configuration has the two Dell monitors at 2560x1440 is:

DP-1-1 connected 1440x2560+0+320 right (normal left inverted right x axis y axis) 610mm x 356mm
   ...
   2560x1440_30.00  29.94*
DP-1-2 connected primary 2560x1440+1440+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+ 143.91
DP-1-3 connected 2560x1440+1440+1440 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+ 143.91
#!/bin/sh
xrandr 
--output eDP-1 --off 
--output DP-1 --off 
--output HDMI-1 --off 
--output DP-2 --off 
--output DP-1-1 --mode 2560x1440_30.00 --pos 0x320 --rotate right 
--output DP-1-2 --primary --mode 2560x1440 --pos 1440x0 --rotate normal 
--output DP-1-3 --mode 2560x1440 --pos 1440x1440 --rotate normal

I created the 2560x1440_30.00 mode by following the steps on the archlinux wiki:

  1. Use cvt to create a modeline: cvt 2560 1440 30
  2. Create a new mode in xrandr: xrandr --newmode "2560x1440_30.00" ...
  3. Set the third monitor to use this new mode in arandr, you could also use xrandr.

Answered by Cash Weaver on November 9, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP