-
Notifications
You must be signed in to change notification settings - Fork 969
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
Headless, USE_MESA: True within the view section of the config file. Where exactly? #169
Comments
May I inquire about why you are panicking? Don't change anything in the code. Rather, add those two lines to the top-level MVC config that is being passed into 'render.start()' function. Details about the MVC config options are here: examples/config/README.md |
There are some os-specific dependencies required for osmesa rendering. You may find those closed issues helpful for resolving those. |
The files in the MVC folder aren't where I expected I would need to add the Thanks for reminding me about I'm so excited to be nearly at the point where I can get this to work. (Huge difference installing it on a powerful cloud vm and not beating my head against a mid-range Chromebook.) |
All of the options for running the Animated Drawings code in different ways are specified within the MVC config file (or, at least, that was my intention when creating them). The [image|annotations]to[annotations|animation].py files are just examples to get you started, they aren't supposed to be robust scripts that support passing in different parameters. I hope you get it working soon! |
I got it to work. See the Update, above. Thank you, btw, for this great project. |
Begin Update ...
Where? The file is in animated_drawings/mvc_base_cfg.yaml.
Change USE_MESA: from False to True
---- End Update and close issue ----
Perhaps the Headless Rendering section in the README.md should be expanded?
There are a number of closed issues that are related to headless renderings: #96, #99, #158, #167, etc. Are those even issues if one changes the USE_MESA to true? Unfortunately I didn't notice the headless instructions until after I'd messed around with other solutions. But now that I see there's a section on Headless Rendering, I can't find where I'm supposed to change false to true.
Is it in:
AnimatedDrawings/animated_drawings/config.py? If so, where, in the Class View section? or
AnimatedDrawings/animated_drawings/view/view.py or
AnimatedDrawings/animated_drawings/view/mesa_view.py
or somewhere else? I'm not seeing it (partly because I'm panicking, hahaha).
I just almost successfully ran my first garlic_out test on a Ubuntu 22.04 in the cloud. Everything but the video was produced, e.g. mask.png, texture.png, bounding_box.yaml, char_cfg.yaml. Very exciting after a week torturing myself on an inadequately provisioned local machine.
The text was updated successfully, but these errors were encountered: