<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>You might have a look at the webpages:</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/openai/gym/issues/509">https://github.com/openai/gym/issues/509</a></p>
<p><a class="moz-txt-link-freetext" href="https://steamcommunity.com/app/221410/discussions/2/828934089701456106/?l=czech">https://steamcommunity.com/app/221410/discussions/2/828934089701456106/?l=czech</a><br>
</p>
<p>From what I see at those links, that "libGL error: failed to load
driver: swrast" error seems to be due to a video card driver
issue. It looks like some had to uninstall and reinstall the
video card driver or reinstall/upgrade the OS version.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/28/2019 10:36 AM, Juanjo Meléndez
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:F515F83A-0811-416E-A06C-BBBD59586519@unex.es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Dear all:
<div class=""><br class="">
</div>
<div class="">I have installed the shared version of
XCrysDen-1.5.60. Everything went on fine, apparently, as I found
the executable. It actually starts to run, but then I get the
message:</div>
<div class=""><br class="">
</div>
<div class="">Executing: /home/bloch/xcrysden-1.5.60/bin/ftunit</div>
<div class="">libGL error: failed to load driver: swrast</div>
<div class="">X Error of failed request: BadWindow (invalid Window
parameter)</div>
<div class=""> <span class="Apple-tab-span" style="white-space:pre">        </span>Major
opcode of failed request: 3</div>
<div class=""> <span class="Apple-tab-span" style="white-space:pre">        </span>ResourceID
in failed request: 0xffffffff</div>
<div class=""> <span class="Apple-tab-span" style="white-space:pre">        </span>Serial
number in failed request: 787</div>
<div class="">
<div class="">X Error of failed request: BadWindow (invalid
Window parameter)</div>
<div class=""> <span class="Apple-tab-span" style="white-space:pre">        </span>Major
opcode of failed request: 3</div>
<div class=""> <span class="Apple-tab-span" style="white-space:pre">        </span>ResourceID
in failed request: 0xffffffff</div>
<div class=""> <span class="Apple-tab-span" style="white-space:pre">        </span>Serial
number in failed request: 789</div>
</div>
<div class="">Error in startup script: Togl: couldn’t get visual </div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>while
executing</div>
<div class="">“togl .mesa -width 400 -height 400 -ident
.mesa -rgba true -redsize 1 -greensize 1 -blu…”</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>(procedure
“PlaceGlobWin” line 105)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>invoked
from within</div>
<div class="">“PlaceGlobWin 0 [expr round(650 * $fac1)] [expr
round(650 * $fac1)]”</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>(procedure
“ViewMol” line 25)</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>invoked
from within</div>
<div class="">“ViewMol .”</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>invoked
from within</div>
<div class="">“if { [llength $argv] > 2} {</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>parseComLinArg
[lrange $argv 2 end]</div>
<div class="">} else {</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>ViewMol
.</div>
<div class="">}”</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>(file
“/home/bloch/xcrysden-1.5.60/Tcl/xcInit.tcl” line 609)</div>
<div class="">
<div class="">X Error of failed request: BadWindow (invalid
Window parameter)</div>
<div class=""> <span class="Apple-tab-span" style="white-space: pre;">        </span>Major
opcode of failed request: 12</div>
<div class=""> <span class="Apple-tab-span" style="white-space: pre;">        </span>ResourceID
in failed request: 0xffffffff</div>
<div class=""> <span class="Apple-tab-span" style="white-space: pre;">        </span>Serial
number in failed request: 792</div>
</div>
<div class=""><br class="">
</div>
<div class="">I have googled the first error, and found that it
might be related to broken symbolic links to libGL libs. In my
case, I have:</div>
<div class=""><br class="">
</div>
<div class="">ls -l /usr/lib64/libGL.*</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/lib64/libGL.so
-> libGL.so.1.2.0</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/lib64/libGL.so.1
-> libGL.so.1.2.0</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/lib64/libGL.so.1.2.0</div>
<div class=""><br class="">
</div>
<div class="">so this does not seem to be the problem. I also
checked that /usr/lib64/dri/swrast_dri.so exists. The test
“LIBGL_DEBUG=verbose glxgears” yields the same swrast error. </div>
<div class=""><br class="">
</div>
<div class="">Do you have any ideas about what could be happening?</div>
<div class=""><br class="">
</div>
<div class="">Thanks a lot in advance</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div class="">
<div class="">Juan J. Meléndez Martínez</div>
<div class="">Associate Professor</div>
<div class="">Department of Physics</div>
<div class="">University of Extremadura</div>
<div class="">Avda. de Elvas, s/n 06006 Badajoz (Spain)</div>
<div class="">Phone: +34 924 28 96 55</div>
<div class="">Fax: +34 924 28 96 51</div>
<div class="">Email: <a href="mailto:melendez@unex.es"
class="" moz-do-not-send="true">melendez@unex.es</a></div>
<div class="">Web: <span style="color: rgb(0, 102, 33);
font-family: arial, sans-serif; line-height: 16px;
white-space: nowrap; background-color: rgb(255, 255,
255);" class=""><a
href="http://materiales.unex.es/miembros/personal/jj-"
class="" moz-do-not-send="true">materiales.unex.es/miembros/personal/jj-</a></span><b
style="color: rgb(0, 102, 33); font-family: arial,
sans-serif; line-height: 16px; white-space: nowrap;"
class="">melendez</b><span style="color: rgb(0, 102,
33); font-family: arial, sans-serif; line-height: 16px;
white-space: nowrap; background-color: rgb(255, 255,
255);" class="">/Index.html</span></div>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite"
cite="mid:F515F83A-0811-416E-A06C-BBBD59586519@unex.es">
</blockquote>
</body>
</html>