Gentoo Archives: gentoo-user

From: Robin Atwood <robin.atwood@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Radeon KMS driver - what benefits?
Date: Tue, 23 Nov 2010 00:21:02
Message-Id: 201011230720.39177.robin.atwood@attglobal.net
In Reply to: [gentoo-user] Re: Radeon KMS driver - what benefits? by Nikos Chantziaras
1 On Tuesday 23 November 2010, Nikos Chantziaras wrote:
2 > On 11/22/2010 09:40 PM, Robin Atwood wrote:
3 > > On Tuesday 23 November 2010, Nikos Chantziaras wrote:
4 > >> On 11/22/2010 07:02 PM, Robin Atwood wrote:
5 > >>> I have just gone through the steps to use the Radeon KMS driver on my
6 > >>> old laptop which has an RV350 [Mobility Radeon 9600 M10]. Everything
7 > >>> seems to work all right and I get the right "render string" from
8 > >>> glxinfo. However, I thought it might enable compositing to work on the
9 > >>> KDE4 desktop but there is no change. What's more, glxgears used to
10 > >>> give about 2200 FPS but now it's 50! So have I been wasting my time?
11 > >>
12 > >> You have to enable compositing yourself in System Settings.
13 > >
14 > > Of course, but it didn't take.
15 > >
16 > >> KMS means you're using DRI2 now, which results in a VSync'ed OpenGL
17 > >> rendering. Though I'd expect 60FPS because of VSync, not 50 :-P
18 > >>
19 > >> One other thing you should do is to enable the "gallium" USE flag and
20 > >>
21 > >> re-emerge Mesa. Then switch to the Gallium driver using:
22 > >> eselect mesa r300 gallium
23 > >>
24 > >> Because that driver is the recommended one for your hardware (R300).
25 > >> The classic driver should be avoided.
26 > >
27 > > Thanks, I would try that, but...
28 > >
29 > > # emerge -av media-libs/mesa
30 > >
31 > > These are the packages that would be merged, in order:
32 > >
33 > > Calculating dependencies... done!
34 > > [ebuild U ] x11-libs/libX11-1.4.0 [1.3.6] USE="-doc -ipv6
35 > > -static-libs - test (-xcb%*)" 2,036 kB
36 > > [ebuild R ] media-libs/mesa-7.8.2 USE="nptl pic xcb -debug
37 > > (-gallium) - motif (-selinux)" VIDEO_CARDS="radeon -intel -mach64 -mga
38 > > -nouveau -r128 - savage -sis -svga -tdfx -via" 0 kB
39 > >
40 > > I set "gallium" in /etc/make.conf but (-gallium) means the flag is turned
41 > > off in a profile somewhere?
42 >
43 > Oh, you're not on ~arch. I assumed to much. I don't know how that
44 > works on old versions of the drivers and Mesa, or whether Gallium3D was
45 > any good with old versions of Mesa. I can only confirm that it works on
46 > recent versions.
47 >
48 > For your KDE problem, try adding/changing these in your
49 > ~/.kde4/share/config/kwinrc:
50 >
51 > [Compositing]
52 > Backend=OpenGL
53 > CheckIsSafe=false
54 > DisableChecks=true
55 > Enabled=true
56 > GLDirect=true
57 > GLTextureFilter=1
58 > GLVSync=false
59 > OpenGLIsUnsafe=false
60
61 When I try to enable compositing KDE gives a message that it's not possible.
62 Setting "Disable checks" also gives an error message. So I cannot see any
63 actual benefit.
64
65 Thanks for the tips!
66 -Robin
67 --
68 ----------------------------------------------------------------------
69 Robin Atwood.
70
71 "Ship me somewheres east of Suez, where the best is like the worst,
72 Where there ain't no Ten Commandments an' a man can raise a thirst"
73 from "Mandalay" by Rudyard Kipling
74 ----------------------------------------------------------------------

Replies

Subject Author
[gentoo-user] Re: Radeon KMS driver - what benefits? Nikos Chantziaras <realnc@×××××.de>