Re: hibernate, external monitor, color problem

2009-11-23 Thread Sergio Monteiro Basto
On Mon, 2009-11-23 at 10:11 -0500, Tyler Smith wrote: 
 Sergio Monteiro Basto wrote:
  On Sun, 2009-11-22 at 12:22 -0500, Tyler Smith wrote: 

  Hi,
 
  I have a problem with my external monitor. If I boot while connected, 
  the everything is fine. However, if I hibernate the laptop while not 
  connected to the external monitor, and then resume after connecting, 
  usually (I can't consistently reproduce the error, it happens more than 
  50% of the time though) the external monitor color is distorted to be 
  almost illegible - very strong pinks and purples, I can barely make out 
  the windows on the screen and some text. I can only recover proper, 
  legible colors, by rebooting or by closing and restarting X. The same 
  problem occurs when connecting to an external monitor through a docking 
  station, directly to a lcd television, or directly to an overhead 
  projector.
 
 
  
  Hi, you can delete xorg.conf , all confs are now autodetect ,

 Ok, I've reduced my xorg.conf to the following:
 
 Section Device
 Identifier  Card0
 Driver  radeonhd
 EndSection
 
 Otherwise, the autodetect gives me the radeon driver, which doesn't work 
 well. I've commented out everything else. I still have the problem with 
 'pink screen' following resume from hibernate, corrected by restarting X 
 or rebooting, neither of which are convenient.
 
 Any other suggestions?

And unplug and plug monitor ?  or try disable and enable monitor with
xrandr --output VGA1 --off ? 

Don't know more to help you , sorry ! 

 Thanks,
 
 Tyler
 


-- 
Sérgio M. B.


smime.p7s
Description: S/MIME cryptographic signature
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: hibernate, external monitor, color problem

2009-11-22 Thread Sergio Monteiro Basto
On Sun, 2009-11-22 at 12:22 -0500, Tyler Smith wrote: 
 Hi,
 
 I have a problem with my external monitor. If I boot while connected, 
 the everything is fine. However, if I hibernate the laptop while not 
 connected to the external monitor, and then resume after connecting, 
 usually (I can't consistently reproduce the error, it happens more than 
 50% of the time though) the external monitor color is distorted to be 
 almost illegible - very strong pinks and purples, I can barely make out 
 the windows on the screen and some text. I can only recover proper, 
 legible colors, by rebooting or by closing and restarting X. The same 
 problem occurs when connecting to an external monitor through a docking 
 station, directly to a lcd television, or directly to an overhead projector.
 
 Details:
 I'm running Debian Testing on an HP Elitebook 6930p, with the xorg 
 version packaged by Debian, version: 1:7.4+4.
 
 I had previously had problems with getting the external monitor to work 
 at all following hibernate, which was corrected by adding the following 
 line to /etc/hibernate/common.conf:
 
 OnResume 20 xrandr --auto
 
 The default hardware detection in X used the radeon driver, which 
 produced a lot of flickering. I used the Debian tools (dpkg-reconfigure 
 xserver-xorg) to generate a xorg.conf file, which I then edited manually 
 to use the radeonhd driver, which seems to work properly.
 
 I've googled for answers, read the xrandr and xorg.conf documentation 
 (which I don't fully understand, I admit), and my xorg.0.log (also 
 mostly incomprehensible to me) but I'm not sure how to proceed.
 
 Any suggestions would be welcome. I've attached my xorg.0.log and my 
 /etc/X11/xorg.conf file.

Hi, you can delete xorg.conf , all confs are now autodetect ,
Driver  kbd
and 
Driver  mouse are deprecated. 

my xorg.conf, just change for my specifics , and not default options:   

Section ServerLayout
Identifier single head configuration
Screen  0  Screen0 0 0  
   Option DontZap  false  
   Option DontZoom  false 
EndSection

Section InputDevice
Identifier  Synaptics
Driver  synaptics
 Option TapButton1 1  
 Option TapButton2 1  
 Option TapButton3 1  
 Option VertEdgeScroll true   
#Option SpecialScrollAreaRight true  
EndSection


Section Device
Identifier  Videocard0
#   Driver vesa
Driver  intel
#Option AccelMethod exa
#Option XvMC true
EndSection

Section Screen
Identifier Screen0
Device Videocard0
DefaultDepth 24
SubSection Display
Depth 24
EndSubSection
EndSection


 Thanks,
 
 Tyler
 
 plain text document attachment (xorg.conf)
 Section ServerLayout
   Identifier X.org Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
 EndSection
 
 Section Files
   ModulePath   /usr/lib/xorg/modules
   FontPath /usr/share/fonts/X11/misc
   FontPath /usr/share/fonts/X11/cyrillic
   FontPath /usr/share/fonts/X11/100dpi/:unscaled
   FontPath /usr/share/fonts/X11/75dpi/:unscaled
   FontPath /usr/share/fonts/X11/Type1
   FontPath /usr/share/fonts/X11/100dpi
   FontPath /usr/share/fonts/X11/75dpi
   FontPath /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
   FontPath built-ins
 EndSection
 
 Section Module
   Load  dri2
   Load  extmod
   Load  dbe
   Load  record
   Load  dri
   Load  glx
 EndSection
 
 Section InputDevice
   Identifier  Keyboard0
   Driver  kbd
 EndSection
 
 Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol auto
   Option  Device /dev/input/mice
   Option  ZAxisMapping 4 5 6 7
 EndSection
 
 Section Monitor
   #DisplaySize  300   190 # mm
   Identifier   Monitor0
   VendorName   SEC
   ModelName4c42
 EndSection
 
 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor# [bool]
 #Option Dac6Bit # [bool]
 #Option Dac8Bit # [bool]
 #Option BusType # [str]
 #Option CPPIOMode   # [bool]
 #Option CPusecTimeout   # i
 #Option AGPMode # i
 #Option AGPFastWrite# [bool]
 #Option AGPSize # i
 #Option GARTSize# i