Mailinglist Archive: radeonhd (265 mails)

< Previous Next >
Re: [radeonhd] Re: Succeeded in compiling radeonhd 1.3.0 on first try!
  • From: Alex Deucher <alexdeucher@xxxxxxxxx>
  • Date: Sun, 1 Nov 2009 12:01:13 -0400
  • Message-id: <a728f9f90911010801k67bfda8i51edb46fc95f9639@xxxxxxxxxxxxxx>
On Sun, Nov 1, 2009 at 11:54 AM, Dave Witbrodt <dawitbro@xxxxxxxxxxxxx> wrote:
Luca Tettamanti wrote:

On Sun, Nov 1, 2009 at 2:47 PM, Dave Witbrodt <dawitbro@xxxxxxxxxxxxx>
wrote:

So, for RV770, is this because the in-kernel DRM does not yet support the
experimental 3D acceleration for r700?

I know that 'radeonhd' supports acceleration, and according to the
"experimental_3D" wiki,

  http://www.x.org/wiki/radeonhd%3Aexperimental_3D

the "R6xx/R7xx mesa code from 6xx-rewrite branch has been merged to
master,"
so if I'm using Mesa 7.6 that piece of the puzzle should be OK as well,
right?

To play with 3D on my hardware, the wiki says "still need non-master drm
from ~agd5f/drm r6xx-r7xx-3d branch."  The instructions explain how to
build
DRM modules, but also how to rebuild Mesa.  To get 3D on RV770, I would
have
to:

  - build DRM from the r6xx-r7xx-3d branch

I believe that the relevant stuff have been merged into libdrm master.

  - skip the wiki instructions about rebuilding Mesa (since I already
    have Mesa 7.6)

Does that sound right?

Well no ;-) Debian libgl1-mesa-dri does not include r600 module
(Debian kernel does not yet include DRM driver for r600), so you have
to rebuild mesa.
Also note that current git kernel (and 2.6.32) contains the needed DRM
bits (more changes and fixes can be found in airlied's tree:
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=summary,
branch drm-next)

The fog is beginning to clear.  Thanks, Luca.

Now, to recap:

1.  I have kernel 2.6.31 from git.kernel.org, but the DRM in that kernel
cannot do 3D acceleration for RV770, so I have 2 choices:

    A.  Build new kernel (2.3.32-rc*)
 or B.  Build DRM using r6xx-r7xx-3d

yes.


2.  Mesa 7.6 from Debian unstable (late September) is missing parts I need
for acceleration on RV770, so I must rebuild Mesa from the experimental
branch... even though the wiki says support for r600-r700 has been merged?

Is that correct?  (If not, I would rather avoid lots of unnecessary work!)

You need to build mesa from the 7.6 branch or master.

Alex
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups