Crash with OpenGL acceleration in Virtualbox












0















I'm hosting an Ubuntu 18 from another Ubuntu 18.



glxinfo | grep OpenGL on the host shows :



OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1060 6GB/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.77
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 390.77
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.77
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:


And on the VM shows



OpenGL Warning: vboxCall failed with VBox status code VERR_BUFFER_OVERFLOW

OpenGL vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.60 NVIDIA
OpenGL extensions:


Guest addditions are installed on the VM.



I have an application that works under the host but fails with a segfault on the VM when I turn 3D acceleration ON (which I need for further usage) with the following backtrace (gdb) :



(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff78e438a in _ogl_is_extension_supported (extension=0x7ffff79093c8 "GL_ARB_imaging", disp=0x555555a0bda0) at /home/jimmy/allegro5/src/opengl/extensions.c:478
#2 0x00007ffff78ecd42 in _al_ogl_manage_extensions (gl_disp=gl_disp@entry=0x555555a0bda0) at /home/jimmy/allegro5/include/allegro5/opengl/GLext/gl_ext_list.h:1
#3 0x00007ffff78cf9c3 in xdpy_create_display_locked (system=system@entry=0x5555559fbfc0, flags=flags@entry=128, w=w@entry=1600, h=h@entry=900, adapter=<optimized out>)
at /home/jimmy/allegro5/src/x/xdisplay.c:477
#4 0x00007ffff78d0265 in xdpy_create_display (w=1600, h=900) at /home/jimmy/allegro5/src/x/xdisplay.c:603
#5 0x00007ffff788a0b5 in al_create_display (w=1600, h=900) at /home/jimmy/allegro5/src/display.c:53
#6 0x00007ffff7b9c645 in Display::Display (this=0x555555a0baa0, width=1600, height=900) at engine/src/core/display.cpp:8
#7 0x00005555556e06ae in main (argc=1, argv=0x7fffffffdf68) at main.cpp:78


On top of that, VM has 2 processors allocated and 4Gb of RAM.



As I don't have enough knowledge in virtualization, I'm out of clues on how to solve this problem.










share|improve this question



























    0















    I'm hosting an Ubuntu 18 from another Ubuntu 18.



    glxinfo | grep OpenGL on the host shows :



    OpenGL vendor string: NVIDIA Corporation
    OpenGL renderer string: GeForce GTX 1060 6GB/PCIe/SSE2
    OpenGL core profile version string: 4.6.0 NVIDIA 390.77
    OpenGL core profile shading language version string: 4.60 NVIDIA
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    OpenGL core profile extensions:
    OpenGL version string: 4.6.0 NVIDIA 390.77
    OpenGL shading language version string: 4.60 NVIDIA
    OpenGL context flags: (none)
    OpenGL profile mask: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.77
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
    OpenGL ES profile extensions:


    And on the VM shows



    OpenGL Warning: vboxCall failed with VBox status code VERR_BUFFER_OVERFLOW

    OpenGL vendor string: Humper
    OpenGL renderer string: Chromium
    OpenGL version string: 2.1 Chromium 1.9
    OpenGL shading language version string: 4.60 NVIDIA
    OpenGL extensions:


    Guest addditions are installed on the VM.



    I have an application that works under the host but fails with a segfault on the VM when I turn 3D acceleration ON (which I need for further usage) with the following backtrace (gdb) :



    (gdb) bt
    #0 0x0000000000000000 in ?? ()
    #1 0x00007ffff78e438a in _ogl_is_extension_supported (extension=0x7ffff79093c8 "GL_ARB_imaging", disp=0x555555a0bda0) at /home/jimmy/allegro5/src/opengl/extensions.c:478
    #2 0x00007ffff78ecd42 in _al_ogl_manage_extensions (gl_disp=gl_disp@entry=0x555555a0bda0) at /home/jimmy/allegro5/include/allegro5/opengl/GLext/gl_ext_list.h:1
    #3 0x00007ffff78cf9c3 in xdpy_create_display_locked (system=system@entry=0x5555559fbfc0, flags=flags@entry=128, w=w@entry=1600, h=h@entry=900, adapter=<optimized out>)
    at /home/jimmy/allegro5/src/x/xdisplay.c:477
    #4 0x00007ffff78d0265 in xdpy_create_display (w=1600, h=900) at /home/jimmy/allegro5/src/x/xdisplay.c:603
    #5 0x00007ffff788a0b5 in al_create_display (w=1600, h=900) at /home/jimmy/allegro5/src/display.c:53
    #6 0x00007ffff7b9c645 in Display::Display (this=0x555555a0baa0, width=1600, height=900) at engine/src/core/display.cpp:8
    #7 0x00005555556e06ae in main (argc=1, argv=0x7fffffffdf68) at main.cpp:78


    On top of that, VM has 2 processors allocated and 4Gb of RAM.



    As I don't have enough knowledge in virtualization, I'm out of clues on how to solve this problem.










    share|improve this question

























      0












      0








      0








      I'm hosting an Ubuntu 18 from another Ubuntu 18.



      glxinfo | grep OpenGL on the host shows :



      OpenGL vendor string: NVIDIA Corporation
      OpenGL renderer string: GeForce GTX 1060 6GB/PCIe/SSE2
      OpenGL core profile version string: 4.6.0 NVIDIA 390.77
      OpenGL core profile shading language version string: 4.60 NVIDIA
      OpenGL core profile context flags: (none)
      OpenGL core profile profile mask: core profile
      OpenGL core profile extensions:
      OpenGL version string: 4.6.0 NVIDIA 390.77
      OpenGL shading language version string: 4.60 NVIDIA
      OpenGL context flags: (none)
      OpenGL profile mask: (none)
      OpenGL extensions:
      OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.77
      OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
      OpenGL ES profile extensions:


      And on the VM shows



      OpenGL Warning: vboxCall failed with VBox status code VERR_BUFFER_OVERFLOW

      OpenGL vendor string: Humper
      OpenGL renderer string: Chromium
      OpenGL version string: 2.1 Chromium 1.9
      OpenGL shading language version string: 4.60 NVIDIA
      OpenGL extensions:


      Guest addditions are installed on the VM.



      I have an application that works under the host but fails with a segfault on the VM when I turn 3D acceleration ON (which I need for further usage) with the following backtrace (gdb) :



      (gdb) bt
      #0 0x0000000000000000 in ?? ()
      #1 0x00007ffff78e438a in _ogl_is_extension_supported (extension=0x7ffff79093c8 "GL_ARB_imaging", disp=0x555555a0bda0) at /home/jimmy/allegro5/src/opengl/extensions.c:478
      #2 0x00007ffff78ecd42 in _al_ogl_manage_extensions (gl_disp=gl_disp@entry=0x555555a0bda0) at /home/jimmy/allegro5/include/allegro5/opengl/GLext/gl_ext_list.h:1
      #3 0x00007ffff78cf9c3 in xdpy_create_display_locked (system=system@entry=0x5555559fbfc0, flags=flags@entry=128, w=w@entry=1600, h=h@entry=900, adapter=<optimized out>)
      at /home/jimmy/allegro5/src/x/xdisplay.c:477
      #4 0x00007ffff78d0265 in xdpy_create_display (w=1600, h=900) at /home/jimmy/allegro5/src/x/xdisplay.c:603
      #5 0x00007ffff788a0b5 in al_create_display (w=1600, h=900) at /home/jimmy/allegro5/src/display.c:53
      #6 0x00007ffff7b9c645 in Display::Display (this=0x555555a0baa0, width=1600, height=900) at engine/src/core/display.cpp:8
      #7 0x00005555556e06ae in main (argc=1, argv=0x7fffffffdf68) at main.cpp:78


      On top of that, VM has 2 processors allocated and 4Gb of RAM.



      As I don't have enough knowledge in virtualization, I'm out of clues on how to solve this problem.










      share|improve this question














      I'm hosting an Ubuntu 18 from another Ubuntu 18.



      glxinfo | grep OpenGL on the host shows :



      OpenGL vendor string: NVIDIA Corporation
      OpenGL renderer string: GeForce GTX 1060 6GB/PCIe/SSE2
      OpenGL core profile version string: 4.6.0 NVIDIA 390.77
      OpenGL core profile shading language version string: 4.60 NVIDIA
      OpenGL core profile context flags: (none)
      OpenGL core profile profile mask: core profile
      OpenGL core profile extensions:
      OpenGL version string: 4.6.0 NVIDIA 390.77
      OpenGL shading language version string: 4.60 NVIDIA
      OpenGL context flags: (none)
      OpenGL profile mask: (none)
      OpenGL extensions:
      OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.77
      OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
      OpenGL ES profile extensions:


      And on the VM shows



      OpenGL Warning: vboxCall failed with VBox status code VERR_BUFFER_OVERFLOW

      OpenGL vendor string: Humper
      OpenGL renderer string: Chromium
      OpenGL version string: 2.1 Chromium 1.9
      OpenGL shading language version string: 4.60 NVIDIA
      OpenGL extensions:


      Guest addditions are installed on the VM.



      I have an application that works under the host but fails with a segfault on the VM when I turn 3D acceleration ON (which I need for further usage) with the following backtrace (gdb) :



      (gdb) bt
      #0 0x0000000000000000 in ?? ()
      #1 0x00007ffff78e438a in _ogl_is_extension_supported (extension=0x7ffff79093c8 "GL_ARB_imaging", disp=0x555555a0bda0) at /home/jimmy/allegro5/src/opengl/extensions.c:478
      #2 0x00007ffff78ecd42 in _al_ogl_manage_extensions (gl_disp=gl_disp@entry=0x555555a0bda0) at /home/jimmy/allegro5/include/allegro5/opengl/GLext/gl_ext_list.h:1
      #3 0x00007ffff78cf9c3 in xdpy_create_display_locked (system=system@entry=0x5555559fbfc0, flags=flags@entry=128, w=w@entry=1600, h=h@entry=900, adapter=<optimized out>)
      at /home/jimmy/allegro5/src/x/xdisplay.c:477
      #4 0x00007ffff78d0265 in xdpy_create_display (w=1600, h=900) at /home/jimmy/allegro5/src/x/xdisplay.c:603
      #5 0x00007ffff788a0b5 in al_create_display (w=1600, h=900) at /home/jimmy/allegro5/src/display.c:53
      #6 0x00007ffff7b9c645 in Display::Display (this=0x555555a0baa0, width=1600, height=900) at engine/src/core/display.cpp:8
      #7 0x00005555556e06ae in main (argc=1, argv=0x7fffffffdf68) at main.cpp:78


      On top of that, VM has 2 processors allocated and 4Gb of RAM.



      As I don't have enough knowledge in virtualization, I'm out of clues on how to solve this problem.







      ubuntu virtualbox






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 7 at 9:50









      MasadowMasadow

      1295




      1295






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1403053%2fcrash-with-opengl-acceleration-in-virtualbox%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1403053%2fcrash-with-opengl-acceleration-in-virtualbox%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

          Index of /

          Tribalistas

          Listed building