Bug 21508 - low fps with radeon driver
Summary: low fps with radeon driver
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 09:48 UTC by Jon Rafkind
Modified: 2014-01-07 14:54 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
glxinfo (6.39 KB, application/octet-stream)
2009-05-01 09:48 UTC, Jon Rafkind
no flags Details
Xorg.log (37.68 KB, text/x-log)
2009-05-01 09:49 UTC, Jon Rafkind
no flags Details

Description Jon Rafkind 2009-05-01 09:48:42 UTC
Created attachment 25339 [details]
glxinfo

When I upgraded from ubuntu 8.04 to 9.04 I had to ditch the catalyst 9.3 driver and use the open source radeon driver. In glxgears with the catalyst driver I was getting +1000fps but with the radeon driver I get 300fps. I have not quantified other drawing operations but the system now is definately much slower than before.

Is there something I can try to speed things up?

Attached are glxinfo and Xorg.log. I can provide any other information required.

$ lspci -vnn | grep -i radeon
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS690M [Radeon X1200 Series] [1002:791f]
Comment 1 Jon Rafkind 2009-05-01 09:49:13 UTC
Created attachment 25340 [details]
Xorg.log

Adding xorg.log too.
Comment 2 Alex Deucher 2009-05-01 11:10:37 UTC
This was a regression in mesa 7.4 which should be fixed in the radeon-rewrite branch of mesa.
Comment 3 Jon Rafkind 2009-05-01 12:16:51 UTC
Ok cool. When do you think that branch will be released?

Should I try the branch in the mean time? It built fine but I am a little hesitant to install it.
Comment 4 Alex Deucher 2009-05-01 12:24:35 UTC
(In reply to comment #3)
> Ok cool. When do you think that branch will be released?
> 
> Should I try the branch in the mean time? It built fine but I am a little
> hesitant to install it.
> 

I should be merged to master soon.  You can use the LIBGL_DRIVERS_PATH env var to test before you install:
LIBGL_DRIVERS_PATH=/path/to/new/lib glxinfo
Comment 5 Jon Rafkind 2009-05-01 13:15:52 UTC
I still get about 300fps in glx gears with the radeon-rewrite branch.

$ LIBGL_DRIVERS_PATH=`pwd` glxgears
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /home/jon/svn/mesa/lib/tls/r300_dri.so
libGL: OpenDriver: trying /home/jon/svn/mesa/lib/r300_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/jon/.drirc: No such file or
directory.
1491 frames in 5.0 seconds = 298.167 FPS
1481 frames in 5.0 seconds = 296.077 FPS
1495 frames in 5.0 seconds = 298.999 FPS

$ LIBGL_DRIVERS_PATH=`pwd` glxinfo | grep OpenGL
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /home/jon/svn/mesa/lib/tls/r300_dri.so
libGL: OpenDriver: trying /home/jon/svn/mesa/lib/r300_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/jon/.drirc: No such file or
directory.
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20090101 x86/MMX+/3DNow!+/SSE2 NO-TCL
OpenGL version string: 1.4 Mesa 7.5-devel
OpenGL extensions:
Comment 6 Jon Rafkind 2009-05-01 14:40:24 UTC
The radeon-rewrite branch improves performance with sauerbraten.

With mesa 7.4 I was getting 3fps, but with the radeon-rewrite branch now I get 20fps. I will try installing the libs to my system and update with any new information.
Comment 7 Glen Birkbeck 2009-05-08 00:54:45 UTC
Hi folks

I am experiencing the degradation in performance since upgrading to Ubuntu Jaunty though I am only at this point concerned with 2D, not 3D. I would be quite happy to try this radeon-rewrite branch and feed back the results if someone could explain to me how to install it.

Many thanks
Glen
Comment 8 Marek Olšák 2014-01-07 13:08:09 UTC
Mesa 7.4 is no longer supported. RS690 should work fine with the R300 Gallium driver and LLVM enabled.
Comment 9 Programmist11180 2014-01-07 14:54:37 UTC
Performance of RS690M with Mesa 10 and kernel 3.13rc6 isn't good: above ~400 fps in glxgears. This less than at proprietary driver.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.