-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
OpenGL.error.GLError: GLError(err = 1282, description = b'invalid operation', baseOperation = glBindFramebuffer, cArguments = (GL_DRAW_FRAMEBUFFER, 0) ) #11
Comments
I have same problem with MacBook Pro M1 too. |
Resolved by adding But now I have issue #32 |
Works for me after:
|
Still doesn't work for me. I have done the above.
Still got GLError
|
me too, still get this error on mac: |
I got same issue. |
Same here |
I got same issue. |
I tried both MacBook and Ubuntu, even Windows, but nothing works. So many errors, it keeps raising errors and other errors again and again. |
Same here, m1 pro |
same here, m4 pro |
same here, m2 air |
same, m2 pro |
This didn't work for me:
|
Same issue for me. |
I was facing a similar error, but managed to resolve it using conda (https://docs.anaconda.com/miniconda/install/#quick-command-line-install). The viewer loads for me Device: Apple MacBook Pro |
this was quite a rabbit-hole, but basically what I found is that on a second "on_draw" of the pyrenderer viewer, the GL context is already in a bad state (from the first draw). What sets it into a bad state is My speculation is that the JIT renderer isn't written to OpenGL compliance, or MacOS + Python (via uv) by default ships a crappy and incompliant OpenGL (or badly compiled taichi). Unclear which. |
Confirmed it works by using Conda for environment management. The viewer has rendered for me. |
|
What python version are you using in conda? Python 3.11 is not working for me and still get this error
|
Python 3.12.8 |
Same errors. Confirming the miniconda suggestion also worked for me. M3 Pro |
Same errors. |
@soumith I think the above makes sense. I went down the rabbit hole trying to get it to work in several differently configured uv environments with no success. one shotted it with conda + the above suggestions |
how did you install |
can confirm, it works with Install conda on Mac M series via: curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o miniconda.sh
bash miniconda.sh -b -u -p miniconda # installs to current folder in a `miniconda` subfolder
. miniconda/bin/activate @emalihin after installing conda, I did: conda create -n genesis python=3.12
conda activate genesis
pip install genesis-world
pip install torch |
I reproduced @soumith instructions and the |
Thank you @soumith . |
Device: Apple MacBook Pro
Processor: M1 Pro
RAM: 16GB
Python: 3.10.16
Running this code:
Gives this error:
The text was updated successfully, but these errors were encountered: