[karmic] no r600 DRI support in mesa

Bug #404428 reported by Skiros
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Won't Fix
Wishlist
Unassigned
Nominated for Karmic by bojo42

Bug Description

I have a low performance with mesa 7.5:

$ glxgears
1244 frames in 5.0 seconds
1230 frames in 5.0 seconds
1243 frames in 5.0 seconds
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 7846 requests (7778 known processed) with 0 events remaining.

The Xorg.0.log show this error:

(EE) AIGLX error: dlopen of /usr/lib/dri/r600_dri.so failed (/usr/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering

$ uname -r
2.6.31-4-generic

I use Karmic

I attached some configuration and logs files.

Related branches

Revision history for this message
Skiros (skiros) wrote :
Revision history for this message
Skiros (skiros) wrote :
Revision history for this message
Skiros (skiros) wrote :
description: updated
Revision history for this message
Robert Hooker (sarvatt) wrote :

I think you meant "no performance" :D There is no 3D acceleration for R600 and R700 radeons in mesa 7.5, you are using the software rasterizer.You should use fglrx (the ati binary driver) if you want accelerated 3D.

Changed in mesa (Ubuntu):
status: New → Invalid
Revision history for this message
Skiros (skiros) wrote :

The bug is for mesa, not for fglrx, I dont want use propietary drivers (they dont support my model in karmic with the actual 1.6 Xserver version).

The mesa 7.5 version fails with this error:
(EE) AIGLX error: dlopen of /usr/lib/dri/r600_dri.so failed (/usr/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering

These error is my bug, then I have low perfomance.

Please, consider this fail to fix.

Changed in mesa (Ubuntu):
status: Invalid → New
Revision history for this message
deadspider187 (ericxx2005) wrote :

I agree with Skiros. This used to work in Jaunty, so this is a regression. I used to have composite working with the radeonhd drivers, which now fail to have any usable performance, even in 2D.

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Yes, I confirm the bug of Skiros on Karmic, same regression with radeonhd.

Revision history for this message
Robert Hooker (sarvatt) wrote :

There is no regression, r600_dri.so was never provided in any version of mesa in ubuntu ever. You have always been using swrast if you use the free drivers for 3D operations. Composite and 3D are not exactly the same thing, xrender based compositing via metacity or kwin or xcompmgr will work fine with r600 using -ati or -radeonhd (the latter requires forcing DRI in your xorg.conf) but compiz only provides GL compositing so it uses software rendering and will always be slow in that situation. The bug reporter posted glxgears performance numbers saying it was low, and glxgears is a 3D application. DRI will work for 2D acceleration, but AIGLX for hardware accelerated GL compositing will not work. I marked it invalid because this is a "will not fix" bug in karmic, there is no r600_dri.so outside of mesa 7.6 and it requires a very specific libdrm and only works on 2.6.28 kernels right now (not to mention it is about as buggy as it can get). They are looking to integrate the kernel specific things in 2.6.32, but unfortunately karmic will ship with 2.6.31. deadspider187, if you have low performance in 2D then you should file a seperate bug report regarding that because it is a different issue entirely.

The propriatary drivers do work fine with xserver 1.6, you want to install them through the package manager via the fglrx-installer package and not straight from ATI though. Unfortunately fglrx is not working at the moment on the 2.6.31 kernels in karmic, so you will have to go back to 2.6.30-10.12 if you want to use it until it is updated.

Bryce Harrington (bryce)
summary: - Mesa 7.5 low perfomance with ATI Radeon HD 2600 (RV 630)
+ (Needs radeon-rewrite) low performance due to no r600 DRI support in
+ mesa
Changed in mesa (Ubuntu):
importance: Undecided → Wishlist
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: (Needs radeon-rewrite) low performance due to no r600 DRI support in mesa

This bug was fixed in the package mesa - 7.6.0~git20090817.7c422387-0ubuntu1

---------------
mesa (7.6.0~git20090817.7c422387-0ubuntu1) karmic; urgency=low

  [Bryce Harrington]
  * Checkout from git 20090817 (master branch) up to commit
    7c4223876b4f8a78335687c7fcd7448b5a83ad10
    + Add DRI2 support to -ati
      (LP: #329654, #404428, #327698, #321108)
    + Fix portion of MythTV Frontend does not work with RADEON DRI
      (LP: #341898)
    + Fix selection mode on RS482
      (LP: #273329)
    + Fix issue running 3D acceleration games on ATI chipsets
      (LP: #374590)
    + Provide DRI2 swap buffers
      (LP: #377090)
    + Fix blender unusable with UXA when DRI2 enabled
      (LP: #353763)
  * Drop 108_bo_assertion.patch (applied upstream)

  [Robert Hooker]
  * Only added debian/ tree from origin/ubuntu
  * Enable r600 driver. Note that it requires seperate drm modules
    not provided in this PPA or in ubuntu, and also does not work with
    KMS.

 -- Bryce Harrington <email address hidden> Fri, 21 Aug 2009 16:13:50 -0700

Changed in mesa (Ubuntu):
status: In Progress → Fix Released
bojo42 (bojo42)
Changed in mesa (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
bojo42 (bojo42) wrote :

i reopened the report as r600 support got disabled for karmic's mesa builds. it would be great if some of the x devs could enable it again, because it would really ease using r600 cards with 3d (meaning you just need the additional drm modules, but no other "xorg crack").

summary: - (Needs radeon-rewrite) low performance due to no r600 DRI support in
- mesa
+ [karmic] no r600 DRI support in mesa
Revision history for this message
bojo42 (bojo42) wrote :

i just tested mesa with r600 enabled on my own and it's probably better to keep it disabled, because when running the stock karmic kernel and calling a 3D app (and therefore Mesa) X is starting to hang. so only the combination of r600 enabled Mesa and matching DRM modules should be allowed and therefore this bug should be "Won't fix", unless there is a simple way to disable r600 in Mesa at runtime after checking for DRM support.

Revision history for this message
Bryce Harrington (bryce) wrote :

Looks like we'll get it for LL. Too unstable at present for karmic.

Changed in mesa (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
bojo42 (bojo42) wrote :

alright. in the meantime a recomplied version of karmic's mesa with enabled r600 support can be found in my new ppa: https://launchpad.net/~bojo42/+archive/r6xx-r7xx-3d

Revision history for this message
patrix (neo-patrix) wrote :

Why stuff that worked well in Jaunty , does not work with Karmic. Obviously is it regression whatever the reason.

Revision history for this message
bojo42 (bojo42) wrote :

@patrix: there was no open source 3D support for newer ATi graphic cards in jaunty, so there is no regression.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.