Giter Site home page Giter Site logo

OpenGL.error.GLError: GLError( err = 12289, baseOperation = eglInitialize, cArguments = ( <OpenGL._opaque.EGLDisplay_pointer object at 0x7f7565840040>, c_long(0), c_long(0), ), result = 0 ) libEGL warning: DRI2: failed to create dri screen libEGL warning: Not allowed to force software rendering when API explicitly selects a hardware device. about expose HOT 7 CLOSED

vchoutas avatar vchoutas commented on June 18, 2024
OpenGL.error.GLError: GLError( err = 12289, baseOperation = eglInitialize, cArguments = ( , c_long(0), c_long(0), ), result = 0 ) libEGL warning: DRI2: failed to create dri screen libEGL warning: Not allowed to force software rendering when API explicitly selects a hardware device.

from expose.

Comments (7)

fuziwang avatar fuziwang commented on June 18, 2024 6

Hello, I use your method, but i get a new failed "AttributeError: 'NoneType' object has no attribute 'glGetError'" ! Can you tell me the pyrender's version?

from expose.

monacv avatar monacv commented on June 18, 2024

Thanks a lot @vchoutas for your help :)
solved the problem by changing
os.environ['PYOPENGL_PLATFORM'] = 'egl'
in demo.py and inference.py to:
os.environ['PYOPENGL_PLATFORM'] = 'osmesa'

and also:

$ cd ..
$ git clone [email protected]:mmatl/pyopengl.git
$ pip install ./pyopengl

from expose.

xiaoxingrunning avatar xiaoxingrunning commented on June 18, 2024

你好,我使用你的方法,但我得到一个新的失败“AttributeError:'NoneType'对象没有属性'glGetError'”!你能告诉我pyrender的版本吗?

I have encountered the same problem as you. Have you solved it

from expose.

Schatz8 avatar Schatz8 commented on June 18, 2024

我也,请问解决了吗

from expose.

fuziwang avatar fuziwang commented on June 18, 2024

from expose.

herochen7372 avatar herochen7372 commented on June 18, 2024

os.environ['PYOPENGL_PLATFORM'] = 'osmesa'
I try it,but there is a new problem. Could you help me?
('Unable to load OpenGL library', 'libgcrypt.so.11: cannot open shared object file: No such file or directory', '/home/chen/APP/anaconda3/envs/py38/lib/libOSMesa.so.8', '/home/chen/APP/anaconda3/envs/py38/lib/libOSMesa.so.8')

from expose.

fuziwang avatar fuziwang commented on June 18, 2024

from expose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.