Debian bumblebee problems












0














I am on a clean minimal Debian Stretch install with just a couple of graphical packages installed. I instelled these:



sudo apt install xserver-xorg-core xinit bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386


But I could swap propietary bumblebee-nvidia with open source bumblebee.



I also put my user to the bumblebee group:



sudo adduser $USER bumblebee




After reboot my Intel card works fine:



ziga@ziga-laptop:~$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 13.0.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 13.0.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:


But my Nvidia card wich is Geforce 610M won't work when called with optirun:



ziga@ziga-laptop:~$ optirun glxinfo | grep OpenGL
primus: fatal: failed to load any of the libraries: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/nvidia/libGL.so.1
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1: wrong ELF class: ELFCLASS32
/usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory


If I use apt to search for my card I get this:



ziga@ziga-laptop:~$ sudo apt search 610M
Sorting... Done
Full Text Search... Done
nvidia-legacy-304xx-driver/stable 304.137-5~deb9u1 amd64
NVIDIA metapackage (304xx legacy version)

nvidia-legacy-304xx-kernel-dkms/stable 304.137-5~deb9u1 amd64
NVIDIA binary kernel module DKMS source (304xx legacy version)

nvidia-legacy-304xx-kernel-source/stable 304.137-5~deb9u1 i386
NVIDIA binary kernel module source (304xx legacy version)

xserver-xorg-video-nvidia-legacy-304xx/stable 304.137-5~deb9u1 amd64
NVIDIA binary Xorg driver (304xx legacy version)


From this I would install nvidia-legacy-304xx-driver but I am afraid this won't work well with other packages that I have installed above. Is it possible that I also need xserver-xorg-video-nvidia-legacy-304xx?



Can anyone explain to me which packages to install and why?





Well, I couldn't wait any longer and I tried installing the xserver-xorg-video-nvidia-legacy-304xx. It really looks like this package is in conflict with bumblebee-nvidia package. I got this after installation:



nvidia-legacy-304xx:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.9.0-8-amd64/updates/dkms/

depmod...

DKMS: install completed.
Setting up nvidia-legacy-304xx-driver (304.137-5~deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for glx-alternative-nvidia (0.8.3~deb9u1) ...
Processing triggers for menu (2.1.47+b1) ...
Processing triggers for update-glx (0.8.3~deb9u1) ...
Processing triggers for glx-alternative-nvidia (0.8.3~deb9u1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia/bumblebee because link group glx is broken
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
Processing triggers for bumblebee (3.2.1-14) ...




I uninstalled the xserver-xorg-video-nvidia-legacy-304xx and tried to install the nvidia-legacy-304xx-driver package which also installed the xserver-xorg-video-nvidia-legacy-304xx package. It returned no warnings and no errors, but after reboot optirun glxinfo | grep OpenGL command still fails...



It looks like there is no solution to this even on Debian which was supposed to be stable?





Like @Antonio Orizondo Leyva sugested I installed the packages he suggests and executed the command sudo update-alternatives --config glx and I got to choose different options for my GPU's:



There are 3 choices for the alternative glx (providing /usr/lib/glx).

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/nvidia/bumblebee 125 auto mode
1 /usr/lib/mesa-diverted 5 manual mode
2 /usr/lib/nvidia 100 manual mode
* 3 /usr/lib/nvidia/bumblebee 125 manual mode

Press <enter> to keep the current choice[*], or type selection number:


I tried selecting every single one of them and then rebooted, but the end result was the same... Except for the second option (nvidia) which after reboot said it can't find openGL.1.so or something... So it is impossible to even use the Nvidia card by itself!?



Any other Ideas?










share|improve this question





























    0














    I am on a clean minimal Debian Stretch install with just a couple of graphical packages installed. I instelled these:



    sudo apt install xserver-xorg-core xinit bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386


    But I could swap propietary bumblebee-nvidia with open source bumblebee.



    I also put my user to the bumblebee group:



    sudo adduser $USER bumblebee




    After reboot my Intel card works fine:



    ziga@ziga-laptop:~$ glxinfo | grep OpenGL
    OpenGL vendor string: Intel Open Source Technology Center
    OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
    OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
    OpenGL core profile shading language version string: 3.30
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    OpenGL core profile extensions:
    OpenGL version string: 3.0 Mesa 13.0.6
    OpenGL shading language version string: 1.30
    OpenGL context flags: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.0 Mesa 13.0.6
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
    OpenGL ES profile extensions:


    But my Nvidia card wich is Geforce 610M won't work when called with optirun:



    ziga@ziga-laptop:~$ optirun glxinfo | grep OpenGL
    primus: fatal: failed to load any of the libraries: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/nvidia/libGL.so.1
    /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
    /usr/lib/i386-linux-gnu/nvidia/libGL.so.1: wrong ELF class: ELFCLASS32
    /usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory


    If I use apt to search for my card I get this:



    ziga@ziga-laptop:~$ sudo apt search 610M
    Sorting... Done
    Full Text Search... Done
    nvidia-legacy-304xx-driver/stable 304.137-5~deb9u1 amd64
    NVIDIA metapackage (304xx legacy version)

    nvidia-legacy-304xx-kernel-dkms/stable 304.137-5~deb9u1 amd64
    NVIDIA binary kernel module DKMS source (304xx legacy version)

    nvidia-legacy-304xx-kernel-source/stable 304.137-5~deb9u1 i386
    NVIDIA binary kernel module source (304xx legacy version)

    xserver-xorg-video-nvidia-legacy-304xx/stable 304.137-5~deb9u1 amd64
    NVIDIA binary Xorg driver (304xx legacy version)


    From this I would install nvidia-legacy-304xx-driver but I am afraid this won't work well with other packages that I have installed above. Is it possible that I also need xserver-xorg-video-nvidia-legacy-304xx?



    Can anyone explain to me which packages to install and why?





    Well, I couldn't wait any longer and I tried installing the xserver-xorg-video-nvidia-legacy-304xx. It really looks like this package is in conflict with bumblebee-nvidia package. I got this after installation:



    nvidia-legacy-304xx:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/4.9.0-8-amd64/updates/dkms/

    depmod...

    DKMS: install completed.
    Setting up nvidia-legacy-304xx-driver (304.137-5~deb9u1) ...
    Processing triggers for libc-bin (2.24-11+deb9u3) ...
    Processing triggers for glx-alternative-nvidia (0.8.3~deb9u1) ...
    Processing triggers for menu (2.1.47+b1) ...
    Processing triggers for update-glx (0.8.3~deb9u1) ...
    Processing triggers for glx-alternative-nvidia (0.8.3~deb9u1) ...
    update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia/bumblebee because link group glx is broken
    Processing triggers for libc-bin (2.24-11+deb9u3) ...
    Processing triggers for initramfs-tools (0.130) ...
    update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
    Processing triggers for bumblebee (3.2.1-14) ...




    I uninstalled the xserver-xorg-video-nvidia-legacy-304xx and tried to install the nvidia-legacy-304xx-driver package which also installed the xserver-xorg-video-nvidia-legacy-304xx package. It returned no warnings and no errors, but after reboot optirun glxinfo | grep OpenGL command still fails...



    It looks like there is no solution to this even on Debian which was supposed to be stable?





    Like @Antonio Orizondo Leyva sugested I installed the packages he suggests and executed the command sudo update-alternatives --config glx and I got to choose different options for my GPU's:



    There are 3 choices for the alternative glx (providing /usr/lib/glx).

    Selection Path Priority Status
    ------------------------------------------------------------
    0 /usr/lib/nvidia/bumblebee 125 auto mode
    1 /usr/lib/mesa-diverted 5 manual mode
    2 /usr/lib/nvidia 100 manual mode
    * 3 /usr/lib/nvidia/bumblebee 125 manual mode

    Press <enter> to keep the current choice[*], or type selection number:


    I tried selecting every single one of them and then rebooted, but the end result was the same... Except for the second option (nvidia) which after reboot said it can't find openGL.1.so or something... So it is impossible to even use the Nvidia card by itself!?



    Any other Ideas?










    share|improve this question



























      0












      0








      0







      I am on a clean minimal Debian Stretch install with just a couple of graphical packages installed. I instelled these:



      sudo apt install xserver-xorg-core xinit bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386


      But I could swap propietary bumblebee-nvidia with open source bumblebee.



      I also put my user to the bumblebee group:



      sudo adduser $USER bumblebee




      After reboot my Intel card works fine:



      ziga@ziga-laptop:~$ glxinfo | grep OpenGL
      OpenGL vendor string: Intel Open Source Technology Center
      OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
      OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
      OpenGL core profile shading language version string: 3.30
      OpenGL core profile context flags: (none)
      OpenGL core profile profile mask: core profile
      OpenGL core profile extensions:
      OpenGL version string: 3.0 Mesa 13.0.6
      OpenGL shading language version string: 1.30
      OpenGL context flags: (none)
      OpenGL extensions:
      OpenGL ES profile version string: OpenGL ES 3.0 Mesa 13.0.6
      OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
      OpenGL ES profile extensions:


      But my Nvidia card wich is Geforce 610M won't work when called with optirun:



      ziga@ziga-laptop:~$ optirun glxinfo | grep OpenGL
      primus: fatal: failed to load any of the libraries: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/nvidia/libGL.so.1
      /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
      /usr/lib/i386-linux-gnu/nvidia/libGL.so.1: wrong ELF class: ELFCLASS32
      /usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory


      If I use apt to search for my card I get this:



      ziga@ziga-laptop:~$ sudo apt search 610M
      Sorting... Done
      Full Text Search... Done
      nvidia-legacy-304xx-driver/stable 304.137-5~deb9u1 amd64
      NVIDIA metapackage (304xx legacy version)

      nvidia-legacy-304xx-kernel-dkms/stable 304.137-5~deb9u1 amd64
      NVIDIA binary kernel module DKMS source (304xx legacy version)

      nvidia-legacy-304xx-kernel-source/stable 304.137-5~deb9u1 i386
      NVIDIA binary kernel module source (304xx legacy version)

      xserver-xorg-video-nvidia-legacy-304xx/stable 304.137-5~deb9u1 amd64
      NVIDIA binary Xorg driver (304xx legacy version)


      From this I would install nvidia-legacy-304xx-driver but I am afraid this won't work well with other packages that I have installed above. Is it possible that I also need xserver-xorg-video-nvidia-legacy-304xx?



      Can anyone explain to me which packages to install and why?





      Well, I couldn't wait any longer and I tried installing the xserver-xorg-video-nvidia-legacy-304xx. It really looks like this package is in conflict with bumblebee-nvidia package. I got this after installation:



      nvidia-legacy-304xx:
      Running module version sanity check.
      - Original module
      - No original module exists within this kernel
      - Installation
      - Installing to /lib/modules/4.9.0-8-amd64/updates/dkms/

      depmod...

      DKMS: install completed.
      Setting up nvidia-legacy-304xx-driver (304.137-5~deb9u1) ...
      Processing triggers for libc-bin (2.24-11+deb9u3) ...
      Processing triggers for glx-alternative-nvidia (0.8.3~deb9u1) ...
      Processing triggers for menu (2.1.47+b1) ...
      Processing triggers for update-glx (0.8.3~deb9u1) ...
      Processing triggers for glx-alternative-nvidia (0.8.3~deb9u1) ...
      update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia/bumblebee because link group glx is broken
      Processing triggers for libc-bin (2.24-11+deb9u3) ...
      Processing triggers for initramfs-tools (0.130) ...
      update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
      Processing triggers for bumblebee (3.2.1-14) ...




      I uninstalled the xserver-xorg-video-nvidia-legacy-304xx and tried to install the nvidia-legacy-304xx-driver package which also installed the xserver-xorg-video-nvidia-legacy-304xx package. It returned no warnings and no errors, but after reboot optirun glxinfo | grep OpenGL command still fails...



      It looks like there is no solution to this even on Debian which was supposed to be stable?





      Like @Antonio Orizondo Leyva sugested I installed the packages he suggests and executed the command sudo update-alternatives --config glx and I got to choose different options for my GPU's:



      There are 3 choices for the alternative glx (providing /usr/lib/glx).

      Selection Path Priority Status
      ------------------------------------------------------------
      0 /usr/lib/nvidia/bumblebee 125 auto mode
      1 /usr/lib/mesa-diverted 5 manual mode
      2 /usr/lib/nvidia 100 manual mode
      * 3 /usr/lib/nvidia/bumblebee 125 manual mode

      Press <enter> to keep the current choice[*], or type selection number:


      I tried selecting every single one of them and then rebooted, but the end result was the same... Except for the second option (nvidia) which after reboot said it can't find openGL.1.so or something... So it is impossible to even use the Nvidia card by itself!?



      Any other Ideas?










      share|improve this question















      I am on a clean minimal Debian Stretch install with just a couple of graphical packages installed. I instelled these:



      sudo apt install xserver-xorg-core xinit bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386


      But I could swap propietary bumblebee-nvidia with open source bumblebee.



      I also put my user to the bumblebee group:



      sudo adduser $USER bumblebee




      After reboot my Intel card works fine:



      ziga@ziga-laptop:~$ glxinfo | grep OpenGL
      OpenGL vendor string: Intel Open Source Technology Center
      OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
      OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
      OpenGL core profile shading language version string: 3.30
      OpenGL core profile context flags: (none)
      OpenGL core profile profile mask: core profile
      OpenGL core profile extensions:
      OpenGL version string: 3.0 Mesa 13.0.6
      OpenGL shading language version string: 1.30
      OpenGL context flags: (none)
      OpenGL extensions:
      OpenGL ES profile version string: OpenGL ES 3.0 Mesa 13.0.6
      OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
      OpenGL ES profile extensions:


      But my Nvidia card wich is Geforce 610M won't work when called with optirun:



      ziga@ziga-laptop:~$ optirun glxinfo | grep OpenGL
      primus: fatal: failed to load any of the libraries: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/nvidia/libGL.so.1
      /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
      /usr/lib/i386-linux-gnu/nvidia/libGL.so.1: wrong ELF class: ELFCLASS32
      /usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory


      If I use apt to search for my card I get this:



      ziga@ziga-laptop:~$ sudo apt search 610M
      Sorting... Done
      Full Text Search... Done
      nvidia-legacy-304xx-driver/stable 304.137-5~deb9u1 amd64
      NVIDIA metapackage (304xx legacy version)

      nvidia-legacy-304xx-kernel-dkms/stable 304.137-5~deb9u1 amd64
      NVIDIA binary kernel module DKMS source (304xx legacy version)

      nvidia-legacy-304xx-kernel-source/stable 304.137-5~deb9u1 i386
      NVIDIA binary kernel module source (304xx legacy version)

      xserver-xorg-video-nvidia-legacy-304xx/stable 304.137-5~deb9u1 amd64
      NVIDIA binary Xorg driver (304xx legacy version)


      From this I would install nvidia-legacy-304xx-driver but I am afraid this won't work well with other packages that I have installed above. Is it possible that I also need xserver-xorg-video-nvidia-legacy-304xx?



      Can anyone explain to me which packages to install and why?





      Well, I couldn't wait any longer and I tried installing the xserver-xorg-video-nvidia-legacy-304xx. It really looks like this package is in conflict with bumblebee-nvidia package. I got this after installation:



      nvidia-legacy-304xx:
      Running module version sanity check.
      - Original module
      - No original module exists within this kernel
      - Installation
      - Installing to /lib/modules/4.9.0-8-amd64/updates/dkms/

      depmod...

      DKMS: install completed.
      Setting up nvidia-legacy-304xx-driver (304.137-5~deb9u1) ...
      Processing triggers for libc-bin (2.24-11+deb9u3) ...
      Processing triggers for glx-alternative-nvidia (0.8.3~deb9u1) ...
      Processing triggers for menu (2.1.47+b1) ...
      Processing triggers for update-glx (0.8.3~deb9u1) ...
      Processing triggers for glx-alternative-nvidia (0.8.3~deb9u1) ...
      update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia/bumblebee because link group glx is broken
      Processing triggers for libc-bin (2.24-11+deb9u3) ...
      Processing triggers for initramfs-tools (0.130) ...
      update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
      Processing triggers for bumblebee (3.2.1-14) ...




      I uninstalled the xserver-xorg-video-nvidia-legacy-304xx and tried to install the nvidia-legacy-304xx-driver package which also installed the xserver-xorg-video-nvidia-legacy-304xx package. It returned no warnings and no errors, but after reboot optirun glxinfo | grep OpenGL command still fails...



      It looks like there is no solution to this even on Debian which was supposed to be stable?





      Like @Antonio Orizondo Leyva sugested I installed the packages he suggests and executed the command sudo update-alternatives --config glx and I got to choose different options for my GPU's:



      There are 3 choices for the alternative glx (providing /usr/lib/glx).

      Selection Path Priority Status
      ------------------------------------------------------------
      0 /usr/lib/nvidia/bumblebee 125 auto mode
      1 /usr/lib/mesa-diverted 5 manual mode
      2 /usr/lib/nvidia 100 manual mode
      * 3 /usr/lib/nvidia/bumblebee 125 manual mode

      Press <enter> to keep the current choice[*], or type selection number:


      I tried selecting every single one of them and then rebooted, but the end result was the same... Except for the second option (nvidia) which after reboot said it can't find openGL.1.so or something... So it is impossible to even use the Nvidia card by itself!?



      Any other Ideas?







      nvidia debian-stretch optimus






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 6 at 8:03







      71GA

















      asked Nov 21 '18 at 22:30









      71GA71GA

      24051743




      24051743
























          2 Answers
          2






          active

          oldest

          votes


















          2














          I had some similar issues with a GTX 1050.

          I think that you can bypass the nvidia-detect command, so this is what I did on Debian Buster 64 bits kernel 4.17:





          1. Execute



            apt install bumblebee-nvidia linux-headers-$(uname -r)


            This should install nvidia-driver, bbswitch-dkms and blacklist which were needed in /etc/modprobe.d. You need the headers of your running kernel for the addition of the new modules (bbswith and nvidia*, in my case nvidia-current).




          I had no need to add the i386 arch and everything works fine, check the glx provider you are using with



          update-alternatives --config glx


          set it to any option except nvidia, reboot your display manager and test again.






          share|improve this answer























          • I tried this and failed. I updated my question accordingly.
            – 71GA
            Jan 6 at 7:54



















          0














          After reading this Debian bug report I realized that I ought to install package libgl1-nvidia-glx. This fixed my problems, but I have to criticize Debian for this, because on their official Bumblebee webpage it is said to use this command to install:



          sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386


          But this command is missing the crucial libgl1-nvidia-glx which needs to be installed together with its i386 cuonterpart in order for all aps to work!



          So a quote to Debian:




          While you are the best distribution on this planet and you seem to be the most stable, make sure to keep your official Wiki updated like Arch does! Only like this your users won't have negative experiances like I did and more will choose your distribution.







          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            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%2fstackoverflow.com%2fquestions%2f53421342%2fdebian-bumblebee-problems%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            I had some similar issues with a GTX 1050.

            I think that you can bypass the nvidia-detect command, so this is what I did on Debian Buster 64 bits kernel 4.17:





            1. Execute



              apt install bumblebee-nvidia linux-headers-$(uname -r)


              This should install nvidia-driver, bbswitch-dkms and blacklist which were needed in /etc/modprobe.d. You need the headers of your running kernel for the addition of the new modules (bbswith and nvidia*, in my case nvidia-current).




            I had no need to add the i386 arch and everything works fine, check the glx provider you are using with



            update-alternatives --config glx


            set it to any option except nvidia, reboot your display manager and test again.






            share|improve this answer























            • I tried this and failed. I updated my question accordingly.
              – 71GA
              Jan 6 at 7:54
















            2














            I had some similar issues with a GTX 1050.

            I think that you can bypass the nvidia-detect command, so this is what I did on Debian Buster 64 bits kernel 4.17:





            1. Execute



              apt install bumblebee-nvidia linux-headers-$(uname -r)


              This should install nvidia-driver, bbswitch-dkms and blacklist which were needed in /etc/modprobe.d. You need the headers of your running kernel for the addition of the new modules (bbswith and nvidia*, in my case nvidia-current).




            I had no need to add the i386 arch and everything works fine, check the glx provider you are using with



            update-alternatives --config glx


            set it to any option except nvidia, reboot your display manager and test again.






            share|improve this answer























            • I tried this and failed. I updated my question accordingly.
              – 71GA
              Jan 6 at 7:54














            2












            2








            2






            I had some similar issues with a GTX 1050.

            I think that you can bypass the nvidia-detect command, so this is what I did on Debian Buster 64 bits kernel 4.17:





            1. Execute



              apt install bumblebee-nvidia linux-headers-$(uname -r)


              This should install nvidia-driver, bbswitch-dkms and blacklist which were needed in /etc/modprobe.d. You need the headers of your running kernel for the addition of the new modules (bbswith and nvidia*, in my case nvidia-current).




            I had no need to add the i386 arch and everything works fine, check the glx provider you are using with



            update-alternatives --config glx


            set it to any option except nvidia, reboot your display manager and test again.






            share|improve this answer














            I had some similar issues with a GTX 1050.

            I think that you can bypass the nvidia-detect command, so this is what I did on Debian Buster 64 bits kernel 4.17:





            1. Execute



              apt install bumblebee-nvidia linux-headers-$(uname -r)


              This should install nvidia-driver, bbswitch-dkms and blacklist which were needed in /etc/modprobe.d. You need the headers of your running kernel for the addition of the new modules (bbswith and nvidia*, in my case nvidia-current).




            I had no need to add the i386 arch and everything works fine, check the glx provider you are using with



            update-alternatives --config glx


            set it to any option except nvidia, reboot your display manager and test again.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 1 at 20:09









            zx485

            13.6k122946




            13.6k122946










            answered Jan 1 at 19:40









            Antonio Orizondo LeyvaAntonio Orizondo Leyva

            214




            214












            • I tried this and failed. I updated my question accordingly.
              – 71GA
              Jan 6 at 7:54


















            • I tried this and failed. I updated my question accordingly.
              – 71GA
              Jan 6 at 7:54
















            I tried this and failed. I updated my question accordingly.
            – 71GA
            Jan 6 at 7:54




            I tried this and failed. I updated my question accordingly.
            – 71GA
            Jan 6 at 7:54













            0














            After reading this Debian bug report I realized that I ought to install package libgl1-nvidia-glx. This fixed my problems, but I have to criticize Debian for this, because on their official Bumblebee webpage it is said to use this command to install:



            sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386


            But this command is missing the crucial libgl1-nvidia-glx which needs to be installed together with its i386 cuonterpart in order for all aps to work!



            So a quote to Debian:




            While you are the best distribution on this planet and you seem to be the most stable, make sure to keep your official Wiki updated like Arch does! Only like this your users won't have negative experiances like I did and more will choose your distribution.







            share|improve this answer


























              0














              After reading this Debian bug report I realized that I ought to install package libgl1-nvidia-glx. This fixed my problems, but I have to criticize Debian for this, because on their official Bumblebee webpage it is said to use this command to install:



              sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386


              But this command is missing the crucial libgl1-nvidia-glx which needs to be installed together with its i386 cuonterpart in order for all aps to work!



              So a quote to Debian:




              While you are the best distribution on this planet and you seem to be the most stable, make sure to keep your official Wiki updated like Arch does! Only like this your users won't have negative experiances like I did and more will choose your distribution.







              share|improve this answer
























                0












                0








                0






                After reading this Debian bug report I realized that I ought to install package libgl1-nvidia-glx. This fixed my problems, but I have to criticize Debian for this, because on their official Bumblebee webpage it is said to use this command to install:



                sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386


                But this command is missing the crucial libgl1-nvidia-glx which needs to be installed together with its i386 cuonterpart in order for all aps to work!



                So a quote to Debian:




                While you are the best distribution on this planet and you seem to be the most stable, make sure to keep your official Wiki updated like Arch does! Only like this your users won't have negative experiances like I did and more will choose your distribution.







                share|improve this answer












                After reading this Debian bug report I realized that I ought to install package libgl1-nvidia-glx. This fixed my problems, but I have to criticize Debian for this, because on their official Bumblebee webpage it is said to use this command to install:



                sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386


                But this command is missing the crucial libgl1-nvidia-glx which needs to be installed together with its i386 cuonterpart in order for all aps to work!



                So a quote to Debian:




                While you are the best distribution on this planet and you seem to be the most stable, make sure to keep your official Wiki updated like Arch does! Only like this your users won't have negative experiances like I did and more will choose your distribution.








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 6 at 8:37









                71GA71GA

                24051743




                24051743






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • 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%2fstackoverflow.com%2fquestions%2f53421342%2fdebian-bumblebee-problems%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

                    404 Error Contact Form 7 ajax form submitting

                    How to know if a Active Directory user can login interactively

                    TypeError: fit_transform() missing 1 required positional argument: 'X'