how to config for run compiz fusion

From: boolome <jackie_at_boolome.com>
Date: Fri, 05 Dec 2008 11:14:41 +0800
 

pciconf -lv 

 vgapci0_at_pci0:0:2:0:	class=0x030000 card=0x27728086 chip=0x27728086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82945G Integrated Graphics Controller'
    class      = display
    subclass   = VGA
I install the driver of xf86-video-intel-2.4.2

xorg.conf:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option          "AIGLX" "true"
EndSection

Section "Files"
        RgbPath      "/usr/local/share/X11/rgb"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/TrueType/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "glx"
        Load  "GLcore"
        Load  "xtrap"
        Load  "dri"
        Load  "freetype"
        Load  "type1"
EndSection

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

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

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Modeline     "1440x900"  106.47  1440 1520 1672 1904  900 901
904 932
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>]
        Option      "AccelMethod"           "XAA"
        Option      "XAANoOffscreenPixmaps" "true"
        Option      "AddARGBGLXVisuals"     "true" 
        Option      "DRI"     "true"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82945G/GZ Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        #Option         "AddARGBGLXVisuals" "True"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection  "Display"
                Viewport    0 0
                Depth      24
                Modes      "1440x900"
        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

Section "DRI"
  Group      "video"
  Mode       0660
EndSection
Section "Extensions"
  Option         "Composite" "Enable"
EndSection


I have used the guide on FreeBSD
http://www.freebsd.org/doc/en/articl...ion/index.html.

and tried 

setenv LIBGL_ALWAYS_INDIRECT true
compiz --replace --indirect-rendering --sm-disable ccp &

The only left working is the mouse cursor, all windows, buttons and
menus nothing works not even the keyboard hitting Ctrl-Alt-Backspace.
The entire system hangs and I have to reset the computer.

That would be X right?
Received on Fri Dec 05 2008 - 02:37:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC