Announcement

Collapse
No announcement yet.

NVIDIA Talks Of Optimus Possibilities For Linux

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Btw, for those who are unaware, the ati proprietary drivers (fglrx) already support muxless hybrid intel/ati graphics - which I think is the equivalent of Optimus. It does so by interacting with the Intel's X.org userspace driver - so it feels a little laggy. So while I don't see dma-buf as a necessary feature for hybrid graphics, I hope it does makes things faster.

    Funny part is with these muxless systems, you simultaneously get both KMS with the Intel driver and the good features of fglrx (nice OpenGL performance and also OpenCL). KMS otherwise wouldn't be possible with fglrx (or other closed drivers). So hybrid graphics FTW!

    Comment


    • #32
      ignorance vs. wisdom

      Originally posted by gururise View Post
      For whatever reason, the management at Nvidia will not allow this. I'd hope the kernel developers realize that not every company can, or is willing to, release OSS drivers for their product. If the kernel devs are going to object on moral grounds, why not remove support for binary blobs altogether?
      again, "moral" bullshit...
      there is are "moral grounds". there are good, practical fucking reasons for rules, regulations and licensing in place to ensure that no participant sways the blanket on their side, so to speak, and no user interests are diminished while they're trying to do so.

      Originally posted by patrik View Post
      That last bit of freedom you're asking for can be quite expensive. If we make life easier for binary blobs, the result will be more binary blobs. More binary blobs equals less freedom. So by asking for more you get less.

      I sometimes use closed source software as well, but I try very hard not to become dependent on it. Once you're stuck... you're stuck.
      words of wisdom, Words of Fucking Wisdom, man!
      it's good that there are still people with damn clue.

      Comment


      • #33
        Originally posted by Qaridarium View Post
        i hope they left nvidia in the dark. this anti open-source company should die.
        nvidia can survive without Linux users, can users* use Linux without nvidia drivers?

        *who own nvidia hw

        Comment


        • #34
          Originally posted by RussianNeuroMancer View Post
          Isn't that mean DMA-BUF may be used in Intel, nouveau and R600g drivers for implementation Optimus and AMD Dual Graphics in FOSS drivers?
          Originally posted by agd5f View Post
          It's meant for sharing dma-able memory between drivers. That could be muxless hybrid laptops, zero copy video between v4l and drm, etc.
          AMBER GRANER of the
          Linaro vendors
          did a write-up of why ARM needs it
          http://www.linaro.org/linaro-blog/20...-linux-kernel/
          POSTED ON
          JANUARY 12, 2012
          BY
          AMBER GRANER
          Linaro’s Emphasis on dma_buf in the 3.3 Linux Kernel


          Jesse Barker, Graphics WG (Working Group) Tech Lead for Linaro shares with readers the importance and challenges in getting dma_buf inclusion for 3.3 Linux Kernel.Back in April, as we—a collective group of hardware vendors, software vendors, kernel developers and maintainers from across many areas of the Linux community—were preparing for the memory management mini-summit at Linaro Connect (still called Linaro Developer Summit at the time), and later during the event itself, identified three main areas within the kernel that would need explicit attention, if our “holy grail” use case of a zero-copy video to graphics to display pipeline were to be realized. There were user-space API considerations as well; however, we needed to focus on the kernel first.

          First, we needed to address the requirement of devices that lack ......
          ...
          ....
          Last, but not least, we needed a way for device drivers within the kernel to “share” buffers, that is to have the same buffer mapped for access by multiple devices. This is the crux of the zero-copy pipeline. The core piece of this mechanism is a kernel data structure called “struct dma_buf” which gives device drivers the interfaces they need to negotiate this sharing. Version 3 of the initial proposal for the basic plumbing (much more functionality is needed to fully support something like a modern GPU driver) was recently integrated into Dave Airlie’s DRM tree and pulled into Linus Torvalds’ kernel tree for 3.3 of the Linux kernel. .....


          https://wiki.linaro.org/OfficeofCTO/MemoryManagement
          Memory / Buffer Management

          Overview

          Architecture for hardware accelerators- efficient mechanism for memory sharing and plug-in. Currently, multiple methods used for memory sharing and SoC specific performance optimizations. Consolidation and upstreaming of the merged module is required. A common and efficient mechanism with the capability to use virtual memory for accelerators.
          • Share buffers across ARM, video hw and GPU
          • Similar to hwmem/UMP API but single widely adopted API across all
          • Relying on memory regions and hotplug
          Activity in kernel WG + MM experts from landing teams. Visibility into proprietary MM from each Vendor is required
          Project tracking for discrete work items can be found here


          Last edited by popper; 01-26-2012, 10:17 AM.

          Comment


          • #35
            I really hope a way to do buffer sharing between nvidia blob and intel will be found. It would be even better if it will use DMA-BUF. This without violate Kernel owner's rights indeed. But i do really hope Kernel devs can understand the importance of having fully functional hardware. There must be balance between philosophy and engineering. Too much philosophy (enforcing on user and devs rights and freedom) and you may actually hust the user from a practical point of view, too much engineering and you will end loosing your freedom (as with an ipad, aka the cool jail).

            Non working or semi-working hardware due to driver misses is the stopper for linux as a desktop. FOSS drivers are just semiworking (except the intel one, since that's the main driver done by the manufacter). Radeon is not bad, AMD supports it, but with a limited man power, nouveau is a russian roulette.

            I don't like having binary drivers. I strongly believe in free software (as in freedom). But i like even less having a non working hardware. You don't have choices in Graphic card world. AMD and NVIDA have binary drivers, and by mean they are superior then the FOSS alternative (with some drawbacks, but still better from a pure practical point of view, ignoring license). Ok there's intel, but here you might have a limit on the power, depending on what you usually do with your pc. If you don't do heavy graphic works then it is just a pleasure to use intel (i have it at work, and i like it very much).

            I would never accept, for example, a propertary scheduler for the linux kernel, but i can live with a propertary device driver (if it is done well, and works as expected), it is binded to the hardware, i can change it if i'm not happy, and migrate to a more free software friendly vendor.

            Propertary software is not all bad, the world is not black and white. NVIDIA at least do something for free software (eg Xorg patches if i'm right).

            So i wish to kernel devs to do the more wise choice, whatever it will be

            Comment


            • #36
              Originally posted by enrico.tagliavini View Post
              I really hope a way to do buffer sharing between nvidia blob and intel will be found. It would be even better if it will use DMA-BUF. This without violate Kernel owner's rights indeed. But i do really hope Kernel devs can understand the importance of having fully functional hardware. There must be balance between philosophy and engineering. Too much philosophy (enforcing on user and devs rights and freedom) and you may actually hust the user from a practical point of view, too much engineering and you will end loosing your freedom (as with an ipad, aka the cool jail).
              I used to argue the same way you do but after 15 years of Linux on my desktop I've seen the consequences. You would most likely already have Optimus support if the driver had been open. Tossing nvidia a bone here because they are late to the party will not make things any better in the future.

              Non working or semi-working hardware due to driver misses is the stopper for linux as a desktop.
              Stopped by manufacturers, not by Linux. Only having binary drivers for Linux is also a stopper for Linux on the desktop. Either way you loose.

              FOSS drivers are just semiworking (except the intel one, since that's the main driver done by the manufacter). Radeon is not bad, AMD supports it, but with a limited man power, nouveau is a russian roulette.
              Your point here is that FOSS drivers backed by manufacturers are good. Drivers with no backing are bad. I totally agree with that.

              I don't like having binary drivers. I strongly believe in free software (as in freedom). But i like even less having a non working hardware. You don't have choices in Graphic card world.
              The manufacturers aren't giving you a choice. Linux developers around the world are trying to help you with this.

              AMD and NVIDA have binary drivers, and by mean they are superior then the FOSS alternative (with some drawbacks, but still better from a pure practical point of view, ignoring license). Ok there's intel, but here you might have a limit on the power, depending on what you usually do with your pc. If you don't do heavy graphic works then it is just a pleasure to use intel (i have it at work, and i like it very much).
              This is a good description of the current situation. But it's not a good situation.

              I would never accept, for example, a propertary scheduler for the linux kernel, but i can live with a propertary device driver (if it is done well, and works as expected), it is binded to the hardware, i can change it if i'm not happy, and migrate to a more free software friendly vendor.
              As you stated above, this is not the case for graphics cards. If you need performance, you must use a binary driver.

              Propertary software is not all bad, the world is not black and white. NVIDIA at least do something for free software (eg Xorg patches if i'm right).
              Binary drivers are fine as long as they don't have bugs and are updated at the same time the software they interact with change. I don't see any of those drivers around? If you load a binary driver your whole kernel gets tainted, and as a consequence you cannot contribute back to the kernel in form of bug reports. Without bug reports the bugs will not get fixed. If Linux is full of bugs, it will not succeed on the desktop, mobile or server platform. I understand your reasoning but in this case the nvidia way of serving their customers is counter productive for the rest of the Linux community. Use the proprietary nvidia driver if you must, but at least don't tell that to nvidia

              So i wish to kernel devs to do the more wise choice, whatever it will be
              They have been doing the right thing for years, but from a user perspective it's not always that obvious.

              Comment


              • #37
                Originally posted by patrik View Post
                I used to argue the same way you do but after 15 years of Linux on my desktop I've seen the consequences. You would most likely already have Optimus support if the driver had been open. Tossing nvidia a bone here because they are late to the party will not make things any better in the future.
                That argument would be more compelling if NVidia actually cared about desktop and laptop Linux users. They don't, they mostly see Linux as a workstation and high-performance computing operating system (hence their support for cuda, for example). Primarily laptop-oriented technologies like optimus and xrandr are simply not considered important by them, both according to their own statements and their history of (non-) support for such technologies.

                So making it harder for them isn't going to convince them to change their ways, it is simply going to make them give up. They simply aren't willing to allocate many resources to getting something like this working, so the harder you make it the less likely they are going to do it at all. As long as releasing binary blobs that share most features between all three operating systems is going to satisfy what they see as their primary audience, why would they change to a much more costly and difficult method of supporting a unique, open-source, linux-only driver?

                The only way to convince NVidia that supporting open-source drivers is if there is sufficient market pressure to do so. It would be great if there were enough people using Linux on their laptops that this were the case, but it isn't right now, and it probably never will if people can't use their hardware properly.

                Comment


                • #38
                  Originally posted by TheBlackCat View Post
                  That argument would be more compelling if NVidia actually cared about desktop and laptop Linux users. They don't, they mostly see Linux as a workstation and high-performance computing operating system (hence their support for cuda, for example). Primarily laptop-oriented technologies like optimus and xrandr are simply not considered important by them, both according to their own statements and their history of (non-) support for such technologies.
                  While this is true, Id like to remind you that AMD also has vision of fglx being workstation-only driver.
                  Now draw the comparison lines and you have nvidia driver which is still superb after so many years, on much wider hardware range and base system (kernel,glibc,xorg) versions.

                  And as of opensource driver, radeon gets too few actual company support and no possiblity for card buyers to support it, except code themself.

                  Comment


                  • #39
                    Originally posted by TheBlackCat View Post
                    That argument would be more compelling if NVidia actually cared about desktop and laptop Linux users. They don't, they mostly see Linux as a workstation and high-performance computing operating system (hence their support for cuda, for example). Primarily laptop-oriented technologies like optimus and xrandr are simply not considered important by them, both according to their own statements and their history of (non-) support for such technologies.
                    If they don't care about desktop Linux we will not get the support we need for our hardware anyways. Sacrificing bits and pieces of what is good about Linux is not worth it IMO.

                    So making it harder for them isn't going to convince them to change their ways, it is simply going to make them give up. They simply aren't willing to allocate many resources to getting something like this working, so the harder you make it the less likely they are going to do it at all. As long as releasing binary blobs that share most features between all three operating systems is going to satisfy what they see as their primary audience, why would they change to a much more costly and difficultaus method of supporting a unique, open-source, linux-only driver?
                    Making it easier will not convince them to change either. By loading their binary modules you effectively give up control of you kernel and many of the advantages you get from it being open. If you don't intend to contribute back to the community this is fine, but the community will not be able to help you. This goes for both you and nvidia.

                    The only way to convince NVidia that supporting open-source drivers is if there is sufficient market pressure to do so. It would be great if there were enough people using Linux on their laptops that this were the case, but it isn't right now, and it probably never will if people can't use their hardware properly.
                    You're not telling nvidia that they should go open source by using their closed driver. What you are doing is telling nvidia that you think it is ok to cripple the Linux ecosystem in exchange of making your hardware work for now.

                    I understand your opinion but I'd like you to look at the bigger picture. I would never trade Linux for better hardware support because only Linux can give us the hardware support we need. Windows is a great example of what you would get if you put too much binary sauce into the mix.

                    Comment


                    • #40
                      Originally posted by crazycheese View Post
                      Id like to remind you that AMD also has vision of fglx being workstation-only driver.
                      Not true. Workstation is first priority for fglrx but I don't think anyone has ever said workstation-only. If you turned the statement around and said that we see 3D workstation as fglrx-only that's probably more true, but it's a completely different statement.

                      Originally posted by crazycheese View Post
                      And as of opensource driver, radeon gets too few actual company support and no possiblity for card buyers to support it, except code themself.
                      It's open source... there are all kinds of other ways for users to support it without coding themselves. What you asked for before was an amd.com web page that lets card buyers to "support the open source drivers" by magically making more money appear for developers, but I've never been able to understand where you think the money will come from. We can't take it away from fglrx, so how is it supposed to work ?
                      Last edited by bridgman; 01-27-2012, 09:36 AM.

                      Comment


                      • #41
                        Originally posted by bridgman View Post
                        magically making more money appear for developers, but I've never been able to understand where you think the money will come from. We can't take it away from fglrx, so how is it supposed to work ?
                        I already answer this question to you:

                        bridgman: "If the cost of "giving more" is a lot higher than the benefit from selling more, I wouldn't call that a win. This is the one place we never seem to be able to connect."

                        This is just speculation because its a chicken vs egg problem you don't sell well because you don't invest money and because you don't invest money you don't sell well.

                        Stupid argumentum ad circulum. (Self-fulfilling prophecy bullshit)

                        But yes i know every stupid economic school teaching and university lecture teach this bullshit.

                        but in fact its just a
                        "Eristic Dialektic pe nefas"
                        -->
                        "Evil technique with unauthorized sugical and micromanipulative methods "

                        This bullshit is know over 1000 of years and you are not the first one trying this crap.

                        o man i read to much old scool "Arthur Schopenhauer - Eristische Dialektik" http://de.wikipedia.org/wiki/Eristische_Dialektik

                        bridgman: "If the cost of doing what is being asked is higher than the money we would make from having 100% share of the affected Linux market then I would argue it's not speculation."


                        and you do it AGAIN! because your claimed fix numbers are NOT FIX! '

                        "than the money we would make from having 100% share of the affected Linux market "

                        what is 100% of the linux market in the future? this is just Speculation!

                        this is just bullshit because of the "Grow" if you do have 40% grow every 5 month you have 100% market share after a longer time.

                        and then the 100% of the linux market in the future is? the HOLE MARKET:

                        and now you can say not YET but this is also wrong because its only not yet because you do not invest.

                        ok and you will try it again. "normal people let you go way with this but i will not. "

                        Comment


                        • #42
                          What does all that have to do with the question, which was how crazycheese's request for an amd.com web page was supposed to help open source development without taking funds from fglrx or increasing our overall Linux spend ?

                          Comment


                          • #43
                            Originally posted by bridgman View Post
                            What does all that have to do with the question, which was how crazycheese's request for an amd.com web page was supposed to help open source development without taking funds from fglrx or increasing our overall Linux spend ?
                            OK i do unterstand you : you don't unterstand this.

                            its the answere were the money come frome.

                            "Magic"

                            imagine you're a farmer and you planted seeds now the point of view of amd is they want earn big plants instanly without grow time.

                            this is just "stupid" you have to wait 1 year to get big plants to earn.

                            BUT amd is even MORE stupid! they don't plant seeds at all because they know they can not earn instandly!

                            no seeds planted means no earn 1 year later.

                            so the magic magic magic answer is: Investment in the "Future" open up your Pocket and spend money on plant seeds and then watch the plants grow.

                            and yes the linux plant seeds do have a good grow rate 40% every 5 months.

                            Comment


                            • #44
                              Focus for a minute

                              ==> WEB PAGE <==

                              How does the amd.com web page that crazycheese wants get more money for Linux development ?

                              We have been spending money in advance of market growth for years, isn't that all you are suggesting here ? The "Linux market growth" you are talking about is mostly Android on smartphones, not PCs, which although nice to see doesn't translate into increased "desktop Linux" or PC sales. Without that...

                              Hey, are you listening to me ?
                              Last edited by bridgman; 01-27-2012, 08:55 PM.

                              Comment


                              • #45
                                Originally posted by bridgman View Post
                                Focus for a minute

                                ==> WEB PAGE <==

                                How does the amd.com web page that crazycheese wants get more money for Linux development ?
                                your web page is 100% windows focuses this means you make commercial for WINDOWS there isn't any Linux commercial on your page!

                                why not chance this? drop the windows SPAM and put in the Linux stuff…

                                Originally posted by bridgman View Post
                                We have been spending money in advance of market growth for years,
                                sure but if someone surf on your www.amd.com page they never get any information about your spending money on LINUX !

                                try something like this: make a commercial like IBM and say this: AMD ARE LINUX !

                                Originally posted by bridgman View Post
                                isn't that all you are suggesting here ? The "Linux market growth" you are talking about is mostly Android on smartphones, not PCs, which although nice to see doesn't translate into increased "desktop Linux" or PC sales. Without that...
                                Hey, are you listening to me ?
                                in my point of view there is no different between a mobile universal computer "smartphone" and a local universal computer. an universal computer is a universal computer.

                                its the same bullshit with notebooks vs local computer (pc) there isn't any difference.

                                i know people without a PC they use there andorid smartphone as a DESKTOP computer.

                                they plug in a HDMI TFT into the smartphone and use a usb or Bluetooth mouse and keyboard and they use a "Network" printer.

                                they do all there Desktop-PC stuff with an andorid phone but your stupid company think this isn't a PC LOL!

                                Originally posted by bridgman View Post
                                mostly Android on smartphones, not PCs."
                                I'm 100% sure this is a lie! i buy a andorid phone and not a windows mobile phone because i'm a LINUX Desktop user. now you count my andorid phone buy as a smartphone use LOL!
                                no in fact your company do not know the fact that i use linux on my Desktop because i build it by my own and no linux preinstalled.
                                and your company only know i buy a andorid(linux) smartphone. but only because Linux is my Desktop OS.

                                maybe next time i buy a PC from a company with preinstalled linux only to make sure you get a linux count but i know this is stupid because the PC companys allways put SHIT hardware in the PCs.

                                Comment

                                Working...
                                X