Gentoo Archives: gentoo-user

From: Bo Andresen <bo.andresen@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 3d rendering with dri radeon
Date: Tue, 28 Feb 2006 12:20:56
Message-Id: 200602281313.33963.bo.andresen@gmail.com
In Reply to: Re: [gentoo-user] 3d rendering with dri radeon by Bo Andresen
1 On Saturday 25 February 2006 18:50, Bo Andresen wrote:
2 > On Saturday 25 February 2006 00:36, Benno Schulenberg wrote:
3 > > But it's working now. So tell us how many frames glxgears is doing
4 > > now, with and without radeon. :)
5 >
6 > Actually the results using dri is worse than the results without dri in
7 > terms of frame rates. Without dri I get something like 250 FPS. With dri I
8 > get something like 228 FPS. The great difference though is when looking at
9 > the X cpu usage. glxgears uses around 0.5 % with or without dri. But
10 > without dri X uses 92% of the cpu resources. With dri X uses between 0.5
11 > and 1% cpu. So obviously dri is preferable... ;)
12
13 Either something is seriously wrong with my settings somehow or x11-drm is
14 really crappy. A have no idea.. Fact is yesterday I was forces to boot back
15 in to my previous kernel since the one I created for x11-drm (i.e. with dri
16 disabled in the kernel configuration) failed me. The previous kernel had dri
17 compiled as modules and I have never had direct rendering working with it...
18 until now..
19
20 I am very surprised by this but it turns out direct rendering is working now
21 with the kernel modules. And the performance is quite a bit better than
22 before:
23
24 ~ $ glxinfo | grep dir
25 direct rendering: Yes
26
27 ~ $ glxgears
28 6057 frames in 5.0 seconds = 1211.400 FPS
29 7273 frames in 5.0 seconds = 1454.600 FPS
30 7268 frames in 5.0 seconds = 1453.600 FPS
31 7275 frames in 5.0 seconds = 1455.000 FPS
32 7274 frames in 5.0 seconds = 1454.800 FPS
33 7275 frames in 5.0 seconds = 1455.000 FPS
34 7268 frames in 5.0 seconds = 1453.600 FPS
35 7275 frames in 5.0 seconds = 1455.000 FPS
36 7272 frames in 5.0 seconds = 1454.400 FPS
37 7201 frames in 5.0 seconds = 1440.200 FPS
38 7259 frames in 5.0 seconds = 1451.800 FPS
39 7270 frames in 5.0 seconds = 1454.000 FPS
40 7272 frames in 5.0 seconds = 1454.400 FPS
41
42 I am clueless as to why this is working now when it wasn't before...
43
44 --
45 Bo Andresen
46 --
47 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] 3d rendering with dri radeon Bo Andresen <bo.andresen@×××××.com>
Re: [gentoo-user] 3d rendering with dri radeon Benno Schulenberg <benno.schulenberg@×××××.com>