-
Notifications
You must be signed in to change notification settings - Fork 63
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
Bad pen trail performance #45
Comments
I need more info: Os, RM1 or RM2? |
Windows 10, RM2 To clarify: I want to use this tool for giving presentations. So I sometimes want to hover the pen over the screen, highlighting part of some slides, without actually writing on them. Right now if I do that the pen trail looks pretty laggy, and only updates about twice a second while moving. It actually does seem to get worse the longer you hover (after about 5-10 seconds it only updates once a second). |
Ok that's strange. |
(One thing that could help is removing line 337 from |
I so far nothing I tried resolved it. I connected the tablet via USB. The problem persists even if everything else is closed. I captured the problem: (Note that here the performance is worse by a factor of about 2-3 due to screencapturing) PenPerformance.mp4 |
I already added Also, every time I close the program (using right click->quit), I get Stopping framebuffer thread... |
That does not seem right: if Can you try by just removing |
Oh, sorry, you are right of course, no performance difference.
The performance is still bad, but may be slightly better. It seems to get worse the bigger the window is. Landscape full screen size (1080p) performance is not very usuable with pen trails. (General update rate also seems to go down a notch, but not as bad as the pen trails. Small window looks pretty much instant, full screen still fast, but visible steps.) |
Oh no that sucks, I am sorry! |
One fleeble idea: add |
I am currently using the Laptop Acer Aspire F5-573G. Processor: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 2701 Mhz, 2 Core(s), 4 Logical Processor(s), GPU NVIDIA GeForce 940MX. I just noticed that rmview for some reason only uses the integrated GPU and not the dedicated one. Investigating now why. Could be that I set some too strong battery saving options years ago when I used this laptop more on battery.... |
Actually, it doesn't use either GPU, it seems to run CPU based. Both stay at under 2-3% while the CPU jumps to >80% when something is drawn.
Also, this does not seem to change anything. |
I tried to enforce GPU use with the NVIDIA control panel for rmview.exe (and system wide default), but it does still only use the CPU. |
Are you using the windows bundle from the releases? |
I cloned the repository and followed the pip install instructions. I just tried out the windows bundle, too, and have the same thing there: Bad pen trail performance, and no GPU use. |
Thanks for testing that. One thing I would try is to see if the python executable was allowed to use the GPU. |
I already did set it up in NVIDIA control panel for both the python and rmview executables. Is there another place to check? |
The performance seems to go down significantly (updates maybe 1-2 times a second) when hovering with the pen (and the CPU usage hovers around 80%). I am using settings "pen_size": 30, "pen_color": "red", "pen_trail": 200. This even happens if pen_trail is zero (i.e. if I just want to see a red dot).
While writing (without pen trail) the viewer updates much smoother.
The text was updated successfully, but these errors were encountered: