Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

libGL errors on Ubuntu 14.04 #36

Closed
astrojuanlu opened this issue Oct 19, 2015 · 5 comments
Closed

libGL errors on Ubuntu 14.04 #36

astrojuanlu opened this issue Oct 19, 2015 · 5 comments
Labels

Comments

@astrojuanlu
Copy link
Owner

Originally reported by @e-aranda, see #31 (comment). 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
Copy link
Owner Author

@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
Copy link

$ 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
Copy link
Owner Author

All right, version GLIBCXX_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
Copy link

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
#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
#36 (comment)
.

@astrojuanlu
Copy link
Owner Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants