Debian bumblebee problems











up vote
0
down vote

favorite












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?










share|improve this question




























    up vote
    0
    down vote

    favorite












    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?










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      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?










      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?







      nvidia debian-stretch optimus






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 22 at 11:20

























      asked Nov 21 at 22:30









      71GA

      22051643




      22051643





























          active

          oldest

          votes











          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',
          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






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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.





          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%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

          Berounka

          Different font size/position of beamer's navigation symbols template's content depending on regular/plain...

          Sphinx de Gizeh