You are not logged in.

#1 2008-04-04 08:49:24

abhinandh
Member
Registered: 2008-03-07
Posts: 29

compiz animations not smooth(intel)

i use intel driver on a 945 motherboard(gma 950) with 1gig ram and a core2duo

compiz animations are not smooth.what can i do for smoother animations.

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/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri"
    Load  "glx"
    Load  "dbe"
    Load  "GLcore"
    Load  "extmod"
    Load  "xtrap"
    Load  "record"
    Load  "freetype"
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      280   210    # mm
    Identifier   "Monitor0"
    VendorName   "PHL"
    ModelName    "Philips 105S5"
### Comment all HorizSync and VertRefresh values to use DDC:
    HorizSync    30.0 - 56.0
    VertRefresh  50.0 - 120.0
    Option        "DPMS"
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   "82945G/GZ Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
        Option      "XAANoOffscreenPixmaps" "true"
        Option      "DRI"     "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    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

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

Section "DRI"
    Group      "video"
        Mode       0660
EndSection

Offline

#2 2008-04-04 18:07:48

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: compiz animations not smooth(intel)

Try:

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        Option "DRI" "true"
        Option "AccelMethod" "EXA"
        Option "MigrationHeuristic" "greedy"
        Option "ExaNoComposite" "false"
EndSection

That will mostly work. I also have 'export INTEL_BATCH=1' in ~/.kde/env/compiz.sh. If it is still not good, try:

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        Option "XAANoOffscreenPixmaps" "true"
        Option "DRI" "true"
        Option "AccelMethod" "XAA"
EndSection

However, with the last configuration, XVideo will not work.

If you have some time, in a few months, a better, faster version of the intel driver will hopefully be ready, it is being worked on (search for intel-batchbuffer on google).

Last edited by brain0 (2008-04-04 18:08:42)

Offline

#3 2008-04-05 03:54:55

abhinandh
Member
Registered: 2008-03-07
Posts: 29

Re: compiz animations not smooth(intel)

brain0 wrote:

Try:

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        Option "DRI" "true"
        Option "AccelMethod" "EXA"
        Option "MigrationHeuristic" "greedy"
        Option "ExaNoComposite" "false"
EndSection

thanks dude. that did the trick.

Offline

Board footer

Powered by FluxBB