Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Radeon KMS driver - what benefits?
Date: Mon, 22 Nov 2010 20:58:27
Message-Id: 201011222143.35677.wonko@wonkology.org
In Reply to: Re: [gentoo-user] Re: Radeon KMS driver - what benefits? by Robin Atwood
1 Robin Atwood writes:
2
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
6 > > > my old laptop which has an RV350 [Mobility Radeon 9600 M10].
7 > > > Everything seems to work all right and I get the right "render
8 > > > string" from glxinfo. However, I thought it might enable
9 > > > compositing to work on the KDE4 desktop but there is no change.
10
11 Hmm, I _think_ it didn't work for me either. Can't remember for sure, I
12 only gave KMS a short try. But quake3 was totally unplayable with about 2
13 FPS. And I also had other problems, like the screen going black shortly
14 after entering the LUKS passphrase during initramfs stage. The screen
15 comes up again when X is started, but I prefer to see boot messages.
16
17
18 > > > What's more, glxgears used to give about 2200 FPS but now it's 50!
19 > > > So have I been wasting my time?
20 [...]
21 > > KMS means you're using DRI2 now, which results in a VSync'ed OpenGL
22 > > rendering. Though I'd expect 60FPS because of VSync, not 50 :-P
23
24 I also had 50 FPS, and would expect 60 with my TFT.
25
26
27 > > One other thing you should do is to enable the "gallium" USE flag and
28 > >
29 > > re-emerge Mesa. Then switch to the Gallium driver using:
30 > > eselect mesa r300 gallium
31 > >
32 > > Because that driver is the recommended one for your hardware (R300).
33 > > The classic driver should be avoided.
34 >
35 > Thanks, I would try that, but...
36 >
37 > # emerge -av media-libs/mesa
38 >
39 > These are the packages that would be merged, in order:
40 >
41 > Calculating dependencies... done!
42 > [ebuild U ] x11-libs/libX11-1.4.0 [1.3.6] USE="-doc -ipv6
43 > -static-libs - test (-xcb%*)" 2,036 kB
44 > [ebuild R ] media-libs/mesa-7.8.2 USE="nptl pic xcb -debug
45 > (-gallium) - motif (-selinux)" VIDEO_CARDS="radeon -intel -mach64 -mga
46 > -nouveau -r128 - savage -sis -svga -tdfx -via" 0 kB
47 >
48 > I set "gallium" in /etc/make.conf but (-gallium) means the flag is
49 > turned off in a profile somewhere?
50
51 Yes, you can override it like this, if you feel brave:
52 echo "-gallium" >> /etc/portage/profile/use.mask
53
54 Wonko