Re: Problems with Intel 965 and compiz

Robert Noland <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization FreeBSD
Message-ID <[email protected]>
On Mon, 2009-12-14 at 05:26 +0000, Leonardo Santagostini wrote:
> Hello people,
> 
> After googling a lot about my problem, i have no more remedy than posting a
> question here.
> 
> The point is. I have X working perfect, but when i want to start compiz,
> title bars, go out.
> 
> I have tried changing in Xorg.conf a lot of parameters regarding
> acceleration methods, i have probed changing various parameters with
> driconf, seting LIBGL_ALWAYS_INDIRECT to true, trying to change sync to
> vblanc. But without good results.
> 
> Anybody has THE point regarding this issue ?

1) Make sure that everything is up to date.  ports/kernel.  You don't
say what kernel you are using, but any -STABLE should be fine.  I don't
remember if all of the Intel fixes are in 7.2-RELEASE or not.

2) I'll attach an xorg.conf that I use on my Intel boxes that you can
use for reference.  The key bits are AIGLX and Composite.

3) Get X up and running and then in an xterm run "compiz-manager".  It
should handle probing and setting up all of the correct flags or at
least giving you an error that people can work with.

robert.

> Thanks a lot.
> 
> Kind Regards,
> Leonardo Santagostini
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "[email protected]"
-- 
Robert Noland <[email protected]>
FreeBSD

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
xorg.conf.i915-gm965 (text/plain, 4.4 KB)
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Mouse1" "SendCoreEvents"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option         "AIGLX"
	#Option         "AllowEmptyInput" "Off"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "synaptics"
	Option	    "Protocol" "alps"
	Option	    "Device" "/dev/psm0"
	Option	    "SHMConfig" "On"
	Option        "LeftEdge"              "120"
	Option        "RightEdge"             "830"
	Option        "TopEdge"               "120"
	Option        "BottomEdge"            "650"
	Option        "FingerLow"             "14"
	Option        "FingerHigh"            "15"
	Option        "MaxTapTime"            "180"
	Option        "MaxTapMove"            "110"
	Option        "EmulateMidButtonTime"  "75"
	Option        "VertScrollDelta"       "20"
	Option        "HorizScrollDelta"      "20"
	Option        "CornerCoasting"        "1"
	Option        "CoastingSpeed"         "3"
	Option        "MinSpeed"              "0.3"
	Option        "MaxSpeed"              "0.75"
	Option        "AccelFactor"           "0.015"
	Option        "EdgeMotionMinSpeed"    "200"
	Option        "EdgeMotionMaxSpeed"    "200"
	Option        "UpDownScrolling"       "1"
	Option        "CircularScrolling"     "1"
	Option        "CircScrollDelta"       "0.1"
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor0"
        VendorName   "DEL"
        ModelName    "DELL 1708FP"
 ### Comment all HorizSync and VertRefresh values to use DDC:
        #HorizSync    30.0 - 81.0
        #VertRefresh  56.0 - 76.0
        Option      "DPMS"
        Option      "PreferredMode" "1440x900"
#        Option      "RightOf" "TMDS-1"
EndSection

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor1"
        VendorName   "DEL"
        ModelName    "DELL 1708FP"
 ### Comment all HorizSync and VertRefresh values to use DDC:
        #HorizSync    30.0 - 81.0
        #VertRefresh  56.0 - 76.0
        Option      "DPMS"
        Option      "PreferredMode" "1280x1024"
#        Option      "Position" "0 0"
EndSection

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor2"
        VendorName   "DEL"
        ModelName    "DELL 1708FP"
 ### Comment all HorizSync and VertRefresh values to use DDC:
        #HorizSync    30.0 - 81.0
        #VertRefresh  56.0 - 76.0
        Option      "DPMS"
        Option      "PreferredMode" "1280x1024"
#        Option      "RightOf" "TMDS-1"
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     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
	Option      "XvMC" "True"
	#Option      "AccelMethod" "UXA"
	#Option      "AccelMethod" "XAA"
	#Option      "XAANoOffscreenPixmaps"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	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
		Virtual	1680 1050
	EndSubSection
EndSection

Section "DRI"
	Group   0
	Mode    0666
EndSection
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.