R300 Render Accel… more or less

I’ve just pushed the first pass at EXA render accel for r3xx/r4xx cards.  Right now it only supports transforms for rotation, no blending yet.  It’s based on the initial implementation from Wolke Liu with additional lock-up fixes by Dave Airlie.

12 Responses to “R300 Render Accel… more or less”

  1. loswillios Says:

    Cool, great to hear. Is this work based on the new docs which where recently released? I’m asking cause I’m an owner of an RS400/XPress 200M (5955) card and you told me support for that cards was added by ‘try & error’.

  2. Tsiolkovsky Says:

    I’m also an owner of a laptop with ATI Radeon Xpress (RS485 [Radeon Xpress 1100 IGP]) and also hope that this new documentation will help with better drivers for us with integrated ATI graphics. I’ve tried the new KDE 4.0 and it looks like the new KDE brings out quite a few bugs in the driver.

  3. Xav Says:

    Thanks !

  4. arekm Says:

    Will there be support for accel in XAA, too?

  5. Giacomo Says:

    Hi! Very good news! A part from rotation and blending what other operations can EXA accelerate?

  6. agd5f Says:

    Transforms and blending are pretty much what EXA composite accelerates. I do plan to improve RS4xx chips, I just haven’t had time to dig up the relevant information and actually get my hands on such a chip for testing. I’ve had accelerated rotation working on XAA, but it’s a big hack, better to finish EXA support since the API was designed for this sort of thing.

  7. Andrey Mitrofanov Says:

    >EXA render accel for r3xx/r4xx cards.
    Ugh, great! Thanks from a happy RS690 owner, which was “more like R400″, no?.. wait…

    #>23:06 #radeon: true, I should probably guard against IGPs for the moment

    Ouch… :) Still great news.

    #>23:20 #radeon: adg5f, so git should be safe on r500’s now
    #>23:27 #radeon: kdekorte: yes

    Maybe some git branch lessons from airlied (hint: atombios-support) could serve us some safety on the “master”? ;-)

    ..and shouldn’t you be busy now with “unNDAing” those PDFs? Who let you out and do the funny coding stuff?? :-)) Only joking, no offence meant. All the best!

  8. lk Says:

    Building, will test with my X700 in some time.

  9. Giacomo Says:

    Tested on my X550. Rotation through xrandr works and it’s faster than before. It doesn’t play well with compiz+aiglx, however.

    I had also a nice improvement with gtkperf (especially with the text tests, ie. text scroll 36s -> 11s) but I did just a couple of tries with an old X session, so it could be a fluke. It’s possible for this basic render acceleration to improve text performances so much?

  10. Fabio Says:

    Just to let you know Ubuntu users that here:
    https://launchpad.net/~tormodvolden/+archive
    can be found a repository with current (git version) of
    - mesa
    - xscreensaver
    - xserver-xorg-video-ati
    - xserver-xorg-video-radeonhd
    packages.

  11. loswillios Says:

    current git segfaults with EXA enabled on my RS400/XPress 200M. This is introduced with this commit: dbb2ca471dfbff245b30c5055871dee0dc0e3d15 (R300: only enable render accel on non-IGP r3xx/r4xx chips for now)

  12. loswillios Says:

    it wasn’t actually a segfault but a hardlock. anyway, it’s fixed now in git. thanks agd5f!