QuantumATK Forum
QuantumATK => Installation and License Questions => Topic started by: ams_nanolab on April 8, 2014, 11:07
-
I have installed ATK on a 32 bit RHEL 6.4 system 8GB memory, processor: 2xIntel Xeon [email protected].
I am getting the following error and when I am opening ATK builder it is crashing
libGL error: failed to load driver: nouveau
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Kindly give a solution
-
Kindly try the suggestion in the error message so we have a bit more information to go on.
-
Yes I have tried that, but some problem still remains, namely I can't select a certain number of atoms by dragging the mouse. The builder crashes every-time I try to select some group of atoms in that way.
-
=verbose means it should print a lot of information. We would need that to assess what goes wrong. But most likely it's a problem with your video driver, is it the latest? Which video card are you using?
-
See http://ubuntuforums.org/showthread.php?t=2135772
Google is your friend - this is the first hit (for me at least) when searching for "libGL error: failed to load driver: nouveau"
-
Many thanks. Here's what the log says
[root@localhost Desktop]# LIBGL_DEBUG=verbose vnl
libGL: OpenDriver: trying /usr/lib/dri/nouveau_dri.so
libGL error: dlopen /usr/lib/dri/nouveau_dri.so failed (/usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
So I think nouveau drivers are missing. I will try to install and let you know.
-
In general, if you cannot run "glxgears" on the machine, you also cannot run VNL. So this is always the first things to try, and I bet in your case you can't run "glxgears".
-
glxgears is running okay but with the same error messages
[root@localhost Desktop]# glxgears
libGL error: failed to load driver: nouveau
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
603 frames in 5.0 seconds = 120.592 FPS
597 frames in 5.0 seconds = 119.336 FPS
747 frames in 5.0 seconds = 149.315 FPS
566 frames in 5.0 seconds = 113.100 FPS
613 frames in 5.0 seconds = 122.589 FPS
650 frames in 5.0 seconds = 129.814 FPS
772 frames in 5.0 seconds = 154.186 FPS
....
and with debugging it gives the following message
[root@localhost Desktop]# LIBGL_DEBUG=verbose glxgears
libGL: OpenDriver: trying /usr/lib/dri/nouveau_dri.so
libGL error: dlopen /usr/lib/dri/nouveau_dri.so failed (/usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
584 frames in 5.0 seconds = 116.764 FPS
600 frames in 5.0 seconds = 119.901 FPS
652 frames in 5.0 seconds = 130.098 FPS
760 frames in 5.0 seconds = 151.817 FPS
etc.
-
Reinstalling the NVIDIA graphics drivers solved the problem. ;D
-
As the Google search hit said... ;=)
I'm surprised glxgears would run, but now we know this is not foolproof. At least there was a clear error message in this case.