flxzt / rnote

Sketch and take handwritten notes.
https://rnote.flxzt.net
GNU General Public License v3.0
6.42k stars 215 forks source link

Lag #1076

Open Harry-Potter66 opened 2 months ago

Harry-Potter66 commented 2 months ago

Hey I started using RNote for doing past papers, and its doing a pretty good job, except after a while there is lag and it takes at least 5 second sfor the ink to start working again, its quite irritating especially when you're solving maths or something similar, as you tend to write fast, and without breaks. I want to know how I can fix this, is this happening because of a large pdf size?

Great app tho, thanks a lot for the service!

flxzt commented 2 months ago

can you please provide all information requested in the bug report template? Thank you.

Harry-Potter66 commented 2 months ago

Yes I apologise, i assumed this wont be termed as a bug. Describe the bug
Randomly after a few writings, app appears to lag, and have to wait at least 5-7 seconds before being to enter more writings.

Console Output
image I'm not too sure what exactly I should input, I apologise again.

Desktop (please complete the following information):

Additional context
Lag doesn't immediately start after app is opened and writing is input, it starts about 2-3 mins after writing is started.

I hope this is sufficient.

Harry-Potter66 commented 2 months ago

Just an update, this is occuring for normal documents as well, as in ones with blank pages, and I wrote on them.

Doublonmousse commented 2 months ago

Can I ask what hardware you're running rnote on ? I've noticed rnote pen input can sometimes lag when using it after waking a windows device from sleep.

Also lag is much more noticeable on device with a cpu that's more limited as rnote is not currently fully gpu accelerated (so there is some cpu usage, maybe showing cpu usage would be useful to debug this).

Kimiblock commented 2 months ago

I'm also experiencing this on Arch Linux, Intel Alder Lake graphics.

GTK 4.15, GSK_RENDERER={gl,ngl,vulkan} does not affect the laggy situation.

image

When scrolling with touchpad in a new document, it barely reaches 50 frames per second:

image