Slashdot Mirror


AMD Starts Rolling Out New Linux Driver Model, But Many Issues Remain

An anonymous reader writes: With the upcoming Linux 4.2 kernel will be the premiere of the new "AMDGPU" kernel driver to succeed the "Radeon" DRM kernel driver, which is part of AMD's long talked about new Linux driver architecture for supporting the very latest GPUs and all future GPUs. Unfortunately for AMD customers, there's still much waiting. The new open-source AMDGPU Linux code works for Tonga/Carrizo GPUs but it doesn't yet support the latest R9 Fury "Fiji" GPUs, lacks re-clocking/DPM for Tonga GPUs leading to low performance, and there are stability issues under high-load OpenGL apps/games. There's also the matter that current Linux users need to jump through hoops for now in getting the code into a working state with the latest kernel and forked versions of Mesa, libdrm, new proprietary microcode files, and the new xf86-video-amdgpu user-space driver.

37 of 61 comments (clear)

  1. Intel's linux support is impeccable by vivek7006 · · Score: 3, Funny

    Not sure why AMD and nVidia keep dragging their foot. It makes no businesses sense

    1. Re:Intel's linux support is impeccable by SuricouRaven · · Score: 4, Interesting

      Graphics is a patent minefield - it's one of the most legally aggressive areas in computing. Both parties have a strong commercial incentive to keep their technology secret - both to stop their rival stealing ideas, and to avoid inadvertently revealing any code that infringes upon a patent they were not aware of at the time. This slows down open-source development as every change needs to be examined by legal experts, and most legal experts are very cautious in their advice.

    2. Re:Intel's linux support is impeccable by Anonymous Coward · · Score: 1

      Because, beyond being able to display a negotiated resolution, Intels graphics chips don't do anything graphically impressive compared to what AMD & Nvidia are offering. To say Intels Graphics offering are on the same playing field as Nvidia or AMD, is apples to tomatoes.

      Now, on the scope of driver model in Linux, yes. Intel does fare better. However, Intel isn't vying for improved gaming performance and support that AMD & Nvidia are. That is, unless Intel has decided to do a 180 with their stance on chpset performance, and I missed the announcement. Care to share such information?

    3. Re:Intel's linux support is impeccable by Anonymous Coward · · Score: 3, Informative

      Was impeccable. Every Intel chip post-Broadwell will require binary blobs, and Intel has yet to release the inteldrm module for Broadwell chips. Intel /used/ to be great, but now they're no better than nVidia.

    4. Re:Intel's linux support is impeccable by tepples · · Score: 1

      Intel has yet to release the inteldrm module for Broadwell chips.

      Let me hazard a guess why:

      "the inteldrm module"

      "inteldrm"

      "drm"

      Digital restrictions management strokes again.

    5. Re:Intel's linux support is impeccable by Anonymous Coward · · Score: 2, Informative

      Direct Rendering Manager?

    6. Re:Intel's linux support is impeccable by Anonymous Coward · · Score: 2, Insightful

      Ok timeline time:

      Linux AMD: catalyst for workstations, lets add a open source version for long term support, the open source version is pretty mature why don't we use the open source stuff and incorporate the workstation stuff in one driver and replace the closed source stuff with open source as it matures(this is today's news).

      Linux nvidia: Closed driver for workstations.... Independent developers working on the side with zero nvidia support making open source driver.

      At least give AMD credit for already being on the right side of history now, they do not deserve to be bundled with nvidia. What you are asking for they had already done. AMD is not going to piss off all their workstation clients(these are the guys that pay the linux driver bills) switching drivers to a less mature one.

    7. Re:Intel's linux support is impeccable by Anonymous Coward · · Score: 1

      Intel's Linux support is not, and has never been, "impeccable". Their lawyers strip out masses of useful information from documentation and vendor-supplied driver code just like AMD's. I've heard the impeccable line for years, even during the years when I couldn't even switch the resolution of X on my supposedly perfectly supported Intel hardware (fixed in the meantime, I imagine, but I insist on AMD/ATI again now). Which brings another point: why do you think AMD is "dragging their foot"? They provide good documentation (as good as Intel's, at least, which means that of course some information is still hidden) and have translated that into working drivers by paid AMD employees. nVidia just doesn't care about the open aspects of supporting Linux, and I'm pretty sure plenty of people think it's Intel and AMD that are dragging their feet, not nVidia, given the supposed superiority of their binary driver.

    8. Re:Intel's linux support is impeccable by Kjella · · Score: 1

      Not sure why AMD and nVidia keep dragging their foot. It makes no businesses sense

      Whaaaaaaaaaaat? AMD and nVidia has a quite well optimized proprietary OpenGL engine following the latest standards, Intel has not. Intel is doing it open source because who could possibly benefit, Matrox? They have about 0.00% market share these days. AMD and nVidia already has engines doing it better. They got nothing to lose and a fair bit to gain from doing it open source. You have to be pretty deaf, blind and dumb to not see that AMD and nVidia has a competitive advantage they don't want to give away. Mesa is about 5 years behind OpenGL, in terms of hardware sales that's forever.

      --
      Live today, because you never know what tomorrow brings
    9. Re:Intel's linux support is impeccable by tepples · · Score: 1, Flamebait

      Let me spell it out: Intel probably is having a hard time figuring out how to release a Direct Rendering Manager module that upholds its Digital Restrictions Management obligations.

    10. Re:Intel's linux support is impeccable by 7-Vodka · · Score: 3, Interesting

      Not sure why AMD and nVidia keep dragging their foot. It makes no businesses sense

      I have an older AMD card and the current AMD 'radeon' opensource driver in the kernel impeccably supports it.

      In fact it's been about 5 years since I've had to ever even think about drivers for my video card. It just works, with great 3d performance, with every distro out of the box because it's supported by every default kernel and mesa libs. Even usb-flash distros.

      Heck I've even run many steam games just to try them out. Had to install i386 packages for steam, but the AMD kernel driver, never had to worry about it.

      If AMD can make the next driver arch as good and as open as the 'radeon' driver, I'll be buying AMD again soon.

      By the way Nvidia, I wouldn't touch your junk with a 10ft pole. Come back when it's become mostly Free Software and is shipped default in every kernel and distro and I never have to worry about it.

      --

      Liberty.

    11. Re:Intel's linux support is impeccable by davester666 · · Score: 1

      No. AMD is afraid that someone at Nvidia, IBM, or elsewhere, will look through their open source code and see that they are violating one of Nvidia/IBM/whomever's patent, and sues them for not just the linux driver, that opens the door to discovery on all their other platforms as well.

      --
      Sleep your way to a whiter smile...date a dentist!
    12. Re:Intel's linux support is impeccable by SuricouRaven · · Score: 1

      You're not the first to be confused by the coincidence in terms.

    13. Re:Intel's linux support is impeccable by Tough+Love · · Score: 1

      Graphics is a patent minefield - it's one of the most legally aggressive areas in computing. Both parties have a strong commercial incentive to keep their technology secret - both to stop their rival stealing ideas, and to avoid inadvertently revealing any code that infringes upon a patent they were not aware of at the time...

      Sorry, no, it's not that at all. If there was any serious suspicion about that then the weenies would be all over the binary blobs with decompilers. Cost is no object for that sort of thing. The real reason is... a mystery. Fear of giving the competition a leg up on optimization algorithms? Maybe, but it seems a long shot. The real reason is probably just manager idiocy. I mean it's not like manager idiocy is in short supply.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    14. Re:Intel's linux support is impeccable by Lisandro · · Score: 1

      Sorry, no, it's not that at all. If there was any serious suspicion about that then the weenies would be all over the binary blobs with decompilers. Cost is no object for that sort of thing.

      I have no proof, but i also have no doubt this already happens. That, and reverse engineering the actual silicon.

    15. Re:Intel's linux support is impeccable by Tough+Love · · Score: 1

      Sorry, no, it's not that at all. If there was any serious suspicion about that then the weenies would be all over the binary blobs with decompilers. Cost is no object for that sort of thing.

      I have no proof, but i also have no doubt this already happens. That, and reverse engineering the actual silicon.

      And in-circuit emulators. Cost of one is a drop in the bucket compared to other efforts, often non-engineering, that goes into these sorts of things.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    16. Re:Intel's linux support is impeccable by Lisandro · · Score: 1

      Is reverse engineering not illegal. If it is illegal then any discovered result is unusable in court

      It is if you happen to implement reverse-engineered tech covered by patents. As SuricouRaven succinctly put it, on graphics this is a minefield area.

  2. Re:What about by ArcadeMan · · Score: 1

    systemd requires 0.0000000001553 Chuck Norris

  3. SOP by jklovanc · · Score: 3, Insightful

    There's also the matter that current Linux users need to jump through hoops for now in getting the code into a working state with the latest kernel and forked versions ...

    Seems the usual way Linux works.

    1. Re:SOP by Feral+Nerd · · Score: 1

      There's also the matter that current Linux users need to jump through hoops for now in getting the code into a working state with the latest kernel and forked versions ...

      Seems the usual way Linux works.

      AMD still beats Nvidia for stability. The Nvidia community driver that ships with the Linux kernel is unstable and the proprietary driver is a pain in the a**. I have never had stability issues with AMD drivers on Linux as long as I kept clear of the very bleeding edge.

    2. Re:SOP by TyFoN · · Score: 1

      the proprietary driver is a pain in the a**

      Not sure how, at least for arch linux, pacman -S nvidia nvidia-libgl is a pain in the ass.
      I suspect it's about as simple as this for most other distributions.

      This is actually the main reason for me buying nvidia cards, they "just work" in linux and provide stellar performance.

    3. Re:SOP by lastman71 · · Score: 1

      Maybe just because is the first version released. How surprising, first released version of software may contain bug or missing feature. And no. It's not the usual way, The other (older) drivers are conveniently prepackaged by you distribution.

  4. Re:ROI by Anonymous Coward · · Score: 1

    If AMD can land more semi-custom design wins for products that run the Linux kernel this investment will likely pay off in spades.

  5. Re:Good old OS flame war... by jklovanc · · Score: 2

    Yeah, running "apt get update" which breaks the install and requires a full rebuild of a web server is such a good idea for a OS. It happened to me. I have yet to do an install or upgrade on a Linux server that does not refer to packages that I do not have or which may be incomparable with packages I do have.

    I use Linux only because I have to (IIS is even worse).

  6. Re:ROI by armanox · · Score: 1

    AMD has had a big focus on their OpenCL performance lately - they could be banking on people buying their cards for that reason (and for say companies that are looking to buy the really expensive cards, but they'll need to actually get those cards working correctly with the new driver).

    --
    I'm starting to think GNU is the problem with "GNU/Linux" these days.
  7. Re:ROI by hairyfeet · · Score: 3, Interesting

    Isn't it sad that Linux is getting ROFLstomped by both Windows 8 (the most hated Windows since ME) and Windows 10 ( a fricking beta that isn't even RTM yet) as well as fricking "other"?

    Of course shit like this is EXACTLY why the Hairyfeet challenge has lasted 8 years and why every other FOSS OS has a stable driver ABI including BSD and Android, because if you don't? You get shit drivers and updates break drivers, simple as that. I mean what did you THINK would happen? How many kernel devs are devoted full time to drivers? 30? 40? lets be generous as hell and say 200. So you have 200 devs and over 100,000 drivers with hundreds more coming every.single.quarter. and because there is no stable ABI all it takes is a pointer change in the right spot and thousands of those drivers are now worthless, they DO NOT WORK.

    It don't take Hawking to do the math folks, Torvalds and his "let the devs handle it" is a classical mythical man month situation that will never ever improve, it just can't because you will NEVER 1.- Have enough devs with low level driver experience that are, 2.- intimately familiar enough with the hardware to make more than generic (at best) drivers even if you give them the code, 3.- Nor enough hours to go through the tens of thousands of drivers when a major change causes breakage and finally 4.- No way will they have access to all that hardware to test.

    Of course all that goes away with an ABI, which is why Apple (OSX and iOS),BSD,Haiku, Windows, hell even OS/2 Warp has a fricking ABI folks! And the one argument they always bring up, the "they won't give us the code precious" BS? Yeah what is the GPU that every.fricking.Linux.article. advises people to use? Nvidia which don't give you the code, never will give you the code, yet its always the best driver of the lot!

    Its been 22 damned years folks, and Linux is lower than "other"...doesn'ty that tell you something? And you can't even bring up android as Google fricking HAS an ABI for Android! If Torvalds model worked then others would have adopted it...they haven't, not even the other FOSS OSes. Its time to face the facts, which is the kernel devs should be focused on the kernel and the ones that actually make the hardware should be focused on the drivers! But that isn't gonna happen if they have to rewrite the damned things yearly because of Torvalds fiddling, not when a driver written for Vista will run in Windows 10. You can't dictate terms when your OS is at 1.6% and trying to has kept the OS dead last for 22 years, isn't it about time to stop sticking with a failed model?

    --
    ACs don't waste your time replying, your posts are never seen by me.
  8. Re:ROI by nomadic · · Score: 1

    Nonsense. This is finally the year of the Linux desktop! I can feel it!

  9. Re:ROI by bug1 · · Score: 2

    Is it worth investing hundreds of thousands of dollars on software to support tens of billions of dollars of research and development in a hardware products evelotion. Why yes, yes it is.

    If you dont understand the benefits of open source why are you even posting here ?

  10. Re:ROI by jklovanc · · Score: 1

    Sorry but we are not talking about open source. We are talking about a company with shareholders who are interested in revenue spending lots of money for no direct return. They most probably have a budget and are limited in what they can do.

    How does making drivers so Linux games play better support research?

  11. Re:Good old OS flame war... by Anonymous Coward · · Score: 1

    So you've upgraded once and had an extremely unusual experience. Cool story bro.

  12. Re:ROI by unixisc · · Score: 1

    Only thing - why has Valve chosen to base SteamOS on Linux, instead of PC-BSD? Do they have any control over their drivers?

  13. ABI by Tenebrousedge · · Score: 3, Insightful

    Stick to what you know, hairyfeet. Linux has no ABI because it does not want to encourage having random binary blobs on the users' systems. It's an ideological principle that will never change.

    You clearly only understand the desktop arena, which is fine, but most Linux users are pretty happy with its current niche. The Linux ecosystem is probably better described as a set of tools for building an OS, and so you see things made from it like Android, Maemo/Meego/Sailfish/Whatever, SteamOS, various container-style projects, and the normal run of distributions. It's a development platform, mostly for server applications. Yeah, it would be nice in some ways if everyone was programmer enough to use Linux, but it's essential to no one, and the minority of people who have aftermarket video cards is not sufficient justification to bend over backwards for closed development models. Gamers may keep you in business, but they are a tiny part of the computing market. Now if you could point to something like ABI compatibility being an issue with GPU supercomputing, that might be more compelling.

    There are arguments for a stable ABI. They are never going to get traction in a very successful open development paradigm, and desktop market share is not one of them. I'm sorry you've been riding this hobby horse for however many years, and I hate to tell you how silly you look doing it, but if that's your thing I guess you can keep it up until doomsday.

    --
    Those who advocate genocide deserve every protection afforded by law, and none afforded by common human decency.
    1. Re:ABI by hairyfeet · · Score: 1

      And I just fucking showed you that argument makes you and most Linux users hypocrites or did you not even bother reading my post before you shat yours out? "Yeah what is the GPU that every.fricking.Linux.article. advises people to use? Nvidia which don't give you the code, never will give you the code, yet its always the best driver of the lot!"

      Your argument DOES NOT HOLD WATER on multiple levels, 1.- Most Linux advocates recommend Nvidia, which is a binary, and 2.- When you are at 1.6% nobody is gonna support you so you ain't getting shit anyway LOL!

      BTW you DO realize that you just admitted your OS is NOT based on sound design principles but on religion, yes? Because that is EXACTLY what the argument you just put forth states, that when given a choice of having a functional OS or trying to push a failed driver model which you THINK might kinda sorta (but as Nvidia shows is bullshit) push your "philosophy"? The acceptable choice is a broken OS...and you wonder why Linux has been out for 22 fucking years and has YET to even get a shitastic 2%?

      --
      ACs don't waste your time replying, your posts are never seen by me.
    2. Re:ABI by Tenebrousedge · · Score: 1

      Failed driver model? By what definition of failure? Linux exists on millions upon millions of devices. Many Linux advocates may recommend NVIDIA hardware for gaming, but who cares? It's a tiny market. NVIDIA and AMD both have great Linux support for workstations and GPU computing, which is where the money is.

      I hope that Linux never gets above 2% of the desktop, personally. Non-coders like you would ruin the platform, with exactly these kinds of moronic suggestions. I'd lay odds the majority of linux instances don't even have a video output connected. Why you persist in thinking of it as a desktop platform, to the exclusion of its actual uses, is beyond imagining.

      --
      Those who advocate genocide deserve every protection afforded by law, and none afforded by common human decency.
    3. Re: ABI by corychristison · · Score: 2

      As Tenebrousedge already stated, you're talking about websites related to gaming that are recommending NVIDIA.

      I personally have used Linux exclusively (both on desktop and laptop computers) since 2003. I have also used AMD GPU & CPUs exclusively since 2008. The most graphics intensive thing I've ever run is Youtube in Firefox. My current video card in my primary workstation is from 2011.

      My wife and young children have no problem navigating my linux based systems. We as a family use it for regular every day things such as browsing the web, writing documents, watching netflix, downloaded movies and music. I will admit we don't play video games, and do not own any gaming consoles. I encourage my children to go outside and play (we play a lot of soccer in the field next to our home), or do something more constructive like building things with Lego or Meccano.

      The only people who care about the latest and greatest graphics and drivers are gamers. Period. Frankly, Linux is not for them. The Linux community accepts and understands that. Most of us would rather the masses stick to what they know.

  14. Re:ROI by bug1 · · Score: 1

    They have spent money or research developing the HARDWARE. Hardware is useless without software.

    Spending money on hardware and not software is like designing a car without an engine.

    Open source drivers allows them to provide a better "user experience" on Linux platforms, but more importantly it enables "peer review" of the driver which helps to indentify bugs, promotes trust, and provides a better "user experience" on some platforms (ie Linux).

    So yes we are talking about open source, and we are talkign about financial benefits to AMD.

  15. Re:Good old OS flame war... by jklovanc · · Score: 1

    no it was update as I was trying to update for heartbleed.