945GM Woes

Richard Lynch ceo at l-i-e.com
Tue Aug 21 12:07:43 PDT 2007


lspci sez:
00:02.0 VGA compatible controller: Intel Corporation Mobile
945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML
Express Integrated Graphics Controller (rev 03)

xrandr sez:
lynch at localhost ~ $ xrandr
 SZ:    Pixels          Physical       Refresh
 0   1366 x 768    ( 463mm x 260mm )   75
 1   1360 x 768    ( 463mm x 260mm )   75
 2   1024 x 768    ( 463mm x 260mm )   75
 3    800 x 600    ( 463mm x 260mm )   85
 4    640 x 480    ( 463mm x 260mm )   85
*5   1368 x 768    ( 463mm x 260mm )  *75
Current rotation - normal
Current reflection - none
Rotations possible - normal left inverted right
Reflections possible - none

Xorg.0.log sez:
(II) I810(0): 2 display pipes available.
...
(II) I810(0): No active displays on Pipe A.
(II) I810(0): Currently active displays on Pipe B:
(II) I810(0):   CRT
(II) I810(0):   LFP (local flat panel)
(II) I810(0): Lowest common panel size for pipe B is 1366 x 768
(==) I810(0): Display is using Pipe B
...
(--) I810(0): A non-CRT device is attached to pipe B.
  No refresh rate overrides will be attempted.
(II) I810(0): Display plane A is disabled and connected to Pipe A.
(II) I810(0): Display plane B is enabled and connected to Pipe B.
(II) I810(0): Enabling plane B.
(II) I810(0): Display plane A is now disabled and connected to Pipe A.
(II) I810(0): Display plane B is now enabled and connected to Pipe B.
(II) I810(0): PIPEACONF is 0x00000000
(II) I810(0): PIPEBCONF is 0x80000000
(II) I810(0): Mode bandwidth is 62 Mpixel/s
(II) I810(0): maxBandwidth is 1152 Mbyte/s, pipe bandwidths are 150
Mbyte/s, 0 Mbyte/s

I'd really LIKE to get the CRT on Pipe A.

If I add a second display/screen, I can get CRT on Pipe A *and* on
Pipe B, and then, basically, as soon as I move the mouse out of bounds
on the bottom of the LFP, Xorg locks up.

That's even worse than a bad clone of the LFP on the CRT.

I'm probably doing somthing stupid in xorg.conf, but what?

Section "ServerLayout"
	Identifier     "Office with External Monitor"
	#Option      "Xinerama" "On"
	Option      "clone" "false"
	Screen      0  "Laptop Screen"
	#Screen      1  "External Screen"
	#Screen      "Laptop Screen" RightOf "External Screen"
	#CorePointer "TouchPad"
	#CoreKeyboard "Keyboard1"
EndSection

Section "Files"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/Type1"
EndSection

Section "ServerFlags"
	Option "RandR" "on"
EndSection

Section "Module"
	Load  "dbe"  	# Double buffer extension
	#For RandR, we need this to not be here:
	Load  "extmod"
	SubSection "extmod"
		Option	    "omit xfree86-dga"   # don't initialise the DGA extension
	EndSubSection
	Load  "freetype"
	Load  "vbe"
	#Load  "glx"
	Load  "freetype"
	Load  "dri"
	Load  "ddc"
	#Load	"drm"
#    Load        "xtt"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc104"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	#Laptop touchpad configured the way I want it.
	Driver  "synaptics"
	Identifier      "TouchPad"
	#Option "SendCoreEvents"
	Option "CorePointer"
	Option  "Device"        "/dev/input/event2"
	Option  "Protocol"      "event"
#	Option  "LeftEdge"      "130"
#	Option  "RightEdge"     "840"
#	Option  "TopEdge"       "130"
#	Option  "BottomEdge"    "640"
#	Option  "FingerLow"     "7"
#	Option  "FingerHigh"    "8"
	Option  "MaxTapTime"    "0"
#	Option  "MaxTapMove"    "0"
#	Option  "EmulateMidButtonTime"  "75"
#	Option  "VertScrollDelta"       "20"
#	Option  "HorizScrollDelta"      "20"
	Option  "MinSpeed"      "0.40"
	Option  "MaxSpeed"      "0.80"
	Option  "AccelFactor"   "0.030"
#	Option  "EdgeMotionMinSpeed"    "200"
#	Option  "EdgeMotionMaxSpeed"    "200"
#	Option  "UpDownScrolling"       "1"
#	Option  "CircularScrolling"     "0"
#	Option  "CircScrollDelta"       "0.1"
#	Option  "CircScrollTrigger"     "2"
	Option  "SHMConfig"     "on"
	Option  "UseShm"        "true"
	Option  "Emulate3Buttons"       "on"
EndSection

Section "Monitor"
	Identifier   "Laptop"
	HorizSync    31.5 - 64.3
	VertRefresh  50.0 - 90.0
	#Option "DPMS"
	#Option "MonitorLayout" "CFT,LFP"
	Option "clone" "false"
EndSection

Section "Monitor"
	Identifier   "External"
	HorizSync    31.5 - 64.3
	VertRefresh  50.0 - 70.0
	Option "clone" "false"
EndSection

#working built-in LFP for laptop
Section "Device"
	Identifier  "Internal Video Card"
	#Driver      "vesa"
	Driver "i810"
	Card        "** Intel i810 (generic)               [i810]"
	VideoRam    131072
	Option      "MergedFB" "false"
	Option      "MetaModes" "1368x768 1280x1024"
	Option      "MergedDPI" "75 60"
	Option      "CRT2Position" "Above"
	Option      "VBERestore" "true"
	Option      "MonitorLayout" "CRT,CRT+LFP"
	Option      "CheckDevices" "on"
	Option      "DevicePresence" "on"
	Option "no_dri" "true"
	BusID       "PCI:0:2:0"
	Screen      0
	Option "NoDDC"
EndSection

#Not working: External HP LI940T monitor, plugged into laptop VGA jack.
Section "Device"

	# unsupported card
    # Insert Clocks lines here if appropriate
	Identifier  "External Video Card"
	#Driver      "vesa"
	Driver "i810"
	Card        "** Intel i810 (generic)               [i810]"
	VideoRam    131072
	#Option      "MergedFB" "true"
	#Option      "MetaModes" "1368x768 1280x1024-1280x1024"
	#Option      "MergedDPI" "75 60"
	#Option      "CRT2Position" "Above"
	Option      "Display" "CRT"
	Option      "MonitorLayout" "CRT,CRT+LFP"
	Option      "CheckDevices" "on`"
	Option      "DevicePresence" "on"
	#true/false, neither works
	Option "no_dri" "true"
	#this is the BusID that the log is saying it can't find:
	#BusID       "PCI:0:2:1"
	BusID        "PCI:0:2:0"
	Screen      1
	Option "NoDDC"
EndSection

#Went down to 8 bit because it can't allocate memory?
Section "Screen"
	Identifier "External Screen"
	Device     "External Video Card"
	Monitor    "External"
	SubSection "Display"
		Depth	8
		Modes	"1280x768" "1280x1024" "1600x1200" "1920x1200"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Laptop Screen"
	Device     "Internal Video Card"
	Monitor    "Laptop"
	SubSection "Display"
		Depth	8
		Modes "720x400" "1440x800"	"1368x1024" "1366x1024" "1360x1024"
"1280x1024" "1600x1200" "1920x1200"
	EndSubSection
EndSection

Section "DRI"
	Group        0
EndSection

Things I have tried:
Un-commenting the Screen 1 bits -- That gives me a lockup when I move
the mouse to the bottom of the LFP.

Virtual 1466 2048 and comment out the Modes lines -- no effect I can see.

xrandr insists I have only one screen under all circumstances I can test.

I've never been able to successfully get the xrander GUI up with two
pipes, because my toolbar is on autohide, and when I move the mouse
down, it freezes...

What command line incantation would bring up xrandr GUI?  I can only
find xrandr (command line) and Xrandr (header docs) in man pages...

Doh. Guess I should just not autohide my toolbar and see where that
gets me on my next re-boot, but, still, I don't think xrandr will stop
it locking up when the mouse goes down below the menubar...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?




More information about the xorg mailing list