


{"id":32700,"date":"2019-01-16T19:39:01","date_gmt":"2019-01-16T19:39:01","guid":{"rendered":"\/forum\/forums\/topic\/libgl-and-libswrast-so-errors-centos-7-nvidia-or-no-gpus\/"},"modified":"2019-01-16T19:39:01","modified_gmt":"2019-01-16T19:39:01","slug":"libgl-and-libswrast-so-errors-centos-7-nvidia-or-no-gpus","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/libgl-and-libswrast-so-errors-centos-7-nvidia-or-no-gpus\/","title":{"rendered":"libGL and libswrast.so errors, CentOS 7, Nvidia or no GPUs"},"content":{"rendered":"<p>We&#8217;re running ANSYS 19.2, and its Electronics Desktop, on a bunch of CentOS 7.5 nodes.&nbsp; All are headless and most lack discrete GPUs.&nbsp; A handful have some model of Tesla GPU installed.<\/p>\n<p>We&#8217;re having a problem with libGL and libswrast.&nbsp; When running &#8220;ansysedt&#8221; for the Electronics Desktop, for example, if I click &#8220;Project&#8221;, then &#8220;Insert HFSS Design&#8221;, I get<\/p>\n<p>&nbsp;libGL error: failed to load driver: swrast.so <\/p>\n<p>Without mesa-drivers-dri installed, then I also get this error<\/p>\n<p>&nbsp;libGL error: unable to load driver: swrast_dri.so<\/p>\n<p>From strace I can see that nodes without mesa-dri-drivers installed lack libswrast altogether, and those with it installed can&#8217;t use the libswrast that the RPM provides.<\/p>\n<p>Some other instances of Ansys use on our cluster might see these same symptoms&#8211;I don&#8217;t know.<\/p>\n<p>If I set Ansys to use only software rendering, then those libGL errors go away, but the program still freezes, just as reported in the thread<\/p>\n<p>&nbsp;\/forum\/forums\/topic\/libgl-error\/?order=all#comment-a9ac6bb7-6081-46ff-b60f-a9ac01561f7b<\/p>\n<p>All nodes show one of &#8220;ast&#8221; or &#8220;mgag200&#8221; (depending on motherboard) as the output of &#8220;lspci -nnk | grep -i vga -A3 | grep &#8216;in use'&#8221;.<\/p>\n<p>I think all required RPMs, including i686, are installed on these nodes.<\/p>\n<p>For GUIs, our users SSH (from whatever platform) into our cluster, with X11 forwarded.<\/p>\n<p>&#8220;cat \/etc\/*release&#8221; on all nodes looks as below.&nbsp; I know Ansys 19.2 doesn&#8217;t officially support CentOS 7.5, but suspect that the GL swrast problem is independent of that.<\/p>\n<p>\/etc\/centos-release:<br \/>CentOS Linux release 7.5.1804 (Core) <\/p>\n<p>\/etc\/os-release:<br \/>NAME=&#8221;CentOS Linux&#8221;<br \/>VERSION=&#8221;7 (Core)&#8221;<br \/>ID=&#8221;centos&#8221;<br \/>ID_LIKE=&#8221;rhel fedora&#8221;<br \/>VERSION_ID=&#8221;7&#8243;<br \/>PRETTY_NAME=&#8221;CentOS Linux 7 (Core)&#8221;<br \/>ANSI_COLOR=&#8221;0;31&#8243;<br \/>CPE_NAME=&#8221;cpe<img decoding=\"async\" src=\"\/content\/images\/emoticons\/unsure-emoticon.png\" alt=\"\" class=\"emoticon\" \/>o:centos:centos:7&#8243;<br \/>HOME_URL=&#8221;https:\/\/www.centos.org\/&#8221;<br \/>BUG_REPORT_URL=&#8221;https:\/\/bugs.centos.org\/&#8221;<br \/>CENTOS_MANTISBT_PROJECT=&#8221;CentOS-7&#8243;<br \/>CENTOS_MANTISBT_PROJECT_VERSION=&#8221;7&#8243;<br \/>REDHAT_SUPPORT_PRODUCT=&#8221;centos&#8221;<br \/>REDHAT_SUPPORT_PRODUCT_VERSION=&#8221;7&#8243;<\/p>\n<p>\/etc\/redhat-release:<br \/>CentOS Linux release 7.5.1804 (Core) <\/p>\n<p>\/etc\/system-release:<br \/>CentOS Linux release 7.5.1804 (Core) <\/p>\n","protected":false},"template":"","class_list":["post-32700","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["4872"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[null],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0","0","0","0","0"],"_btv_view_count":["2559"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["32700"],"_bbp_forum_id":["27796"],"_bbp_engagement":["41633","157480"],"_bbp_voice_count":["2"],"_bbp_reply_count":["5"],"_bbp_last_reply_id":["75228"],"_bbp_last_active_id":["75228"],"_bbp_last_active_time":["2019-01-18 00:08:18"]},"test":"pbrunk"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/32700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/32700\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=32700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}