Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
AMD Graphics Open Source News Linux

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

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."
This discussion has been archived. No new comments can be posted.

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

Comments Filter:
  • nVidia (Score:3, Interesting)

    by Snaver ( 983382 ) on Friday August 20, 2010 @08:22PM (#33320534) Homepage
    I guess this is more than what nVidia has been doing.. Plus for AMD users.
  • by aussersterne ( 212916 ) on Friday August 20, 2010 @08:24PM (#33320546) Homepage

    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.

  • Re:nVidia (Score:3, Interesting)

    by Threni ( 635302 ) on Friday August 20, 2010 @08:27PM (#33320566)

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

  • by Anonymous Coward on Friday August 20, 2010 @08:53PM (#33320744)

    Does each blob have to be ported to each operating system?

    Trust me I can appreciate uploading firmware with a driver but the point of open source is letting people redesign it and do a better job. I have purchased more than a few products that claimed to be open source only to find out later that they were blobware with skeleton code.

  • by Anonymous Coward on Friday August 20, 2010 @09:17PM (#33320874)

    The KMS version of the ATI open source drivers has been a disaster on both the notebooks on which I tried it. Fedora was first to use the KMS version and it was unstable, crashing a lot and eventually corrupted the filesystem on the hard drive. Nothing helpful came out of my Bugzilla report. I wiped it and installed Ubuntu 9.10 and the notebook has been reliable since.
    Then I got a good deal on a notebook which was only a year or two old but had ATI graphics which I could not refuse. I looked at Ubuntu 10.04 and saw, oh no, KMS version of the drivers. But I thought that with six months of development and bug fixing and that it's a fairly recent chipset that the driver writers might have had a chance to try it out and debug it since Fedora. But oh no, not again. Unstable, crashing screen corruption eventually ending in filesystem corruption and another unbootable system. So, once again install Ubuntu 9.10 and it's stable. I just have to tell its user to never, ever press the button to upgrade to 10.04.
    The thing which really hurts ( I am a Linux advocate for 15+ years ) is the corruption of the filesystems. I have been telling anyone who would listen that Linux is more reliable. Then the ATI open source people want to put a very buggy X driver IN THE KERNEL and say that's the only way you are going to get it so the bugs can write all over kernel memory and buffers and stuff up your filesystem.

  • And they suck. (Score:3, Interesting)

    by aussersterne ( 212916 ) on Friday August 20, 2010 @10:09PM (#33321128) Homepage

    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.

  • Re:Now for your part (Score:4, Interesting)

    by whoever57 ( 658626 ) on Friday August 20, 2010 @10:58PM (#33321366) Journal

    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.

  • by Anonymous Coward on Friday August 20, 2010 @11:47PM (#33321550)

    Happily, you're wrong, or rather your hearsay is out of date. fglrx 10.6 is solid on my HD 4200 (integrated), if you don't mind proprietary.

  • Re:nVidia (Score:1, Interesting)

    by Anonymous Coward on Saturday August 21, 2010 @12:19AM (#33321674)

    But will they work? Or will they crash?

    I don't care if something is open source or not unless that gives me a benefit. Since I do not write driver code but I buy hardware that uses it, I only care if it works and whether it will work for the life of my hardware. So far nVidia with their binary blob driver is the only choice unless I want to piss away productivity and stability of my system.

    Now, if AMD brings the quality of the drivers up to where nVidia is, or even makes the open source 3D drivers as good as nVidia's binary blob then I'll be more than willing to entertain AMD video cards again. I'm talking ballpark figures here, even 25% slower driver for similar hardware would work for me. Until then, the only choice I have is nVidia.

  • Re:Now for your part (Score:3, Interesting)

    by symbolset ( 646467 ) on Saturday August 21, 2010 @12:30AM (#33321712) Journal

    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.

  • by Anonymous Coward on Saturday August 21, 2010 @12:43AM (#33321748)

    Simply put: If the consumer doesn't reward good deeds

    What good deeds?

    It's expected that a graphics vendor release drivers that are stable, feature complete, and have competitive performance. That's not a good deed. That's expected. If ATI wants the Linux market they need to produce a competitive product for Linux.

    Its like saying you should go out and buy shitty tires for your car to encourage the manufacture to produce better tires... what????!!!

    I went with NVidia because their drivers are stable, feature complete, and have great performance. The down side? It's closed source.

    Boo hoo. Does it matter if we also run things like Flash, Opera, Wine*, ndiswrapper*, UT2004, ..., etc, etc. I can't even begin to count how often I see ATI fan boys are using ATI "because its open" but don't have any problem with the other closed software they run. Ok... they might complain about flash performance... but they still run it (can't live without Hulu and Youtube!!!).

    Troll me down, but lots of people seem to be finding room for a few exceptions to the open only rule.

    I commend ATI on their recent progress. It's closer to my wallet, but they still have a cap to close.

    *Yes, these are open source, but they practically only exists to run closed source software.

  • Re:OpenGL? (Score:3, Interesting)

    by RAMMS+EIN ( 578166 ) on Saturday August 21, 2010 @01:50AM (#33321948) Homepage Journal

    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.

  • Re:nVidia (Score:3, Interesting)

    by TheRaven64 ( 641858 ) on Saturday August 21, 2010 @04:38AM (#33322354) Journal
    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.
  • by TheRaven64 ( 641858 ) on Saturday August 21, 2010 @05:19AM (#33322442) Journal

    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.

  • by Little_Professor ( 971208 ) <littleprof@@@dodgeit...com> on Saturday August 21, 2010 @05:27AM (#33322474) Journal
    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
  • Re:Excellent (Score:4, Interesting)

    by jonwil ( 467024 ) on Saturday August 21, 2010 @05:33AM (#33322484)

    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)

  • by Kjella ( 173770 ) on Saturday August 21, 2010 @10:39AM (#33324246) Homepage

    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.

  • by davidwr ( 791652 ) on Saturday August 21, 2010 @05:12PM (#33327650) Homepage Journal

    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.

  • by Anonymous Coward on Sunday August 22, 2010 @04:21AM (#33330228)

    There are *at-least* 2 major categories of endeavour:

    Public/Community benefit ( dying in a crash? here's help. education? here. Honestly-fighting addiction? here. ), and, separately,

    Profit ( I make these ultra-widgets, buy them because they're gonna benefit YOU in your competition against others, social/status/business/whatever )

    Mistakenly assuming that the 2 are actually 1 category is where many go wrong...

    The US system of for-profit doctoring puts "health-care" into double-speak's realm, as it CAN'T be HEALTH-care, because it's motivated by profit, and profit is provided by
    1. proceedures
    2. hospitalization
    3. medication,
    and is *protected* by
    4. authority
    ( doctors have the right to remove your self-determination, if they find you to be unacceptably buddhist ( believing in meditation for your survival against illness/disease is mental-illness or delusion, "obviously", according to the medical religion ), e.g.
    and that right of doctors is backed by the police )

    Since creating a healthy population would *slaughter* so much medical revenue, and decimate effective/felt medical authority, it is, in fact, the opposite of what doctors are obliged, by their group, to do.

    ( explicit vs implicit/group motivation )

    You'll find, if you dig, that children of doctors, particularly psychotherapist/psychiatrist type doctors, have a very high failure-rate & suicide-rate...

    That's because the doctors don't develop health:
    they apply treatments & proceedures to illness & disease, managing one's gradual decline "life" in illness.
    "Wellbeing" and "health" can be considered delusions, because illness/disease/injury/death ARE valid, but "health" is fraudulent make-believe, as underneath what some "healthy" person allows themself to notice, is .. underlying illness/medical-condition/whatever!

    It's a religion/paradigm that you simply can't break, no matter how YOUR religion holds health to be right...

    "Health-care" is a lie, in the current system, and HAS TO be.

    Not that truth will ever be spoken ( the AMA wouldn't allow it, for 1 thing )

    hit http://physorg.com/sort/date/all [physorg.com] and then search for the tag ARROGANCE, and dig into the cost, IN LIVES, due to the medical professionals' refusal to tolerate integrity, or accountability...
    ( wash hands? a DOCTOR??? f***-off: you've no right to impose on an Authority in any such way! )

    Years ago it was discovered, in an experiment in a UK ICU, that ionizers dropped cross-infection TO ZERO. ( New Scientist )

    Won't happen throughout the medical establishment, however, no matter how many lives would be saved:
    "ionizers" are too New Age-y, so it's better to simply obliterate a few thousand lives every year, than to admit that some *outsider* means was more valid than medical authority...

    Try asking children of doctors & MENSA-types what they want to be...

    Any of them that want to be a doctor, probably want to be a "Very Important Doctor" ( one of the most depressing statements of any child I've ever heard )...

    Authority/Status's the root addiction of the medical establishment's culture...

    It's their PRIMARY "coin".

    Look at BP: from the MONEY perspective, the sanest thing they could possibly have done was probably to simply declare immediate bankruptcy, on losing that well...

    It'd honour THEIR INVESTORS, instead of doing what they actually did, which was prove to the world that they won't accept/acknowledge either integrity or even the direct order of some sovereign government, because they're BIG, and They Don't Have To ( they were ordered by the US to stop using a specific surfactant, and ignored the order. They photoshopped some published "update" photos, they blocked access to bottom video whenever it showed that there was seeping coming up through the silt, etc )

    Again, the COIN the are really in it for, isn't the coin they *claim* they are in it for...

HELP!!!! I'm being held prisoner in /usr/games/lib!

Working...