spice2x / spice2x.github.io

🌶️ spice2x is a spicier fork of SpiceTools with hundreds of bug fixes and new features 🌶️
https://spice2x.github.io/
GNU General Public License v3.0
87 stars 2 forks source link

Disable background animation #145

Closed Mik027 closed 2 months ago

Mik027 commented 2 months ago

Would it be possible to disable the background animation of spicecfg ? It slows down/consumes a lot of CPU on small PC configurations.

sp2xdev commented 2 months ago

ImGui is expensive in general to draw with a software renderer, which spicecfg is using.

Do you have evidence that it's specifically the animation that's causing it?

sp2xdev commented 2 months ago

spice2x-24-03-12.zip

Here is a version with animations disabled in spicecfg. Let me know if it makes a difference.

Mik027 commented 2 months ago

Thank you. I try it, and I keep you updated.

vikbez commented 2 months ago

With animations:

animations

Without animations:

without_animations

Even though this may not seem like a significant change in CPU load, it greatly improves usability, as the menus now respond instantly (previously, there was noticeable lag for any action in the UI). A checkbox for disabling animations would be perfect.

Thank you for the test build !

sp2xdev commented 2 months ago

I think I'll just remove the animation in the next build. Thank you for testing!