-
Notifications
You must be signed in to change notification settings - Fork 752
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
TPT simulation ~2-3x slower on ubuntu 20.04 compared to windows and ubuntu 18.04 #756
Comments
well the problem was the bad package in ubuntu software store. idk why but it is the same 9.5 version and it works a lot slower. |
looks like it is debug version presented in ubuntu software |
Amazing... |
Where exactly did you get it from? I don't see powder toy in the ubuntu repos. I don't have software center installed, but I tried searching various places on the website and also didn't see it. I'd like to get this package fixed or removed so that nobody else has this problem. |
Sorry about this, I'll take a look into it. The package is a snap so it's not in the Ubuntu repositories itself but presents itself in Ubuntu's default app store GUI as well as some other distros. There's a web interface for it here https://snapcraft.io/the-powder-toy I'll upload a new build in a few hours and look into why the build system is building debug releases so it doesn't happen again. |
So to my shame there was no grand problem with the build system, I simply hadn't asked it to actually build release builds. Unfortunately it appears the second sentence of https://powdertoy.co.uk/Wiki/W/Scons_command_line_flags.html is incorrect or misleading so I'd just not been passing --release into scons. The latest version on the Snap store is now correctly in release mode. Existing clients will update to it automatically but you can speed it up with JGCarroll/the-powder-toy-snap@d22cc2d Relevant commit of shame. |
Thanks! --release used to be on by default, with the only way to disable it being --debugging. This was changed at some point in the past. The rest still may be default, unsure. But --release was absolutely the most important option. |
I able to get ~100fps on windows and remember how I was getting ~120fps on ubuntu 18.04 in my build when fpscap set to 2
but on ubuntu 20.04 I can get no more then 60fps and 40fps in average with the same save.
Where possibly a problem can be?
The text was updated successfully, but these errors were encountered: