Gentoo Archives: gentoo-user

From: Bill Longman <bill.longman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Compositing too slow in KDE
Date: Wed, 23 Mar 2011 00:18:37
Message-Id: 4D893BEE.5010908@gmail.com
In Reply to: Re: [gentoo-user] Re: Compositing too slow in KDE by Mick
1 On 03/22/2011 03:32 PM, Mick wrote:
2 > On Tuesday 22 March 2011 16:45:54 Dale wrote:
3 >> Bill Longman wrote:
4 >>> On 03/20/2011 12:09 PM, Mick wrote:
5 >>>> On Sunday 20 March 2011 18:38:00 Mick wrote:
6 >>>>> On Saturday 19 March 2011 23:02:11 Jorge Martínez López wrote:
7 >>>>>> I also have an ATI card and I do suffer the slow compositing. I solved
8 >>>>>> it by switching back to the classic Mesa (instead of Gallium).
9 >>>>>
10 >>>>> Thanks Jorge,
11 >>>>>
12 >>>>> I switched to classic too and now it does not crash - however:
13 >>>>>
14 >>>>> 1. When I start kde compositing is disabled.
15 >>>>>
16 >>>>> 2. If I click on Resume Compositing, then the first time I try it I get
17 >>>>> a notification saying: "Compositing has been suspended by another
18 >>>>> application" and it remains disabled.
19 >>>>>
20 >>>>> 3. The second time I try to resume compositing it works!
21 >>>>>
22 >>>>> 4. If at that stage I exit/restart KDE compositing is disabled again
23 >>>>> ... o_O
24 >>>>>
25 >>>>> Why is this happening? What other application is clashing or causing
26 >>>>> compositing not to take?
27 >>>>
28 >>>> BTW, I just tried this on an older Pentium 4 32bit box with an ATI
29 >>>> Radeon X600 (RV380) and it is exhibiting similar symptoms, except that
30 >>>> if I try to resume compositing a second time kwin crashes.
31 >>>
32 >>> I have an AMD Phenom II X4 940 with an Radeon 4870 that loves to crash
33 >>> when I turn on compositing. OpenGL works wonderfully until it crashes
34 >>> kwin. XRender chews up so much CPU I'd rather not have it.
35 >>>
36 >>> I have an AMD Athlon II X4 635 with an onboard Radeon 4200 that loves to
37 >>> crash when I turn on compositing.
38 >>>
39 >>> Both these boxes have SB700/SB800 chipsets. I use xdm on the former and
40 >>> manually run X on the other. Same problem on both.
41 >>>
42 >>> I did not have this problem in xorg-server 1.7 series.
43 >>
44 >> I have a very similar setup and it works fine here, AMD Phenom II X4 955
45 >> Deneb 3.2GHz with a Nvidia GT-220 video card. I also have the
46 >> SB700/SB800 chipset as well, Gigabyte mobo. The biggest difference I
47 >> see is the video card as far as hardware is concerned.
48 >>
49 >> Software, I'm on xorg-server-1.9 here. I never tried the older series
50 >> on this rig. I also still have a xorg.conf file too. May not matter
51 >> but just upgraded to a 2.6.38 kernel. Also, no hal here either which is
52 >> why I went with that xorg version during my install.
53 >>
54 >> I hope this little bit of info helps in some small way. If you need
55 >> more info about my setup, let me know.
56 >
57 > So this seems like the xorg-1.9 driver won't play nicely with ATI video cards.
58 > FYI mesa classic seems to be better than gallium, although both crash. As
59 > already reported xrender works, but eats up resources.
60 >
61 > Will have to wait for later versions it seems.
62
63 Well after fifteen minutes of no crashes, here are my settings:
64
65 $ emerge -pv xorg-server mesa cairo $(qlist -IC x11-drivers)
66
67 These are the packages that would be merged, in order:
68
69 Calculating dependencies... done!
70 [ebuild R ] x11-drivers/radeon-ucode-20110106 0 kB
71 [ebuild R ] media-libs/mesa-7.9.1 USE="classic nptl -debug -gallium
72 -gles -llvm -motif -pic (-selinux)" VIDEO_CARDS="radeon -intel -mach64
73 -mga -nouveau -r128 -savage -sis -tdfx -via -vmware" 0 kB
74 [ebuild R ] x11-base/xorg-server-1.9.5 USE="ipv6 kdrive nptl udev
75 xorg -dmx -doc -minimal -static-libs -tslib" 0 kB
76 [ebuild R ] x11-libs/cairo-1.10.2-r1 USE="X opengl qt4 svg xcb
77 (-aqua) -debug -directfb -doc (-drm) (-gallium) (-openvg) -static-libs" 0 kB
78 [ebuild R ] x11-drivers/xf86-input-evdev-2.6.0 0 kB
79 [ebuild R ] x11-drivers/xf86-input-keyboard-1.5.0 0 kB
80 [ebuild R ] x11-drivers/xf86-input-mouse-1.6.0 0 kB
81 [ebuild R ] x11-drivers/xf86-video-ati-6.14.0 0 kB
82
83 My kernel is 2.6.36-r5 gentoo-sources running on the AMD Athlon II X4
84 machine:
85 $ zgrep RADEON /proc/config.gz
86 CONFIG_DRM_RADEON=m
87 CONFIG_DRM_RADEON_KMS=y
88 CONFIG_FB_RADEON=y
89 CONFIG_FB_RADEON_I2C=y
90 CONFIG_FB_RADEON_BACKLIGHT=y
91 # CONFIG_FB_RADEON_DEBUG is not set
92
93
94 Wonderfully wobbly windows once again, without widespread (and
95 unwelcomed) untimely terminations.

Replies

Subject Author
Re: [gentoo-user] Re: Compositing too slow in KDE Mick <michaelkintzios@×××××.com>