From matic.poberznik at gmail.com Fri Mar 1 09:53:35 2019 From: matic.poberznik at gmail.com (Matic) Date: Fri, 1 Mar 2019 09:53:35 +0100 Subject: [xcrysden] swrast driver error In-Reply-To: References: Message-ID: <666e834c-609e-b6bf-2e17-cca4a93159a7@gmail.com> Dear Juan, > ls -l /usr/lib64/libGL.* > /usr/lib64/libGL.so -> libGL.so.1.2.0 > /usr/lib64/libGL.so.1 -> libGL.so.1.2.0 > /usr/lib64/libGL.so.1.2.0 > > 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. > > Do you have any ideas about what could be happening? can you try to paste the output of the command "ldd /home/bloch/xcrysden-1.5.60/bin/xcrys" here? It should reveal if any libraries are improperly linked (or missing). One possibility is also to include the path to the libraries manually by adding it to the "LD_LIBRARY_PATH" variable, perhaps try that as well. Hope this helps, Best Regards, Matic -- Matic Poberznik J. Stefan Institute, Jamova 39, Ljubljana, Slovenia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.democritos.it/pipermail/xcrysden/attachments/20190301/46f28779/attachment.htm From matic.poberznik at gmail.com Fri Mar 1 11:09:37 2019 From: matic.poberznik at gmail.com (Matic) Date: Fri, 1 Mar 2019 11:09:37 +0100 Subject: [xcrysden] swrast driver error In-Reply-To: <36B2557E-CDA2-4E47-8E91-10C77120D21F@unex.es> References: <666e834c-609e-b6bf-2e17-cca4a93159a7@gmail.com> <36B2557E-CDA2-4E47-8E91-10C77120D21F@unex.es> Message-ID: Dear Juanjo, > > Thanks for your response. I have found that the mistake appears only > when I launch xcrysden trough a ssh channel. It works perfectly on the > server. I will continue working on this. > perhaps a stupid comment, but are you sure you are using X-forwarding with ssh, i.e, ssh -X host other than that I can't think of what could be wrong, Best Regards, Matic -- Matic Poberznik J. Stefan Institute, Jamova 39, Ljubljana, Slovenia From gsabo at crimson.ua.edu Fri Mar 1 12:46:30 2019 From: gsabo at crimson.ua.edu (Gavin Abo) Date: Fri, 1 Mar 2019 04:46:30 -0700 Subject: [xcrysden] swrast driver error In-Reply-To: References: Message-ID: <68db9efa-a8a9-b975-a011-d7c888d88f9e@crimson.ua.edu> You might have a look at the webpages: https://github.com/openai/gym/issues/509 https://steamcommunity.com/app/221410/discussions/2/828934089701456106/?l=czech 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. On 2/28/2019 10:36 AM, Juanjo Mel?ndez wrote: > Dear all: > > 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: > > Executing: /home/bloch/xcrysden-1.5.60/bin/ftunit > libGL error: failed to load driver: swrast > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 3 > ResourceID in failed request: 0xffffffff > Serial number in failed request: 787 > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 3 > ResourceID in failed request: 0xffffffff > Serial number in failed request: 789 > Error in startup script: Togl: couldn?t get visual > while executing > ?togl ?.mesa ? -width ? 400 -height ?400 -ident ?.mesa ?-rgba true > ?-redsize ?1 ?-greensize 1 -blu?? > (procedure ?PlaceGlobWin? line 105) > invoked from within > ?PlaceGlobWin 0 [expr round(650 * $fac1)] [expr round(650 * $fac1)]? > (procedure ?ViewMol? line 25) > invoked from within > ?ViewMol .? > invoked from within > ?if { [llength $argv] > 2} { > parseComLinArg [lrange $argv 2 end] > } else { > ViewMol . > }? > (file ?/home/bloch/xcrysden-1.5.60/Tcl/xcInit.tcl? line 609) > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 12 > ResourceID in failed request: 0xffffffff > Serial number in failed request: 792 > > 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: > > ls -l /usr/lib64/libGL.* > /usr/lib64/libGL.so -> libGL.so.1.2.0 > /usr/lib64/libGL.so.1 -> libGL.so.1.2.0 > /usr/lib64/libGL.so.1.2.0 > > 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. > > Do you have any ideas about what could be happening? > > Thanks a lot in advance > > Juan J. Mel?ndez Mart?nez > Associate Professor > Department of Physics > University of Extremadura > Avda. de Elvas, s/n 06006 Badajoz (Spain) > Phone: +34 924 28 96 55 > Fax: +34 924 28 96 51 > Email: melendez at unex.es > Web: materiales.unex.es/miembros/personal/jj- > *melendez*/Index.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.democritos.it/pipermail/xcrysden/attachments/20190301/e5112be8/attachment.htm From melendez at unex.es Fri Mar 1 13:13:29 2019 From: melendez at unex.es (=?utf-8?Q?Juanjo_Mel=C3=A9ndez?=) Date: Fri, 1 Mar 2019 13:13:29 +0100 Subject: [xcrysden] swrast driver error In-Reply-To: <68db9efa-a8a9-b975-a011-d7c888d88f9e@crimson.ua.edu> References: <68db9efa-a8a9-b975-a011-d7c888d88f9e@crimson.ua.edu> Message-ID: <326176EF-50D9-4B49-8BAE-E1DE36A94F49@unex.es> Hi, Gavin It seems that the issue could be the lack of the 32bit libraries on the server. I will try that. Thanks! Juanjo Juan J. Mel?ndez Mart?nez Associate Professor Department of Physics University of Extremadura Avda. de Elvas, s/n 06006 Badajoz (Spain) Phone: +34 924 28 96 55 Fax: +34 924 28 96 51 Email: melendez at unex.es Web: materiales.unex.es/miembros/personal/jj-melendez/Index.html > El 1 mar 2019, a las 12:46, Gavin Abo escribi?: > > You might have a look at the webpages: > > https://github.com/openai/gym/issues/509 > https://steamcommunity.com/app/221410/discussions/2/828934089701456106/?l=czech > 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. > > > > On 2/28/2019 10:36 AM, Juanjo Mel?ndez wrote: >> Dear all: >> >> 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: >> >> Executing: /home/bloch/xcrysden-1.5.60/bin/ftunit >> libGL error: failed to load driver: swrast >> X Error of failed request: BadWindow (invalid Window parameter) >> Major opcode of failed request: 3 >> ResourceID in failed request: 0xffffffff >> Serial number in failed request: 787 >> X Error of failed request: BadWindow (invalid Window parameter) >> Major opcode of failed request: 3 >> ResourceID in failed request: 0xffffffff >> Serial number in failed request: 789 >> Error in startup script: Togl: couldn?t get visual >> while executing >> ?togl .mesa -width 400 -height 400 -ident .mesa -rgba true -redsize 1 -greensize 1 -blu?? >> (procedure ?PlaceGlobWin? line 105) >> invoked from within >> ?PlaceGlobWin 0 [expr round(650 * $fac1)] [expr round(650 * $fac1)]? >> (procedure ?ViewMol? line 25) >> invoked from within >> ?ViewMol .? >> invoked from within >> ?if { [llength $argv] > 2} { >> parseComLinArg [lrange $argv 2 end] >> } else { >> ViewMol . >> }? >> (file ?/home/bloch/xcrysden-1.5.60/Tcl/xcInit.tcl? line 609) >> X Error of failed request: BadWindow (invalid Window parameter) >> Major opcode of failed request: 12 >> ResourceID in failed request: 0xffffffff >> Serial number in failed request: 792 >> >> 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: >> >> ls -l /usr/lib64/libGL.* >> /usr/lib64/libGL.so -> libGL.so.1.2.0 >> /usr/lib64/libGL.so.1 -> libGL.so.1.2.0 >> /usr/lib64/libGL.so.1.2.0 >> >> 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. >> >> Do you have any ideas about what could be happening? >> >> Thanks a lot in advance >> >> Juan J. Mel?ndez Mart?nez >> Associate Professor >> Department of Physics >> University of Extremadura >> Avda. de Elvas, s/n 06006 Badajoz (Spain) >> Phone: +34 924 28 96 55 >> Fax: +34 924 28 96 51 >> Email: melendez at unex.es >> Web: materiales.unex.es/miembros/personal/jj- melendez/Index.html > _______________________________________________ > XCrySDen mailing list > XCrySDen at democritos.it > http://www.democritos.it/mailman/listinfo/xcrysden -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.democritos.it/pipermail/xcrysden/attachments/20190301/cb17b9b7/attachment-0001.htm