{"id":666,"date":"2019-10-23T15:24:37","date_gmt":"2019-10-23T20:24:37","guid":{"rendered":"http:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=666"},"modified":"2019-10-23T19:07:52","modified_gmt":"2019-10-24T00:07:52","slug":"using-mesa-to-render-opengl-1-4-remotely","status":"publish","type":"post","link":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=666","title":{"rendered":"Using MESA to render OpenGL &gt; 1.4 remotely"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When you are working on a remote server through nomachine or vnc, and there is no video card on the remote server that supports OpenGL &gt; 1.4, the MESA in default render OpenGL version 1.4.  This will cause the application to fail even if they do not really need to raise a GUI.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a way to force MESA to report its GL version to 3.3 such that certain applications will generate correct result without terminate while sensing a too low GL version:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Put the following environment string in front of your command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MESA_GL_VERSION_OVERRIDE=3.3 your_command<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This method does not work through ssh x-tunneling since in the latter case the x-server tends to take the GL command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want this to go through an x-server that also uses mesa, you will need to put on the  MESA_GL_VERSION_OVERRIDE=3.3 before your ssh command too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you are working on a remote server through nomachine or vnc, and there is no video card on the remote server that supports OpenGL &gt; 1.4, the MESA in default render OpenGL version 1.4. This will cause the application to fail even if they do not really need to raise a GUI. Here is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,3],"tags":[],"class_list":["post-666","post","type-post","status-publish","format-standard","hentry","category-computer-tips","category-mri-technical-support","post-blog"],"_links":{"self":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=666"}],"version-history":[{"count":3,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/666\/revisions"}],"predecessor-version":[{"id":671,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/666\/revisions\/671"}],"wp:attachment":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}