-
Notifications
You must be signed in to change notification settings - Fork 124
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
Switching between profiles failing: "cannot find crtc for output LVDS-1" #149
Comments
Could you run autorandr in |
xrandr --verbose in docking station Running in docking station
after undocking
if I enable LVDS-1 and disable VGA-1 & HDMI-3 beforehand and undock then
|
You'll need both |
no problem. Running in docking station
after undocking
|
@phillipberndt Error: $ autorandr --load docked
xrandr: Configure crtc 1 failed
Failed to apply profile 'docked' (line 762):
Command failed: xrandr --fb 3840x1080 --output eDP-1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 0x0 --primary --rate 59.93 --reflect normal --rotate normal --output DP-1-1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 1920x0 --rate 60.00 --reflect normal --rotate normal (line 762) Config: $ cat ~/.config/autorandr/docked/config
output DP-1
off
output HDMI-1
off
output DP-2
off
output HDMI-2
off
output DP-1-2
off
output DP-1-3
off
output eDP-1
mode 1920x1080
pos 0x0
primary
rate 59.93
output DP-1-1
mode 1920x1080
pos 1920x0
rate 60.00
Commands: # while docked
$ autorandr --load docked --dry-run
xrandr --fb 3840x1080 --output eDP-1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 0x0 --primary --rate 59.93 --reflect normal --rotate normal --output DP-1-1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 1920x0 --rate 60.00 --reflect normal --rotate normal
# while undocked
xrandr --fb 3840x1080 --output eDP-1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 0x0 --primary --rate 59.93 --reflect normal --rotate normal --output DP-1-1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 1920x0 --rate 60.00 --reflect normal --rotate normal SoIt looks like the other outputs are not being disabled. I tried adding to the command to disable them manually, and this happened: $ xrandr --fb 3840x1080 --output eDP-1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 0x0 --primary --rate 59.93 --reflect normal --rotate normal --output DP-1-1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 1920x0 --rate 60.00 --reflect normal --rotate normal --output DP-1-2 --off --output DP-1-3 --off --output DP-2 --off --output HDMI-2 --off --output HDMI-1 --off --output DP-1 --off
xrandr: Configure crtc 1 failed |
For the record: I always get this |
This patch causes `autorandr` to call `xrandr --auto` before making other changes. This has no discernable side-effects, but it seems to fix [issues where `xrandr` would report an error](phillipberndt#149) like ``` cannot find crtc for output HDMI-1 ``` Closes: phillipberndt#149 Signed-off-by: martin f. krafft <[email protected]>
As suggested by @phillipberndt over in #178, I now created a |
I'm having the same problem, |
I am now calling
in the profile's |
@madduck At that point I can just use |
If I switch from docked config to mobile config autorandr failed with following error
My mobile config looks as followed:
My docked config:
Autorandr is installed from the Arch Repo.
The text was updated successfully, but these errors were encountered: