-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fixing high GPU usage when color scheme is set to "Filament" or "Speed" #6223
Fixing high GPU usage when color scheme is set to "Filament" or "Speed" #6223
Conversation
…I::GLCanvas3D::render() to be called repeatedly when 'Filament' or 'Speed' is selected for preview panel
Great finding! It also reduces CPU usage, not only GPU. Merging it into my fork, thanks! |
@azio25134 Thank you SIR! 😃👍Am I right to assume that the flow-scheme is also affected? |
I don't see such problem in Orca 2.1.1, so your fix affects only Filament and Speed. |
It only affects Filament and Speed as far as I know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic!
Thank you
In which file is the string imgui.set_requires_extra_frame() ? |
First time contributing, I hope I'm doing this correctly.
Description
Removed
imgui.set_requires_extra_frame()
, this line causes Slic3r::GUI::GLCanvas3D::render() to be called repeatedly when 'Filament' or 'Speed' is selected in the preview panel (even when OrcaSlicer is minimized)This should fix #3594
I see that this line was added in #3363. I don't fully understand the intention behind it, but removing this line does not seem to affect the legend window fix
Screenshots/Recordings/Graphs
Now in "Filament" or "Speed" preview, GPU usage is 0% when OrcaSlicer is minimized or idle.
Before:

After:
