-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Writing becomes laggy in longer notes #472
Comments
I have noticed the same thing, I was planning on creating an issue but ig u did it first :p I think this might have something to do with Saber perhaps not supporting Hardware Acceleration? Ram doesnt seem to be an issue. Notice how Saber doesn't use GPU Android does have support for this, not 100% sure about on Flutter. Android wiki for hardware acceleration Flutter wiki for rendering performance To test my theory, I did the following:
Now, to check whether Saber actually uses hardware rendering, I did:
This option starts flashing all the windows that use GPU rendering in red colour (See videos) screen-20230315-184613.mp4screen-20230315-185008.mp4Note: The lag may be exaggerated as I am screen recording, to be as representable of the situation to the issue as possible, I did not enable pointer location. For reference, I also compared with the browser to check whether this is Saber specific. So with this I can actually conclude that Saber uses software rendering, which is not efficient. Mobile devices are affected disproportionately, as they are lower power compared to desktop/laptop counterparts. I cannot confirm whether this issue exists on desktop OSs. I am not 100% sure whether this is the actual culprit, but this is my best guess as for what actually be taking place. Enabling HWA would also make it possible to add videos to notes, if that is ever planned or brought up. @adil192 please do look into this. |
Closing as a duplicate of #179 |
I tried the same for Quill (https://f-droid.org/en/packages/com.write.Quill/) but I do not even see memory usage of it (but I did not do a very long test). Is that using GPU? |
After a relatively heavy use of Quill, I now see it, and it does not use GPU either. Maybe the hardware acceleration is not the key to the sluggishness. |
Describe the bug
I am using the S-Pen for taking notes on my Samsung Tablet. On new and empty notes, everything works very well and smoothly. Then, after writing some pages, i.e. no fresh notes but longer ones, writing becomes laggy and starts getting annoying at some point! Please see the two screen recordings below.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No lagging as it is when opening a new note.
Screenshots
Lagging (longer notes):
https://user-images.githubusercontent.com/33026003/225301529-f93325b4-82e8-4a94-8f18-84f3d2b43ffe.mp4
Not lagging (new note):
https://user-images.githubusercontent.com/33026003/225301546-6fc4910d-8311-4252-8c28-20bd388ecb78.mp4
Device (please complete the following information):
I am happy to share any additional information necessary to solve the issue!
The text was updated successfully, but these errors were encountered: