Summary: | Failure to switch external monitors: xrandr --auto should free unused crtcs | ||
---|---|---|---|
Product: | xorg | Reporter: | tim.holy |
Component: | App/xrandr | Assignee: | Keith Packard <keithp> |
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | major | ||
Priority: | medium | CC: | bugzilla, byron, gezuru, j_suni, spacepluk, vovik-wfa |
Version: | 7.5 (2009.10) | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | 2011BRB_Reviewed | ||
i915 platform: | i915 features: |
Description
tim.holy
2010-09-01 02:29:27 UTC
*** Bug 37586 has been marked as a duplicate of this bug. *** This problem persists as of xrandr 1.3.5 / Xorg 1.13.0 Yes please. This is needed when switching from a "1 internal screen" to a "2 external screens" setup or back. Otherwise xrandr cannot enable some configurations that are completely valid. Bug still present in Debian Testing / xrandr 1.4.1 This is a Macbook 13 with passive cables, so displays present are: eDP1 HDMI1 HDMI2 HDMI3 To reproduce: $ xrandr --output eDP1 --off --output HDMI1 --auto --output HDMI2 --auto --output HDMI3 --auto xrandr: cannot find crtc for output HDMI3 or while triplehead is active: $ xrandr --output HDMI1 --off --output HDMI2 --off --output HDMI3 --off --output eDP1 --auto xrandr: cannot find crtc for output eDP1 There is (/would be) a crtc available since the three external monitors are being turned off. Workaround turning external monitors on: xrandr --output eDP1 --off --output HDMI1 --auto --output HDMI2 --auto --right-of HDMI1 xrandr --output HDMI3 --auto --right-of HDMI2 Workaround turning external monitors off: xrandr --output HDMI3 --off xrandr --output HDMI1 --off --output HDMI2 --off --output eDP1 --auto ie. turning eDP1 or HDMI3 off first releases the crtc. But afaics it shouldn't be necessary to split the xrandr calls like this? xrandr should calculate that there will be a free crtc from the --off operation. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xrandr/issues/10. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.