You are not logged in.

#1 2010-08-31 01:16:48

kwbauson
Member
Registered: 2010-08-23
Posts: 34

Compiz is slower than it was on Ubuntu

I have recently switched to Arch and noticed that compiz is much slower on Arch than it was on Ubuntu.  When I have all the same effects enabled as I did on Ubuntu, the framerate while rotating the cube desktop is about 10 fps vs 30 fps on Ubuntu.  Also, compiz's average framerate on Arch is about 30 fps.

Offline

#2 2010-08-31 01:24:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Compiz is slower than it was on Ubuntu

Again, providing info about your graphics setup wouldn't hurt.

Offline

#3 2010-08-31 13:33:42

kwbauson
Member
Registered: 2010-08-23
Posts: 34

Re: Compiz is slower than it was on Ubuntu

I've got an Intel graphics card, and I installed the xf86-video-intel package.

Offline

#4 2010-08-31 15:07:48

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Compiz is slower than it was on Ubuntu

lspci | grep VGA

More info is never too much. ;P

Offline

#5 2010-08-31 15:31:34

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Compiz is slower than it was on Ubuntu

I know there has been a lot of changes in the intel graphic stack in the last year or so. What kernel and Xorg version are used vs what is installed in arch?

Maybe someone with info of intel in linux/X.org state can comment.


Website - Blog - arch-home
Arch User since March 2005

Offline

#6 2010-08-31 15:56:30

kwbauson
Member
Registered: 2010-08-23
Posts: 34

Re: Compiz is slower than it was on Ubuntu

OK, so the output of "lspci | grep VGA"  is "00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)"
As for my kernel etc., I'm using the latest packages in the core, extra, and community repositories.  I'm not quite sure if that's what you meant.

Offline

#7 2010-08-31 16:49:24

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: Compiz is slower than it was on Ubuntu

I had this exact problem, then I installed xf86-video-intel-newest from the AUR, and it went from 15 fps to 30-40 fps.


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#8 2010-09-01 05:29:45

Compintuit
Member
Registered: 2010-03-19
Posts: 19

Re: Compiz is slower than it was on Ubuntu

I'm going to try that package; I also had 60fps compiz with intel drivers on ubuntu, but currently have half that, so I'm using xfwm.
Edit: the package conflicts with xorg-server, so I'm rather confused about its utility. Anyone else have any luck?

Last edited by Compintuit (2010-09-01 05:48:02)

Offline

#9 2010-09-01 14:09:15

kwbauson
Member
Registered: 2010-08-23
Posts: 34

Re: Compiz is slower than it was on Ubuntu

Yaourt asks to remove xorg-server with the -d option. Isn't that dangerous?  When I run "pacman -Rsc xorg-server" it wants to remove a couple of my programs, my touchpad drver, and my mouse themes.

Offline

#10 2010-09-01 14:21:35

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

Re: Compiz is slower than it was on Ubuntu

Ehh, did you run pacman -Syu since you installed?

conflicts=('xorg-server<1.8.0' 'xf86-video-i810' 'xf86-video-intel-legacy' 'xf86-video-intel')

Offline

#11 2010-09-01 14:34:20

kwbauson
Member
Registered: 2010-08-23
Posts: 34

Re: Compiz is slower than it was on Ubuntu

OK, I installed xf86-video-intel-newest from AUR, it removed xorg-server (which I installed again) and now my compiz framerate is up.  If this is the newest Intel video driver, why isn't it in the Arch repos?

Offline

#12 2010-09-01 14:40:53

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

Re: Compiz is slower than it was on Ubuntu

it removed xorg-server (which I installed again)

Seriously, update your system before doing anything else. xf86-video-intel-newest from AUR is currently on the exact same version as the package in extra (I guess the package in AUR normally has development/unstable versions), any improvements therefore came from updating xorg-server....

Offline

#13 2010-09-01 14:53:31

kwbauson
Member
Registered: 2010-08-23
Posts: 34

Re: Compiz is slower than it was on Ubuntu

OK, I just updated my system (it was already up-to-date).  According to pacman, the version from the Arch repositories is the same as the one from AUR.  I uninstalled the one from AUR and reinstalled the one from Arch and now compiz is slow again.  If the two are the same version, what's causing the difference in performance.

Offline

#14 2010-09-01 14:59:58

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

Re: Compiz is slower than it was on Ubuntu

Hmm allright, if you had it updated already I don't really understand why it would conflict with the xorg-server, as the conflict array in the PKGBUILD says 'xorg-server<1.8.0'. Maybe this is a yaourt-problem?

For why it is still faster for you with the aur-package, maybe it draws in other packages via dependencies that are different from the stock ones in the repo? You could also compare the aur PKGBUILD with the one from ABS to check for differences.

Offline

#15 2010-09-01 15:05:00

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Compiz is slower than it was on Ubuntu

Are you sure you are synching with an up-to-date mirror?

The only difference between the two packages is that the arch package uses a patch called intel-2.11-no-pageflipping.patch

Arch PKG: http://repos.archlinux.org/wsvn/package … k/PKGBUILD
AUR PKG: http://aur.archlinux.org/packages/xf86- … t/PKGBUILD


Website - Blog - arch-home
Arch User since March 2005

Offline

#16 2010-09-01 15:10:39

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

Re: Compiz is slower than it was on Ubuntu

scrapped. I am confused. don't want to spread it around.

Last edited by hokasch (2010-09-01 15:11:25)

Offline

#17 2010-09-01 15:29:28

kwbauson
Member
Registered: 2010-08-23
Posts: 34

Re: Compiz is slower than it was on Ubuntu

I'm using the mirrors from kernel.org, which I'm pretty sure are up-to-date.  Also, my intel driver is version 2.12.0-1, same as the AUR version.

Offline

#18 2010-09-01 15:56:41

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: Compiz is slower than it was on Ubuntu

Maybe that patch should be included in the Arch package... (devs?)


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#19 2010-09-01 16:19:24

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

Re: Compiz is slower than it was on Ubuntu

Actually, the no-pageflipping patch is applied for the arch package, but not in the AUR PKGBUILD:

package log wrote:

Disable pageflipping again. Without this, games still crash on my G45M and it seems to cause massive flickering in KDE with composite

So for now, your best bet will be to use the driver from aur with pageflipping enabled (or downgrade to 2.12.0-2 and add it do IgnonrePkg). To get the patch out of the official package, you can (for example) check related bug reports on the arch tracker, encourage people to take it upstream, offer your help for fixing the mentioned problems (as far as you can), and let the maintainer know about the speed penalty from the patch.

Happy Arching!
-.

Last edited by hokasch (2010-09-01 16:22:03)

Offline

#20 2010-09-01 17:20:38

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Compiz is slower than it was on Ubuntu

Lexion wrote:

Maybe that patch should be included in the Arch package... (devs?)

If you want the devs to acknowledge your request, use the bug tracker.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#21 2010-09-01 22:26:58

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: Compiz is slower than it was on Ubuntu

Sorry. I'll do that.


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

Board footer

Powered by FluxBB