autorandr icon indicating copy to clipboard operation
autorandr copied to clipboard

Error 'RRSetCrtcConfig' for DP daisy chain setup

Open dervan opened this issue 6 years ago • 1 comments

I have a setup of laptop screen + DP with two monitors (connected in daisy chain, if it makes any difference). When I set them one-by-one everything works as expected. Autorandr profile save works too. But when I try to load it later I get: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 21 (RRSetCrtcConfig) Serial number of failed request: 48 Current serial number in output stream: 48 from --dry-run I see that it tries to execute: xrandr --fb 4480x2520 --output DP1-1 --gamma 1.0:1.0:1.0 --mode 1920x1200 --pos 0x0 --rate 59.95 --reflect normal --rotate normal --output DP1-8 --gamma 1.0:1.0:1.0 --mode 2560x1440 --pos 1920x0 --rate 59.95 --reflect normal --rotate normal xrandr --fb 4480x2520 --output eDP1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 1920x1440 --primary --rate 60.05 --reflect normal --rotate normal I am not expert on screens, but it seems that there have to be one-to-one corresponce of crtcs and screens and it can be forces. Indeed when specified manually it works: xrandr --fb 4480x2520 --output DP1-1 --crtc 1 --gamma 1.0:1.0:1.0 --mode 1920x1200 --pos 0x0 --rate 59.95 --reflect normal --rotate normal --output DP1-8 --crtc 2 --gamma 1.0:1.0:1.0 --mode 2560x1440 --pos 1920x0 --rate 59.95 --reflect normal --rotate normal --output eDP1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 1920x1440 --primary --rate 60.05 --reflect normal --rotate normal --crtc 0

What do you think about including crtc in the basic config? Can it induce some issues on other setups?

dervan avatar Nov 27 '18 08:11 dervan

See #145.

phillipberndt avatar Mar 24 '19 19:03 phillipberndt