Comment 123 for bug 1303736

Revision history for this message
pabouk (pabouk) wrote :

Thanks Ulli. xrandr can really return the display to a functional state.
I have the problem on ASUS Eee PC 1000H.

In the problematic state xrandr shows no mode selected (I do not know what it does mean):
$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 32767 x 32767
LVDS1 connected primary (normal left inverted right x axis y axis)
   1024x600 60.0 + 65.0
   800x600 60.3 56.2
   640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

After resolving of the problem (using xrandr --auto) shows a mode selected:
$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 32767 x 32767
LVDS1 connected primary 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x 129mm
   1024x600 60.0*+ 65.0
   800x600 60.3 56.2
   640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

In the problematic state the verbose output of xrandr differs also in the value of CRTC:
 CRTCs: 1
After resolving of the problem:
 CRTC: 0
 CRTCs: 0

-------------
It is possible to resolve the problematic state without preparation of any scripts in advance:

a) After logging-in when the black screen is being shown:
  1. press Ctrl+Alt+t to open a terminal
  2. blindly type (+ enter at the end): xrandr --auto

b) After logging-in when the black screen is being shown:
  1. press Ctrl+Alt+F1 to switch to the text console
  2. login
  3. run: chvt 7 ; DISPLAY=:0 xrandr --auto