You are not logged in.

#26 2009-09-07 01:04:37

hdhiman
Member
Registered: 2009-09-05
Posts: 52

Re: System slows to a crawl when compiz enabled!

Ok, here's what i did in my xorg.conf:
Option "AccelMethod" "exa"
Option "MigrationHeuristic" "greedy"
Option "ExaNoComposite" "false"

And,

set INTEL_BATCH="1" in /etc/environment

I got this from the composite arch-wiki link i posted above. After adding these two things compiz worked.

Offline

#27 2009-09-07 01:27:41

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: System slows to a crawl when compiz enabled!

Ok, you forced exa and because of that compiz worked but if u use intel driver 2.8 this couldn't be true because intel stripped support for exa and xaa from it's code...

Offline

#28 2009-09-07 01:30:37

hdhiman
Member
Registered: 2009-09-05
Posts: 52

Re: System slows to a crawl when compiz enabled!

Yep, the current driver is 7.5.1 if i'm not wrong. So that means when i update my system sometime with the 2.8 driver it wont' work anymore? So i'll have to set the accelmethod to uxa, right?:/

Offline

#29 2009-09-07 02:47:08

miguimon
Member
From: Sydney
Registered: 2008-02-28
Posts: 37
Website

Re: System slows to a crawl when compiz enabled!

Hey,

I've been experimenting similar problems like random crashes, freezes and all that. Very annoying and even worse: is unexpected. I also have the same error:

[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0

Currently I use XFCE4 plus AWN manager. This is my xorg.conf :

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
#    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Synaptics Touchpad" "CorePointer"
    #Option "AIGLX" "true"
        Option          "BlankTime"     "0"
        Option          "StandbyTime"   "0"
        Option          "SuspendTime"   "0"
        Option          "OffTime"       "0"
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  "glx"
    Load  "extmod"
    Load  "xtrap"
    #Load  "record"
    #Load  "GLcore"
    Load  "dbe"
    Load  "dri"
    Load  "freetype"
    Load  "synaptics"
EndSection

...

Section "Monitor"
    #DisplaySize      490   320    # mm
    Identifier   "Monitor0"
    VendorName   "GSM"
    ModelName    "W2252"
    HorizSync    30.0 - 83.0
    VertRefresh  56.0 - 75.0
    Option        "DPMS" "No"
EndSection

Section "Device"
        Option      "XAANoOffscreenPixmaps" "true"
        #Option      "NoDDC"    "True"
        #Option      "EnablePageFlip"    "True"
        Option     "DRI"                       "true"
        Option     "AccelMethod"               "exa"
        Option     "MigrationHeuristic"        "greedy"
        Option     "ExaNoComposite"            "false"
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth   24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1650x1050" "1280x800"
    EndSubSection
EndSection

Section "DRI"
    Group       "video"
    Mode        0666
EndSection

#Section "ServerFlags"
#    Option     "AllowMouseOpenFail"  "true"
#    Option     "AIGLX"
#EndSection
        
#Section "Extensions"
#  Option "Composite" "Enable"
#EndSection

Installed pkg:

kernel26 2.6.30.5-1
mesa 7.5.1-2
intel-dri 7.5.1-2
xf86-video-intel 2.8.1-1
libgl 7.5.1-2

I love AWN panel but my laptop is becoming very unstable. Is there a solution/fix or disabling composition is the only way to go?

Thanks

Offline

#30 2009-09-07 06:06:11

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: System slows to a crawl when compiz enabled!

Just kernel upgrade will be fine smile Or enabling kms on the one you are currently runing...

The whole problem could be related to older drm in 2.6.30 kernel and changes in mesa. But if so they should postponed mesa 7.5 untill 2.6.31 reaches final... (maybe not the case at all)

Last edited by combuster (2009-09-07 06:07:47)

Offline

#31 2009-09-07 09:48:51

miguimon
Member
From: Sydney
Registered: 2008-02-28
Posts: 37
Website

Re: System slows to a crawl when compiz enabled!

I already upgrade following this post http://bbs.archlinux.org/viewtopic.php? … 65#p522665 and everything seems is fine except for my external monitor it only gets 1024x768 instead of 1680x1050.

Does anyone knows what it could be? I tried playing with xrandr but no results.

Offline

#32 2009-09-07 09:58:34

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: System slows to a crawl when compiz enabled!

Try deleting your xorg.conf, it's not needed anymore except for passing some parameters that aren't default. On 965 chipset I'm not having any problems with external monitor, LVDS 1280x800, CRT 1280x1024... Everything works like a charm...

Offline

#33 2009-09-07 10:50:14

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 319

Re: System slows to a crawl when compiz enabled!

I thought I'd just mention that I use nothing from testing, and I also have intel 965 chipset, kms enabled, no xorg.conf, and everything works fine.
It's not the fastest, that's true. glxgears was used to show 950~ fps and now it's about 350~ but I don't feel the difference in everyday use.

EDIT: with compiz of course... tongue

Last edited by SoleSoul (2009-09-07 10:50:51)

Offline

#34 2009-09-07 10:56:28

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: System slows to a crawl when compiz enabled!

That was my experience exactly but I've noticed performance regressions in games also, that lil' we had we lost now with the latest mesa upgrade...

Offline

#35 2009-09-09 23:26:26

ciembor
Member
Registered: 2008-03-30
Posts: 57

Re: System slows to a crawl when compiz enabled!

I have the same problem (extremly slow compiz, even with disabled all effects). Asus EeePc 1000h with Intel GMA 900. Where may I download old packages?

//edit

There should be repository with last versions before current.

Last edited by ciembor (2009-09-09 23:35:34)

Offline

#36 2009-09-10 00:53:15

Marko-Serbia
Member
From: Serbia
Registered: 2009-09-06
Posts: 7

Re: System slows to a crawl when compiz enabled!

90% of all answers can be found in arch wiki. You just have to read it.

Offline

#37 2009-09-10 01:46:30

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: System slows to a crawl when compiz enabled!

ciembor wrote:

I have the same problem (extremly slow compiz, even with disabled all effects). Asus EeePc 1000h with Intel GMA 900. Where may I download old packages?

//edit

There should be repository with last versions before current.

check /var/cache/pacman/pkg/

Offline

#38 2009-09-10 07:24:42

ciembor
Member
Registered: 2008-03-30
Posts: 57

Re: System slows to a crawl when compiz enabled!

I just installed a system on new nebook, so there are no packages in cache.

Last edited by ciembor (2009-09-10 07:25:11)

Offline

#39 2009-09-13 19:17:58

brynstntn
Member
Registered: 2009-08-17
Posts: 5

Re: System slows to a crawl when compiz enabled!

Having less framerate in glxgears is not a regression.  It has to do with enableing dri2.  This allows compiz to work with other opengl applications.  With dri2, glxgears will be about half.  If you got 900 fps before, you will get 450 now.  It will probably never get higher then that.  Despite glxgears having half of the framerate, games should perform the same or better because of opengl 2.1.

If your performance is getting worse.  It might be because of Gallium3d. http://www.x.org/wiki/GalliumStatus .  I'm not 100% sure about this, but I believe the Gallium code is replacing the mesa code.  It may be already implemented in mesa 7.5 for i915 on arch.

Another thing to do.  Make sure video permissions are set up for the user.

Last edited by brynstntn (2009-09-13 19:31:12)

Offline

#40 2009-09-26 08:34:26

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: System slows to a crawl when compiz enabled!

Using the latest git-stack of mesa and video-intel,  can say that intel has finally made the headway promised since GEM started on this laptop. Recorded the highest framerates ever and compiz animations are *very* smooth now. Am very happy and makes note to backup these packages).

Offline

#41 2009-09-26 08:51:57

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: System slows to a crawl when compiz enabled!

I'm gonna try it now, but I'm no optiimist, tried it 5-6 days ago and nothing's changed...

Offline

#42 2009-10-06 01:03:46

ciembor
Member
Registered: 2008-03-30
Posts: 57

Re: System slows to a crawl when compiz enabled!

I'm still waiting for new mesa. 7.6 is available, but there are no package nor PKGBUILD on AUR. Combuster, some progress?

Last edited by ciembor (2009-10-06 01:04:07)

Offline

#43 2009-10-26 16:16:41

ciembor
Member
Registered: 2008-03-30
Posts: 57

Re: System slows to a crawl when compiz enabled!

Did anyone test new Compiz (0.8.4-1)?

Offline

#44 2009-10-26 18:04:57

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: System slows to a crawl when compiz enabled!

Yep it works just fine. About mesa 7.6, it fixes a lot of problems with games (can start et, warsow etc now) but I've noticed that even though there is a slight improvement in performance there are some weird quirks when playing games, for example urt have some strange frame skips etc but all in all it's better then it was with 7.5.1 ...

Offline

#45 2009-10-26 18:33:57

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: System slows to a crawl when compiz enabled!

Did you try enabling indirect rendering already? Compiz without that option makes my laptop (intel card) feel like running vista on a sandwich toaster, with indirect rendering everything works fine.

Offline

#46 2009-10-28 09:37:35

Moppa
Member
Registered: 2008-10-21
Posts: 7

Re: System slows to a crawl when compiz enabled!

For me the problem still exists, is it resolved for anyone?
If so, what steps did you go through to make it work?

Mesa 7.5.1-2
Installed the compiz-fusion  group today.
compiz-core 0.8.4-1

Offline

Board footer

Powered by FluxBB