hibernate, external monitor, color problem

Sergio Monteiro Basto sergio at sergiomb.no-ip.org
Sun Nov 22 10:45:11 PST 2009


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
> 	InputDevice    "Mouse0" "CorePointer"
> 	InputDevice    "Keyboard0" "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"
> 	ModelName    "4c42"
> 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>
>         #Option     "RingSize"           	# <i>
>         #Option     "BufferSize"         	# <i>
>         #Option     "EnableDepthMoves"   	# [<bool>]
>         #Option     "EnablePageFlip"     	# [<bool>]
>         #Option     "NoBackBuffer"       	# [<bool>]
>         #Option     "DMAForXv"           	# [<bool>]
>         #Option     "FBTexPercent"       	# <i>
>         #Option     "DepthBits"          	# <i>
>         #Option     "PCIAPERSize"        	# <i>
>         #Option     "AccelDFS"           	# [<bool>]
>         #Option     "IgnoreEDID"         	# [<bool>]
>         #Option     "DisplayPriority"    	# [<str>]
>         #Option     "PanelSize"          	# [<str>]
>         #Option     "ForceMinDotClock"   	# <freq>
>         #Option     "ColorTiling"        	# [<bool>]
>         #Option     "VideoKey"           	# <i>
>         #Option     "RageTheatreCrystal" 	# <i>
>         #Option     "RageTheatreTunerPort" 	# <i>
>         #Option     "RageTheatreCompositePort" 	# <i>
>         #Option     "RageTheatreSVideoPort" 	# <i>
>         #Option     "TunerType"          	# <i>
>         #Option     "RageTheatreMicrocPath" 	# <str>
>         #Option     "RageTheatreMicrocType" 	# <str>
>         #Option     "ScalerWidth"        	# <i>
>         #Option     "RenderAccel"        	# [<bool>]
>         #Option     "SubPixelOrder"      	# [<str>]
>         #Option     "ShowCache"          	# [<bool>]
>         #Option     "DynamicClocks"      	# [<bool>]
>         #Option     "VGAAccess"          	# [<bool>]
>         #Option     "ReverseDDC"         	# [<bool>]
>         #Option     "LVDSProbePLL"       	# [<bool>]
>         #Option     "AccelMethod"        	# <str>
>         #Option     "DRI"                	# [<bool>]
>         #Option     "ConnectorTable"     	# <str>
>         #Option     "DefaultConnectorTable" 	# [<bool>]
>         #Option     "DefaultTMDSPLL"     	# [<bool>]
>         #Option     "TVDACLoadDetect"    	# [<bool>]
>         #Option     "ForceTVOut"         	# [<bool>]
>         #Option     "TVStandard"         	# <str>
>         #Option     "IgnoreLidStatus"    	# [<bool>]
>         #Option     "DefaultTVDACAdj"    	# [<bool>]
>         #Option     "Int10"              	# [<bool>]
>         #Option     "EXAVSync"           	# [<bool>]
>         #Option     "ATOMTVOut"          	# [<bool>]
>         #Option     "R4xxATOM"           	# [<bool>]
> 	Identifier  "Card0"
> 	Driver      "radeonhd"
> 	#VendorName  "ATI Technologies Inc"
> 	#BoardName   "Mobility Radeon HD 3400 Series"
> 	#BusID       "PCI:1:0:0"
> EndSection
> 
> Section "Screen"
> 	Identifier "Screen0"
> 	Device     "Card0"
> 	Monitor    "Monitor0"
> 	DefaultDepth	24
> #	SubSection "Display"
> #		Viewport   0 0
> #		Depth     1
> #	EndSubSection
> #	SubSection "Display"
> #		Viewport   0 0
> #		Depth     4
> #	EndSubSection
> #	SubSection "Display"
> #		Viewport   0 0
> #		Depth     8
> #	EndSubSection
> #	SubSection "Display"
> #		Viewport   0 0
> #		Depth     15
> #	EndSubSection
> #	SubSection "Display"
> #		Viewport   0 0
> #		Depth     16
> #	EndSubSection
> 	SubSection "Display"
> #		Viewport   0 0
> 		Depth     24
> 	EndSubSection
> EndSection
> 
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg


-- 
Sérgio M. B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3159 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20091122/a79b42af/attachment.bin>


More information about the xorg mailing list