Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xrandr: Configure crtc 1 failed #1

Open
apt-x4869 opened this issue Jul 1, 2020 · 9 comments
Open

xrandr: Configure crtc 1 failed #1

apt-x4869 opened this issue Jul 1, 2020 · 9 comments

Comments

@apt-x4869
Copy link

Gives error on :
$ xrandr --output HDMI-1 --mode 832x396_30.00 --right-of eDP-1
xrandr: Configure crtc 1 failed

@pfeffer90
Copy link

pfeffer90 commented Dec 11, 2020

I got the same problem

I tried multiple resolutions, because I thought the rather large resolution of my tablet 2048x1536 could be too much for my video card, https://bbs.archlinux.org/viewtopic.php?id=185937.

But the error persists. Anyone with a suggestion to fix this?

@santiagofdezg
Copy link
Owner

I haven't used the tutorial for a long time and I have a new tablet now, so I don't know if it still works. Lately I'm a little busy, but I will try all the steps as soon as possible. I hope we can make it work.

@hudsantos
Copy link
Contributor

I've used the script right now and everything worked fine for me. This is a sign the script itself, in general, is working fine.

Seems like an specific problem they both are facing, regarding their specific scenario/environment.

I would recommend you guys facing this issue to provide more detailed information about your environment. At least the xrandr output (without parameters, xrandr alone). So other people can try to understand and figure out a solution.

Also when you try xrandr with parameters, please include --verbose so the program will try to output more details on why it simply failed. This will help us all troubleshoot.

Also avoid the expression "same problem", lets try to always use "maybe a similar issue" instead. Only after completely exhausting the possibilities framing an issue and resolving it, if every single detail is the same, we can conclude it was the same.

Best regards,

@santiagofdezg
Copy link
Owner

I've tried all the steps and everything is working fine for me.

As @hudsantos comments, please provide more information about your environment when opening a issue so we can help you (@apt-x4869 , @pfeffer90 ). And if you finally solved the problem please leave here a comment with the workaround for anyone who find a similar error.

@michaloumen
Copy link

Mine worked but the tablet is mirroring the screen and I was unable to switch to extended screen mode. My linux is ubuntu, I've tried to change the monitor settings, but he doesn't recognize that he has a second screen to be able to configure. Is it a problem with recognizing the command:
xrandr --output HDMI-1-1 --mode 1280x800_60.00 --left-of eDP-1-1 ?
I've tried switching to right and it didn't work either.
Indeed, there was a variation with my pc that instead of HDMI-1-1 and eDP-1-1 informed me HDMI-1 and DP-1

@adremides
Copy link

I have something that maybe can be useful. My error was

xrandr: Configure crtc 2 failed

By reading this article I tried to use arandr. Then I discovered another unused port I didn't saw listed first time I ran xrandr. Using DisplayPort-0 instead DVI-0 solves my problem.

I share here the output of the different commands as reference:

$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x59 cap: 0x9, Source Output, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:PITCAIRN @ pci:0000:01:00.0

$ xrandr -q
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.00*+ 50.00 59.94
1680x1050 59.88
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.90
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
DVI-0 connected 1280x1024+1920+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 60.02*+ 75.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
DVI-1 disconnected (normal left inverted right x axis y axis)
960x601_60.00 60.00

$ xrandr --verbose --output DVI-1 --mode 960x601_60.00 --left-of HDMI-0
screen 0: 4160x1080 1097x285 mm 96.25dpi
crtc 0: 1920x1080 60.00 +960+0 "HDMI-0"
crtc 1: 1280x1024 60.02 +2880+0 "DVI-0"
crtc 2: 960x601_60.00 60.00 +0+0 "DVI-1"
xrandr: Configure crtc 2 failed
crtc 0: disable
crtc 1: disable
crtc 2: disable
crtc 3: disable
crtc 4: disable
crtc 5: disable
screen 0: revert
crtc 0: revert
crtc 1: revert
crtc 2: revert
crtc 3: revert
crtc 4: revert
crtc 5: revert

Then using DisplayPort-0 it worked.

$ xrandr --verbose --output DisplayPort-0 --mode 960x601_60.00 --left-of HDMI-0
screen 0: 4160x1080 1097x285 mm 96.25dpi
crtc 0: 1920x1080 60.00 +960+0 "HDMI-0"
crtc 1: 1280x1024 60.02 +2880+0 "DVI-0"
crtc 2: 960x601_60.00 60.00 +0+0 "DisplayPort-0"

@IF-tiger
Copy link

+1

@nrnw
Copy link

nrnw commented Oct 29, 2022

OS: Zorin OS 16
Graphics: Intel® UHD Graphics for 11th Gen Intel®
In the processor specs clearly it mentions "# of Displays Supported is 4"

Also xrandr command lists four DPs

DP-1 disconnected (normal left inverted right x axis y axis)
1366x768 59.79
1920x1080 60.06
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)

Then there should be no issue creating a virtual monitor. But getting the same error.

xrandr --output DP-1 --mode 1920x1080 --right-of HDMI-1 --verbose

screen 0: 5206x1204 1379x319 mm 95.87dpi
crtc 2: 1920x1080 60.06 +3286+0 "DP-1"
xrandr: Configure crtc 2 failed
crtc 0: disable
crtc 1: disable
crtc 2: disable
crtc 3: disable
screen 0: revert
crtc 0: revert
crtc 1: revert
crtc 2: revert
crtc 3: revert

@ajita02
Copy link

ajita02 commented Jul 24, 2023

Hi all,
I am getting same error as I am trying to implement custom size on display. My actual display driver supports 960x480. The size I want is 960x288.

root@imx8mmevk:~# xrandr -q
Screen 0: minimum 16 x 16, current 960 x 480, maximum 32767 x 32767
XWAYLAND0 connected 960x480+0+0 left (normal left inverted right x axis y axis) 0mm x 0mm
480x960 59.53*+
960x288_60.00 58.94

root@imx8mmevk:~# xrandr --auto --output XWAYLAND0 --mode 960x288_60.00 --primary --verbose
crtc 0: disable
screen 0: 288x960 76x254 mm 96.00dpi
crtc 0: 960x288_60.00 58.94 +0+0 "XWAYLAND0"
xrandr: Configure crtc 0 failed
crtc 0: disable
screen 0: revert
crtc 0: revert

can someone help me with this?

Thanks,
Ajita

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants