-
Notifications
You must be signed in to change notification settings - Fork 36
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
Using arch=ti.vulkan on iMac (2017, Intel) casuses no screenshots can be saved #3
Comments
I dont' have a iMac at hand to reproduce this bug, have you tweaked with renders.py to see if some settings may have an effect on this behavier? For example change |
Nope, I am not sure what params can/shall be tweaked :P, I will try the |
Hello! The imwrite issue is a bit weird. Can you try using an absolute path instead of relative for the file? As for the CPU backend / GGUI compatibility issue, it seems to be a bug for a while, we are still trying to figure out why, sorry for that! |
On my M1 Mac:
|
Using an absolute path works on my end! @neozhaoliang Can you simply use the absolute path for now (using
|
@imcom Updated the code by using the absolute path for imwrite. Could you please try the new code and see if the bug is fixed? |
The problem still exists because |
Sry for the late reply Turned out that it did generate images ... as yuanming said ... the cuz once you print out the For a workaround, |
This PR fixes the |
I will try our nightly build :D Thx! |
taichi-nightly 1.0.1.post20220420 this nightly build fixes the dir issue @neozhaoliang |
Environment:
-> % python -V
Python 3.9.12
taichi 1.0.0
numpy 1.22.3
Issue:
Using the template to install and create the scene on my iMac (as above), the renderer works well but whenever I press
p
, there is no screenshots can be saved. I've got a minimum script to reproduce the issueWith this script, I noticed that if the
arch
is set toti.cpu
for instance, the img can be written to FS. But withti.vulkan
, there is no image written.P.S. If I change the
arch
to either cpu / gpu in thescene.py
. Then the script will crash. Attached the crash log as bellow.The text was updated successfully, but these errors were encountered: