-
Notifications
You must be signed in to change notification settings - Fork 3
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
Very slow drawing speeds on cards with a large amount of content offscreen #10
Comments
i assume the add-on is running on an average laptop or some portable device. either way, this may have something to do with hardware limitations rather than errors. on the software side, we most likely could only do so much to optimize performance on heavy elements. you could maybe try and reduce your screen DPI or window resolution, however, you will get less view space with the latter. you may also try and use an older anki version (especially the versions before qt6 were introduced), but there may be features that you use in newer versions which aren't available. furthermore, i also assume you already enabled hardware acceleration. if you haven't please read the add-on description on ankiweb or this repository. |
As rin-w said, first could you confirm that you have tried to enable hardware acceleration. For QT6 the method is running a cmd command for QT5 the method is selecting a different option from the settings menu of the video driver: https://github.com/Rytisgit/Anki-StylusDraw/raw/master/docs/dontUseSoftwareRendering.png You will need to restart Anki after both. You can also do a quick test of trying the drawing on the standalone website here: https://rytisgit.github.io/Anki-StylusDraw/ , since browsers have hardware acceleration by default these days, and see if the drawing is still slow. |
Thank you for answer. Thank you both so much for your answers. |
@orangelover12 It was not clear initially what your problem was, but I have understood it now. I added a follow screen mode and small canvas mode, so that drawing speed is not influenced by the size of the card making the canvas very big offscreen. you can try it out by downloading the newest version and toggling either of the modes using these new options: https://raw.githubusercontent.com/Rytisgit/Anki-StylusDraw/master/docs/followScreenOnBigCards.png |
I just finished updating the addon. This update is much better than I hoped for. Using a smaller canvas eliminated all the problems I had before. Thank you so much for including this amazing feature. I wish you all the best! |
First of all, I would like to say that I am really enjoying using the addon and thank you very much.
I am using this addon every day and I found one error.
For some cards that contain large photos or a lot of text, the speed is extremely slow. If possible, could you please correct the error? thank you
The text was updated successfully, but these errors were encountered: