Nvidia X server - cannot switch to GPU from my Intel, because of python import error












4















NVIDIA PRIME PROFILES



When I try to switch to my NVIDIA this happens:



ERROR: Traceback (most recent call last):
File "/usr/share/screen-resolution-extra/nvidia-prime.py", line 22, in
<module>
import sys, dbus, logging
ImportError: No module named 'dbus'


If it helps there is another error:



** Message: PRIME: Requires offloading
** Message: PRIME: is it supported? yes

ERROR: nvidia-settings could not find the registry key file. This file should
have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.


along with lots of gtk theme parsing errors.



I have GT 635M GPU and I'm running ubuntu 16.04 LTS with gnome desktop installed.



Please help :/



EDIT 1:
I tried running



sudo apt-get install python-dbus


and got



python-dbus is already the newest version (1.2.0-3).


Switching GPU still produces the same error.



EDIT 2:
I edited the nvidia-prime.py as Sneetsher suggested. Running nvidia-settings won't print the sys.version and sys.path, but this is the output if I run the script directly.



bp@ubuntu:~$ python /usr/share/screen-resolution-extra/nvidia-prime.py 
2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413]
['/usr/share/screen-resolution-extra', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']
Usage: /usr/share/screen-resolution-extra/nvidia-prime.py nvidia|intel









share|improve this question




















  • 1





    Welcome to Ask Ubuntu, That is a python module and could be installed using sudo apt-get install python-dbus. Try it & if it didn't work, edit & update the question with the new error message.

    – user.dz
    Jul 11 '16 at 11:28











  • So either corrupted or it uses python3. Try again with sudo apt-get install --reinstall python-dbus python3-dbus

    – user.dz
    Jul 11 '16 at 17:00











  • @Sneetsher still the same results. BTW running python in console and typing "import dbus" doesn't produce an error.

    – BBPP20
    Jul 11 '16 at 17:03











  • open it for edit sudo nano /usr/share/screen-resolution-extra/nvidia-prime.py then comment that line #import sys, dbus, logging and add this instead import sys; print (sys.version); print (sys.path); import dbus, logging to check python version and path used to run this script.

    – user.dz
    Jul 11 '16 at 17:17











  • @Sneetsher this is the output (I will edit it to the post)

    – BBPP20
    Jul 11 '16 at 19:29


















4















NVIDIA PRIME PROFILES



When I try to switch to my NVIDIA this happens:



ERROR: Traceback (most recent call last):
File "/usr/share/screen-resolution-extra/nvidia-prime.py", line 22, in
<module>
import sys, dbus, logging
ImportError: No module named 'dbus'


If it helps there is another error:



** Message: PRIME: Requires offloading
** Message: PRIME: is it supported? yes

ERROR: nvidia-settings could not find the registry key file. This file should
have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.


along with lots of gtk theme parsing errors.



I have GT 635M GPU and I'm running ubuntu 16.04 LTS with gnome desktop installed.



Please help :/



EDIT 1:
I tried running



sudo apt-get install python-dbus


and got



python-dbus is already the newest version (1.2.0-3).


Switching GPU still produces the same error.



EDIT 2:
I edited the nvidia-prime.py as Sneetsher suggested. Running nvidia-settings won't print the sys.version and sys.path, but this is the output if I run the script directly.



bp@ubuntu:~$ python /usr/share/screen-resolution-extra/nvidia-prime.py 
2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413]
['/usr/share/screen-resolution-extra', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']
Usage: /usr/share/screen-resolution-extra/nvidia-prime.py nvidia|intel









share|improve this question




















  • 1





    Welcome to Ask Ubuntu, That is a python module and could be installed using sudo apt-get install python-dbus. Try it & if it didn't work, edit & update the question with the new error message.

    – user.dz
    Jul 11 '16 at 11:28











  • So either corrupted or it uses python3. Try again with sudo apt-get install --reinstall python-dbus python3-dbus

    – user.dz
    Jul 11 '16 at 17:00











  • @Sneetsher still the same results. BTW running python in console and typing "import dbus" doesn't produce an error.

    – BBPP20
    Jul 11 '16 at 17:03











  • open it for edit sudo nano /usr/share/screen-resolution-extra/nvidia-prime.py then comment that line #import sys, dbus, logging and add this instead import sys; print (sys.version); print (sys.path); import dbus, logging to check python version and path used to run this script.

    – user.dz
    Jul 11 '16 at 17:17











  • @Sneetsher this is the output (I will edit it to the post)

    – BBPP20
    Jul 11 '16 at 19:29
















4












4








4


2






NVIDIA PRIME PROFILES



When I try to switch to my NVIDIA this happens:



ERROR: Traceback (most recent call last):
File "/usr/share/screen-resolution-extra/nvidia-prime.py", line 22, in
<module>
import sys, dbus, logging
ImportError: No module named 'dbus'


If it helps there is another error:



** Message: PRIME: Requires offloading
** Message: PRIME: is it supported? yes

ERROR: nvidia-settings could not find the registry key file. This file should
have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.


along with lots of gtk theme parsing errors.



I have GT 635M GPU and I'm running ubuntu 16.04 LTS with gnome desktop installed.



Please help :/



EDIT 1:
I tried running



sudo apt-get install python-dbus


and got



python-dbus is already the newest version (1.2.0-3).


Switching GPU still produces the same error.



EDIT 2:
I edited the nvidia-prime.py as Sneetsher suggested. Running nvidia-settings won't print the sys.version and sys.path, but this is the output if I run the script directly.



bp@ubuntu:~$ python /usr/share/screen-resolution-extra/nvidia-prime.py 
2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413]
['/usr/share/screen-resolution-extra', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']
Usage: /usr/share/screen-resolution-extra/nvidia-prime.py nvidia|intel









share|improve this question
















NVIDIA PRIME PROFILES



When I try to switch to my NVIDIA this happens:



ERROR: Traceback (most recent call last):
File "/usr/share/screen-resolution-extra/nvidia-prime.py", line 22, in
<module>
import sys, dbus, logging
ImportError: No module named 'dbus'


If it helps there is another error:



** Message: PRIME: Requires offloading
** Message: PRIME: is it supported? yes

ERROR: nvidia-settings could not find the registry key file. This file should
have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.


along with lots of gtk theme parsing errors.



I have GT 635M GPU and I'm running ubuntu 16.04 LTS with gnome desktop installed.



Please help :/



EDIT 1:
I tried running



sudo apt-get install python-dbus


and got



python-dbus is already the newest version (1.2.0-3).


Switching GPU still produces the same error.



EDIT 2:
I edited the nvidia-prime.py as Sneetsher suggested. Running nvidia-settings won't print the sys.version and sys.path, but this is the output if I run the script directly.



bp@ubuntu:~$ python /usr/share/screen-resolution-extra/nvidia-prime.py 
2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413]
['/usr/share/screen-resolution-extra', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']
Usage: /usr/share/screen-resolution-extra/nvidia-prime.py nvidia|intel






drivers graphics python nvidia-settings






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 12 '16 at 17:53









edwinksl

16.8k125387




16.8k125387










asked Jul 11 '16 at 9:16









BBPP20BBPP20

315




315








  • 1





    Welcome to Ask Ubuntu, That is a python module and could be installed using sudo apt-get install python-dbus. Try it & if it didn't work, edit & update the question with the new error message.

    – user.dz
    Jul 11 '16 at 11:28











  • So either corrupted or it uses python3. Try again with sudo apt-get install --reinstall python-dbus python3-dbus

    – user.dz
    Jul 11 '16 at 17:00











  • @Sneetsher still the same results. BTW running python in console and typing "import dbus" doesn't produce an error.

    – BBPP20
    Jul 11 '16 at 17:03











  • open it for edit sudo nano /usr/share/screen-resolution-extra/nvidia-prime.py then comment that line #import sys, dbus, logging and add this instead import sys; print (sys.version); print (sys.path); import dbus, logging to check python version and path used to run this script.

    – user.dz
    Jul 11 '16 at 17:17











  • @Sneetsher this is the output (I will edit it to the post)

    – BBPP20
    Jul 11 '16 at 19:29
















  • 1





    Welcome to Ask Ubuntu, That is a python module and could be installed using sudo apt-get install python-dbus. Try it & if it didn't work, edit & update the question with the new error message.

    – user.dz
    Jul 11 '16 at 11:28











  • So either corrupted or it uses python3. Try again with sudo apt-get install --reinstall python-dbus python3-dbus

    – user.dz
    Jul 11 '16 at 17:00











  • @Sneetsher still the same results. BTW running python in console and typing "import dbus" doesn't produce an error.

    – BBPP20
    Jul 11 '16 at 17:03











  • open it for edit sudo nano /usr/share/screen-resolution-extra/nvidia-prime.py then comment that line #import sys, dbus, logging and add this instead import sys; print (sys.version); print (sys.path); import dbus, logging to check python version and path used to run this script.

    – user.dz
    Jul 11 '16 at 17:17











  • @Sneetsher this is the output (I will edit it to the post)

    – BBPP20
    Jul 11 '16 at 19:29










1




1





Welcome to Ask Ubuntu, That is a python module and could be installed using sudo apt-get install python-dbus. Try it & if it didn't work, edit & update the question with the new error message.

– user.dz
Jul 11 '16 at 11:28





Welcome to Ask Ubuntu, That is a python module and could be installed using sudo apt-get install python-dbus. Try it & if it didn't work, edit & update the question with the new error message.

– user.dz
Jul 11 '16 at 11:28













So either corrupted or it uses python3. Try again with sudo apt-get install --reinstall python-dbus python3-dbus

– user.dz
Jul 11 '16 at 17:00





So either corrupted or it uses python3. Try again with sudo apt-get install --reinstall python-dbus python3-dbus

– user.dz
Jul 11 '16 at 17:00













@Sneetsher still the same results. BTW running python in console and typing "import dbus" doesn't produce an error.

– BBPP20
Jul 11 '16 at 17:03





@Sneetsher still the same results. BTW running python in console and typing "import dbus" doesn't produce an error.

– BBPP20
Jul 11 '16 at 17:03













open it for edit sudo nano /usr/share/screen-resolution-extra/nvidia-prime.py then comment that line #import sys, dbus, logging and add this instead import sys; print (sys.version); print (sys.path); import dbus, logging to check python version and path used to run this script.

– user.dz
Jul 11 '16 at 17:17





open it for edit sudo nano /usr/share/screen-resolution-extra/nvidia-prime.py then comment that line #import sys, dbus, logging and add this instead import sys; print (sys.version); print (sys.path); import dbus, logging to check python version and path used to run this script.

– user.dz
Jul 11 '16 at 17:17













@Sneetsher this is the output (I will edit it to the post)

– BBPP20
Jul 11 '16 at 19:29







@Sneetsher this is the output (I will edit it to the post)

– BBPP20
Jul 11 '16 at 19:29












3 Answers
3






active

oldest

votes


















2














I had the same error. I fixed it by running sudo nvidia-settings instead of nvidia-settings. This adds the necessary privileges to launch the application.






share|improve this answer


























  • This worked for me on Ubuntu 17.04. My laptop was running very hot all the time because I couldn't switch from the Nvidia card to the Intel one on my laptop.

    – rgoliveira
    Dec 18 '17 at 0:28











  • If you're still having problems with overheating, I'd recommend installing tlp too. I'm glad it worked!

    – Jesse
    Jan 22 at 17:56











  • I gave up and went back to Windows + WSL. On Linux I had to switch manually between on-board/off-board, which forced me to logoff and login in order for it to work properly, and it still overheated with the GPU turned on.

    – rgoliveira
    Jan 22 at 18:01











  • Fair enough. On the other hand, now you'll incur the overhead of WSL. Best of luck!

    – Jesse
    Jan 22 at 18:22



















1














So I finally fixed the problem. I had to install the latest nvidia drivers (367) and disable safe boot in UEFI. Suddenly it is working.






share|improve this answer































    0














    Try switching GPU using terminal. It does not give an error then.



    TO SWITCH TO NVIDIA GPU:



    sudo prime-select nvidia


    TO SWITCH TO INTEGRATED INTEL GPU:



    sudo prime-select intel





    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      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',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      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%2faskubuntu.com%2fquestions%2f797303%2fnvidia-x-server-cannot-switch-to-gpu-from-my-intel-because-of-python-import-e%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2














      I had the same error. I fixed it by running sudo nvidia-settings instead of nvidia-settings. This adds the necessary privileges to launch the application.






      share|improve this answer


























      • This worked for me on Ubuntu 17.04. My laptop was running very hot all the time because I couldn't switch from the Nvidia card to the Intel one on my laptop.

        – rgoliveira
        Dec 18 '17 at 0:28











      • If you're still having problems with overheating, I'd recommend installing tlp too. I'm glad it worked!

        – Jesse
        Jan 22 at 17:56











      • I gave up and went back to Windows + WSL. On Linux I had to switch manually between on-board/off-board, which forced me to logoff and login in order for it to work properly, and it still overheated with the GPU turned on.

        – rgoliveira
        Jan 22 at 18:01











      • Fair enough. On the other hand, now you'll incur the overhead of WSL. Best of luck!

        – Jesse
        Jan 22 at 18:22
















      2














      I had the same error. I fixed it by running sudo nvidia-settings instead of nvidia-settings. This adds the necessary privileges to launch the application.






      share|improve this answer


























      • This worked for me on Ubuntu 17.04. My laptop was running very hot all the time because I couldn't switch from the Nvidia card to the Intel one on my laptop.

        – rgoliveira
        Dec 18 '17 at 0:28











      • If you're still having problems with overheating, I'd recommend installing tlp too. I'm glad it worked!

        – Jesse
        Jan 22 at 17:56











      • I gave up and went back to Windows + WSL. On Linux I had to switch manually between on-board/off-board, which forced me to logoff and login in order for it to work properly, and it still overheated with the GPU turned on.

        – rgoliveira
        Jan 22 at 18:01











      • Fair enough. On the other hand, now you'll incur the overhead of WSL. Best of luck!

        – Jesse
        Jan 22 at 18:22














      2












      2








      2







      I had the same error. I fixed it by running sudo nvidia-settings instead of nvidia-settings. This adds the necessary privileges to launch the application.






      share|improve this answer















      I had the same error. I fixed it by running sudo nvidia-settings instead of nvidia-settings. This adds the necessary privileges to launch the application.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Jan 22 at 17:59

























      answered Feb 22 '17 at 1:10









      JesseJesse

      215




      215













      • This worked for me on Ubuntu 17.04. My laptop was running very hot all the time because I couldn't switch from the Nvidia card to the Intel one on my laptop.

        – rgoliveira
        Dec 18 '17 at 0:28











      • If you're still having problems with overheating, I'd recommend installing tlp too. I'm glad it worked!

        – Jesse
        Jan 22 at 17:56











      • I gave up and went back to Windows + WSL. On Linux I had to switch manually between on-board/off-board, which forced me to logoff and login in order for it to work properly, and it still overheated with the GPU turned on.

        – rgoliveira
        Jan 22 at 18:01











      • Fair enough. On the other hand, now you'll incur the overhead of WSL. Best of luck!

        – Jesse
        Jan 22 at 18:22



















      • This worked for me on Ubuntu 17.04. My laptop was running very hot all the time because I couldn't switch from the Nvidia card to the Intel one on my laptop.

        – rgoliveira
        Dec 18 '17 at 0:28











      • If you're still having problems with overheating, I'd recommend installing tlp too. I'm glad it worked!

        – Jesse
        Jan 22 at 17:56











      • I gave up and went back to Windows + WSL. On Linux I had to switch manually between on-board/off-board, which forced me to logoff and login in order for it to work properly, and it still overheated with the GPU turned on.

        – rgoliveira
        Jan 22 at 18:01











      • Fair enough. On the other hand, now you'll incur the overhead of WSL. Best of luck!

        – Jesse
        Jan 22 at 18:22

















      This worked for me on Ubuntu 17.04. My laptop was running very hot all the time because I couldn't switch from the Nvidia card to the Intel one on my laptop.

      – rgoliveira
      Dec 18 '17 at 0:28





      This worked for me on Ubuntu 17.04. My laptop was running very hot all the time because I couldn't switch from the Nvidia card to the Intel one on my laptop.

      – rgoliveira
      Dec 18 '17 at 0:28













      If you're still having problems with overheating, I'd recommend installing tlp too. I'm glad it worked!

      – Jesse
      Jan 22 at 17:56





      If you're still having problems with overheating, I'd recommend installing tlp too. I'm glad it worked!

      – Jesse
      Jan 22 at 17:56













      I gave up and went back to Windows + WSL. On Linux I had to switch manually between on-board/off-board, which forced me to logoff and login in order for it to work properly, and it still overheated with the GPU turned on.

      – rgoliveira
      Jan 22 at 18:01





      I gave up and went back to Windows + WSL. On Linux I had to switch manually between on-board/off-board, which forced me to logoff and login in order for it to work properly, and it still overheated with the GPU turned on.

      – rgoliveira
      Jan 22 at 18:01













      Fair enough. On the other hand, now you'll incur the overhead of WSL. Best of luck!

      – Jesse
      Jan 22 at 18:22





      Fair enough. On the other hand, now you'll incur the overhead of WSL. Best of luck!

      – Jesse
      Jan 22 at 18:22













      1














      So I finally fixed the problem. I had to install the latest nvidia drivers (367) and disable safe boot in UEFI. Suddenly it is working.






      share|improve this answer




























        1














        So I finally fixed the problem. I had to install the latest nvidia drivers (367) and disable safe boot in UEFI. Suddenly it is working.






        share|improve this answer


























          1












          1








          1







          So I finally fixed the problem. I had to install the latest nvidia drivers (367) and disable safe boot in UEFI. Suddenly it is working.






          share|improve this answer













          So I finally fixed the problem. I had to install the latest nvidia drivers (367) and disable safe boot in UEFI. Suddenly it is working.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 12 '16 at 16:44









          BBPP20BBPP20

          315




          315























              0














              Try switching GPU using terminal. It does not give an error then.



              TO SWITCH TO NVIDIA GPU:



              sudo prime-select nvidia


              TO SWITCH TO INTEGRATED INTEL GPU:



              sudo prime-select intel





              share|improve this answer




























                0














                Try switching GPU using terminal. It does not give an error then.



                TO SWITCH TO NVIDIA GPU:



                sudo prime-select nvidia


                TO SWITCH TO INTEGRATED INTEL GPU:



                sudo prime-select intel





                share|improve this answer


























                  0












                  0








                  0







                  Try switching GPU using terminal. It does not give an error then.



                  TO SWITCH TO NVIDIA GPU:



                  sudo prime-select nvidia


                  TO SWITCH TO INTEGRATED INTEL GPU:



                  sudo prime-select intel





                  share|improve this answer













                  Try switching GPU using terminal. It does not give an error then.



                  TO SWITCH TO NVIDIA GPU:



                  sudo prime-select nvidia


                  TO SWITCH TO INTEGRATED INTEL GPU:



                  sudo prime-select intel






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 13 '17 at 18:47









                  Amey KasarAmey Kasar

                  1112




                  1112






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • 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%2faskubuntu.com%2fquestions%2f797303%2fnvidia-x-server-cannot-switch-to-gpu-from-my-intel-because-of-python-import-e%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

                      數位音樂下載

                      When can things happen in Etherscan, such as the picture below?

                      格利澤436b