MATLAB OpenGL Diagnosis











up vote
0
down vote

favorite












QUESTION



What can be done to troubleshoot the error message and restore MATLAB back to its original working condition? A fresh install of MATLAB and Ubuntu 16.04 exhibited no symptoms. After updates, an OpenGL symptom is present.



ISSUE



R2018a on 16.04 initially did not exhibit the symptom, however updates may have induced the Symptom:




com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not
initialize shared resources for X11GraphicsDevice[type .x11,
connection :0, unitID 0, handle 0x0, owner false,
ResourceToolkitLock[obj 0x5d8aa476, isOwner false, [count 0, qsz 0, owner ]]] at
jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
at
jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
at java.lang.Thread.run(Thread.java:748) Caused by:
java.lang.NullPointerException at
jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688) at
jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580) at
jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more




Reconfiguring OpenGL per Mathworks guidance eliminates the error message, however, I suspect that it is suboptimal performance.



>> opengl('save','software')


BASH returns:



 glxinfo | grep "OpenGL version"



OpenGL version string: 3.0 Mesa 18.0.5




enter image description here



Any diagnostic questions are always appreciated: thank you.










share|improve this question


























    up vote
    0
    down vote

    favorite












    QUESTION



    What can be done to troubleshoot the error message and restore MATLAB back to its original working condition? A fresh install of MATLAB and Ubuntu 16.04 exhibited no symptoms. After updates, an OpenGL symptom is present.



    ISSUE



    R2018a on 16.04 initially did not exhibit the symptom, however updates may have induced the Symptom:




    com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not
    initialize shared resources for X11GraphicsDevice[type .x11,
    connection :0, unitID 0, handle 0x0, owner false,
    ResourceToolkitLock[obj 0x5d8aa476, isOwner false, [count 0, qsz 0, owner ]]] at
    jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
    at
    jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
    at java.lang.Thread.run(Thread.java:748) Caused by:
    java.lang.NullPointerException at
    jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688) at
    jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580) at
    jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
    ... 2 more




    Reconfiguring OpenGL per Mathworks guidance eliminates the error message, however, I suspect that it is suboptimal performance.



    >> opengl('save','software')


    BASH returns:



     glxinfo | grep "OpenGL version"



    OpenGL version string: 3.0 Mesa 18.0.5




    enter image description here



    Any diagnostic questions are always appreciated: thank you.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      QUESTION



      What can be done to troubleshoot the error message and restore MATLAB back to its original working condition? A fresh install of MATLAB and Ubuntu 16.04 exhibited no symptoms. After updates, an OpenGL symptom is present.



      ISSUE



      R2018a on 16.04 initially did not exhibit the symptom, however updates may have induced the Symptom:




      com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not
      initialize shared resources for X11GraphicsDevice[type .x11,
      connection :0, unitID 0, handle 0x0, owner false,
      ResourceToolkitLock[obj 0x5d8aa476, isOwner false, [count 0, qsz 0, owner ]]] at
      jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
      at
      jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
      at java.lang.Thread.run(Thread.java:748) Caused by:
      java.lang.NullPointerException at
      jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688) at
      jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580) at
      jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
      ... 2 more




      Reconfiguring OpenGL per Mathworks guidance eliminates the error message, however, I suspect that it is suboptimal performance.



      >> opengl('save','software')


      BASH returns:



       glxinfo | grep "OpenGL version"



      OpenGL version string: 3.0 Mesa 18.0.5




      enter image description here



      Any diagnostic questions are always appreciated: thank you.










      share|improve this question













      QUESTION



      What can be done to troubleshoot the error message and restore MATLAB back to its original working condition? A fresh install of MATLAB and Ubuntu 16.04 exhibited no symptoms. After updates, an OpenGL symptom is present.



      ISSUE



      R2018a on 16.04 initially did not exhibit the symptom, however updates may have induced the Symptom:




      com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not
      initialize shared resources for X11GraphicsDevice[type .x11,
      connection :0, unitID 0, handle 0x0, owner false,
      ResourceToolkitLock[obj 0x5d8aa476, isOwner false, [count 0, qsz 0, owner ]]] at
      jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
      at
      jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
      at java.lang.Thread.run(Thread.java:748) Caused by:
      java.lang.NullPointerException at
      jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688) at
      jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580) at
      jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
      ... 2 more




      Reconfiguring OpenGL per Mathworks guidance eliminates the error message, however, I suspect that it is suboptimal performance.



      >> opengl('save','software')


      BASH returns:



       glxinfo | grep "OpenGL version"



      OpenGL version string: 3.0 Mesa 18.0.5




      enter image description here



      Any diagnostic questions are always appreciated: thank you.







      nvidia graphics opengl matlab






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 17 at 14:55









      gatorback

      1,02231126




      1,02231126



























          active

          oldest

          votes











          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',
          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%2f1093740%2fmatlab-opengl-diagnosis%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



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093740%2fmatlab-opengl-diagnosis%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

          Ellipse (mathématiques)

          Quarter-circle Tiles

          Mont Emei