Bug 1043203 - Can't disable unplugged display/output using xrandr
Summary: Can't disable unplugged display/output using xrandr
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server-utils
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-14 22:24 UTC by jpacner
Modified: 2015-02-17 19:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-17 19:39:31 UTC
Type: Bug


Attachments (Terms of Use)

Description jpacner 2013-12-14 22:24:28 UTC
Description of problem:
Pretty much the same as described on http://superuser.com/questions/618127/disable-unplugged-displays-xrandr . I.e. I have a laptop with outputs LVDS1 (built-in display) and HDMI1 (connected only when I'm at office). To enable only HDMI1, I use:

xrandr --output HDMI1 --auto --output LVDS1 --off

When I want to leave, I first run the following:

xrandr --output LVDS1 --auto --output HDMI1 --off

Which leaves my laptop display active just like it should.

The problem I am encountering is that sometimes I forget to disable the HDMI1 screen before taking my computer away (i.e. before hibernating it using systemctl hibernate). I always try various combinations of --output, --off and --auto etc., but I cannot get my screen re-enabled.

This is the output I get running xrandr in console after resume from hibernation:

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
LVDS1 connected (normal left inverted right x axis y axis)
   1366x768       60.0 +
   1024x768       60.0··
   800x600        60.3     56.2··
   640x480        59.9··
VGA1 disconnected 1920x1080+1920+0 (normal left inverted right x axis y axis) 0mm x 0mm
HDMI1 disconnected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
DP1 disconnected (normal left inverted right x axis y axis)
  1920x1080 (0x4c)  148.5MHz
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock   67.5KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   60.0Hz

Almost every command I've tried returns (notice the RRSetCrtcConfig).

xrandr: Configure crtc 2 failed
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:  40
  Current serial number in output stream:  40

It's just locked in until I plug that monitor in the HDMI1 port. First then I'm able to disable (--off) it using the commands at the top.


Version-Release number of selected component (if applicable):
xorg-x11-server-utils-7.7-1.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
see the description

Actual results:
see the description

Expected results:
xrandr disable (--off) the already unplugged external display and let enable (--auto) the built-in one.

Comment 2 Fedora End Of Life 2015-01-09 20:52:06 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2015-02-17 19:39:31 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.