Bug 10722 - xrandr -s x ; x>2 permanently changes s.th. in hardware state
Summary: xrandr -s x ; x>2 permanently changes s.th. in hardware state
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xrandr (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: low normal
Assignee: Keith Packard
QA Contact: Xorg Project Team
URL:
Whiteboard: 2011BRB_Reviewed
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-23 05:36 UTC by Jens Stroebel
Modified: 2018-06-12 19:10 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log, normal first boot (34.17 KB, text/plain)
2007-04-23 05:38 UTC, Jens Stroebel
no flags Details
Xorg log after xrandr was called (screen remains dark) (34.19 KB, text/plain)
2007-04-23 05:39 UTC, Jens Stroebel
no flags Details
xorg.conf for described case (3.57 KB, text/plain)
2007-04-23 05:40 UTC, Jens Stroebel
no flags Details

Description Jens Stroebel 2007-04-23 05:36:32 UTC
After calling

        xrandr -s 3

the display turns dark and stays that way even after

        xrandr -s 0

is called to revert the changes. Even after a restart of the server, the
problem persists; I have to reboot the machine to get back to a working X.

==== this appears at restart of xrandr-broken X without rebooting ======
(WW) intel(0): ESR is 0x00000001
(WW) intel(0): Existing errors found in hardware state.
========================================================================
Comment 1 Jens Stroebel 2007-04-23 05:38:19 UTC
Created attachment 9695 [details]
Xorg log, normal first boot
Comment 2 Jens Stroebel 2007-04-23 05:39:24 UTC
Created attachment 9696 [details]
Xorg log after xrandr was called (screen remains dark)
Comment 3 Jens Stroebel 2007-04-23 05:40:25 UTC
Created attachment 9697 [details]
xorg.conf for described case
Comment 4 Jens Stroebel 2007-04-23 05:45:27 UTC
system info:
kernel 2.6.20.7

lspci:
pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x29a2
 Intel Corporation 82G965 Integrated Graphics Controller

git info:
last commit (xserver): 38d14e858980a1b0c087344d24bf6aebf755663c
last commit (intel driver): b23eae55c8cdd73e0aba1bf7ced283d402ee6470
Comment 5 Jens Stroebel 2007-04-24 02:43:36 UTC
More trial revealed that the effect does not appear in 100% of the cases with
   xrandr -s 3
but with 
   xrandr -s 4
it currently does.
With earlier checkouts of xserver + video-intel, the use of any xrandr calls was able to cause the effect (e.g. with checkout from 2007-04-04).
Comment 6 Jens Stroebel 2007-04-24 02:47:36 UTC
== xrandr output w.o. options ==
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1024
VGA connected 1280x1024+0+0 (normal left inverted right) 338mm x 270mm
   1280x1024      60.0*+   75.0     59.9
   1024x768       75.1     70.1     60.0
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     60.0     59.9
   720x400        70.1
Comment 7 Jens Stroebel 2007-05-03 08:37:55 UTC
the described behaviour is not reproducable here with a host using the i945GM graphics controller; host for which it was reported uses

82G965 Integrated Graphics Controller (rev 02)
Comment 8 Jesse Barnes 2007-08-09 11:18:22 UTC
You should generally use 'xrandr --output FOO --mode 1024x768' for example, rather than 'xrandr -s', as I understand it.  Given that the new options work fine, I'm dropping the priority of this bug and reassigning to Keith, since he'll probably know how to handle legacy randr issues.
Comment 9 Keith Packard 2007-08-09 13:35:00 UTC
we've found a few bugs in the legacy (pre RandR 1.2) selection code in the X server; those may be related to this issue.

Note that we do recommend using the newer options as those provide more complete control over the hardware configuration, while the legacy options force the X server to make several guesses about the intended configuration.
Comment 10 Jesse Barnes 2007-10-31 13:32:08 UTC
Making this an xrandr bug, maybe the old options should just be removed.  If not, it might be a server or driver bug...
Comment 11 Jeremy Huddleston Sequoia 2011-10-02 13:46:36 UTC
Any further analysis?  This is quite dated.
Comment 12 Adam Jackson 2018-06-12 19:10:17 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.


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.