Git Product home page Git Product logo

Comments (6)

littlejiumi avatar littlejiumi commented on May 31, 2024 1

Add this:
MESA_GL_VERSION_OVERRIDE=4.1

from pymaf.

HongwenZhang avatar HongwenZhang commented on May 31, 2024

Hi, it seems the pyopengl does not work correctly in your environment. The following issues may help.
mmatl/pyrender#86 (comment)
mkocabas/VIBE#2 (comment)

You can also try using the OpenDR renderer for the demo by using --use_opendr.

from pymaf.

semchan avatar semchan commented on May 31, 2024

Add this: MESA_GL_VERSION_OVERRIDE=4.1

but still not working

from pymaf.

littlejiumi avatar littlejiumi commented on May 31, 2024

Add this: MESA_GL_VERSION_OVERRIDE=4.1

but still not working

Would you print your error?

from pymaf.

semchan avatar semchan commented on May 31, 2024

Add this: MESA_GL_VERSION_OVERRIDE=4.1

but still not working

Would you print your error?

File "demo.py", line 97, in run_image_demo
renderer = PyRenderer(resolution=(constants.IMG_RES, constants.IMG_RES))
File "/home/chenys/matting/PyMAF/utils/renderer.py", line 65, in init
point_size=1.0
File "/usr/local/lib/python3.7/site-packages/pyrender-0.1.45-py3.7.egg/pyrender/offscreen.py", line 31, in init
self._create()
File "/usr/local/lib/python3.7/site-packages/pyrender-0.1.45-py3.7.egg/pyrender/offscreen.py", line 149, in _create
self._platform.init_context()
File "/usr/local/lib/python3.7/site-packages/pyrender-0.1.45-py3.7.egg/pyrender/platforms/egl.py", line 177, in init_context
assert eglInitialize(self._egl_display, major, minor)
File "/usr/local/lib/python3.7/site-packages/OpenGL/platform/baseplatform.py", line 402, in call
return self( *args, **named )
File "src/errorchecker.pyx", line 58, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
err = 12289,
baseOperation = eglInitialize,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7f698b96e0d0>,
c_long(0),
c_long(0),
),
result = 0

from pymaf.

Sunwenxin1 avatar Sunwenxin1 commented on May 31, 2024

Add this: MESA_GL_VERSION_OVERRIDE=4.1

but still not working

Would you print your error?

Add this: MESA_GL_VERSION_OVERRIDE=4.1

but still not working

Would you print your error?

@littlejiumi 师兄,我用了这个也不行,请问下您当时是怎样解决这个问题的呢

from pymaf.

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.