-
Notifications
You must be signed in to change notification settings - Fork 142
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
Renderer stops functioning under stress without generating error messages #720
Comments
The first one is #366. I've experienced the issue with zooming in before, too. I don't recall if there's an open issue for that already. |
Running the sample with --async_pipeline exposes this error message when I zoom in too far:
|
These both sound like intentional behaviour added to handle #366 in #537. Progress on resolving this has stalled due to a shortage of review bandwidth; I can't prioritise this work at the moment. The async pipeline is undermaintained (which is why we deprecated it). That failure is just suggesting that #366 is to blame again. Is there a real world use case where you are running into these memory limits? That would help us to prioritise working on a fix. |
Thanks, I don't really have a real world use case, I was just experimenting with vello. I can imagine certain use cases (like, say, a drawing program, if the user draws too complex geometry) where the error could be triggered in the wild. An error message would help - I wasn't familiar with vello's internals, so I couldn't easily tell this issue was caused by a limitation in vello. |
I decided to stress-test Vello by modifying the with_winit example. Instead of just one tiger, I changed it to draw hundreds of animated tigers.
My branch with the modified test can be found here: https://github.com/beholdnec/vello/tree/stress-test
I found certain conditions where the renderer would simply stop generating frames. In my branch, 128 tigers are drawn.
When the renderer stops functioning, no error messages are generated and the program doesn't crash. It responds to user input but doesn't generate video.
I am running on an RTX 4080 with 16GB of video memory. My theory is I've hit a memory limit. It would be helpful if Vello would report an error in this condition rather than failing silently.
The text was updated successfully, but these errors were encountered: