-
Notifications
You must be signed in to change notification settings - Fork 967
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
[Informative] Having trouble with OpenGL in miniconda environment (Ubuntu 22) #99
Comments
When I run your fifth step So I changed the command to: conda install libstdcxx ng - c conda-forge |
Can you try this? export DISPLAY=":1"
Sorry. I fixed it: If you face any issue try this one too. |
Still failed, I have executed all your steps from scratch |
its working for me |
Try |
NO |
I encountered the same problem on Ubuntu without a display, but when I tried again on a MacBook, I did not encounter the issue. So it's likely a problem with needing a screen display. |
Yes, I encountered the same problem on Ubuntu 22.04 and 18.04 |
I have a remote Ubuntu18.04 environment. After following all the steps above and setting headless rendering with mesa, my problem is solved. Many thanks. |
Update: I got it working. I re-ran the 4th command, this time paying attention to the instructions. export PYOPENGL_PLATFORM=osmesa (important: inside conda environment) (I must not have run it from inside conda the first time, hmmm. Or else I ran it from inside conda but not from within the virtual environment.) So now it works, except for the window size; the animation window is only partially visible on my Chromebook screen. Any ideas off-hand how to resize it? If not, I'll slide it over to a second screen when I get to my desk.) Original post: My error message: This doesn't seem to have been the problem:
Chromebook conda 23.3.1 I've run all the suggested |
I run all the instructions above but still get errors with my CentOS7 system (headless rendering): Can anyone helps please? Thank you in advance.
|
@yuleiqin Did you figure it out? I've only looked at the mvc folder and when I ran into an error I resolved it by setting the USE_MESA flag to true. Had you already done that? |
This comment was marked as resolved.
This comment was marked as resolved.
Just to rule out that what worked for me isn't working for you @laughxing @howardgriffin @yuleiqin #169 |
also meet same promblem
|
I solve it ,you can try |
like a charm, thanks |
Hello
if you have GPU on your machine and you are having trouble to run the project on Ubuntu 22 or higher. Run the following commands:
No need to downgrade the Python version or any other dep versioning hack.
Hope it helps!
The text was updated successfully, but these errors were encountered: