Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: modular xorg-x11 major issues with cpu usagea nd screen refreshing
Date: Mon, 17 Apr 2006 10:52:43
Message-Id: pan.2006.04.17.10.51.25.527753@cox.net
In Reply to: Re: [gentoo-amd64] modular xorg-x11 major issues with cpu usagea nd screen refreshing by Kyle Lutze
1 Kyle Lutze posted <4443215D.9070409@×××××××××××.com>, excerpted below, on
2 Sun, 16 Apr 2006 22:02:21 -0700:
3
4 > you're a genius! composite fixed it, but why would composite be an issue?
5
6 Without 3D acceleration, composite is /very/ CPU intensive.
7
8 I don't know about your window manager, but on KDE/kwin, as would be
9 expected for KDE, there are a number of customizable fancy features
10 available with composite. There's window opacity, window fading,
11 and window drop-shadows, each of which can be independently
12 enabled/disabled and the degree of effect tweaked. For opacity, one
13 can choose the types of windows it applies to, active, inactive,
14 docked, moving, keep-above as active or not, and set the opacity of each
15 type independently. Naturally, one can overrule the general rule for
16 individual windows or window classes (all the windows belonging to an app
17 or just one specific one), if desired. Thus, one can control the level of
18 effects enabled, turning everything off but one, if desired.
19
20 Here, I found most of the effects not worth the trouble. However, I did
21 find setting inactive windows to 35% opacity an interesting/pleasing
22 effect, not too taxing on its own of the CPU(s), so I run with just that
23 turned on most of the time. (FWIW, that was without 3D acceleration, as I
24 had a BIOS issue that wouldn't let me run 3D accelerated, but I /am/
25 running dual Opterons, which makes a difference. I figured out the BIOS
26 setting I had wrong and recently enabled acceleration, so should probably
27 go back and see if how many more effects I can turn on without taxing the
28 CPUs too much. I'm running an ATI Radeon 9250, selected because xorg
29 supports acceleration on it with the Free drivers -- I refuse to run
30 slaveryware NVidia /or/ ATI drivers -- and dual 1600x1200 monitors.)
31
32 So... if your window manager likewise has configurable composite features,
33 consider turning most of them off, only leaving one or two on, and see if
34 you can run composite then. It'll still drag the CPU a bit, but not as
35 badly, and you might find the tradeoff worth it -- or maybe not, but it's
36 something you can try, anyway.
37
38 --
39 Duncan - List replies preferred. No HTML msgs.
40 "Every nonfree program has a lord, a master --
41 and if you use the program, he is your master." Richard Stallman in
42 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
43
44
45 --
46 gentoo-amd64@g.o mailing list