primusrun: Segmentation fault (core dumped)











up vote
1
down vote

favorite












I've just installed antergos with gnome de and bumblebee on asus R542 laptop.



When I run primusrun glxspheres64 it fails and logs this:



$ primusrun glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x130
Context is Direct
OpenGL Renderer: GeForce 930MX/PCIe/SSE2
Segmentation fault (core dumped)


optirun glxspheres64 is ok:



$ optirun -c yuv glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce 930MX/PCIe/SSE2
103.963006 frames/sec - 116.022715 Mpixels/sec
104.108801 frames/sec - 116.185422 Mpixels/sec









share|improve this question
























  • Usually when there's a segfault one should collect a backtrace in a debugger, which may help the developers track down the issue.
    – thrig
    Jul 9 at 14:24










  • @thrig so what should I do?
    – Miladdarren
    Jul 9 at 14:51










  • You mention you "checked out other forums" -- which ones, and what advice have you tried so far? Arch (on which Antergos is based) has an open bug about this: bugs.archlinux.org/task/58933
    – JigglyNaga
    Jul 9 at 16:38















up vote
1
down vote

favorite












I've just installed antergos with gnome de and bumblebee on asus R542 laptop.



When I run primusrun glxspheres64 it fails and logs this:



$ primusrun glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x130
Context is Direct
OpenGL Renderer: GeForce 930MX/PCIe/SSE2
Segmentation fault (core dumped)


optirun glxspheres64 is ok:



$ optirun -c yuv glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce 930MX/PCIe/SSE2
103.963006 frames/sec - 116.022715 Mpixels/sec
104.108801 frames/sec - 116.185422 Mpixels/sec









share|improve this question
























  • Usually when there's a segfault one should collect a backtrace in a debugger, which may help the developers track down the issue.
    – thrig
    Jul 9 at 14:24










  • @thrig so what should I do?
    – Miladdarren
    Jul 9 at 14:51










  • You mention you "checked out other forums" -- which ones, and what advice have you tried so far? Arch (on which Antergos is based) has an open bug about this: bugs.archlinux.org/task/58933
    – JigglyNaga
    Jul 9 at 16:38













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I've just installed antergos with gnome de and bumblebee on asus R542 laptop.



When I run primusrun glxspheres64 it fails and logs this:



$ primusrun glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x130
Context is Direct
OpenGL Renderer: GeForce 930MX/PCIe/SSE2
Segmentation fault (core dumped)


optirun glxspheres64 is ok:



$ optirun -c yuv glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce 930MX/PCIe/SSE2
103.963006 frames/sec - 116.022715 Mpixels/sec
104.108801 frames/sec - 116.185422 Mpixels/sec









share|improve this question















I've just installed antergos with gnome de and bumblebee on asus R542 laptop.



When I run primusrun glxspheres64 it fails and logs this:



$ primusrun glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x130
Context is Direct
OpenGL Renderer: GeForce 930MX/PCIe/SSE2
Segmentation fault (core dumped)


optirun glxspheres64 is ok:



$ optirun -c yuv glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce 930MX/PCIe/SSE2
103.963006 frames/sec - 116.022715 Mpixels/sec
104.108801 frames/sec - 116.185422 Mpixels/sec






nvidia antergos bumblebee optimus






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 at 20:01









Rui F Ribeiro

38.3k1475126




38.3k1475126










asked Jul 9 at 9:42









Miladdarren

234




234












  • Usually when there's a segfault one should collect a backtrace in a debugger, which may help the developers track down the issue.
    – thrig
    Jul 9 at 14:24










  • @thrig so what should I do?
    – Miladdarren
    Jul 9 at 14:51










  • You mention you "checked out other forums" -- which ones, and what advice have you tried so far? Arch (on which Antergos is based) has an open bug about this: bugs.archlinux.org/task/58933
    – JigglyNaga
    Jul 9 at 16:38


















  • Usually when there's a segfault one should collect a backtrace in a debugger, which may help the developers track down the issue.
    – thrig
    Jul 9 at 14:24










  • @thrig so what should I do?
    – Miladdarren
    Jul 9 at 14:51










  • You mention you "checked out other forums" -- which ones, and what advice have you tried so far? Arch (on which Antergos is based) has an open bug about this: bugs.archlinux.org/task/58933
    – JigglyNaga
    Jul 9 at 16:38
















Usually when there's a segfault one should collect a backtrace in a debugger, which may help the developers track down the issue.
– thrig
Jul 9 at 14:24




Usually when there's a segfault one should collect a backtrace in a debugger, which may help the developers track down the issue.
– thrig
Jul 9 at 14:24












@thrig so what should I do?
– Miladdarren
Jul 9 at 14:51




@thrig so what should I do?
– Miladdarren
Jul 9 at 14:51












You mention you "checked out other forums" -- which ones, and what advice have you tried so far? Arch (on which Antergos is based) has an open bug about this: bugs.archlinux.org/task/58933
– JigglyNaga
Jul 9 at 16:38




You mention you "checked out other forums" -- which ones, and what advice have you tried so far? Arch (on which Antergos is based) has an open bug about this: bugs.archlinux.org/task/58933
– JigglyNaga
Jul 9 at 16:38










2 Answers
2






active

oldest

votes

















up vote
1
down vote













I had the same problem here. Just downgrade mesa to 18.0.4.
I use Arch, so I did:
pacman -U /var/cache/pacman/pkg/mesa-18.0.4-1-x86_64.pkg.tar.xz






share|improve this answer




























    up vote
    1
    down vote













    Not sure if the problem is in mesa, xserver or primus, but here's the upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=106910 and here's a simple workaround:



    export LIBGL_DRI3_DISABLE=1
    primusrun glxgears





    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%2f454261%2fprimusrun-segmentation-fault-core-dumped%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








      up vote
      1
      down vote













      I had the same problem here. Just downgrade mesa to 18.0.4.
      I use Arch, so I did:
      pacman -U /var/cache/pacman/pkg/mesa-18.0.4-1-x86_64.pkg.tar.xz






      share|improve this answer

























        up vote
        1
        down vote













        I had the same problem here. Just downgrade mesa to 18.0.4.
        I use Arch, so I did:
        pacman -U /var/cache/pacman/pkg/mesa-18.0.4-1-x86_64.pkg.tar.xz






        share|improve this answer























          up vote
          1
          down vote










          up vote
          1
          down vote









          I had the same problem here. Just downgrade mesa to 18.0.4.
          I use Arch, so I did:
          pacman -U /var/cache/pacman/pkg/mesa-18.0.4-1-x86_64.pkg.tar.xz






          share|improve this answer












          I had the same problem here. Just downgrade mesa to 18.0.4.
          I use Arch, so I did:
          pacman -U /var/cache/pacman/pkg/mesa-18.0.4-1-x86_64.pkg.tar.xz







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 4 at 4:07









          Pedro Vinicius

          111




          111
























              up vote
              1
              down vote













              Not sure if the problem is in mesa, xserver or primus, but here's the upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=106910 and here's a simple workaround:



              export LIBGL_DRI3_DISABLE=1
              primusrun glxgears





              share|improve this answer

























                up vote
                1
                down vote













                Not sure if the problem is in mesa, xserver or primus, but here's the upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=106910 and here's a simple workaround:



                export LIBGL_DRI3_DISABLE=1
                primusrun glxgears





                share|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Not sure if the problem is in mesa, xserver or primus, but here's the upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=106910 and here's a simple workaround:



                  export LIBGL_DRI3_DISABLE=1
                  primusrun glxgears





                  share|improve this answer












                  Not sure if the problem is in mesa, xserver or primus, but here's the upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=106910 and here's a simple workaround:



                  export LIBGL_DRI3_DISABLE=1
                  primusrun glxgears






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 7 at 7:03









                  Tomáš Janoušek

                  1112




                  1112






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454261%2fprimusrun-segmentation-fault-core-dumped%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

                      サソリ

                      広島県道265号伴広島線

                      Accessing regular linux commands in Huawei's Dopra Linux