You are not logged in.

#1 2008-12-20 17:41:36

1fx
Member
Registered: 2008-12-20
Posts: 2

Xorg + xf86-video-intel lags with compiz / high cpu usage without it

I have recently noticed that my X server lags. It happens approximately once per second (it's fairly regular) and it can be easily observed when watching movies, dragging windows or rotating cube. Screen just hangs for some milliseconds. Lags are bigger and happens more often when many windows are opened.

Even worse things happen when I'm _not_ running compiz. X's cpu usage spikes permanently up to 30-40% and lags are even more noticable.

My hardware:
Laptop with Intel GMA 950

Configuration
I tried some different xorg.confs but it seems to be irrevelant. It happens even on plain conf created by 'Xorg -configure'

xorg-server 1.5.3-3
mesa 7.2-1
xf86-video-intel 2.4.3-1
kernel26 2.6.27.8-1

I also tried downgrading these packages to
xorg-server 1.4.2-2
mesa 7.0.3-3
xf86-video-intel 2.3.2-1
kernel26 2.6.27-1
and it seems to resolve cpu usage problem but not the lags.

Does anybody know what might cause these lags? It's really annoying.

Offline

#2 2008-12-21 19:26:44

1fx
Member
Registered: 2008-12-20
Posts: 2

Re: Xorg + xf86-video-intel lags with compiz / high cpu usage without it

It turned out that color depth was the issue. I think that 24bit is too big for my graphics card and compiz (although I remember that i810+24bit+compiz worked fine).
So changing DefaultDepth in xorg.conf to 16 fixed the problem. Is there any other way to workaround this without decreasing color depth?

Offline

Board footer

Powered by FluxBB