Author Topic: libGL error  (Read 10014 times)

0 Members and 1 Guest are viewing this topic.

Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
libGL error
« on: April 8, 2014, 11:07 »
I have installed ATK on a 32 bit RHEL 6.4 system 8GB memory, processor: 2xIntel Xeon W3505@2.40GHz.

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

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: libGL error
« Reply #1 on: April 8, 2014, 12:26 »
Kindly try the suggestion in the error message so we have a bit more information to go on.

Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
Re: libGL error
« Reply #2 on: April 8, 2014, 12:48 »
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.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: libGL error
« Reply #3 on: April 8, 2014, 12:58 »
=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?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: libGL error
« Reply #4 on: April 8, 2014, 13:00 »
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"

Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
Re: libGL error
« Reply #5 on: April 8, 2014, 14:40 »
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.
« Last Edit: April 8, 2014, 14:46 by ams_nanolab »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: libGL error
« Reply #6 on: April 8, 2014, 14:51 »
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".

Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
Re: libGL error
« Reply #7 on: April 9, 2014, 06:30 »
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.


Offline ams_nanolab

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 389
  • Country: in
  • Reputation: 11
    • View Profile
Re: libGL error
« Reply #8 on: April 9, 2014, 11:16 »
Reinstalling the NVIDIA graphics drivers solved the problem.  ;D

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: libGL error
« Reply #9 on: April 9, 2014, 12:22 »
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.