Slashdot Mirror


AMD Releases Register Specs For R5xx And R6xx

ianare writes "AMD has recently released register specifications for the ATI Radeon R5xx and R6xx graphic devices. This will (theoretically) allow the OSS community to develop drivers, given time. In fact, engineers from Novell have released a first alpha quality Open Source driver which currently supports initial mode settings. Although current work is focused on 2D, rather than 3D acceleration, this type of information sharing could conceivably lead to an OSS 3D driver."

36 of 121 comments (clear)

  1. R250 by Iam9376 · · Score: 2

    How about the R250 you jerks!!! My Mobility Radeon 9000 is slower than it ever has been under the open source driver! :(

    1. Re:R250 by LWATCDR · · Score: 2, Insightful

      Actually your statement proves my point. You will fall in love with ATI if they get out FOSS drivers for the new GPUs.
      Even then you top video card is only a 6600GT. Not even a 7 series. You are not a high profit demographic but even then they will win you over if they get a good FOSS driver out for the current cards.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  2. glxGears needs to be updated! by siDDis · · Score: 3, Funny

    With shader 4.0 benchmarking!

    1. Re:glxGears needs to be updated! by Drinking+Bleach · · Score: 2, Informative

      Funny, but glxgears was never a real benchmark.

    2. Re:glxGears needs to be updated! by moosesocks · · Score: 2, Funny

      He's exactly correct.

      Isn't it written into the GL Spec that all OpenGL benchmarks must include some sort of tea kettle?

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    3. Re:glxGears needs to be updated! by Ahruman · · Score: 5, Interesting

      I's not the OpenGL teapot, it's the Utah Teapot or teapotahedron.

  3. Re:Hurrah by whichpaul · · Score: 5, Funny

    OSS 3D driver, great! Now we just need some games play.

  4. Old files? by caluml · · Score: 4, Informative

    These files are 12 days old. Aren't these the same files that were released sometime last week?

  5. Re:Hurrah by TeknoHog · · Score: 4, Insightful

    Games, schmames. If we have complete specs of the hardware, there are plenty of things besides graphics we can do with it.

    --
    Escher was the first MC and Giger invented the HR department.
  6. Novell's engineer started earlier by renoX · · Score: 5, Informative

    Note that the reason why Novell's engineer were able to deliver an alpha driver this week is because they had access to the ATI's specification under NDA since two month.

    So the driver isn't the result of only one week of work, even if it's still in an alpha state.

  7. About time! by Opportunist · · Score: 3, Insightful

    Given the quality of their *nix drivers...

    But I think ATI made a smart move. Outsourcing driver development to the OSS community certainly cuts costs.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  8. Re:Secret codes by ThirdPrize · · Score: 2, Funny

    They are from the next series of "Lost".

    --
    I have excellent Karma and I am not afraid to Troll it.
  9. Re:drivers by ettlz · · Score: 4, Insightful

    No, let's hope not. Just release the specs for the benefit of the entire free software community, and let people who know what they're doing write the drivers.

  10. These documents are not as exciting as you think by Tom+Womack · · Score: 4, Insightful

    That the words 'texture', 'instruction pointer' or 'blitter' appear nowhere in either PDF file is a bit of a giveaway.

    Whilst the registers are essential for getting any kind of driver to work, the documents don't describe the exciting features of the graphics processor. They give you enough control over the memory-controller timings to convert any Radeon card into a smoking brick with a small kernel-mode driver, but they don't give instructions which actually make the graphics silicon do things. There's no indication of what the machine-code for the vector processors looks like.

    If you compare this to the documentation that Intel has for its (obsolete) 845 graphics controller, you notice that the whole block of registers for controlling even something as basic as the blitter, let alone the 'set instruction pointer for processing unit N' registers which actually let you set the high-performance processing units in the card to work, are missing.

    These documents let you use an R500 or R600 card as a frame buffer. Not worth making a song and dance about that one.

    Myself, I'd be fascinated to see documentation for the Intel G965 like the documentation for the G845; it clearly exists, there's a paper in the most recent Intel Technical Journal about low-level programming on the 965, it's just not available to mortals unless by attempting to reverse-engineer the x.org 965 driver.

  11. Re:Bad move? by ettlz · · Score: 4, Insightful

    Doesn't this just encourgage the hardware developers to leave it to "the community"?
    This is precisely what we want. Leave driver development to those who know best how the operating system works.
  12. Re:Bad move? by Ihlosi · · Score: 3, Insightful
    Doesn't this just encourgage the hardware developers to leave it to "the community"?



    Professional customers might still want a HW-developer-written driver.


    Regardless of that, it's a better move than keeping the specs secret. Because in the latter case, you're totally at the mercy of the HW developer as far as driver availability and quality goes.

  13. Zonk doesn't post dupes! by Anonymous Coward · · Score: 3, Funny

    He just doesn't want us to forget important news like this! You prick!

  14. Re:drivers by ameoba · · Score: 5, Insightful

    It's entirely possible that they don't -have- specs written in a way that's suitable for public consumption.

    --
    my sig's at the bottom of the page.
  15. Re:These documents are not as exciting as you thin by AntiDragon · · Score: 4, Informative

    If I remember correctly, AMD have stated that there is more to come - the specs and documentation covering the 3D functions has been promised for the "near future". The reason for the delay is due to patents and third party code in those areas and have had to take greater care to make sure the specs and docs aren't encumbered. I hope they follow through on this.

    --
    "...So I hung back and lurked. For 18 months. Can't beat a good old-fashioned lurking."
  16. Re:Bad move? by cheater512 · · Score: 2, Insightful

    Which is why releasing the specs is a great thing.

    Hardware makers do their thing and then they should pass the necessary info to the community so we can write the drivers.

  17. Re:drivers by evanbd · · Score: 2, Insightful

    Very true. There are lots of projects out there where the best (or only) way to find out is to wander down the hall and ask someone.

  18. What's wrong with that? by babbling · · Score: 3, Insightful

    Cheaper for the companies. Better for the community.

    The only losers are the companies (eg. nvidia) that compete with companies clever enough to do this, and companies (eg. microsoft) who have a vested interest in there not being any Free Software drivers.

  19. You say that... by Spasmodeus · · Score: 2, Insightful

    ...as if there are legions of qualified 3D device driver writers just waiting around with nothing better to do.

    Writing drivers for 3D cards is difficult work. "Release the specs and we'll write the drivers" has been the mantra of the open source community for years, but I think we're all in for a disappointment if we're expecting feature-complete, high-performance open-source drivers for these cards any time soon.

    I think some kind of sponsorship to dedicated, full-time devolopers is going to be necessary if we want to see drivers that can compete with even ATI's crappy binary drivers. Otherwise I'll bet the hardware will be long obsolete before the drivers are complete.

    1. Re:You say that... by thegnu · · Score: 2

      "Release the specs and we'll write the drivers" has been the mantra of the open source community for years, but I think we're all in for a disappointment if we're expecting feature-complete, high-performance open-source drivers for these cards any time soon.

      I think that if you have a community making a decent driver, there will be enough 3D driver writers available who know the hardware well enough to delegate simple responsibilities, make good decisions, and code the hard stuff themselves. Probably. I hope.
      --
      Please stop stalking me, bro.
  20. R300 opensource drivers by DrYak · · Score: 2, Informative

    Note that the opensource drivers are only available in the recent releases on most distros. Some not so-recent releases did disable the R300 driver because it wasn't deemed stable enough (opensuse 10.0 come to mind).

    So either the GP poster will have to update to a more recent release of his favorite distro (latest Ubuntu FF and openSUSE 10.2 have it enabled by default. I don't know about the others distro).

    Or if he wants to keep his current installation for some reasons, he has to get the latest DRM (kernel drivers) and recompile them along with the Mesa3D library that corresponds to his X.org server.
    (Note that older versions of Mesa3D are sensitive to versions of Xorg. If you start getting a lots of errors about undeclared stuff when compiling or missing functions at link time, then try to recompile a Mesa release with the same major and middle numbers as the one from your distro - i.e.: keep 6.5.x or 6.4.x depending on your Xorg).

    If you read the instruction on Freedesktop linked above, it's not difficult at all.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  21. Eating my words by MrNemesis · · Score: 3, Interesting

    When ATI were making their first murmurings of releasing specs a few weeks ago, I have to say I wasn't convinced - I've been burned by ATI's shoddy Linux support in the past, and it was going to take alot of convincing that AMD (traditionally very friendly to FOSS) was trying to steer the ship in a different direction.

    And now they've released scads of docs - kudos. This was probably the only way to make a FOSS driver a reality without violating reams of licensed IP. On top of that, I believe their latest set of Linux drivers fix a number of long standing issues, as well as vastly increasing 3D performance (although obviously there are still are QA problems).

    Granted, it's almost all 2D stuff at the moment, but being able to ship a functional, fast and non-crash-prone driver for ATI cards with every modern distro will be another win for Linux in general.

    I'm quite interested to hear about advanced features though - will implementing things like iDCT in XvMC for MPEG2, MPEG4 ASP and H.264 be a reality? Can these things be implemented with 2D registers or do these things need to be run through the 3D shaders nowadays? The low end ATI cards, including the IGP's, would be ideal for HTPC boxes, espcially with Intel dragging their feet on similar support/documentation for their (admittedly otherwise excellent) GMA X3xxx series.

    --
    Moderation Total: -1 Troll, +3 Goat
  22. Re:Bad move? by 644bd346996 · · Score: 2, Insightful

    In the long run, I think you'll find that the kind of customer who won't trust a community-written open source driver to be very high quality won't be using Linux (or BSD or any other Unix) at all.

  23. Absolutley _Spot On_ by burnttoy · · Score: 5, Informative

    I develop drivers for a living (actually for the last year I haven't). I went through the docs a few weeks ago - I spent about 2 hours having a "good" read.

    These docs will let one do the following

    1 - Setup you own video mode
    2 - Setup up a video overlay (not video acceleration)
    3 - Setup a full colour mouse cursor

    That's all. These do not explain how to blit, alpha blend, scale, ROP2, ROP3 or ROP4 or perform any other transform.

    This is useful, but not _that_ useful!

    Hopefully there will be more to come specifically more on the memory/cache controller (essential to get performance up), more on the PCI/AGP bus control, more on the 2D source/dest blit registers, pitch, loop counters and I'd like to know how much of the 2D guts is programmable. TBH I thought we'd have moved on to the point of (somewhat) programmable shaders for 2D these days with loops etc built into the HW (0 clock loops and addressing etc).

    --
    Time flies like an arrow. Fruit flies like a banana.
    1. Re:Absolutley _Spot On_ by amigabill · · Score: 3, Interesting

      I'd also love to see some documentation for the terms and concepts you've mentioned. What are ROP2/3/4, why do we want them around, etc. Not just the registers for them, because not all of us know what those are for or why we care. How does one go from knowing little if anything about graphics to knowing what to do with registers defined in these and other Radeon documents?

  24. Re:Bad move? by 644bd346996 · · Score: 3, Insightful

    So, you think the "give us the specs and we'll do the rest" bit is a fantasy? Has it occured to you that all those reverse-engineered drivers would have been done 100 times faster with specs, resulting in working drivers while the products were still fairly new?

    Look at the resources the r300 and nouveau projects have. If the manufacturers simply dumped the specs on them, they would be able to produce high quality drivers quickly. Even without the specs, they've proven their abilities to make decent drivers the hard way. Or do you have some reason to believe that they wouldn't be significantly more productive with specs? Is there something magic about ATI's programmers that makes them vastly more productive with the same specs to work from?

  25. Re:Hurrah by TeknoHog · · Score: 2, Insightful

    Opening the source hasn't got much to do with gaming success. The so-called succesful platforms, Windows and all the game consoles, are closed. Linux gaming could be pretty good right now, with NVidia's drivers for example. Opening the source will hardly make things less geeky, more attractive, or easier for the masses.

    Quite another thing is your definition of success. For me, Linux has been a major success since 1999, and I hope I'd have discovered it even earlier. I'm not very interested in games, so it's not a factor of success IMHO. It's the same issue with 'being ready for the desktop', it depends on what you do, so you should never generalize (except in this sentence ;)

    --
    Escher was the first MC and Giger invented the HR department.
  26. Re:Promises mean nothing by Ford+Prefect · · Score: 2, Informative

    Those specifications, promised nearly ten years ago, never arrived to my knowledge. If they ever did, it happened long after the G200 was obsolete.

    They did arrive, and for the G400 as well. The first driver to make use of this information was the Utah-GLX module thingy for XFree86 3 - that John Carmack helped with their development. I think the specifications for some particular, programmable section of the cards (WARP setup engine?) weren't released, but microcode blobs for the necessary functionality were.

    I think the G200/G400 were among the first to be supported in whatever the 'proper', non-hacky drivers for XFree86 4 were called, but from my experience with a G400, the open-source 3D drivers weren't always that stable.

    I moved on to Nvidia after that too - stable closed-source drivers for Linux were much nicer than unstable, open-source ones...
    --
    Tedious Bloggy Stuff - hooray?
  27. Re:Promises mean nothing by Andy+Dodd · · Score: 2, Interesting

    I sort of recall hearing sometime down the line that some of the 3D specs were released, but critical stuff needed for acceptable performance or modern effects was missing.

    --
    retrorocket.o not found, launch anyway?
  28. Re:Hurrah by jack455 · · Score: 2, Interesting

    you should never generalize (except in this sentence ;) "Only a Sith deals in absolutes."
    Seriously though, I agree with you about closed source drivers showing gaming is still very weak on Linux, but OSS drivers will allow distros to include accelerated 3d by default and installing a game or 3d effects will be much easier. If only that was the obstacle to gaming on Linux!
  29. Oh, ATi... by Provocateur · · Score: 2, Funny

    I no longer HATi you!

    --
    WARNING: Smartphones have side effects--most of them undocumented.
  30. I'd rather have them contribute by r_jensen11 · · Score: 2, Insightful

    I'd rather there be one set of really stable drivers than two separate sets. With having only one set, we don't have to worry about some advanced programs only running with one driver set while another advanced program we need to use at the same time requires the other driver.