Slashdot Mirror


NVIDIA To Publicly Release Some Tegra GPU Documentation

An anonymous reader writes "It was revealed today during the annual X.Org Developers' Conference in Germany that NVIDIA will be publicly releasing Tegra graphics programming documentation. Initially this will cover their Tegra 2D engine but it's thought they might also be providing 3D engine documentation too. A slide shown at the conference says NVIDIA is committed to open-source. NVIDIA also allegedly has supplied documentation under NDA to one Nouveau developer and taken other covertly supportive steps. These actions come after NVIDIA has been notoriously unfriendly to open-source and months after Linus Torvalds pubilcly slammed the NVIDIA Linux support."

55 of 85 comments (clear)

  1. NDA by arth1 · · Score: 1

    "NVIDIA also allegedly has supplied documentation under NDA to one Nouveau developer"

    Forgive me if I'm wrong, but isn't this a bad thing? Because he's seen it under an NDA, he now is prevented from using it, which he otherwise could if he had figured it out on his own?

    1. Re:NDA by Anonymous Coward · · Score: 3, Informative

      no, a NDA just means that he can't tell anyone else why the code works the way it does.

    2. Re:NDA by h4rr4r · · Score: 5, Insightful

      That depends what the NDA covers. It might cover just saying they gave him the document, it might cover him showing anyone the document, it might cover him telling anyone how code made from the document works, it might cover him not telling anyone how NVIDIA makes its pancakes. An NDA can cover a multitude of things.

    3. Re:NDA by ifiwereasculptor · · Score: 4, Informative

      Correct me if I'm wrong, but doesn't that mean cryptic, undocumented code which, if that particular developer quits, dies or is otherwise unable to work on the driver, becomes a black box? It is still incredibly open-source unfriendly.

    4. Re:NDA by Peter+Bortas · · Score: 5, Insightful

      Getting HW documentation under NDA used to be a rather common thing for Linux driver developers and it's still not unusual. The NDA will say something to the effect of "You can't spread this doc, but feel free to build an OSS driver and talk about how it works".

    5. Re:NDA by Peter+Bortas · · Score: 2

      You are not completely wrong for complicated hardware, but for things like sensors and stuff it doesn't need to be unmaintainable. Few if any of those NDAs also come with and demands to not write clear code and comment it.

      You might be thinking of Nvidias old "Open Source" 2D drivers which where written by Nvidia and then showed through a code obfuscator before it was shipped.

    6. Re:NDA by Belial6 · · Score: 1

      My first expectation would be that it covers implementation details, thus allowing the person under the NDA to write specs but not code. This would allow clean room drivers to be written without revealing the internals of the chips to everyone in the world.

    7. Re:NDA by GrumpyOldMan · · Score: 2

      It is probably not a bad thing.

      Back in the day, I did FreeBSD drivers / platform support for DEC Alphas. I would occasionally get hardware and/or docs under NDA from DEC. The NDA basically said I could write open source drivers, but I could not share the documentation. This is how a lot of Linux / BSD hardware support still works.

    8. Re:NDA by makomk · · Score: 1

      Pretty much. For instance, the Nvidia-developed and nominally open source nv driver for their graphics hardware was full of cryptic magic numbers dotted everywhere and seriously lacking in comments.

  2. Tegra and not Optimus? by ThatsMyNick · · Score: 4, Informative

    Wasnt the Linus shaming them for not supporting Optimus (which would help a lot of netbooks and laptops) and not about Tegra (which works but is not opensource, and hence makes custom ROMs difficult)

  3. Unfriendly? by Anonymous Coward · · Score: 1

    How is NVIDIA unfriendly toward open source. They have the only high-end cards that work consistently on both Linux and FreeBSD. They've been maintaining their drivers for open source operating systems for years.

    1. Re:Unfriendly? by cheesybagel · · Score: 5, Informative

      They don't provide hardware programming specs. Nor open source drivers. Intel and AMD do both.

    2. Re:Unfriendly? by ifiwereasculptor · · Score: 5, Insightful

      How is NVIDIA unfriendly toward open source. They have the only high-end cards that work consistently on both Linux and FreeBSD. They've been maintaining their drivers for open source operating systems for years.

      Right. Tell that to my GeForce FX. Or to a GeForce 6xxx. Or to an integrated 7xxx chipset. Neither Nouveau nor the blob work on anything GTK3 and NVIDIA already said they won't be fixing the blob anytime soon. Compare that with AMD - the open driver is already at near performance parity with the blob on their cards from the same period (r300). But AMD isn't a great example. Look at how Intel publishes their drivers and read what the folks from Valve are saying about how easy that makes everything for developers.

    3. Re:Unfriendly? by kthreadd · · Score: 2

      But isn't it at least good of them to provide a driver in the first place?

    4. Re:Unfriendly? by Anonymous Coward · · Score: 4, Insightful

      Not when that driver doesn't play nicely with the kernel. It's like giving somebody an engine for their car that occasionally breaks down, but not allowing them to open the hood and fix it.

    5. Re:Unfriendly? by drinkypoo · · Score: 1

      Compare that with AMD

      OK, I will do that.

      I have a subnotebook with R690M/X1250. When I bought it, the ati driver didn't support it because it was too new, and fglrx didn't support it because it's too old, even though it was currently shipping. Today, fglrx still doesn't support it (it hasn't gotten any newer) and the OSS driver produces massive display corruption, actually worse than when it was new.

      If you want to cherry-pick examples you can do that all day, but I've had vastly better luck with nVidia hardware than ATI hardware, and I'm not just talking about Linux, but I am including it. I've known ATI was shit since the Mach32, whose Windows 3.1 drivers were pure shit. Free reboot? Why yes, don't mind if I do.

      Unfortunately, I do have to admit that nVidia is shitting themselves pretty hard on the drivers lately, I've been getting failed redraws and such. And it sure would be nice to be able to use Xinerama and Composite at the same time, eh?

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

      Sure, but you have the choice of not accepting the engine.
      Maybe I just don't understand, but it sort of feels like complaining about a free lunch.

    7. Re:Unfriendly? by valros · · Score: 1

      Nvidia's graphic cards are not free...

    8. Re:Unfriendly? by 0100010001010011 · · Score: 1, Insightful

      Vs AMD which says "Here's 1000 pages of Spec" you guys can write code to do what ever you want.

      I'm not on the whole "BSD License is the Devil, GPL for life!" bandwagon. They're both open source. Nvidia actually provides timely updates and it works. My AMD machine on the other hand

      1) just had support dropped. The motherboard is around 2 years old and I just got the warning from debian that it is 'no longer supported'.
      2) It doesn't work. Hardware acceleration of x264 would just crash XBMC. I've heard it's gotten better but between "Crashes but is completely open source" and "closed source but works" I'm going to choose the latter.

    9. Re:Unfriendly? by kthreadd · · Score: 1

      That is true.

      Nvidia provides a driver on Linux and FreeBSD, which they don't have to do. I'm sure they would do just fine financially by only supporting Microsoft Windows and perhaps Mac OS X.

      As a Linux user I'm happy that I can buy a modern powerful graphics card and use it on Linux.
      I would of course appreciate it if their driver were open source and we had proper documentation.

      The fact that we don't doesn't mean that Nvidia is unfriendly toward open source, just that they are not as friendly as they could be.

    10. Re:Unfriendly? by maxwell+demon · · Score: 1

      I think they'd miss out on large parts of the graphics card computing market if they didn't support Linux.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    11. Re:Unfriendly? by maxwell+demon · · Score: 1

      Vs AMD which says "Here's 1000 pages of Spec" you guys can write code to do what ever you want.

      I'm not on the whole "BSD License is the Devil, GPL for life!" bandwagon. They're both open source. Nvidia actually provides timely updates and it works. My AMD machine on the other hand

      Since when is NVidias driver under the BSD license?

      --
      The Tao of math: The numbers you can count are not the real numbers.
    12. Re:Unfriendly? by Svartalf · · Score: 1

      They're both open source

      Show me the NVidia drivers that were developed mainly by the community with help from NVidia themselves.

      (Hint: I'm not holding my breath...can't hold it anywhere near forever...)

      However, I *can* show you AMD drivers that meet that criteria...

      You keep using that word...I don't think it means what you think it means...

      --
      I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
    13. Re:Unfriendly? by zixxt · · Score: 1

      Nvidia is beyond unfriendly to open source, they are enemy's of OSS.

      --
      ---- GENERATION 26: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    14. Re:Unfriendly? by Svartalf · · Score: 1

      Valve employees said it.

      --
      I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
    15. Re:Unfriendly? by ifiwereasculptor · · Score: 1

      Yes, fglrx is terrible when it comes to support, both for not-so-old cards and for newer Xorg versions. NVIDIA's blob is much better in that case. What I meant is that AMD's superior (though still lacking, IMHO) open-source efforts lead to better support for old cards. Your notebook seems to be a special case. From Wikipedia:

      Since Intel has not given the 1333 MHz FSB license to ATI Technologies after the company was purchased by AMD, the Radeon Xpress 1250 only comes with official support of 1066 MHz Front Side Bus (FSB).

      Other than that, though, the norm is that old AMD GPUs work well with the open driver, while old NVIDIA GPUs are just plain broken with both the open driver and the blob. And, as I said, AMD is not a particularly good example, it is merely better than NVIDIA on the open front.

      And NVIDIA have been screwing up lately in a big way, while fglrx has been getting slightly better (and still by no means accceptable - Kwin and fglrx seem to be promoting a daily orgy on my machine). Seems like the best option we have on Linux is still Intel's underpowered hardware.

    16. Re:Unfriendly? by 0123456 · · Score: 1

      GeForce FX was state of the art when I didn't even have a computer - today it's a dinosaur just like NetBurst P4.

      GeForce FX was always a piece of crap compared to ATI cards of its era. It's probably Nvidia's most embarassingly bad product, so I'm not surprised they just want to forget about it.

    17. Re:Unfriendly? by gerddie · · Score: 1

      Free lunch? You paid for the graphics card, right?

    18. Re:Unfriendly? by kthreadd · · Score: 1

      True, but the point was that I remember a time when the luxury of even having access to decent graphics on Linux was a privilege. Nvidia doesn't have to support Linux more than any other vendor. Complaining about Nvidia not being "more open" is I think even a bit disrespectful.

    19. Re:Unfriendly? by ArsonSmith · · Score: 1

      10 years ago Linux was begging for support, now that it's become a desktop user power house it can demand support.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    20. Re:Unfriendly? by 0100010001010011 · · Score: 1

      Did I say Nvidia's driver was open source? Jesus you people need to learn reading comprehension.

      How about you pick off the statement immediately before that:
      "BSD License is the Devil, GPL for life!" bandwagon. They're both open source.

      They in this case refers to the BSD License and the GPL. I was stating that I am not a OSS zealot and that I don't care.

    21. Re:Unfriendly? by drinkypoo · · Score: 1

      The 690M is still a pariah chip.

      Yes, I noticed. Unfortunately for me, and much less unfortunately but still slightly so for AMD, it has utterly eliminated all trust I had in AMD. They abandoned the mobile Athlon 64 without decent Linux power management support, too. You know, like Intel has promised to do with the Cedar Trail chips that Microsoft is using in their tablets. I was suckered in by Geode and dissed with R690M. Obviously AMD is never going to rectify this situation. So clearly, I am never going to trust AMD again. This means I may well never buy another new computer, at least, not an x86-compatible one. And by the same token, if someone asks me what kind of PC to buy, I don't have any advice for them. Intel wants too much money and AMD is untrustworthy.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    22. Re:Unfriendly? by Massacrifice · · Score: 1

      Boo-hoo. Here, take these FULLY OPENED woodblocks on a skewer. They don't need drivers and you can do math-stuff with'em by moving the blocks around.

      --
      -- Home is where you eat your heart out.
    23. Re:Unfriendly? by Sigg3.net · · Score: 1

      Apparently he mistook Linux-friendly for OSS friendly.

    24. Re:Unfriendly? by Andtalath · · Score: 1

      They are unfriendly to OSS.
      They are friendly to OSS systems.

      Quite a big difference.

    25. Re:Unfriendly? by gmack · · Score: 1

      Here is an example from a few years back. I bought a nice new laptop after confirming that all components were compatible with Linux but what I didn't expect was that the wireless driver and the video driver required different kernels and in the end I had a useless laptop for the two weeks it took me to have a new mini PCI-E wireless card shipped to me.

    26. Re:Unfriendly? by drinkypoo · · Score: 1

      Boo-hoo. Here, take these FULLY OPENED woodblocks on a skewer. They don't need drivers and you can do math-stuff with'em by moving the blocks around.

      Congratulations, you win my coveted first stupid asshole of the morning award. One regularly expects a company which sells processors and chipsets to make drivers available for them, and AMD had gone out of their way to provide excellent linux support for their prior mobile processors, the Geode line, so there was no good reason to believe that they would not provide good support for their Mobile Athlon 64 line, and the associated chipset. When they brought it out it was superior to Atom, but they failed utterly at marketing and nobody knew it existed, then they abandoned it after their failure. This is AMD's failure, not mine.

      As an aside, I have a table saw, lathe, miter saw, jig saw, etc etc. I could do something with your blocks of wood. For example, I could throw them at you and hit you in your stupid face.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    27. Re:Unfriendly? by Blaskowicz · · Score: 1

      duh, who cares about OpenCL? OpencCL is dead. It's a benchmarking platform.

      If proprietery drivers aren't better than open source, it's sad. Graphics drivers cost millions of dollars you know. Linux users can run low quality drivers more easily because there are almost no games, and the users are more tolerant of bugs.

      nvidia did drop support for their much older geforce 6100/7025, recently. Wait.. it's not supported by latest drivers anymore, but a new Legacy driver version has been created, which will be supported and updated for YEARS. nvidia supports their graphics for a decade.

    28. Re:Unfriendly? by maxwell+demon · · Score: 1

      While you didn't explicitly say it, you implied it because of the implicit assumption that what you write is relevant for the question at hand. The fact that you accept that BSD is open source (which is just accepting a fact, so nothing special) is only relevant to your accepting or non-accepting of NVidia's driver if that driver is under the BSD license. And BTW, Stallmann accepts BSD as free software license. He just doesn't recommend it.

      --
      The Tao of math: The numbers you can count are not the real numbers.
  4. How Open is Open? by PhrostyMcByte · · Score: 2

    GPUs can have completely open drivers while remaining quite closed on the hardware side. The one thing they're worried about, their precious shader compilers -- aren't even really needed. Give us an instruction reference to target and we'll make our own damned compiler, and after a while it'll be even better than the proprietary one. It's difficult to believe that it's taking so long to get documentation for something so basic.

    1. Re:How Open is Open? by drinkypoo · · Score: 1

      An instruction reference is not enough. Every GPU contains serious hardware bugs, many of which impact shader code generation.

      OK, so you need a reference and an errata.

      Given the rapid changes in GPU hardware and architecture, GPUs are no where near as mature as CPU ISAs.

      While true, they do at least reuse the same core across a number of different GPUs in at least some cases, so there are not as many targets as there appear to be...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:How Open is Open? by erroneus · · Score: 1

      The problem is more likely "patent" rather than copyright.

      That's the thing about software patents that is rarely talked about. For all other inventions, you have to show how it works. In the case of software, you "describe" how it works in the most vague way possible. This is completely the opposite purpose of patents which is to, among other things, encourage disclosure of technology rather than keeping it as a secret. In the case of software patents, they are doing both... patenting and keeping the specifics secret.

  5. Hope they also release Bunny acodec docs by Anonymous Coward · · Score: 1

    My car's subwoofer uses a Tegra and Bunny based motherboard, so it'd be good to be able to program it so my car can go "boom" a little louder.

  6. Hmm by itsphilip · · Score: 1

    The operative word being "some"

  7. we will see... by higuita · · Score: 2

    we will see if they really do release useful documentation or if this is just smoke and mirrors to try to limit the damage from Linus comments.

    I suspect its just a marketing stunt to try to damage control their android clients (that is why they will release info only about the tegra chip), if not they would also announce the release of docs for the other cards (even if small parts, 2D only).

    Even for damage control, they took away too long, people that didnt knew/cared about nvidia open source position, learn from on of the top leaders that NVIDIA sucks, and if a leader points to a major problem, everyone looks at it.

    Even if this is really a new policy, they still have a long way to help the 3D development and catch up the Intel and AMD.

    Not until NVIDIA really supports the Linux and other open source OS with open drivers and documentations i will buy another nvidia card, nor recommend it... even in tablets (ARM have many closed parts, but at least MALI 400 have already a open drive in the forge)

    --
    Higuita
    1. Re:we will see... by Richard_at_work · · Score: 1

      Why should Nvidia have to give a shit about *your* philosophy - that's what I don't understand about this.

    2. Re:we will see... by ColdWetDog · · Score: 1

      we will see if they really do release useful documentation or if this is just smoke and mirrors to try to limit the damage from Linus comments.

      Sure, they'll release some documentation. Starting with:

      "This page intentionally left blank."

      --
      Faster! Faster! Faster would be better!
    3. Re:we will see... by poetmatt · · Score: 3, Insightful

      Nvidia has done plenty of stupid things - and they aren't anywhere near as open source friendly as they should be. However, I can't see why anyone wouldn't at least applaud them taking steps in the right direction. It isn't "Nvidia is all open source! put away the pitchforks and torches", but why assume that this is marketing or damage control?

      It's literally in their long-term financial interest to be open with providing actual valid and useful documentation....as it would enable us to fine tune their own shit to work better.

    4. Re:we will see... by mvdwege · · Score: 1

      nVidia does not have to care about anyone's philosophy.

      On the other hand, they do want to sell something, so what's wrong with pointing what some of their potential customers want?

      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    5. Re:we will see... by dargaud · · Score: 1

      applaud them taking steps in the right direction

      And as usual Linus was right. Just like RMS. I hope they name some constellations after those guys once they are gone like at the time of the greeks.

      --
      Non-Linux Penguins ?
  8. Screw nVidia by ilikenwf · · Score: 1

    I love their hardware, but their drivers suck. I just switched back to Nouveau so I could have a decent framebuffer. Gripes about systemd sucking aside, and the fact that Plymouth just doesn't work for my setup, I'd really like it if nVidia would just start supporting Nouveau full on - if they have to make certain precautions, they could treat bits they provide as firmwares or something to prevent whatever they see as intellectual property from getting "stolen."

    Furthermore, why VMWare works with the Gallium3D project, yet doesn't support 3D acceleration under the nouveau drivers on a host is beyond me, but really stupid. I'll be buying ATI next time.

  9. Not sure if it's necessary for nvidia open by Vince6791 · · Score: 1

    I read articles stating that nvidia open sourced the nv X driver with the installer, config, and settings that works with the proprietary driver so if anything goes wrong that makes a new kernel incompatible with a current nvidia driver the open source community only have to modify the open source that nvidia offers to make the current driver install on the new kernel. But, I never had any issue with nvidia and ati proprietary drivers for the linux compared to the full open source versions which have bugs and glitches. I run some windows games in wine and they run pretty fast with minor graphical glitches.

      Microsoft pays for the ati and nvidia source code and yet kde is still on par or faster than windows 7 aero.
     

  10. Where's 'Anonymous'? by fustakrakich · · Score: 1

    Why haven't they released the documentation?

    --
    “He’s not deformed, he’s just drunk!”
  11. Misdirection? by Wesley+Felter · · Score: 1

    Oh, you want Optimus documentation? Here, have some documentation! ... for Tegra ... 2D.

  12. Re:Romney to publicly release some tax info by Anonymous Coward · · Score: 1

    If you are going to try to troll something like that try to make it a bit more believable.

    Such as.

    Just announced: to release a notarized statement from PriceWaterhouseCooper saying he payed an average 20% effective tax rate when he was 20.

    or

    Just announced: to release a notarized statement from PriceWaterhouseCooper saying he payed an average 20% effective tax rate over the last 20 years on 2% of his income. The rest was taxed at a rate of 8%.

    or

    Just announced: to release a notarized statement from PriceWaterhouseCooper saying he payed an average 20% effective tax rate over the last 20 years on his private yacht.

    Yeah, he has more money than you and me. We should so totally hate his guts! I mean, it's what all the cool kids do. That's what the world needs - more hatred and petty bickering, not because the guy did something bad to harm you, but because we always have to be in other peoples' business, approving and disapproving, sitting on our high horse and deciding how everything should be.

    Live and let live? No way in hell. That's too simple, peaceful, and doesn't give us nearly enough to get angry about! We need that visceral satisfaction of condemnation, which is the only satisfaction empty people will ever know. Someone else must be blamed for our problems. Someone well-off. That will teach them to have things someone else doesn't have!

    Obama is dirt-poor by the way, just like all the other kids who've spent lots of time at Harvard. He made his millions from selling books and not from running a business, so that's okay. His money is less evil than Romney's. And we are totally unbiased in every way, evaluating everyone by the same standard.