-
Notifications
You must be signed in to change notification settings - Fork 42
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
Current main
branch introduces stutter
#14
Comments
Hey! Thanks for the issue. This is a weird issue, but I'm not too surprised by it. The upgrade to Thanks for the detailed report! |
More info:
So, I've got 5 tags/branches you can check out if you like. They're all exhibit the stutter for me except the first:
|
I filed an issue on |
The issue is most certainly upstream Bevy 0.6. Feel free to close this, or leave it open until upstream is resolved. Whatever you prefer. |
Leaving it open :) |
Hi, for me it seems like stutters are present from the very beginning (in my case from versions 0.3-0.4). I've observed noticeable drops with 2-5 seconds interval since those version and thought "well, some day this will be fixed" hardware: amd ryzen 5 3500U, Vega 8 graphics, Fedora Linux 35. (also I remember it on Windows with bevy 0.5) |
I've never noticed any stutter on my end. The way the plugin works (especially prior to 0.6.0) is super simple, so I don't see many places that could cause a stutter. Maybe a memory bandwidth issue due to the integrated graphics? But it seems unlikely. We split lines between multiple meshes in 0.6.0, which might help with that. Would you mind trying it out? |
what do you mean? edit: oh, wait, I actually meant that Bevy stutters in general, not only with debug lines plugin. I've came from bevyengine/bevy#3709 that issue on the Bevy repo. |
Resolved in Bevy 0.8 |
I'm experiencing stutter on my best hardware with the current
main
branch at 7859f9b. I was able to resolve the stutter by removingDebugLinesPlugin
.The weirdest part was that the stutter is in an example program which isn't using debug lines (it is literally not calling
lines.line(...)
from the diff above) because I've got code at the top of the function returning early and skipping the debug line drawing entirely (see code below). So I've got stutter...and the plugin ostensibly isn't even doing anything!The stutter happens randomly with an interval that feels like it's random between about 0.25s - 5s. The stutter seems to last at least a couple frames and sometimes more like a dozen.
Here's the specs for my workstation with the problem:
I do NOT see the problem on my laptop, which is really weird:
Steps to Reproduce
The text was updated successfully, but these errors were encountered: