Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[F glutil.cpp:338] eglInitialize() failed #115

Closed
tcabezon opened this issue Apr 5, 2023 · 5 comments
Closed

[F glutil.cpp:338] eglInitialize() failed #115

tcabezon opened this issue Apr 5, 2023 · 5 comments

Comments

@tcabezon
Copy link

tcabezon commented Apr 5, 2023

I get this comment when I try to run inference on the model. I even get the error when I run the 'GET3D-pretrain-inference.ipynb' google colab that is provided as example.

[F glutil.cpp:338] eglInitialize() failed

@tcabezon
Copy link
Author

tcabezon commented Apr 5, 2023

Screen Shot 2023-04-05 at 18 55 52

@buptzh111
Copy link

Hi @tcabezon , I've met the same problem, and I solved it by replacing "dr.RasterizeGLContext" with "dr.RasterizeCudaContext" when doing inference. You can find it in training/networks_get3d.py, line 385, and uni_rep/render/neural_render.py, line 59.

@SteveJunGao
Copy link
Collaborator

Thank you @buptzh111 for providing the fix!

Yes, changing from GL to Cuda in Nvdiffrast would fix the problem

@Walterkd
Copy link

Walterkd commented Apr 9, 2023

Works for me too!

@Remember12344
Copy link

Thank you @buptzh111 for providing the fix!

Yes, changing from GL to Cuda in Nvdiffrast would fix the problem

Thank you @buptzh111 for providing the fix!

Yes, changing from GL to Cuda in Nvdiffrast would fix the problem

does it mean i need to change all the GL to cuda in Nvdiffrast file?

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

No branches or pull requests

5 participants