Is it possible to completely turn off nvidia GPU to be able to run wayland?











up vote
2
down vote

favorite












I'm about to buy a new laptop that is being used with Linux only. Unfortunately finding a Linux laptop is not simple at all, and it seems the only option I found includes a nvidia Quadro M1200 and an Intel HD 630.



I know that it is very complex/impossible to properly run wayland (Ubuntu for instance) on nvidia. Actually I don't care in any way about the nvidia GPU, the Intel GPU should be more than sufficient. But is it possible to completely disable the nvidia GPU to let wayland run properly on the Intel GPU? I read about nvidia prime: can I use it like this? Can I completely disable nvidia and just forget about it, like it was not even there?










share|improve this question






















  • IIRC the nVidia GPU just writes into the Intel GPU framebuffer, so blacklisting the nVidia-related kernel modules should suffice.
    – Ignacio Vazquez-Abrams
    Nov 4 '17 at 9:25










  • So blacklisting the driver forces a fallback to the integrated Intel GPU which should allow me to properly run wayland? Would be great! Someone actually doing this succesfully?
    – Luca Carlon
    Nov 4 '17 at 9:33















up vote
2
down vote

favorite












I'm about to buy a new laptop that is being used with Linux only. Unfortunately finding a Linux laptop is not simple at all, and it seems the only option I found includes a nvidia Quadro M1200 and an Intel HD 630.



I know that it is very complex/impossible to properly run wayland (Ubuntu for instance) on nvidia. Actually I don't care in any way about the nvidia GPU, the Intel GPU should be more than sufficient. But is it possible to completely disable the nvidia GPU to let wayland run properly on the Intel GPU? I read about nvidia prime: can I use it like this? Can I completely disable nvidia and just forget about it, like it was not even there?










share|improve this question






















  • IIRC the nVidia GPU just writes into the Intel GPU framebuffer, so blacklisting the nVidia-related kernel modules should suffice.
    – Ignacio Vazquez-Abrams
    Nov 4 '17 at 9:25










  • So blacklisting the driver forces a fallback to the integrated Intel GPU which should allow me to properly run wayland? Would be great! Someone actually doing this succesfully?
    – Luca Carlon
    Nov 4 '17 at 9:33













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I'm about to buy a new laptop that is being used with Linux only. Unfortunately finding a Linux laptop is not simple at all, and it seems the only option I found includes a nvidia Quadro M1200 and an Intel HD 630.



I know that it is very complex/impossible to properly run wayland (Ubuntu for instance) on nvidia. Actually I don't care in any way about the nvidia GPU, the Intel GPU should be more than sufficient. But is it possible to completely disable the nvidia GPU to let wayland run properly on the Intel GPU? I read about nvidia prime: can I use it like this? Can I completely disable nvidia and just forget about it, like it was not even there?










share|improve this question













I'm about to buy a new laptop that is being used with Linux only. Unfortunately finding a Linux laptop is not simple at all, and it seems the only option I found includes a nvidia Quadro M1200 and an Intel HD 630.



I know that it is very complex/impossible to properly run wayland (Ubuntu for instance) on nvidia. Actually I don't care in any way about the nvidia GPU, the Intel GPU should be more than sufficient. But is it possible to completely disable the nvidia GPU to let wayland run properly on the Intel GPU? I read about nvidia prime: can I use it like this? Can I completely disable nvidia and just forget about it, like it was not even there?







nvidia intel-graphics gpu wayland






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 4 '17 at 9:20









Luca Carlon

179111




179111












  • IIRC the nVidia GPU just writes into the Intel GPU framebuffer, so blacklisting the nVidia-related kernel modules should suffice.
    – Ignacio Vazquez-Abrams
    Nov 4 '17 at 9:25










  • So blacklisting the driver forces a fallback to the integrated Intel GPU which should allow me to properly run wayland? Would be great! Someone actually doing this succesfully?
    – Luca Carlon
    Nov 4 '17 at 9:33


















  • IIRC the nVidia GPU just writes into the Intel GPU framebuffer, so blacklisting the nVidia-related kernel modules should suffice.
    – Ignacio Vazquez-Abrams
    Nov 4 '17 at 9:25










  • So blacklisting the driver forces a fallback to the integrated Intel GPU which should allow me to properly run wayland? Would be great! Someone actually doing this succesfully?
    – Luca Carlon
    Nov 4 '17 at 9:33
















IIRC the nVidia GPU just writes into the Intel GPU framebuffer, so blacklisting the nVidia-related kernel modules should suffice.
– Ignacio Vazquez-Abrams
Nov 4 '17 at 9:25




IIRC the nVidia GPU just writes into the Intel GPU framebuffer, so blacklisting the nVidia-related kernel modules should suffice.
– Ignacio Vazquez-Abrams
Nov 4 '17 at 9:25












So blacklisting the driver forces a fallback to the integrated Intel GPU which should allow me to properly run wayland? Would be great! Someone actually doing this succesfully?
– Luca Carlon
Nov 4 '17 at 9:33




So blacklisting the driver forces a fallback to the integrated Intel GPU which should allow me to properly run wayland? Would be great! Someone actually doing this succesfully?
– Luca Carlon
Nov 4 '17 at 9:33










4 Answers
4






active

oldest

votes

















up vote
2
down vote













I am just here to answer this question



Although I have not used a Optimus laptop for years. Bumblebee community created a kernel module bbswitch



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



You can turn off the nvidia card as long as a driver is not loaded.



 # to check status 
$ cat /proc/acpi/bbswitch

# to turn off or on respectably
$tee /proc/acpi/bbswitch <<<OFF
$tee /proc/acpi/bbswitch <<<ON


If I knew there was a thread, I would had posted the answer much earlier.



I guess I am fighting against https://xkcd.com/979/






share|improve this answer




























    up vote
    1
    down vote













    On some notebooks (the venerable Lenovo TP 520W being an example), one can select which graphics board to use in the BIOS setup (in this example "Auto", "Discrete" (NVIDIA), "Internal" (Intel) - IIRC).



    Setting to internal will save a lot of power, make installation easier, but might impede the use of external displays.






    share|improve this answer





















    • I would prefer not to rely on this as Dell is not probably providing this feature.
      – Luca Carlon
      Nov 4 '17 at 11:14


















    up vote
    1
    down vote













    To gather information about the laptop model, install dmidecode. For the DSDT/SSDT
    files, install the acpidump and iasl tools:



    sudo apt-get install acpidump iasl dmidecode


    or (on Fedora):



    sudo yum install pmtools iasl dmidecode


    Then use the script from http://lekensteyn.nl/files/get-acpi-info.sh to create the
    tarball containing information about the laptop model, PCI hardware and ACPI tables.
    To do so, run the following commands in a terminal:



    wget http://lekensteyn.nl/files/get-acpi-info.sh
    sh get-acpi-info.sh


    This will create a tar.gz file that you can attach to the bug report. In the comment itself, please include a link to the product page of the model (if available).



    Given this information, it will be possible to know if there is any existing software that can switch off your Nvidia graphics card or if the software needs to be adapted to be compatible with the BIOS of your laptop.






    share|improve this answer




























      up vote
      0
      down vote



      accepted










      The answer was simple: just install nvidia drivers, open the nvidia settings page and set to use the Intel HD GPU only. Login again and you are done. Works perfectly. Battery lasts much much longer and wayland works properly.



      As soon as the nvidia GPU is enabled, it seems that the fan turns on immediately, and keeps running even when idle. That is probably a large part of battery consumption. I'm wondering if that is reasonable or not: is that fan really always needed?






      share|improve this answer





















        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "106"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f402466%2fis-it-possible-to-completely-turn-off-nvidia-gpu-to-be-able-to-run-wayland%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        2
        down vote













        I am just here to answer this question



        Although I have not used a Optimus laptop for years. Bumblebee community created a kernel module bbswitch



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



        You can turn off the nvidia card as long as a driver is not loaded.



         # to check status 
        $ cat /proc/acpi/bbswitch

        # to turn off or on respectably
        $tee /proc/acpi/bbswitch <<<OFF
        $tee /proc/acpi/bbswitch <<<ON


        If I knew there was a thread, I would had posted the answer much earlier.



        I guess I am fighting against https://xkcd.com/979/






        share|improve this answer

























          up vote
          2
          down vote













          I am just here to answer this question



          Although I have not used a Optimus laptop for years. Bumblebee community created a kernel module bbswitch



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



          You can turn off the nvidia card as long as a driver is not loaded.



           # to check status 
          $ cat /proc/acpi/bbswitch

          # to turn off or on respectably
          $tee /proc/acpi/bbswitch <<<OFF
          $tee /proc/acpi/bbswitch <<<ON


          If I knew there was a thread, I would had posted the answer much earlier.



          I guess I am fighting against https://xkcd.com/979/






          share|improve this answer























            up vote
            2
            down vote










            up vote
            2
            down vote









            I am just here to answer this question



            Although I have not used a Optimus laptop for years. Bumblebee community created a kernel module bbswitch



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



            You can turn off the nvidia card as long as a driver is not loaded.



             # to check status 
            $ cat /proc/acpi/bbswitch

            # to turn off or on respectably
            $tee /proc/acpi/bbswitch <<<OFF
            $tee /proc/acpi/bbswitch <<<ON


            If I knew there was a thread, I would had posted the answer much earlier.



            I guess I am fighting against https://xkcd.com/979/






            share|improve this answer












            I am just here to answer this question



            Although I have not used a Optimus laptop for years. Bumblebee community created a kernel module bbswitch



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



            You can turn off the nvidia card as long as a driver is not loaded.



             # to check status 
            $ cat /proc/acpi/bbswitch

            # to turn off or on respectably
            $tee /proc/acpi/bbswitch <<<OFF
            $tee /proc/acpi/bbswitch <<<ON


            If I knew there was a thread, I would had posted the answer much earlier.



            I guess I am fighting against https://xkcd.com/979/







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 28 at 18:59









            user1462442

            1213




            1213
























                up vote
                1
                down vote













                On some notebooks (the venerable Lenovo TP 520W being an example), one can select which graphics board to use in the BIOS setup (in this example "Auto", "Discrete" (NVIDIA), "Internal" (Intel) - IIRC).



                Setting to internal will save a lot of power, make installation easier, but might impede the use of external displays.






                share|improve this answer





















                • I would prefer not to rely on this as Dell is not probably providing this feature.
                  – Luca Carlon
                  Nov 4 '17 at 11:14















                up vote
                1
                down vote













                On some notebooks (the venerable Lenovo TP 520W being an example), one can select which graphics board to use in the BIOS setup (in this example "Auto", "Discrete" (NVIDIA), "Internal" (Intel) - IIRC).



                Setting to internal will save a lot of power, make installation easier, but might impede the use of external displays.






                share|improve this answer





















                • I would prefer not to rely on this as Dell is not probably providing this feature.
                  – Luca Carlon
                  Nov 4 '17 at 11:14













                up vote
                1
                down vote










                up vote
                1
                down vote









                On some notebooks (the venerable Lenovo TP 520W being an example), one can select which graphics board to use in the BIOS setup (in this example "Auto", "Discrete" (NVIDIA), "Internal" (Intel) - IIRC).



                Setting to internal will save a lot of power, make installation easier, but might impede the use of external displays.






                share|improve this answer












                On some notebooks (the venerable Lenovo TP 520W being an example), one can select which graphics board to use in the BIOS setup (in this example "Auto", "Discrete" (NVIDIA), "Internal" (Intel) - IIRC).



                Setting to internal will save a lot of power, make installation easier, but might impede the use of external displays.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 4 '17 at 11:11









                achimh

                112




                112












                • I would prefer not to rely on this as Dell is not probably providing this feature.
                  – Luca Carlon
                  Nov 4 '17 at 11:14


















                • I would prefer not to rely on this as Dell is not probably providing this feature.
                  – Luca Carlon
                  Nov 4 '17 at 11:14
















                I would prefer not to rely on this as Dell is not probably providing this feature.
                – Luca Carlon
                Nov 4 '17 at 11:14




                I would prefer not to rely on this as Dell is not probably providing this feature.
                – Luca Carlon
                Nov 4 '17 at 11:14










                up vote
                1
                down vote













                To gather information about the laptop model, install dmidecode. For the DSDT/SSDT
                files, install the acpidump and iasl tools:



                sudo apt-get install acpidump iasl dmidecode


                or (on Fedora):



                sudo yum install pmtools iasl dmidecode


                Then use the script from http://lekensteyn.nl/files/get-acpi-info.sh to create the
                tarball containing information about the laptop model, PCI hardware and ACPI tables.
                To do so, run the following commands in a terminal:



                wget http://lekensteyn.nl/files/get-acpi-info.sh
                sh get-acpi-info.sh


                This will create a tar.gz file that you can attach to the bug report. In the comment itself, please include a link to the product page of the model (if available).



                Given this information, it will be possible to know if there is any existing software that can switch off your Nvidia graphics card or if the software needs to be adapted to be compatible with the BIOS of your laptop.






                share|improve this answer

























                  up vote
                  1
                  down vote













                  To gather information about the laptop model, install dmidecode. For the DSDT/SSDT
                  files, install the acpidump and iasl tools:



                  sudo apt-get install acpidump iasl dmidecode


                  or (on Fedora):



                  sudo yum install pmtools iasl dmidecode


                  Then use the script from http://lekensteyn.nl/files/get-acpi-info.sh to create the
                  tarball containing information about the laptop model, PCI hardware and ACPI tables.
                  To do so, run the following commands in a terminal:



                  wget http://lekensteyn.nl/files/get-acpi-info.sh
                  sh get-acpi-info.sh


                  This will create a tar.gz file that you can attach to the bug report. In the comment itself, please include a link to the product page of the model (if available).



                  Given this information, it will be possible to know if there is any existing software that can switch off your Nvidia graphics card or if the software needs to be adapted to be compatible with the BIOS of your laptop.






                  share|improve this answer























                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    To gather information about the laptop model, install dmidecode. For the DSDT/SSDT
                    files, install the acpidump and iasl tools:



                    sudo apt-get install acpidump iasl dmidecode


                    or (on Fedora):



                    sudo yum install pmtools iasl dmidecode


                    Then use the script from http://lekensteyn.nl/files/get-acpi-info.sh to create the
                    tarball containing information about the laptop model, PCI hardware and ACPI tables.
                    To do so, run the following commands in a terminal:



                    wget http://lekensteyn.nl/files/get-acpi-info.sh
                    sh get-acpi-info.sh


                    This will create a tar.gz file that you can attach to the bug report. In the comment itself, please include a link to the product page of the model (if available).



                    Given this information, it will be possible to know if there is any existing software that can switch off your Nvidia graphics card or if the software needs to be adapted to be compatible with the BIOS of your laptop.






                    share|improve this answer












                    To gather information about the laptop model, install dmidecode. For the DSDT/SSDT
                    files, install the acpidump and iasl tools:



                    sudo apt-get install acpidump iasl dmidecode


                    or (on Fedora):



                    sudo yum install pmtools iasl dmidecode


                    Then use the script from http://lekensteyn.nl/files/get-acpi-info.sh to create the
                    tarball containing information about the laptop model, PCI hardware and ACPI tables.
                    To do so, run the following commands in a terminal:



                    wget http://lekensteyn.nl/files/get-acpi-info.sh
                    sh get-acpi-info.sh


                    This will create a tar.gz file that you can attach to the bug report. In the comment itself, please include a link to the product page of the model (if available).



                    Given this information, it will be possible to know if there is any existing software that can switch off your Nvidia graphics card or if the software needs to be adapted to be compatible with the BIOS of your laptop.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 30 '17 at 22:17









                    719016

                    311125




                    311125






















                        up vote
                        0
                        down vote



                        accepted










                        The answer was simple: just install nvidia drivers, open the nvidia settings page and set to use the Intel HD GPU only. Login again and you are done. Works perfectly. Battery lasts much much longer and wayland works properly.



                        As soon as the nvidia GPU is enabled, it seems that the fan turns on immediately, and keeps running even when idle. That is probably a large part of battery consumption. I'm wondering if that is reasonable or not: is that fan really always needed?






                        share|improve this answer

























                          up vote
                          0
                          down vote



                          accepted










                          The answer was simple: just install nvidia drivers, open the nvidia settings page and set to use the Intel HD GPU only. Login again and you are done. Works perfectly. Battery lasts much much longer and wayland works properly.



                          As soon as the nvidia GPU is enabled, it seems that the fan turns on immediately, and keeps running even when idle. That is probably a large part of battery consumption. I'm wondering if that is reasonable or not: is that fan really always needed?






                          share|improve this answer























                            up vote
                            0
                            down vote



                            accepted







                            up vote
                            0
                            down vote



                            accepted






                            The answer was simple: just install nvidia drivers, open the nvidia settings page and set to use the Intel HD GPU only. Login again and you are done. Works perfectly. Battery lasts much much longer and wayland works properly.



                            As soon as the nvidia GPU is enabled, it seems that the fan turns on immediately, and keeps running even when idle. That is probably a large part of battery consumption. I'm wondering if that is reasonable or not: is that fan really always needed?






                            share|improve this answer












                            The answer was simple: just install nvidia drivers, open the nvidia settings page and set to use the Intel HD GPU only. Login again and you are done. Works perfectly. Battery lasts much much longer and wayland works properly.



                            As soon as the nvidia GPU is enabled, it seems that the fan turns on immediately, and keeps running even when idle. That is probably a large part of battery consumption. I'm wondering if that is reasonable or not: is that fan really always needed?







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 2 days ago









                            Luca Carlon

                            179111




                            179111






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f402466%2fis-it-possible-to-completely-turn-off-nvidia-gpu-to-be-able-to-run-wayland%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Accessing regular linux commands in Huawei's Dopra Linux

                                Can't connect RFCOMM socket: Host is down

                                Kernel panic - not syncing: Fatal Exception in Interrupt