Results 1 to 4 of 4

Thread: libGL error: failed to load driver: nouveau

  1. #1
    Join Date
    Apr 2013
    Beans
    3

    libGL error: failed to load driver: nouveau

    Dear Ubuntu/VESTA users,I just downloaded VESTA-x86_64 (a crystal visualization software) on my Ubuntu 12.10 64 bit machine. After extracted the files according
    to the manual, I ran "./VESTA", but resulted in the following error:


    libGL error: failed to load driver: nouveau
    libGL error: Try again with LIBGL_DEBUG=verbose for more details.
    libGL error: failed to load driver: swrast
    libGL error: Try again with LIBGL_DEBUG=verbose for more details.
    The program 'VESTA' received an X Window System error.

    ...


    And I just ran "LIBGL_DEBUG=verbose ./VESTA", then it came out:
    libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/nouveau_dri.so
    libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
    libGL error: dlopen /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so: cannot open shared object file: No such file or directory)
    libGL: OpenDriver: trying ${ORIGIN}/dri/tls/nouveau_dri.so
    libGL: OpenDriver: trying ${ORIGIN}/dri/nouveau_dri.so
    libGL error: dlopen ${ORIGIN}/dri/nouveau_dri.so failed (${ORIGIN}/dri/nouveau_dri.so: cannot open shared object file: No such file or directory)
    libGL: OpenDriver: trying /usr/lib/dri/tls/nouveau_dri.so
    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/x86_64-linux-gnu/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
    libGL error: dlopen /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
    libGL: OpenDriver: trying ${ORIGIN}/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying ${ORIGIN}/dri/swrast_dri.so
    libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
    libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
    libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
    libGL error: unable to load driver: swrast_dri.so
    libGL error: failed to load driver: swrast
    The program 'VESTA' received an X Window System error.

    ...


    After a long time of googling, I know that this is something related to the library path, but still I do not know how to solve it.
    Does anyone know how the answer?


    Thanks in advance,
    Murphy

  2. #2
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    2,526
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: libGL error: failed to load driver: nouveau

    They should be there (I also have 32-bit libs for 32-bit Steam):
    Code:
    efflandt@XPS8100-1204:~$ locate nouveau_dri.so
    /usr/lib/i386-linux-gnu/dri/nouveau_dri.so
    /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
    efflandt@XPS8100-1204:~$ locate swrast_dri.so
    /usr/lib/i386-linux-gnu/dri/swrast_dri.so
    /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
    Oops thought it was 12.04. But see if locate can find those files on your system, or maybe there is an issue with the changed graphics in 12.10.

    Are you using default nouveau driver or proprietary nvidia driver, and if latter, did you install from Additional Drivers or some other method?
    Last edited by efflandt; April 15th, 2013 at 07:18 PM.
    i5 650 3.2 GHz, 8 GB, nvidia GTX 550 Ti 32" 1080p | i7-4700, 8 GB, Intel HD 4600/nvidia GTX 765M 15.6" 1080p | etc.

  3. #3
    Join Date
    Apr 2013
    Beans
    3

    Re: libGL error: failed to load driver: nouveau

    Thank you, efflandt!

    My apology that it is actually 12.04 LTS in my desktop.
    And there are a lot of results from locate nouveau, but I only have nouveau_drv.so, which is located in
    /usr/lib/xorg/modules/drivers/
    May I also ask what is the difference between nouveau_dri.so and nouveau_drv.so?
    And no resultfrom locate swrast_dri.so! Therefore I do not have this file...

    By the way, I found that I can use VESTA in my laptop, which equipped with Intel graphic card.

    But my desktop is getting worse. This morning it can not enter graphical interface anymore!
    At the beginning, it showed "could not write byte:broken pipe".
    Then after searchhig a bit in the threads, I did
    sudo apt-get update
    sudo apt-get purge nvidia-*
    sudo apt-get install nvidia-current-updates
    sudo reboot
    But it only replies me with a black screen.
    I am now using my laptop and do not know how to fix my desktop...

    Urgent help needed, thank you all!

  4. #4
    Join Date
    Apr 2013
    Beans
    3

    Re: libGL error: failed to load driver: nouveau

    By virtue of the following thread, I just removed comletely my Nvidia driver and re-install it again, then everything works now!
    Even VESTA can be run on my desktop.
    http://askubuntu.com/questions/206283/how-can-i-uninstall-a-nvidia-driver-completely


    Thank you all for the replies and previous threads. Hopefully my experience can be a help to others as well.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •