Announcement

Collapse
No announcement yet.

Moving Closer To NVIDIA Optimus On Linux

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

  • Moving Closer To NVIDIA Optimus On Linux

    Phoronix: Moving Closer To NVIDIA Optimus On Linux

    David Airlie filed a second DRM pull request over the night for the Linux 3.3 kernel. This second pull has work related to NVIDIA Optimus technology within the Nouveau driver...

    http://www.phoronix.com/vr.php?view=MTA0MjY

  • #2
    optimus already ( with some issues ) working

    From what I know there is already optimus support under linux with bumblebee ( a very active project ), it uses virtualgl to run applications on discrete graphic cards ( and it WORKS ), it also use a kernel module called bbswitch to turn off card ( acpi_call and vgaswitcheroo too ). Power management is still experimental ( you have to find the right call for your card if you want to use acpi_call ) but it works.

    It was first developped in bash but a new daemon and client rewritten in C are under developpement.

    homepage : https://github.com/Bumblebee-Project

    Comment


    • #3
      Originally posted by jojib_42 View Post
      From what I know there is already optimus support under linux with bumblebee ( a very active project ), it uses virtualgl to run applications on discrete graphic cards ( and it WORKS ), it also use a kernel module called bbswitch to turn off card ( acpi_call and vgaswitcheroo too ). Power management is still experimental ( you have to find the right call for your card if you want to use acpi_call ) but it works.

      It was first developped in bash but a new daemon and client rewritten in C are under developpement.

      homepage : https://github.com/Bumblebee-Project
      Last time i tried bumblebee on a i7 + Nvidia laptop it was still crap.

      I agree with the last sentence of the article
      For now it's recommended to just avoid the hardware.
      Indeed, i have to purchase a new laptop, and for sure it's not gonna be intel + Nvidia GPU. I'll stick with the Sandy bridge IGP.

      Comment


      • #4
        I agree... Vote with your wallet and not buy this hardware.

        AMD or Intel graphics, all the way.

        And I've always been an nvidia fan boy too (My SLI'd GTX 470s are water cooled and all 5 of my desktop PCs at home have nvidia GPUs)..nvidia gets no more money from me if they keep this up.

        nvidia should have required that *EVERY* laptop that shipped with Optimus have a hardware switch / mux. But they didn't, which means they're really not thinking or caring about Linux compatibility.

        Comment


        • #5
          You can be 99% sure that you can not switch from intel to amd without issues if it works at all. Usually you have to blacklist the kernel driver for the other card, like blacklist=radeon in order to get an X screen. Then you see something, nice, but the amd card still is on full power on mode, because that way it was not really disabled. Maybe you can find a solution after fiddling several weeks around, but out of the box it is useless when you dont want to use a psu all the time.

          Comment


          • #6
            Originally posted by Kano View Post
            You can be 99% sure that you can not switch from intel to amd without issues if it works at all. Usually you have to blacklist the kernel driver for the other card, like blacklist=radeon in order to get an X screen. Then you see something, nice, but the amd card still is on full power on mode, because that way it was not really disabled. Maybe you can find a solution after fiddling several weeks around, but out of the box it is useless when you dont want to use a psu all the time.
            I honestly think he meant Intel _or_ AMD card, not to combination of the two.

            Comment


            • #7
              Originally posted by Sidicas View Post
              I agree... Vote with your wallet and not buy this hardware.

              AMD or Intel graphics, all the way.

              And I've always been an nvidia fan boy too (My SLI'd GTX 470s are water cooled and all 5 of my desktop PCs at home have nvidia GPUs)..nvidia gets no more money from me if they keep this up.

              nvidia should have required that *EVERY* laptop that shipped with Optimus have a hardware switch / mux. But they didn't, which means they're really not thinking or caring about Linux compatibility.
              How about buying hardware on which open source operating systems enjoy first class support instead of second class support? You buy x86 hardware, but the motherboard BIOS is subject to QA testing for Windows first and often nothing else. There is no source code either, so there is no ability to patch it. You buy ethernet hardware, but the manufacturers again do QA testing for Windows first and little else.

              Why not go with something that is tested exclusively against open source software and nothing else? There is plenty of MIPS hardware being produced in China that is only tested against Linux. Heck, it even has open source BIOS software. Cheap Infiniband hardware is available for which the manufacturers advertise Linux support and nothing else. Not to mention that they actually have drivers in the kernel. As far as GPUs go, if you want open source friendly GPUs, why not buy a OGD1?

              I wish people would stop whining about people how others do not vote with their wallets and then do the exact thing that they criticize.

              Comment


              • #8
                @HokTar

                Well it is basically impossible to get a new intel laptop which can really disable onboard vga. Maybe there are some, but i do not know about product names. So usually you get a system with 2 active gfx chips.

                Comment


                • #9
                  Originally posted by Kano View Post
                  Well it is basically impossible to get a new intel laptop which can really disable onboard vga. Maybe there are some, but i do not know about product names.
                  As far as I know all Dell laptops support switching between Intel and Nvidia graphics. So do at least all high-end Lenovos and HP has Intel graphics disabled in it's workstation laptops.

                  Comment


                  • #10
                    I've got a Dell XPS 15z and Bumblebee works at all. It switchs on/off the card and make it usable when needed, power management too.

                    Also, with Bumblebee 3 it will be done by a kernel module so no more acpi calls are neded.

                    Comment


                    • #11
                      I have to agree here... optimus is running fine via bumblebee/ironhide on Ubuntu systems.
                      It is technically speaking of course not an optimal solution, and in 3D modeling applications I have some minor graphical bugs due to the compression algorithm used in the picture transfer, but for all practical purposes (aka gaming) it works fine in 95% of all cases.

                      Comment


                      • #12
                        Originally posted by jojib_42 View Post
                        From what I know there is already optimus support under linux with bumblebee ( a very active project ), it uses virtualgl to run applications on discrete graphic cards ( and it WORKS ), it also use a kernel module called bbswitch to turn off card ( acpi_call and vgaswitcheroo too ). Power management is still experimental ( you have to find the right call for your card if you want to use acpi_call ) but it works.

                        It was first developped in bash but a new daemon and client rewritten in C are under developpement.

                        homepage : https://github.com/Bumblebee-Project
                        I would not call it "support" but a "workaround". Dave Airlie is working on a real solution that actually solves the underlying problem. In Bumblebee 3.0, a module has been added that can disable (and enable) the card on request (indeed, bbswitch). Using acpi_call directly is not recommended as it does not survive suspend (because some settings are lost after resume) and you need to input calls from which you cannot be sure that those are actually correct (as an user).

                        The patch I contributed to vga_switcheroo adds support for Optimus to vga_switcheroo. There is still a suspend issue with vga_switcheroo which Dave is aware of. In bbswitch, I solved it by enabling the card before suspend and disable it after resume. This always works but is the worst option. I've other patches that fixed it for suspend, but those were made in nouveau and since it also affects AMD hardware, the problem is better solved in vga_switcheroo.

                        Comment


                        • #13
                          optimus is working.

                          First of all, mrMeee dropped support for original bumblebee ( which is deprecated since 4 months ) and ironhide ( it is deprecated too now DO NOT USE IRONHIDE ), new bumblebee implementation is the bumblebee-project ( a COMPLETE REWRITE of original bumblebee and ironhide ), current release is in bash and the 3.0 will be in C ( current codename is bumblebeed ). There are 6 people working on the project.

                          While the current bumblebee implementation is not as good as window's one, it does work ! Some applications doesn't have support but for most It works realy well, the only other issue is the speed which is still lower than on windows ( this problem comes directly for virtualgl, which was not designed in the way the bumblebee team is using it ).
                          The performance issue will may be be solved by using a compositing window manager instead of VGL ( It was said on the bumblebee issues list ), speed might bee 100 or 200x faster in the future ...

                          For the acpi support most laptop will be supported by default without even having to find scripts ( bumblebee won't use acpi_call anymore, no more call needed ) by using the bbswitch kernel module ( or an optimus-patched vga_switcheroo ).

                          Comment


                          • #14
                            Originally posted by jojib_42 View Post

                            For the acpi support most laptop will be supported by default without even having to find scripts ( bumblebee won't use acpi_call anymore, no more call needed ) by using the bbswitch kernel module ( or an optimus-patched vga_switcheroo ).
                            Indeed, I'm using bumblebee 3.0 right now and everything works without acpi call scripts. Bumblebee is a great project and it'll be better in the future for sure.

                            Comment

                            Working...
                            X