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

Replies

Subject Author
Re: [gentoo-user] Re: Radeon KMS driver - what benefits? Robin Atwood <robin.atwood@×××××××××.net>