945GM + Xrandr 1.2 + modesetting: color corruption on LVDS

HENRY David tfc_duke at club-internet.fr
Sun Feb 11 06:59:27 PST 2007


Hi,

I am running Ubuntu Edgy on a Lenovo 3000 N100, with an intel 945GM.
I've seen that Daniel Stone has built packages for Xrandr 1.2 and
modesetting on Edgy, so I decided to give it a try.

I have a color corruption on my LVDS panel when I run xrandr. The
screens looks like if color depth were at 8 bits (I'm running at 24
bits). If I switch to another screen mode and come back to my "normal"
desktop (like a VT switch, or running Quake 3 fullscreen and exiting,
etc.), the problem disappears. As soon as I run xrandr (even just for a
query), the colors are degraded again.

If I plug a VGA display and setup both displays by running "xrandr
--auto", the problem disappears too. It sometimes happens though, but on
the VGA screen there is no corruption.

Is it a know bug, or am I doing something wrong?

Thanks,
David.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 69877 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20070211/c4f1d5f5/attachment.bin>
-------------- next part --------------
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/encodings"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

#
########### Input device definitions ##########
#

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

#
########### Device definitions ##########
#

Section "Device"
	Identifier	"Intel 945GM Express (Default)"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	VideoRam	131072
EndSection

Section "Device"
	Identifier	"Intel 945GM Express (Clone)"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Option          "MonitorLayout"		"CRT,LFP"
	Option          "Clone"			"true"
	VideoRam	131072
EndSection

Section "Device"
	Identifier	"Intel 945GM Express (Separate: LFP)"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Option          "MonitorLayout"		"CRT,LFP"
	VideoRam	131072
	Screen 0
EndSection

Section "Device"
	Identifier	"Intel 945GM Express (Separate: CRT)"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	VideoRam	131072
	Screen 1
EndSection

#
########### Monitor definitions ##########
#

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"External Monitor"
	Option		"DPMS"
EndSection

#
########### Screen definitions ##########
#

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel 945GM Express (Default)"
	Monitor		"Generic Monitor"
	DefaultDepth	24
#	SubSection "Display"
#		Depth		1
#		Modes		"1280x800"
#	EndSubSection
#	SubSection "Display"
#		Depth		4
#		Modes		"1280x800"
#	EndSubSection
#	SubSection "Display"
#		Depth		8
#		Modes		"1280x800"
#	EndSubSection
#	SubSection "Display"
#		Depth		15
#		Modes		"1280x800"
#	EndSubSection
#	SubSection "Display"
#		Depth		16
#		Modes		"1280x800"
#	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800"
		#Virtual		1280 2048 # 2560 1024
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Default Screen (Clone)"
	Device		"Intel 945GM Express (Clone)"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x800"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"External Screen (Clone)"
	Device		"Intel 945GM Express (Clone)"
	Monitor		"External Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1280x800" "1024x768"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"LFP Screen (Separate)"
	Device		"Intel 945GM Express (Separate: LFP)"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x800"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"CRT Screen (Separate)"
	Device		"Intel 945GM Express (Separate: CRT)"
	Monitor		"External Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1280x800" "1024x768"
	EndSubSection
EndSection

#
########### Server layout definitions ##########
#

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "ServerLayout"
	Identifier	"Dual-Head (Clone)"
	Screen		"Default Screen (Clone)"
	Screen		"External Screen (Clone)"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "ServerLayout"
	Identifier	"Dual-Head (Separate)"
	Screen 0	"LFP Screen (Separate)" 0 0
	Screen 1	"CRT Screen (Separate)" RightOf "LFP Screen (Separate)"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

#
########### Miscellaneous stuff ##########
#

Section "ServerFlags"
	Option "DefaultServerLayout"	"Default Layout"
	Option "Xinerama"		"false"
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
	Option	"Composite"	"Enable"
EndSection


More information about the xorg mailing list