-
Notifications
You must be signed in to change notification settings - Fork 92
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
Rapid is really slow #1145
Comments
Hmmmmmm! That's very interesting. Also, neither Bryan nor I have the M1 macs yet, wonder if there's something going on there. I'm using rapid in a 3440x1440 Ultrawide screen, but nothing near a 5k screen. I may have to do some testing with a similar display to see if there's something going on in webGL-land. Things to try:
|
Hey I was scanning the issues and I realized that this one has some news that might be useful for people reporting laggy rendering performance, particularly in Chrome or Safari, and particularly with Apple laptops.. (this seems to disproportionally affect the Meta folks - @cbeddow @marcregan, maybe others?) For background, ANGLE is the technology used in most browsers to render accelerated 3D graphics. This tech is being migrated from OpenGL to newer lower level libraries like Vulkan (non-Apple) and Metal (on Apple). The new rendering backend should end up being more performant eventually, but right now it is still causing some issues, and the OpenGL option may be the best one for now. @Bonkles learned that there is a flag you can use to switch this:
Let us know if it helps! |
This x1000. It didn't bite me until I switched from my 2019 Intel to a more-current M1 macbook pro. But the slowdown in Rapid was immediately obvious and I could compare side-by-side. Changing from 'Default' to 'WebGL' improved my framerate pretty significantly. |
It looks like prior to Safari 17 there was a toggleable feature flag for "WebGL via Metal", but this has been removed and I guess they are considering it stable enough. I do know there are lots of other places in our renderer where we can still improve the performance a bunch, so this will get better over time as we do more profiling and learn to use Pixi in a more efficient way. Specifically I know that Safari doesn't support |
I see. Thank you for the answer! |
My hope is that this can be fixed in the Pixi library and we don't need to bother our users with this detail. Incidentally , I think this might be the fix: |
Description
Screen.Recording.2023-10-04.at.12.42.35.PM.sm.mov
Untitled.mov
Version
2.1.1
What browser are you seeing the problem on? What version are you running?
Chrome v117.0
The OS you're using
mac
Steps to reproduce
This always happens.
MacOS 13.5.2
Using a 5K external display.
Macbook 13-inch, M1, 2020.
The browser URL at the time you encountered the bug
https://rapideditor.org/rapid#background=MassGIS_2021_Aerial&datasets=fbRoads,msBuildings&disable_features=boundaries&id=w845058106&map=20.00/42.36584/-71.10221
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
The text was updated successfully, but these errors were encountered: