1 |
On 11/22/2010 09:40 PM, Robin Atwood wrote: |
2 |
> On Tuesday 23 November 2010, Nikos Chantziaras wrote: |
3 |
>> On 11/22/2010 07:02 PM, Robin Atwood wrote: |
4 |
>>> I have just gone through the steps to use the Radeon KMS driver on my old |
5 |
>>> laptop which has an RV350 [Mobility Radeon 9600 M10]. Everything seems to |
6 |
>>> work all right and I get the right "render string" from glxinfo. |
7 |
>>> However, I thought it might enable compositing to work on the KDE4 |
8 |
>>> desktop but there is no change. What's more, glxgears used to give about |
9 |
>>> 2200 FPS but now it's 50! So have I been wasting my time? |
10 |
>> |
11 |
>> You have to enable compositing yourself in System Settings. |
12 |
> |
13 |
> Of course, but it didn't take. |
14 |
> |
15 |
>> KMS means you're using DRI2 now, which results in a VSync'ed OpenGL |
16 |
>> rendering. Though I'd expect 60FPS because of VSync, not 50 :-P |
17 |
>> |
18 |
>> One other thing you should do is to enable the "gallium" USE flag and |
19 |
>> re-emerge Mesa. Then switch to the Gallium driver using: |
20 |
>> |
21 |
>> eselect mesa r300 gallium |
22 |
>> |
23 |
>> Because that driver is the recommended one for your hardware (R300). |
24 |
>> The classic driver should be avoided. |
25 |
> |
26 |
> Thanks, I would try that, but... |
27 |
> |
28 |
> # emerge -av media-libs/mesa |
29 |
> |
30 |
> These are the packages that would be merged, in order: |
31 |
> |
32 |
> Calculating dependencies... done! |
33 |
> [ebuild U ] x11-libs/libX11-1.4.0 [1.3.6] USE="-doc -ipv6 -static-libs - |
34 |
> test (-xcb%*)" 2,036 kB |
35 |
> [ebuild R ] media-libs/mesa-7.8.2 USE="nptl pic xcb -debug (-gallium) - |
36 |
> motif (-selinux)" VIDEO_CARDS="radeon -intel -mach64 -mga -nouveau -r128 - |
37 |
> savage -sis -svga -tdfx -via" 0 kB |
38 |
> |
39 |
> I set "gallium" in /etc/make.conf but (-gallium) means the flag is turned off |
40 |
> in a profile somewhere? |
41 |
|
42 |
Oh, you're not on ~arch. I assumed to much. I don't know how that |
43 |
works on old versions of the drivers and Mesa, or whether Gallium3D was |
44 |
any good with old versions of Mesa. I can only confirm that it works on |
45 |
recent versions. |
46 |
|
47 |
For your KDE problem, try adding/changing these in your |
48 |
~/.kde4/share/config/kwinrc: |
49 |
|
50 |
[Compositing] |
51 |
Backend=OpenGL |
52 |
CheckIsSafe=false |
53 |
DisableChecks=true |
54 |
Enabled=true |
55 |
GLDirect=true |
56 |
GLTextureFilter=1 |
57 |
GLVSync=false |
58 |
OpenGLIsUnsafe=false |