{"id":677,"date":"2011-10-19T10:45:07","date_gmt":"2011-10-19T14:45:07","guid":{"rendered":"http:\/\/www.timelordz.com\/blog\/?p=677"},"modified":"2011-10-19T10:45:07","modified_gmt":"2011-10-19T14:45:07","slug":"visit-with-neatx-glx-issues","status":"publish","type":"post","link":"https:\/\/www.timelordz.com\/blog\/2011\/10\/visit-with-neatx-glx-issues\/","title":{"rendered":"VisIt with NeatX: GLX Issues"},"content":{"rendered":"<p>We provide users with a visualization system with IDL, MatLab, and Visit. X-Forwarding can be painfully slow, and we have found that using NXServer, or Googles open source NeatX equivalent, can provide much faster performance. <a href=\"htttp:\/\/code.google.com\/p\/neatx\/\" title=\"NeatX\" target=\"_blank\"><\/a><\/p>\n<p>However, VisIt would launch when X-Forwarded, but not when using NXClient &amp; NeatX. The only messages were:<br \/>\n&#8230;<br \/>\n<code>Running: mdserver2.3.2 -host 127.0.0.1 -port 5601<br \/>\nVisIt's viewer exited abnormally! Aborting the Graphical User Interface. VisIt's developers may be reached via the visit-users mailing list.\u00a0 Please see:<br \/>\nhtttp:\/\/visit.llnl.gov\/FAQ.html#1<\/code><\/p>\n<p>I also found that glxinfo would return:<\/p>\n<p><code>$ glxinfo<br \/>\nname of display: :826.0<br \/>\nError: couldn't find RGB GLX visual or fbconfig<\/code><\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p>First, I created an xorg.conf to ensure GLX was actually being loaded. (It turned out this was not required as X was autodetecting everything fine without an explicit xorg.conf, but I include it here as it may be helpful in some cases to have an explicit xorg.conf)<\/p>\n<p>Xorg -configure<br \/>\n(renamed xorg.conf and moved to \/etc\/X11. Ensured Section &#8220;Module&#8221; included Load &#8220;glx&#8221;, etc.)<\/p>\n<p>glxinfo still would not work. I then set the following environmental variable:<\/p>\n<p><code>export\u00a0 LIBGL_ALWAYS_INDIRECT=yes<\/code><\/p>\n<p>Which allowd glxinfo, glxgears, etc. to work. For more information on this environmental, see:<\/p>\n<p><a href=\"http:\/\/unix.stackexchange.com\/questions\/1437\/what-does-libgl-always-indirect-1-actually-do\" title=\"http:\/\/unix.stackexchange.com\/questions\/1437\/what-does-libgl-always-indirect-1-actually-do\" target=\"_blank\">http:\/\/unix.stackexchange.com\/questions\/1437\/what-does-libgl-always-indirect-1-actually-do<\/a><br \/>\n<a href=\"https:\/\/bugs.launchpad.net\/xorg-server\/+bug\/384001\" title=\"https:\/\/bugs.launchpad.net\/xorg-server\/+bug\/384001\" target=\"_blank\">https:\/\/bugs.launchpad.net\/xorg-server\/+bug\/384001<\/a><\/p>\n<p>This could then be made into a Gnome Desktop Launcher:<\/p>\n<p><code>cat VisIt.desktop<br \/>\n[Desktop Entry]<br \/>\nVersion=1.0<br \/>\nType=Application<br \/>\nTerminal=false<br \/>\nIcon[C]=gnome-panel-launcher<br \/>\nName[C]=VisIt<br \/>\nExec=env LIBGL_ALWAYS_INDIRECT=yes \/usr\/local\/visit\/bin\/visit<br \/>\nName=VisIt<br \/>\nIcon=\/usr\/share\/icons\/visit.jpg<br \/>\nCategories=GNOME;Application;Development;<\/code><\/p>\n<p>Perhaps the above may be useful to other VisIt users.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We provide users with a visualization system with IDL, MatLab, and Visit. X-Forwarding can be painfully slow, and we have found that using NXServer, or Googles open source NeatX equivalent, can provide much faster performance. However, VisIt would launch when X-Forwarded, but not when using NXClient &amp; NeatX. The only messages were: &#8230; Running: mdserver2.3.2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[87,82],"class_list":["post-677","post","type-post","status-publish","format-standard","hentry","category-ornl","tag-linux","tag-visit"],"_links":{"self":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts\/677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/comments?post=677"}],"version-history":[{"count":5,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts\/677\/revisions"}],"predecessor-version":[{"id":682,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts\/677\/revisions\/682"}],"wp:attachment":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/media?parent=677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/categories?post=677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/tags?post=677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}