Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Radeon Driver Rewrite Only Has A Few Things Left

  1. #1
    Join Date
    Jan 2007
    Posts
    15,080

    Default Radeon Driver Rewrite Only Has A Few Things Left

    Phoronix: Radeon Driver Rewrite Only Has A Few Things Left

    Back in February we talked about the work that David Airlie is doing to rewrite the ATI Radeon driver for Mesa. Soon it now looks like this rewritten code may land in the mainline Mesa code-base once a few more items are addressed...

    http://www.phoronix.com/vr.php?view=NzE2MQ

  2. #2
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    2,154

    Default

    That sounds like DRI2/KMS would be possible with this branch.

    But GEM is needed before any of these work, right? So any chance this will happen in time for Mesa 7.5 anyway? Am I missing something?

    Anyways, great job devs

  3. #3
    Join Date
    Oct 2007
    Posts
    92

    Default

    Quote Originally Posted by d2kx View Post
    That sounds like DRI2/KMS would be possible with this branch.

    But GEM is needed before any of these work, right? So any chance this will happen in time for Mesa 7.5 anyway? Am I missing something?

    Anyways, great job devs
    You don't need GEM but a memory manager DR12/KMS for radeon will be in Fedora 11 (already is but needs fixes mentioned in the blog)

  4. #4
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,514

    Default

    As I understand it the radeon-rewrite code can run on the current non-memory-managed framework (without DRI2), but if you run it on a system with GEM/TTM, KMS and DRI2 it will make use of those features and give you the associated benefits, like RDR (aka glxgears on a spinning cube ).

    The radeon-rewrite effort adds support for all the new features in the X/DRI stack, but allows the devs to use almost all the same code today rather than having to maintain old and new code bases over the next year as distros gradually move from the current stack to the new one (with KMS, MM, DRI2 etc..).
    Last edited by bridgman; 03-23-2009 at 11:18 AM.

  5. #5
    Join Date
    Sep 2007
    Location
    Paris, France
    Posts
    217

    Default

    Kick my ass if it has already been said, but, I have to say that I don't really understand what all these article is talking about : tiling, DRI2, mesa, KMS, MM, GEM/TTM etc.

    I guess many readers of Phoronix are coders and then will flawlessly and undoubtfully understand what it's all about, but I should be considered as an end-user. I don't have any knowledge in programming but I'm interested in Linux stuff and linux progress.

    What is missing in this article (or perhaps in another article) is some explanation of what all these stuff is going to good for the end-user and daily use of my box.

    I guess the stuff talked about in this article is very nice but is also very reserved to some few devs.

    To say that I'm missing a lot some explanation article as you would explain it to your grand'ma if she would have a Linux box and was waiting patiently for improvments. How would you explain that to her ? (ok, she doesnt even have a box, so, let say your girl-friend or your wife if you like ! ).

    But perhaps am I amongst the few of being just a linux end-user without any programming knowledge ? Usually, simple users tend to stay in Windows, as it's easier to manage. So let say I'm a power-user, but I would understand you don't want to lose time for explaining things to simple linux users, which are perhaps not the more linux representatives ?

  6. #6
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,514

    Default

    There are some "sticky" posts with more details, but here's the grandmother version :

    GEM/TTM lets all the different drivers use a common memory manager, which is a pre-requisite for almost all of the other features. Having a good memory manager is also a pre-requisite for some OpenGL 2.x features. Having GL 2.x will allow some apps to run which don't run today, and will allow some other apps which already work to run faster and more efficiently.

    DRI2 improves the way that the 3D and 2D drivers talk to each other. The most obvious benefit to an end user is that it supports Redirected Direct Rendering, which fixes most of the problems you see today when running 3D apps under a compositor (flickering, 3D window doesn't get composited etc..). DRI2 needs GEM/TTM.

    KMS replaces the current situation where multiple drivers are taking turns programming your display hardware, both during boot-up and when doing things like VT switch or suspend/resume. By having one driver handle everything, a class of problems related to VT switch and suspend/resume can be eliminated. KMS also allows a smoother and more useful bootup display, and provides better support for displaying status during Bad Things like kernel panics. KMS needs GEM/TTM.

    Radeon-rewrite is primarily about getting the 3D driver ready to use all these cool things as other components are upgraded to provide them.

  7. #7
    Join Date
    Sep 2007
    Location
    Paris, France
    Posts
    217

    Default

    Thanks very much Bridgman !

  8. #8
    Join Date
    Jan 2009
    Posts
    466

    Default

    Quote Originally Posted by Fixxer_Linux View Post
    To say that I'm missing a lot some explanation article as you would explain it to your grand'ma if she would have a Linux box and was waiting patiently for improvments. How would you explain that to her ? (ok, she doesnt even have a box, so, let say your girl-friend or your wife if you like ! ).
    Just tell grandma, "People are trying to fix things that will make firefox pages scroll faster, movies look better, and games play smoother. ETA is 3-6 months."

    Frank

  9. #9
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,798

    Default

    Still waiting with my 4870 for 3D and KDE4 and tear-free video :P

  10. #10
    Join Date
    Jun 2007
    Posts
    145

    Default

    ok, so this doesn't have to do anything with a gallium3d-driver (aka drm-driver?), does it? omg so difficult :/
    hm i'm going to request a phoronix wiki where we could add information just like these given above from bridgeman so that he doesn't have to answer questions related to gallium in nearly every thread.
    Last edited by Regenwald; 03-23-2009 at 04:58 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •