Open aimoff opened 7 months ago
I have the same issue using autorandr 1.14
and
xrandr program version 1.5.2
Server reports RandR version 1.6
The saved profile of laptop display + one external display with DP over USB-C applies the command
xrandr --fb 3840x3760 --output DP-1-3 --crtc 0 --gamma 1.0:1.0:1.0 --mode 3840x2160 --pos 0x0 --primary --rate 60.00 --reflect normal --rotate normal --set non-desktop 0 --output eDP-2 --crtc 1 --gamma 1.0:1.0:1.0 --mode 2560x1600 --pos 582x2160 --rate 240.00 --reflect normal --rotate normal --set 'Broadcast RGB' Automatic --set Colorspace Default --set 'max bpc' 12 --set non-desktop 0 --set 'scaling mode' 'Full aspect'
which fails. Entering the command manually it fails with
xrandr: output DP-1-3 cannot use crtc 0x3e
while the external display is not active.
Running it without --crtc 0
works and afterwards running the command with --crtc 0
works as well.
Are there any way to apply --skip-options crtc automatically at login or udev trigger? Sorry, I found it.
Where did you find it?
Found it as well, in case anyone else has this issue, add
[config]
skip-options=crtc
to your autorandr/settings.ini
.
Thanks for supplementary comments.
On my environment, the interface names are sometimes changed.
Thus, my current autorandr/settings.ini
is:
[config]
skip-options=crtc
match-edid=true
Same problem here. Adding the skip-options=crtc in config file works as well. Thanks.
Hi,
My PC has iGPU and dGPU. The dGPU is connected to a monitor directly via HDMI, and the iGPU is connected to another monitor through USB dock by DisplayPort over Alternative Mode. On this environment,
autorandr
fails to apply profile as:When I ran
xrandr
manually with same options, thexrandr
failed as:As the result, I found
autorandr
with--skip-options crtc
works fine.I'm not sure if it is caused by
xrandr
version.Are there any way to applySorry, I found it.--skip-options crtc
automatically at login or udev trigger?