Slashdot Mirror


Mesa 10.2 Improves Linux's Open-Source Graphics Drivers

An anonymous reader writes "Mesa 10.2 was introduced this week as the new shining example of what open source graphics (and open source projects in general) are capable of achieving. The latest release of this often underrepresented open source graphics driver project has many new OpenGL and driver features including a number of new OpenGL 4 extensions. The reverse-engineered Freedreno driver now poses serious competition to Qualcomm's Adreno driver, an OpenMAX implementation was added for Radeon video encoding support, Intel Broadwell support now works better, the software rasterizer supports OpenGL 3.3, and many other changes are present."

58 comments

  1. Still relevant nowadays? by haruchai · · Score: 1, Flamebait

    While I'm pleased to see a longstanding opensource project is alive & well, I'm not sure if it's really relevant anymore.

    Slashdotter, what say you?

    --
    Pain is merely failure leaving the body
    1. Re:Still relevant nowadays? by haruchai · · Score: 1, Redundant

      That should be Slashdotters, as in plural, sorry.

      --
      Pain is merely failure leaving the body
    2. Re:Still relevant nowadays? by rroman · · Score: 5, Interesting

      I think that Mesa is necessary. I'm developing UI in QtQuick2 and it does only work with OpenGL 2 and above. Since there are platforms that don't support OpenGL 2 I have to have fallback to software rendered graphic. Mesa saves the day. If there was no Mesa, I'd be forced not to use QtQuick2 and stick to Qt widgets, which are not really designed to run well on mobile devices. And for the record, I do think, that QtQuick2 is the future of Gui development.

    3. Re:Still relevant nowadays? by TheRealHocusLocus · · Score: 1, Offtopic

      opensource (...) relevant

      I would say that you are clueless idiot who likes the smell of his own verbal excrement on the internet.

      *** Relevance fight! ***

      Rosin yer bows fiddlers, hike yer skirts ladies and sweep out the pit, smoke dem crawdads while you got 'em... we're gonna have open source pit 'relevance wraslin' tonite!

      Over in the corner Papa Snuff Daddy is totin' his signed binary drivers, he's a real tootin' feller. He installs clean and you can see he's runnin' but yo better watch out for his kernel panic hold, it'll get ya good. And when he gets ya, whatch gonna do, patch him? He's been patched so many times but the scars don't show 'cuz he wore out his version number years ago.

      In the other corner we have the astounding Patefacio Radix Maximus Mesa! He is 'open', he is 'sourced', 'committed' to victory! You can clearly see he has the biggest package, but does he know how to use it? This feller is so smug he wants you to patch him! An when the proverbial shit hits the coolin' appatarus, who would you rather have out in the woods with ya, far away from dem vendor websites? Lets just say if Maximus panics you could fix him yerself in time. Or if you can't chop off the part of him that don't work. Ha, he heard me say that, only jokin' fella, now he's ready to fight!

      The musicians were poised with their instruments. They were ready to go. It would only be a few seconds now, I wrote.

      It is really very simple. The colors of the days and the watermelons go like this --

      Monday: red watermelons.
      Tuesday: golden watermelons.
      Wednesday: gray watermelons.
      Thursday: black, soundless watermelons.
      Friday: white watermelons.
      Saturday: blue watermelons.
      Sunday: brown watermelons.

      --
      <blink>down the rabbit hole</blink>
    4. Re:Still relevant nowadays? by epyT-R · · Score: 1

      err.. Mesa has formed the basis of opengl support in linux since the 90s.. It's still used today.

    5. Re:Still relevant nowadays? by jones_supa · · Score: 1

      While I'm pleased to see a longstanding opensource project is alive & well, I'm not sure if it's really relevant anymore.

      Slashdotter, what say you?

      The main OpenGL stack of Linux is not relevant? Interesting.

    6. Re:Still relevant nowadays? by haruchai · · Score: 2

      See below for the comment you likely intended to make before you had a Tourette's spasm

      http://slashdot.org/comments.p...

      --
      Pain is merely failure leaving the body
    7. Re: Still relevant nowadays? by Anonymous Coward · · Score: 0

      Errm... If you have anything other than Nvidia or AMD hardware, Mesa is the only graphics driver you get in Linux...

      Plus, binary blobs in a GPL kernel?

    8. Re:Still relevant nowadays? by Anonymous Coward · · Score: 0

      I've been reading this cesspool at -1 since bitchslap.pl, and I have to say I've never laughed so hard until now. Thank you.

    9. Re: Still relevant nowadays? by kthreadd · · Score: 1

      Plus, binary blobs in a GPL kernel?

      There's a lot of people that uses Linux that does not care about that, most of them using Android.

    10. Re:Still relevant nowadays? by Anonymous Coward · · Score: 0

      What platforms, apart from OpenGL ES, do not support OpenGL 2.0 ?

    11. Re:Still relevant nowadays? by uncomformistsheep · · Score: 1

      3 or 4 years ago, my eeePC netbook had an on-board Intel whose driver only supported OpenGL 1.x on Windows. (You had to use Mesa.)

    12. Re:Still relevant nowadays? by GNious · · Score: 1

      you're doing OpenGL in QtQuick2? Is that even, uhm, sane? :)
      Any links to (open source) examples would be welcome, as I had a look recently, and simply got scared.

      Disclaimer: I use QML et al to develop a Jolla app, and have another app in an early planning stage, where I still need to figure out how to make nice graphs.

    13. Re:Still relevant nowadays? by drinkypoo · · Score: 1

      I'm gonna go out on a limb and say that "Tough Love" left precisely the intended comment.

      On the other hand, I'm gonna say that they have also been trolled

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    14. Re:Still relevant nowadays? by ifiwereasculptor · · Score: 2

      Mod parent "+1 Wait, what?"

    15. Re:Still relevant nowadays? by Tapewolf · · Score: 1

      Never heard of 'In Watermelon Sugar' before. It was weirdly beautiful.

    16. Re:Still relevant nowadays? by Anonymous Coward · · Score: 0

      I think it's absolutely pathetic. Mobile "graphics", lol.

    17. Re:Still relevant nowadays? by haruchai · · Score: 1

      Trolled by whom exactly??

      --
      Pain is merely failure leaving the body
    18. Re: Still relevant nowadays? by Anonymous Coward · · Score: 0

      But some obviously do.

    19. Re:Still relevant nowadays? by wealthychef · · Score: 1

      It's relevant, but if you install a video card, you are going to use the vendor's OpenGL stack for most of your rendering, and that's probably the majority of users.

      --
      Currently hooked on AMP
    20. Re:Still relevant nowadays? by drinkypoo · · Score: 1

      You mean you ended a serious comment with "Slashdotter, what say you?"

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    21. Re: Still relevant nowadays? by kthreadd · · Score: 1

      Absolutely.

    22. Re:Still relevant nowadays? by thue · · Score: 2

      My impression is that basically all Linux distributions install the open source drivers by default. And in my experience, installing the proprietary drivers is messy.

      And most distributions uses 3D in the window manager by default.

      So I imagine that many more Linux users use the open source drivers (which in turn use Mesa) than uses the proprietary drivers.

    23. Re:Still relevant nowadays? by haruchai · · Score: 1

      Yes, I did.
      What's wrong with asking for the opinion of others who may have more insight?

      --
      Pain is merely failure leaving the body
    24. Re:Still relevant nowadays? by Anonymous Coward · · Score: 1

      winforms or wpf is simpler...

    25. Re:Still relevant nowadays? by rroman · · Score: 2

      QtQuick2 requires OpenGL. I didn't say I'm using OpenGL directly. However there is Qt3D and QtQuick3D that you might have a look at http://doc-snapshot.qt-project... http://doc.qt.digia.com/qt-qui... .
      As for the graphs, there are some commercial graphs supplied by digia http://blog.qt.digia.com/blog/... or KDAB http://www.kdab.com/kdab-produ... or freely available QWT http://qwt.sourceforge.net/ .

    26. Re:Still relevant nowadays? by Anonymous Coward · · Score: 0

      Some Intel Atom chipsets are using PowerVR's GPUs, which do not have OpenGL capable Linux driver. Eg. Acer Aspire One D270 uses a software OpenGL renderer. Without Mesa one could not run modern desktop environments at all on those.

    27. Re:Still relevant nowadays? by wealthychef · · Score: 1

      Interesting -- I would have thought if you buy an NVIDIA card that it won't work properly without NVIDIA's driver. Same for ATI. You're saying that Mesa gives hardware support for those cards?

      --
      Currently hooked on AMP
    28. Re:Still relevant nowadays? by garyebickford · · Score: 1

      IDK if this is relevant to your particular work, but there are some very good Javascript libraries now - d3js.org comes to mind. IIRC Google has one or two as well.

      --
      It's easier to be a result of the past, but more fun to be a cause of the future! http://www.spacefinancegroup.com/
    29. Re:Still relevant nowadays? by cide1 · · Score: 1

      Ive been working on a platform that is Linux running on a 1 GHz, 32 bit ARM, where we want to run an already existing Qt Quick 2 application. We have run mockup applications with X using the virtual framebuffer and the mesa software renderer, and found performance to be really bad. On the order of 1 FPS or so. Any suggestions on ways to make the software renderer more usable? My understanding is that LLVM would help here, but only works on x86 and x64.

      --
      -- the computer doesn't want any beer, no matter how much you think it does. NEVER, EVER feed your computer beer.
    30. Re:Still relevant nowadays? by Arker · · Score: 1

      "It's relevant, but if you install a video card, you are going to use the vendor's OpenGL stack"

      No, in fact, that's one thing I definitely will NOT be using.

      "that's probably the majority of users."

      Gnu/linux has indeed gotten 'easy' enough to attract some clueless noobs, but I really doubt they are the majority.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    31. Re:Still relevant nowadays? by Arker · · Score: 1

      What, did we miraculously evolve past the need for video drivers while I was sleeping?

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    32. Re:Still relevant nowadays? by thue · · Score: 1

      Yes. There are free software projects making a driver for each of those, build upon Mesa. Both AMD (a lot) and NVIDIA (in small measure) has actually contributed to those projects, in addition to their closed source drivers.

    33. Re:Still relevant nowadays? by jedidiah · · Score: 1

      Just because a libre driver exists doesn't mean that people are going to want to use it. Those of us interested in performance are far more likely to immediately dump those libre drivers for something that actually works well.

      Free Software zealotry in this area really only makes sense if you are actively avoiding all of the software that would need a good OpenGL implementation. Most of that stuff is not Free Software either.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    34. Re:Still relevant nowadays? by MikeBabcock · · Score: 2

      Both ATI and NVidia cards have quite decent functionality on Linux without those vendors' drivers.

      --
      - Michael T. Babcock (Yes, I blog)
    35. Re:Still relevant nowadays? by wealthychef · · Score: 1

      Who knew? thanks for the info, I was under a mistaken impression perhaps

      --
      Currently hooked on AMP
    36. Re:Still relevant nowadays? by Anonymous Coward · · Score: 0

      Actually, I have an AMD card and the open source driver is much more stable than the proprietary one. I don't do heavy gaming, so performance is good enough for me. But stability is much more important. So, it has nothing to do with zealotry.

    37. Re:Still relevant nowadays? by thue · · Score: 1

      For dual screen setups, using the proprietary drivers is an absolute mess, while the open source drivers work perfectly. And the free drivers are perfectly adequate for non-high-end-gaming. I can play Minecraft at 1920x1600 with the open source Radeon driver at acceptable framerates.

    38. Re:Still relevant nowadays? by GNious · · Score: 1

      Big thank you!
      I knew there was cause to stay with /. still :)

    39. Re:Still relevant nowadays? by GNious · · Score: 1

      Thank you!
      I knew there was cause to stay with /. still :)

    40. Re:Still relevant nowadays? by jaredlineman · · Score: 1

      can anyone recommend safariland leather like this http://www.policesupplyonline....

  2. Re: capable of achieving by Blaskowicz · · Score: 2

    One day we'll be able to alt-tab in and out of over ten-year-old games!

  3. Re: capable of achieving by Anonymous Coward · · Score: 5, Insightful

    That's fine, they don't really sell new games anymore. They sell subscriptions to services that resemble games.

  4. Re: capable of achieving by fuzzyfuzzyfungus · · Score: 1

    When you aren't running the one antique kernel reluctantly supported by the vendor, that starts to look like progress...

    The price paid for going FOSS is more obvious on the desktop, at least if you need more punch than Intel is going to provide, since Nvidia and AMD both offer something resembling real support to proprietary customers; but once you go mobile, the state of binary drivers goes downhill fast. X drivers are more the exception than the rule, and Android drivers might go from being frozen in the 12th century to being frozen in the 15th century at some point in the product's life, if luck is on your side.

  5. Re: capable of achieving by Anonymous Coward · · Score: 4, Interesting

    I've been following Mesa's development for some time while working on some cross-platform 3D graphics stuff.

    Right now Mesa's OpenGL implementation for Intel HD Graphics 4000+ is probably more complete than the Windows driver's. This isn't exactly a trivial accomplishment. A working OpenGL 3.3 implementation is more than what Apple offered for a long time.

    Some GL features are obviously not as well optimized in Mesa, but many of them are so bad they're at least "considered harmful" anyway. And with 10.2 we got gems like ARB_buffer_storage, which basically removes the API overhead from accessing the GPU's memory. No more unpredictable stalls while writing data!

  6. Re: capable of achieving by amiga3D · · Score: 1

    Oh man. That's so damn true if I had mod points I'd have to +1 ya even if you are anon.

  7. Relevent unless you are using binary drivers by Sits · · Score: 5, Informative

    Unless your graphics driver provides a full 3D stack (userspace GL libraries down to kernel drivers) you will be using Mesa on Linux. You are probably thinking of Mesa as purely a software renderer whereas it is also used as a frontend to open source 3D drivers and uses DRI to provide access to the hardware's acceleration.

    I've yet to see binary any drivers use Mesa.

    1. Re:Relevent unless you are using binary drivers by Anonymous Coward · · Score: 0

      we might see differently though, as AMD is toying with the idea of using mesa+shim instead of Fglrx.

    2. Re:Relevent unless you are using binary drivers by hobarrera · · Score: 1

      Hmmm. Interesting. Maybe they finally realized that they could re-use existing code instead of shipping their broken drivers year after year. Good for AMD!

  8. Re:When you go from shit to crap by epyT-R · · Score: 3, Insightful

    Then why post on slashdot? Perhaps neowin is better for you?

  9. Re: capable of achieving by Blaskowicz · · Score: 1

    But MESA isn't OpenGL 4.0 compliant yet and that "ARB_buffer_storage" extension is from OpenGL 4.4.. How is it likely that somehow will write an hybrid application that supports OpenGL 3.3 (or 3.1) plus that one mismatched extension?

    Then, maybe Ivy Bridge and some cards are supported under OpenGL 3.3 but you need to upgrade to a very recent linux distro (unless you like manual installations or unoffical sources) and then crucially, Sandy Bridge only supports OpenGL 3.1. So your application or game will target OpenGL 3.1 unless you can afford to exclude millions potential users.

    tl;dr you are optimistic, and some real progress is made, but these things will still take monthes/years to get usable and/or working.

  10. Re: capable of achieving by Anonymous Coward · · Score: 1

    But MESA isn't OpenGL 4.0 compliant yet and that "ARB_buffer_storage" extension is from OpenGL 4.4.. How is it likely that somehow will write an hybrid application that supports OpenGL 3.3 (or 3.1) plus that one mismatched extension?

    Quite likely, because that's the way the extension system works.

  11. "An anonymous reader" by Anonymous Coward · · Score: 0

    Fuck off Michael Larabel

  12. Re: capable of achieving by Anonymous Coward · · Score: 0

    Development takes time, and GPUs are still advancing pretty fast. Targeting fresh features isn't a bad idea.

    That specific feature isn't very fresh, anyways. It lets the application, or "client" keep memory mapped while GL is using it. Almost all maintained drivers implemented it pretty fast since hardware support has existed for a long time. It's more or less how the drivers were working internally; there simply was no client API for it.

    The extension works with 10.2.0-rc4 from Debian experimental, by the way. Beautifully. I guess the Mesa developers actually mean it when they say they've implemented something.