Slashdot Mirror


Open-Source 2D, 3D Drivers For ATI Radeon HD 5000 Series

An anonymous reader writes "AMD has now rolled out open-source 2D and 3D drivers for their ATI Radeon HD 5000 series graphics processors. As described at length over at Phoronix, it's taken nearly a year to complete but there is now public code released that enables 2D, 3D, and video hardware-acceleration for this latest generation of ATI GPUs. For now this code is intended for developers and enthusiasts but with time it will make its way into stable Linux distribution updates. AMD's open-source developers are also beginning to work on ATI Radeon HD 6000 series support, which is hardware not to be released until late in the year."

69 of 245 comments (clear)

  1. I would have had the first post... by MarkRose · · Score: 5, Funny

    I would have had the first post, but I was waiting for my browser window to scroll.

    --
    Be relentless!
    1. Re:I would have had the first post... by Tubal-Cain · · Score: 2, Funny

      So was everyone else, apparently.

  2. nVidia by Snaver · · Score: 3, Interesting

    I guess this is more than what nVidia has been doing.. Plus for AMD users.

    --
    http://www.snaver.net/
    1. Re:nVidia by Threni · · Score: 3, Interesting

      That's why I got an ati card for my ubuntu 10.04 64 bit. I didn't see any other choice!

    2. Re:nVidia by Grishnakh · · Score: 2, Informative

      I guess my next video card will be an ATI card...

    3. Re:nVidia by pnewhook · · Score: 3, Insightful

      Why? Unless the resulting drivers are actually better which remains to be seen, just the fact that they are open source is meaningless.

      Now if someone can fix ATIs shitty OpenGL support, then I'd be all over it. But for right now this makes no difference.

      --
      Tesla was a genius. Edison however was a overrated hack who liked to torture puppies.
    4. Re:nVidia by Trepidity · · Score: 3, Informative

      Traditionally, nVidia had high-quality but closed drivers for Linux, while ATI had a low-quality but open ones (they also had a closed one, but it was pretty bad too). The main change seems to be that ATI's released a lot more specs lately, and has devoted more attention to producing non-crappy Linux drivers.

    5. Re:nVidia by Grishnakh · · Score: 3, Informative

      The fact that they're open source means they'll soon be able to support kernel mode setting, and integrate better into Linux distributions than Nvidia's proprietary stuff.

    6. Re:nVidia by tyrione · · Score: 3, Funny

      Why? Unless the resulting drivers are actually better which remains to be seen, just the fact that they are open source is meaningless.

      Now if someone can fix ATIs shitty OpenGL support, then I'd be all over it. But for right now this makes no difference.

      They have phenomenal OpenGL support, just not for Linux.

    7. Re:nVidia by BLKMGK · · Score: 2, Insightful

      Until this can match the performance of the NVIDIA VDPAU I'm not interested. I need performance and functionality. So far ATI hasn't delivered that and while this is a step forward it's a bit late in the game. Wake me when they do something like the ION chipset that NVIDIA has done so I can have high performance video decoding and rendering on a low power CPU. If they had done this say two years ago or had better performing closed source drivers I might have chosen to use their stuff. They are way late to this party...

      --
      Build it, Drive it, Improve it! Hybridz.org
    8. Re:nVidia by TheRaven64 · · Score: 2, Interesting

      And security holes get fixed faster. nVidia has a bit of a history of leaving security holes wide open (including a remotely exploitable hole that let a malicious png execute arbitrary code in kernel space, which they left for two years). I was recently talking to one of the Noveau developers, and it seems that this hasn't changed recently - they still haven't fixed the hole that he reported to them a year ago.

      --
      I am TheRaven on Soylent News
    9. Re:nVidia by ultranova · · Score: 4, Informative

      Why? Unless the resulting drivers are actually better which remains to be seen, just the fact that they are open source is meaningless.

      Says someone who's never had to try and update the latest version that supported his card by hand to make it compatible with the latest kernel. Linux doesn't have a stable driver/module interface, and that makes closed-source drivers an absolute pain.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    10. Re:nVidia by Bert64 · · Score: 5, Insightful

      The binary driver they produce which you cannot fix if it breaks, and neither can your distro maintainers... you are at the absolute mercy of nvidia for bugfixes...
      The binary driver that only supports x86/amd64 (so no putting your card in a small arm based media player for instance)
      The binary driver that only works with certain versions of X (ie you can't upgrade until nvidia let you)
      The binary driver that only works with certain kernel versions (ie you can't upgrade until nvidia let you)
      The binary driver that will sooner or later drop support for your card, leaving you tied to an old X and kernel version.

      I'd rather not have a binary driver... You are far too dependent on a single entity, who would rather sell you a new card even if the old one is still perfectly adequate for your needs.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    11. Re:nVidia by Threni · · Score: 2, Insightful

      Let's be honest - if I find a bug in some Linux software, it won't get fixed. I won't fix it, and I've tried reporting bugs in the past and they don't get fixed either.

      This card "just works" - it provides great performance for QuakeLive which is just about all I play, and I on my quad core 64bit Unbuntu distro the deskstop is hardly sluggish either. Yes, I'd prefer it if all the source were available, but it's not. If I had any problems I could try using one of the open source driver projects, but I don't have the need just yet, and by all accounts performance is not up there with the evil binaries.

    12. Re:nVidia by TheRaven64 · · Score: 2, Informative

      No, the security bug that he reported has not been fixed after one year. Another bug (one which allowed remote code execution in kernel space) is now fixed, but the fix came two years after the initial report. Please try reading what I wrote before you reply next time.

      --
      I am TheRaven on Soylent News
  3. Doesn't help with all the older cards. by aussersterne · · Score: 4, Interesting

    After years of being a die-hard Nvidia-on-Linux user, I took a risk and went with a laptop that had integrated ATI graphics when I made my most recent upgrade.

    Nothing but instability, incompatibility, artifacting, underperformance, a mess. I regret it. I finally got an IBM Advanced Mini-Dock and put an Nvidia PCI-Express 8600GT in it (needed something low power enough to draw from the slot alone, small enough to fit in the tiny mini-dock space).

    Installed the Nvidia drivers and away I went, stable and fast.

    Meanwhile, on Windows nobody (neither IBM nor Lenovo nor ATI) have managed to release updated, much less Windows 7-compatible, drivers for the integrated ATI graphics in my Thinkpad. The machine is only two years old but it's all EOL as far as ATI is concerned.

    This is a good move by ATI, I suppose, but it's woefully late, and it doesn't do anything about existing hardware on any platform. ATI's hardware might be okay, I have no idea, but their driver support on every platform sucks ass.

    --
    STOP . AMERICA . NOW
    1. Re:Doesn't help with all the older cards. by Cyberax · · Score: 4, Informative

      Uhm. ATI has OpenSource drivers for _all_ hardware starting from r100 for Linux. And all their drivers support KMS.

    2. Re:Doesn't help with all the older cards. by Draek · · Score: 2, Insightful

      Did the problems you experienced with ATI cards on Linux occur with the Open Source driver, or did you (oh-so-mistakenly) believe "propietary = better" and tried the steaming pile of trash that's the Closed Source ones?

      --
      No problem is insoluble in all conceivable circumstances.
    3. Re:Doesn't help with all the older cards. by Minwee · · Score: 2, Informative

      I don't think that's what 'older' means. It may be hard to believe, but there are still systems out there with video chipsets older than the r100, and support for some of them can be a little shaky.

    4. Re:Doesn't help with all the older cards. by MBGMorden · · Score: 2, Insightful

      I have no qualms with the second half of your statement, but there's no denying that the R100 is old. Really old in computing terms. Just because there exist EVEN OLDER chipsets still in use doesn't negate that fact. It'd be like saying that a 486 isn't slow because you can find a 286 still in use. It might be slowER, but the 486 is still slow too.

      --
      "People who think they know everything are very annoying to those of us who do."-Mark Twain
    5. Re:Doesn't help with all the older cards. by whoever57 · · Score: 2, Informative

      In my household, we have 3 Thinkpads with ATI graphics, all now running Ubuntu 10.04 and have not seen any of the issues you describe. At work, we also have Thinkpads with ATI graphics running Ubuntu 10.04 and have not seen these issues. I have been running a desktop with nVidia chipset and ATI graphics under Gentoo Linux and it is rock solid.

      Perhaps you got some bad hardware?

      --
      The real "Libtards" are the Libertarians!
  4. Any news on if the audio is supported? by Fallen+Kell · · Score: 3, Informative

    Since the 5x00 series cards also included built in audio for the HDMI connection, did ATI also make drivers which support the full functionality? Or is this just video only?

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
  5. ATI & Linux: Confusing as always by Anonymous Coward · · Score: 4, Insightful

    These days, I pretty much only buy motherboards with intel graphics, simply because I don't want to have to deal with the hassle of installing NVidia's closed drivers, and for the life of me I can't figure out what I am supposed to do with an ATI card. There seems to be half a dozen open source driver projects always on the go, with no clear indication of what cards work and what cards don't. Add to that the constant complaints I see over their own closed source drivers, and that's another brand I simply won't consider. Someone tell me I'm wrong and point me to something that can clarify the situation.

    1. Re:ATI & Linux: Confusing as always by mobets · · Score: 2, Informative

      My last NVIDIA card was a 6800 (not exactly new). Up through this card, NVIDIA's Linux support has been rock solid. I'm always confused when people complain about the lack of open source drivers when the proprietary drivers are so good.

      Also the install isn't hard:
      Download the installer and run it.
      On gentoo (great mythtv support): emerge nvidia-drivers.

      --

      It was me, I did it, I moved your cheese
    2. Re:ATI & Linux: Confusing as always by imroy · · Score: 2, Informative

      ...for the life of me I can't figure out what I am supposed to do with an ATI card.

      Here:

      apt-get install xserver-xorg-video-radeon firmware-linux-nonfree

      I recently upgraded my ancient Athlon XP desktop system with an AMD 785G-based motherboard and an Athlon II x2 250 processor. The on-board RS880 (HD 4200 equivalent) graphics works pretty well (I don't need much). It took me a little hunting to figure out which X.org driver to use (the "radeonhd" driver is older and now unmaintained). It was also sluggish and didn't play video until I installed the firmware package - thankfully I found a message in the X log file complaining about not being able to load the firmware file. I now run a custom 2.6.35 kernel with KMS too. Interesting things are happening with Linux graphics at the moment.

  6. Now for your part by Bruce+Perens · · Score: 5, Insightful

    Go out and buy some. And then help to make the driver rock-solid, if you're capable.

    We've got to reward the companies that do this.

    Bruce

    1. Re:Now for your part by whoever57 · · Score: 3, Interesting

      We've got to reward the companies that do this.

      But how does ATI know that you bought an ATI card because of the open-source drivers?

      Perhaps an alternative (and cheaper approach) is to go and download the drivers from ATI's website while using a browser that sends a user agent that is clearly identifiable as a Linux system.

      --
      The real "Libtards" are the Libertarians!
    2. Re:Now for your part by symbolset · · Score: 3, Interesting

      I'm in favor of this, so let's give AMD some proper recognition. I deal a lot with AMD servers and bladeservers as well as the Intel ones. The memory architecture of recent AMD servers is four channels rather than Intel's three. This allows for configurations of memory that are in the more familiar powers of two, as well as providing 1/3 more memory bandwidth. In some cases the AMD servers offer more net memory. In addition it allows more special things, like 256GB on a two processor server, which Intel currently can't do in a retail server.

      The AMD twelve-core servers open the possibility of a terabyte of RAM if you're looking for that. They considerably alter the cost-benefit analysis of Virtual Desktop Infrastructures (VDI).

      AMD has done away with the multi CPU premium, so as your real world problem scales the cost of servers scales linearly rather than logarithmically - up to the point that your problem can be solved with 96 x64 cores.

      The cost point now isn't about the CPU, it's about the RAM.

      --
      Help stamp out iliturcy.
    3. Re:Now for your part by Anonymous Coward · · Score: 2, Insightful

      But how does ATI know that you bought an ATI card because of the open-source drivers?

      Because of the email I will send them telling them why. The same way banks I chose not to use for this reason heard about it that way when most bank websites still couldn't be accessed from linux.

  7. That's Realtek by Sycraft-fu · · Score: 3, Informative

    They just include a Realtek soundchip on board that handles the HDMI audio. So you'd have to look to Realtek for OSS drivers as ATi themselves doesn't control the code.

    1. Re:That's Realtek by MostAwesomeDude · · Score: 4, Informative

      I don't have an HDMI audio sink (feel free to send me one, BTW!) but HDMI audio should work on just about every Radeon that has it. The driver exposes the I2C controls for the audio to the rest of the kernel, and then the pre-existing ALSA code handles the rest.

      --
      ~ C.
  8. Re:No thanks by Anonymous Coward · · Score: 2, Funny

    Next time a company screws you, please let us know. I want to know when to laugh.

  9. Re:Video card recommendations? by Suiggy · · Score: 3, Informative

    ATI HD5770 or nVidia GTX260 or GTX460. If you want to be able to use the latest in OpenGL 4.x and OpenCL, you'll want to go with ATI HD5770 or GTX460.

  10. Re:No thanks by grcumb · · Score: 4, Insightful

    I prefer to buy based on pragmatism, not zealotry.

    You're reading far too much into Bruce's statement.

    If buying ATI cards because of their improved performance encourages ATI to make a greater investment in open source drivers, which in turn further improves features and performance, how is this is any way NOT pragmatic?

    There may be such a thing as open source zealotry, but, when they choose it, the vast majority of people choose FOSS because it's better than the alternatives.

    Lastly, accusing Bruce Perens, of all people, of zealotry is not a great way to impress us with your perspicacity.

    --
    Crumb's Corollary: Never bring a knife to a bun fight.
  11. Re:How much is real code? How much is blob? by MostAwesomeDude · · Score: 4, Informative

    Radeon firmware is used to program a few special-purpose chips on the board. Up until the HD series, firmware was only needed to start up the DMA engine and get acceleration going; modern cards need a second piece of firmware to enable interrupts, for e.g. low-latency audio and vsync.

    If anybody ever wanted to go out and reverse-engineer these blobs, they could, but it's really not worth the trouble since the level of functionality is so small and AMD already gives us bugfixes for the ucode when needed. That time might be better spent figuring out the patented parts of the chipset (video decoding, texture compression) which AMD isn't allowed to document for us.

    --
    ~ C.
  12. No "No thanks", thanks. by yacwroy · · Score: 4, Insightful

    There are many issues in the world that can best be solved by people being nothing like you.

    Simply put: If the consumer doesn't reward good deeds, business (with it's legal obligation to maximize profit) won't do as many good deeds.

    In this case, your pragmatism, along with that of millions of others, is partly to blame for closed source drivers are so common. You yourself probably have lower quality graphics or operating system functionality due to this.

    While it's fine to be pragmatic in many circumstances, your stance that buying on principle isn't morally above buying through total pragmatism is, IMO, ultimately harmful.

    Blood diamonds are an extreme example of what comes from mass pragmatism. Would you knowingly buy one it it was better value?

    --
    You agree with me.
  13. Re:No thanks by sabre86 · · Score: 4, Insightful

    Bruce said "we've got to reward the companies that do this" not "we've got to punish the companies that don't." The former is pragmatism -- seeking to achieve and support a positive result (vendor provided open source video drivers) through reasonable means. The latter is zealotry -- seeking to punish a group through not following the "one true way".

    Working vendor supported FOSS drivers are useful as the abilities to repair, improve, share and modify the drivers are all of considerable utility to the graphics card using community (even if not to one particular person in it). I do agree that the drivers should be at least servicable before anyone should buy a product. But servicable is all they need to be to be useful now.

    --sabre86

  14. And they suck. by aussersterne · · Score: 2, Interesting

    This is on Fedoras 11, 12, and 13 with a Mobility X1400. I've tried both radeon and radeonhd. I tried dozens of options and no options.

    Crashes. Freezes. Panics. Unpredictable behavior (woah, garbage screen, hit CTRL-ALT-BKSP to restart server, hey, now it works, but two hours later, woah, garbage again!).

    I gave up on the 3D support but even had trouble and unpredictable behavior with the 2D support, especially with Xrandr and dual monitors.

    Thought for a moment that it might be worth it to try the closed-source drivers but of course the X1400 isn't supported in the current version and the older version that supports the X1400 would require that I step half a dozen Fedora versions back. Not gonna happen.

    I've been a Linux user since 1993, when I retired an old Sparc+SunOS system. But I find that the older I get, the less patience I have for the ideological morass that is the Linux community.

    - Just because a driver exists does not mean that it works
    - Just because a project exists does not mean that it works
    - Submitting a bug report no longer helps it to work
    - Submitting a patch is generally the same as submitting to /dev/null
    - Generally, submitting a either generates (1) ridicule, (2) lectures, or (3) work

    Seriously, before simply docking the laptop and running Nvidia, I was crawling through bugzilla applying patches to the source RPM for the Xorg nvidia driver to fix things as basic as icon corruption.

    Of course, many of the patches were submitted months or even years ago, so they no longer cleanly apply and have to be adapted. You can choose (if you want to avoid 2D corruption with the X1400) either to re-patch and re-compile by hand each time an Xorg update comes down the pike, or you can exclude Xorg updates in yum. Neither is acceptable, but it must be done if you want to avoid screen corruption with a Thinkpad T60 2007-xxx model. Why haven't the patches been included in subsequent releases, given that they fix the issues in question?

    I'm sure there's some perfectly good ideological reason having to do with some form of code (or even development process) perfection. Of course, such reasons have nothing at all to do with making code that actually _works for users_.

    This mirrors my experience of bug reporting with KDE and GNOME projects. Take the time to install the symbols binaries and generate nice bug reports and what you get are nontechnical explanations of why you're doing something wrong (wrong hardware, wrong preferences, wrong use cases, whatever) rather than any interest in actually making software work for users.

    Meanwhile, Snow Leopard as a hack runs better and more stably than Fedora 13, even with the binary Nvidia drivers.

    --
    STOP . AMERICA . NOW
    1. Re:And they suck. by Ethanol-fueled · · Score: 2, Informative

      I have laptop with a mobility radeon, 9000 running 'Buntu 9.10, and it's rock-solid. I can spin the cube smoothly with multiple youtube videos playing in real-time with the rotation. Now, before 9.10, the damn thing crashed all the time. You may want to switch to a more recent version of your distro if you want things to work.

      I also had an integrated radeon (don't remember which, but still more powerful than the laptop) in my desktop which always froze up under Linux. I blamed buggy drivers as you did, but eventually Windows also started locking up. I determined that it was a hardware problem that Linux, for some reason, triggered more than Windows did.

  15. T60 2007-GBU by aussersterne · · Score: 2, Informative

    The ATI X1400 works fine in Windows (can even game for hours some weekends without trouble), though the driver support files had to be edited to make the driver installable, given that ATI no longer supports the chipset, so no Windows 7 drivers.

    That's 2D + 3D, rock solid.

    In Linux, even in 2D (no 3D) with KMS disabled on an unpatched radeon driver (both in F12 and F13), I get icon corruption, cursor corruption and tearing, and risky Xrandr operations. All gets much, much worse if you start to try to use external monitors with higher resolution than the internal resolution.

    A hack install of OS X Leopard with zero X1400 support using the X1000 driver works better, though you have to install Mouse Locator as a hack to hide cursor tearing. But once you do that, all is well, and it's much easier than installing all the needed patches for the radeon src.rpm to get stable graphics in Linux.

    --
    STOP . AMERICA . NOW
  16. Correction needed? by Futurepower(R) · · Score: 2, Informative

    Interesting.

    Isn't there something wrong with this paragraph?

    "Seriously, before simply docking the laptop and running Nvidia, I was crawling through bugzilla applying patches to the source RPM for the Xorg nvidia driver to fix things as basic as icon corruption."

    Did you mean "Xorg ATI driver"? Otherwise, I got lost somewhere.

  17. nVidia may die? by Futurepower(R) · · Score: 2, Informative

    "... if NVidia dies..."

    What SemiAccurate article indicates that nVidia may die? This one?

    Nvidia's Fermi GTX480 is broken and unfixable -- Hot, slow, late and unmanufacturable.

    Quote: "Nvidia on the other hand did not do their homework at all. In its usual 'bull in a china shop' way, SemiAccurate was told several times that the officially blessed Nvidia solution to the problem was engineering by screaming at people. Needless to say, while cathartic, it does not change chip design or the laws of physics. It doesn't make you friends either."

  18. How deep is your vision? by Bruce+Perens · · Score: 4, Insightful

    Thanks for the kind words. What I find in general is that those who feel this is simply a matter of doctrinal rigidity are only interested in solving today's problem, without much vision toward what their lot might be tomorrow. Working to improve your own future is hardly zealotry.

    Obviously it makes sense to decrease the degree to which we must be supplicants of a hardware vendor. That's even more true when the hardware vendor is in an essentially unchallenged duopoly. A vendor is working in our interest when they help us to free ourselves from the need to go to them to fix bugs, add functionality, and support our devices through software and hardware changes. When a vendor doesn't do this, we live constantly under the threat of withdrawl of support.

    Rewarding vendors who do less will make it more certain that we'll get less in the future.

    This all sounds eminently pragmatic to me.

  19. Imaginary? Really? by fyngyrz · · Score: 4, Insightful

    Imaginary property.

    You'll find out how "imaginary" it is when your refusal to financially support the people doing the work causes them to stop doing it.

    See, that's the huge fallacy with the argument that intellectual property has no owner, and therefore no financial value to any entity as it should be distributed without recompense: People generally do work because they are motivated. Things like houses, sending the kids to college, paying the water bill, buying the occasional gratuitous item -- if you take months of work and don't return something (and I'm not talking about a pat on the back), eventually, people will begin to ask themselves, "So... why did I do this again? I could have been working at McDonald's and paying off my house."

    I will grant you it is easy to take work without recompense - particularly software, ideas, and performance recordings - especially since digital transfer has become so easy of itself; but I put it to you that your mindset is going to either kill the golden goose, or mutate it into something you're *really* not going to like. I don't think there's even a ghost of a chance you're going to see a transition into a Soviet-style "from each according to their ability, to each according to their need"; and that's the *only* type of society where your idea of "imaginary property" translates into something sensible: property that isn't so much imaginary, but owned equally by all.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:Imaginary? Really? by fyngyrz · · Score: 3, Insightful

      Photoshop has benefited many. Is adobe wrong to sell it? Windows has benefited many. Is microsoft wrong to sell it? Quicken has benfited many. Is intuit wrong to sell it? Is a doctor wrong to charge you for his diagnosis? Or a mechanic? Just asking.

      --
      I've fallen off your lawn, and I can't get up.
    2. Re:Imaginary? Really? by fyngyrz · · Score: 3, Insightful

      You're arguing for a particular income model. Do you think you should have the right to define that choice for others?

      --
      I've fallen off your lawn, and I can't get up.
    3. Re:Imaginary? Really? by fyngyrz · · Score: 2, Insightful

      research would be much more valuable to me if it was accessible.

      Yes, certainly. What I'm asking here is, where do you obtain the right to that value, as opposed to the people who did the work? Is it your position that just because something is valuable, it should be given to you? What if that changes the value available to the inventors? Should it still be given to you anyway?

      I get that you want the valuable stuff. What I don't get is why you think you have a right to it.

      society has much more ignorants than savants, so why should fencing knowledge be a net gain to society?

      Simply speaking, it's a viable economic model. It's provided a great deal of progress in a very short time -- surely you recognize that in the last hundred years or so, we have made more technical / knowledge progress than ever before in human history; if we cannot credit a capitalist attitude towards knowledge as the cause, we can at least say that the capitalist attitude towards knowledge hasn't prevented it from happening. It's really kind of hard for me to fault the system. And while I see others trying, I don't yet see anything convincing in the various contrary arguments.

      --
      I've fallen off your lawn, and I can't get up.
  20. Re:Awesome. by macshit · · Score: 2, Informative

    Yes.

    Reading through the comments, there's a lot of people who are still whining traditional anti-ATI whines, but AMD is being very smart about things, and is thinking in the long term. Nvidia will eventually follow, I'd wager, but Nvidia upper management is very stubborn and fixed in their ways, so it may take a while (in my experience, Nvidia engineering is much more enlightened in their views, but they don't set the company's policies).

    --
    We live, as we dream -- alone....
  21. Has to mean better drivers! by Thaidog · · Score: 2, Informative

    But could they have been any worse? I always loved the way I hacked around for weeks trying to get 3D working after the drivers finally installed correctly and were apparently working correctly... all but 3D... and then to find out on some obscure link on google that the driver did not support it... but no mention to be found on ATI's site. But now that they are opensource these things can change! (Or at least be fscking documented correctly)

    --

    ||| I still can't believe Parkay's not butter.

  22. Here is your benefit by Weaselmancer · · Score: 3, Insightful

    I don't care if something is open source or not unless that gives me a benefit.

    The benefit is: If it crashes, you can do something about it.

    You have the source. You can compile it yourself. If it doesn't work the way you'd like, you can change it.

    With open source, you have many eyes looking at the code. If there is a subtle bug it will more easily be found by 10,000 people looking at it rather than 10 or 20.

    That's your benefit right there.

    --
    Weaselmancer
    rediculous.
    1. Re:Here is your benefit by devent · · Score: 2, Insightful
      There are more practical benefits of an open source driver.
      • The driver will be longer supported then AMD or Nvidia ever would do;
      • KMS is nice to have;
      • 3D effects like Compiz or Kwin should run better because they can fix any bugs in the driver faster;
      • someone can port the driver to *BSD or Heiku or BeOS or some other system;
      • you don't need to install the driver again and again only because of an kernel update;
      • you don't have to install the driver at all and your system will just run;
      • Code from the driver can be reused and the driver itself can reuse other code, that means less bloat and more security and stability in the kernel;

      Let see if others can write more benefits.

      --
      http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    2. Re:Here is your benefit by rantomaniac · · Score: 5, Insightful

      You have the source. You can compile it yourself. If it doesn't work the way you'd like, you can change it.

      Sure, but the glacial pace at which Gallium3D and its drivers advance is a testimony to how hard it must be to write a graphics driver. If it was a job for your average programmer, the guys working on this stuff would have given us functional drivers two years ago. At this pace you'll be able to enjoy stable and fast R700 hardware support another 3 years from now.

      In the future, when those drivers are done, they will surely be benefits to them being open source. But the only actual benefit now would be if some ingenious hacker got involved, committed and wrote the drivers in a couple months. Currently the development model isn't working very efficiently, because R600 docs were released over 2 years ago and we're only beginning to see functional drivers.

      Open source works better when the barrier to involvement is lower, OpenGL infrastructure is more complex than most kernel drivers. It requires:
      * knowing the OpenGL API intimately
      * a firm grasp of 3D math and rasterization process
      * an idea how to manage non-uniform memory and do low level hardware access in a thread-safe way
      * a fair bit of compiler design for compiling shaders to GPU instructions
      * all of the above done in C, because we still haven't developed a better language for low level work (see this paper for things a driver design language could have)

    3. Re:Here is your benefit by Little_Professor · · Score: 2, Interesting

      The benefit is: If it crashes, you can do something about it.

      Sure. And how often have you re-written and recompiled an open source graphics driver? In fact, how often have you even bothered to look at the source?

      For the vast majority of users, a driver that just works is preferable to a an open-source mess of a driver that has awful performance

    4. Re:Here is your benefit by Homburg · · Score: 2, Informative

      At this pace you'll be able to enjoy stable and fast R700 hardware support another 3 years from now.

      When you say "three years from now," I think you mean "now." The machine I'm posting this from has stable and fast 3D support for its R700-based card from the open source drivers right now.

    5. Re:Here is your benefit by Kjella · · Score: 2, Interesting

      mode="Devil's advocate'. And I say this as the owner of a HD5850...

      The driver will be longer supported then AMD or Nvidia ever would do;

      Can be. Will be implies that there are people that would, but there's no abundance of volunteers.

      KMS is nice to have;

      nVidia's drivers don't use KMS, and are very well featured. Why would a closed driver need KMS?

      3D effects like Compiz or Kwin should run better because they can fix any bugs in the driver faster;

      Assuming those projects will bother to fix drivers and not just say "fix your driver, it works with software rendering".

      someone can port the driver to *BSD or Heiku or BeOS or some other system;

      We could also have OpenGL 3/4 support by now. But we don't, not even in mesa... Still, I suppose in theory it's nice.

      you don't need to install the driver again and again only because of an kernel update;

      With DKMS this does not seem to be an issue unless the kernel interfaces have changed. Actually xorg updates are a much bigger headache.

      you don't have to install the driver at all and your system will just run;

      True. But modern distros have made this as easy as checking off a tickbox, it's no longer a complicated procedure.

      Code from the driver can be reused and the driver itself can reuse other code, that means less bloat and more security and stability in the kernel;

      I would not be touting the horn too much about that one. Closed source drivers share code between all three platforms (Win, Mac, Linux) so they draw upon far more resources than all the OSS work on Linux combined.

      --
      Live today, because you never know what tomorrow brings
    6. Re:Here is your benefit by bodski · · Score: 3, Informative
      You are missing the fact that when AMD introduced their open source strategy, they had a huge backlog of 'IP' to trawl through and review before releasing the documentation. Things started slowly and the wait for my R500 based laptop GPU to reach a decent level of support felt like a long time.

      But from what we are seeing now AMD have made steady gains and have reached a point where they are releasing an OSS *driver* (albeit an immature one) for their latest GPU series less than a year after the hardware was released. Being able to 'drop' support for the proprietary drivers on legacy hardware earlier (in favour of the OSS driver option) will free up more developers within AMD to work on drivers for the latest GPUs. As the OSS driver team become and more more integrated within the workflow of the company we can expect to see OSS driver code and documentation get closer and closer to the hardware releases.

      In short it looks like things are paying off for AMD and the OSS driver strategy. Keep up the good work AMD!

  23. Re:OpenGL? by RAMMS+EIN · · Score: 2, Interesting

    I wonder how much of the OpenGL stuff is actually in the hardware, and how much is in the software. With my limited knowledge and understanding, it seems to me that modern graphics cards are mostly execution engines for instructions that perform simple, primitive operations, and that most of the OpenGL support is actually in Mesa, with the driver mostly being there for allowing communication from Mesa to the hardware, and some non-Mesa things which I imagine would mostly be non-OpenGL.

    Within Mesa, there is, or at least used to be, an implementation of OpenGL that runs on the CPU. This could be used to provide OpenGL compliance, without any support from the graphics hardware, but it would be extremely slow. Support for 3D on specific chipsets consists mostly of implementing whatever OpenGL specifies in a way that makes it fast on that chipset. If the chipset has a dedicated function for a feature, you can use that. If the chipset has primitives that you can use to implement the feature, you can use those. If all else fails, you can use the code that runs on the CPU as a fallback.

    Assuming all the above is correct (and I would like someone who actually knows these things to weigh in on that), the answer to your question would be that the open-source support for OpenGL can be as correct w.r.t. the specifications as people care to make it; AMD isn't much of a factor in this.

    --
    Please correct me if I got my facts wrong.
  24. Re:Video card recommendations? by the+Hewster · · Score: 3, Informative

    ATI HD5770 or nVidia GTX260 or GTX460. If you want to be able to use the latest in OpenGL 4.x and OpenCL, you'll want to go with ATI HD5770 or GTX460.

    This reply post contains many errors and is not at all informative. The grandparent asked for video cards that work well with open source 2D/3D drivers, the ATI card he cites only has experimental support only, and will probably not be functionnal for a while, and those 2 nVidia cards he cites have no working 3D driver AT ALL. Please mod that post down to the basement.

    The correct answer to his question is:

    buy an ATI Radeon X1900 or less video card, I suggest the X1650. These cards have good open source 2D/3D drivers, where released within the last 5 years and can run the applications you mentioned. Anyting more recent would probably be less stable, but will improve over time, and Intel does not build "video cards".

  25. Re:Video card recommendations? by Nysul · · Score: 3, Informative

    You probably don't need a 5770, you can get a 4770 for about $30-60 cheaper and it will likely be more than enough. I can play any game out there right now on high settings at 1680x1050. If you run a higher resolution you do probably want the 5770. In

  26. Re:Mac OS X by V!NCENT · · Score: 2, Informative

    The open source drivers are expected to get 70% of the total performance of Catalyst/fglrx. However 2D has always been much faster with the floss drivers. The drivers are also much more stable, integrated and polished. Gallium now also has LLVM to optimize performance. Playing previous generation games like Prey and Half-Life 2 is not a problem.

    Furthermore, down the road, due to Gallium, it will also accelerate stuff like OpenVG.

    --
    Here be signatures
  27. Re:Mac OS X by TheRaven64 · · Score: 3, Informative

    Gallium now also has LLVM to optimize performance.

    Last I heard from the Gallium guys, they'd given up using LLVM for anything other than the CPU fallback path because of the double mismatch between TGIR and LLVM IR and between LLVM IR and how GPUs actually work. LLVM is a low-level VM in the same way that C is a low-level language: i.e. only if your target looks a lot like a PDP-11.

    The nice thing, in theory, about Gallium, as you say, is the separation of state trackers from the back end, meaning you don't have to implement most of an OpenGL stack in your driver. In practice, this doesn't seem to be saving as much effort as was first thought.

    --
    I am TheRaven on Soylent News
  28. Re:OpenGL? by TheRaven64 · · Score: 3, Informative

    Warning: This post contains some massive oversimplifications. If you have worked on 3D drivers, then you will probably find reading it to be quite painful...

    A modern GPU actually does very little that is graphics specific. It is basically a stream-vector coprocessor. It's as much a general-purpose processor as the CPU, it's just optimised for a very different workload. The CPU, generally, is optimised for integer-heavy code with a branch roughly every 7 instructions. The GPU is optimised for doing more or less the same sequence of floating point operations to a large number of inputs with branches every few hundred instructions. You can run any algorithm on either, but any given program is likely to be much faster on one than the other.

    All of the OpenGL bit is implemented in the OpenGL state tracker. This may be part of the OS or part of the driver, depending on your target platform. This keeps track of all of the API state and issues commands to the hardware. The hardware basically (meaning, this is a really massive oversimplification) understands three commands: copy data to VRAM from RAM, copy data from RAM to VRAM, run program. All of the clever stuff is done using the third command, which runs some program (generated by the driver) on the GPU. There's also some other stuff for controlling the DAC or DVI/HDMI/DP outputs, but this is a relatively small part of the driver.

    With Gallium, the state tracker is completely isolated from the back-end drivers. For OpenGL, the state tracker is MESA. This generates programs in TGIR, which is an abstract instruction set that is designed to look like a GPU. The back end driver then compiles these for the target GPU (or CPU if the GPU doesn't support them) and runs them. All of the OpenGL-specific code is in Mesa, and is shared between all drivers. You can remove this and plug in an OpenVG or XRender state tracker (or even a Direct3D one, if someone wants to write one) to expose a different API (or you can plug in several at once) and the driver is completely unaware of this. It just compiles and runs the programs that the state tracker generates.

    In contrast, the older DRI drivers and the blob drivers contain their own state trackers. In the case of the DRI drivers, they contain a copy of Mesa (or just have some back-end code in the main branch of Mesa). In the case of the ATi and nVidia blobs, they have a complete OpenGL implementation.

    What you describe is basically how the old drivers worked. It's a lot of effort to maintain those, because the OpenGL spec evolved a lot over time, and now cards don't actually support any of the stuff that the old interfaces specified directly, the drivers just generate programs that the card uses to run them. It's also problematic because it ties the driver to a specific API, so if you want OpenVG or XRender support, you need to either write a new driver or implement these APIs on top of OpenGL, rather than running them directly on the card.

    --
    I am TheRaven on Soylent News
  29. Re:What about OpenCL / FireStream programming? by TheRaven64 · · Score: 3, Interesting

    nouveau does not support CUDA nor OpenCL yet

    One of the projects I've recently been involved with is a GPGPU compiler for nVidia cards using a friendly fork of Nouveau. The interfaces to the compute units have been reverse engineered, as have the instruction sets for the compute shaders. This means that we are currently able to load and run GPGPU programs compiled without any nVidia code. So, there is enough information available to implement OpenCL for nVidia cards, meaning it's likely to appear in the next few months.

    --
    I am TheRaven on Soylent News
  30. Re:Excellent by jonwil · · Score: 3, Interesting

    Good luck getting VDPAU in the open source drivers.
    Apparently, releasing the specs required to support the hardware video decoding in the ATI chips would compromise Windows based DRM (i.e. where the app decrypts the video file and sends decrypted but compressed video data to the video card, the specs for the video decode part would let you build a program to intercept the compressed video data before it gets sent to the card)

  31. Hardware accelerated video decoding by Haiyadragon · · Score: 2, Informative

    Do the drivers support h264 hardware accelerated video decoding? Currently Nvidia's (awesome) vdpau is the only way to play 1080p movies without frame drops on Linux. These ATI drivers are only interesting if they have this capability.

  32. Re:Excellent by Kjella · · Score: 2, Insightful

    Unfortunately, those specific bits are only part of the impact that DRM has. They also have to protect all the underlying systems too, like memory management. They can't release an implementation that would easily let people find:

    1. Allocating memory for compressed frame
    2. [magic loading frame]
    3. Allocating memory for uncompressed frame
    4. [magic decoding frame]

    If they did, people could easily grab those from GPU memory. Also, part is not handled by UVD hardware but rather by shaders, so while we have the instruction set they will not give us their exact internal format for shader programs. Because if they did, we could find where and how it's being called and grab the frames from there. And even such things as basic DVI/HDMI output, they have to be very careful to teach us how to output an image, but not capture any HDCP protected frames while they're being output.

    DRM is not just one walled off area with "here be dragons". It's a poison all over the system that makes it really, really hard for AMD to be open about anything.

    --
    Live today, because you never know what tomorrow brings
  33. Re:Video cards are useless without games. by LingNoi · · Score: 2, Informative

    That's why Starcraft 2 and Diablo 3 are pc only, why Portal was such a major flop that nobody has ever heard of and why there are currently over 2 million people playing multi-player on steam as well as millions playing eve-online, everquest 2, Guildwars, Puzzle Pirates, Star Trek Online, War Hammer, etc, etc..

  34. Can't they just release the specs? by davidwr · · Score: 2, Interesting

    Wouldn't it make more sense to release the specs ahead of time so people could write their own drivers?

    Oh wait, they want to keep the secret sauce for competitive reasons.

    Okay, release enough specs and maybe even a reference driver that doesn't tell you how to take advantage of the novel features of this board, then release updated specs every 6 months with things that competitors' boards can do as well.

    Also, these days, unless your hardware is doing a truly revolutionary or niche task, there's no reason not to let it pretend to be compatible with existing but inferior equipment for which there are already open-source drivers. New network card? Have a compatibility mode so it can do "basic" operations at 100mb/sec. New graphics card? Have a compatibility mode with a well-know, open-source-driver-available circa-two-years-ago-at-your-current-price-range-but-now-dirt-cheap video card. New sound card? Ditto.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  35. This leaves NVIDIA in some pretty hot water... by dandaman32 · · Score: 2, Informative

    If NVIDIA doesn't get off their ass they've got some dark times ahead. They decided to get butthurt over XFX releasing cards with ATI chipsets on them, yet gamers are still sticking with XFX because their cards are such great quality. So they're losing parts of the gamer market, and now they have the chance to lose Linux users due to an open source driver being out there for ATI cards vs. only a closed source (albeit, admittedly, fairly high quality) one for NVIDIA cards.

    Currently an owner of an XFX GTX 260 card running on NVIDIA's closed source driver and Fedora 13. If I upgrade it's probably not going to end up in NVIDIA's favor, between XFX making good, high quality ATI based cards and AMD's open source drivers.