astrojuanlu / fenics-recipes

This repository contains conda recipes for the FEniCS libraries
The Unlicense
13 stars 15 forks source link

libGL errors on Ubuntu 14.04 #36

Closed astrojuanlu closed 8 years ago

astrojuanlu commented 8 years ago

Originally reported by @e-aranda, see https://github.com/Juanlu001/fenics-recipes/issues/31#issuecomment-149131474. This was introduced with the last update.

(fenics27)$ python demo_poisson.py 
Vendor:  Continuum Analytics, Inc. 
Package: mkl
Message: trial mode expires in 30 days
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Solving linear variational problem.
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  156 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
 Value in failed request:  0x0
 Serial number of failed request:  58
 Current serial number in output stream:  59
(fenics27)$
astrojuanlu commented 8 years ago

@e-aranda Could you try running the demo again in this way? (Seen here).

$ DISPLAY=:0 LIBGL_DEBUG=verbose python demo_poisson.py
e-aranda commented 8 years ago
$ DISPLAY=:0 LIBGL_DEBUG=verbose python demo_poisson.py
Vendor:  Continuum Analytics, Inc.
Package: mkl
Message: trial mode expires in 30 days
Solving linear variational problem.
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 4: 10de:0641, driver nouveau
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: dlopen /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so failed
(/home/earanda/anaconda/envs/fenics27/lib/python2.7/site-packages/ufc/../../../libstdc++.so.6:
version `GLIBCXX_3.4.20' not found (required by
/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so))
libGL: OpenDriver: trying ${ORIGIN}/dri/tls/nouveau_dri.so
libGL: OpenDriver: trying ${ORIGIN}/dri/nouveau_dri.so
libGL: dlopen ${ORIGIN}/dri/nouveau_dri.so failed
(/home/earanda/anaconda/envs/fenics27/lib/python2.7/site-packages/ufc/../../../libstdc++.so.6:
version `GLIBCXX_3.4.20' not found (required by
/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so))
libGL: OpenDriver: trying /usr/lib/dri/tls/nouveau_dri.so
libGL: OpenDriver: trying /usr/lib/dri/nouveau_dri.so
libGL: 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: dlopen /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed
(/home/earanda/anaconda/envs/fenics27/lib/python2.7/site-packages/ufc/../../../libstdc++.so.6:
version `GLIBCXX_3.4.20' not found (required by
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so))
libGL: OpenDriver: trying ${ORIGIN}/dri/tls/swrast_dri.so
libGL: OpenDriver: trying ${ORIGIN}/dri/swrast_dri.so
libGL: dlopen ${ORIGIN}/dri/swrast_dri.so failed
(/home/earanda/anaconda/envs/fenics27/lib/python2.7/site-packages/ufc/../../../libstdc++.so.6:
version `GLIBCXX_3.4.20' not found (required by
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so))
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: 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
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  156 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  58
  Current serial number in output stream:  59
(fenics27)$
astrojuanlu commented 8 years ago

All right, versionGLIBCXX_3.4.20' not found`. This is then exactly the same problem as #35, since apparently the libstdc++ provided by conda is too old. I might need to revert the changes I last made. Closing as duplicate.

e-aranda commented 8 years ago

So,

Can I revert the changes I made, or you need that I try something else?

2015-10-19 10:31 GMT+02:00 Juan Luis Cano Rodríguez < notifications@github.com>:

All right, versionGLIBCXX_3.4.20' not found`. This is then exactly the same problem as #35 https://github.com/Juanlu001/fenics-recipes/issues/35, since apparently the libstdc++ provided by conda is too old. I might need to revert the changes I last made. Closing as duplicate.

— Reply to this email directly or view it on GitHub https://github.com/Juanlu001/fenics-recipes/issues/36#issuecomment-149143402 .

astrojuanlu commented 8 years ago

I can reproduce the source of the problem on my system, so you can either revert right now or wait for me to recompile and upload the packages. They will be ready today.