-
Notifications
You must be signed in to change notification settings - Fork 113
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
Drawing mode very slow #553
Comments
You chose to ignore our request to provide important information when submitting an issue... |
Sorry, I missed that - what information do you want? |
When you submit a new bug report, it's listed in the template. |
Ok, I just found the bug report template. Expected Behaviour smooth drawing behaviour Actual Behaviour mouse position is slow to update Steps to reproduce
pdfpc version: pdfpc v4.3.4 |
The current version is 4.4.0, which includes this fix. Please give it a try. |
I just tried pdfpc v4.4.0. That makes it smoother, but it is quite laggy. The output is smooth enough that it would be usable for drawing, but a bit disconcerting as it takes half a second or so for the output to catch up to where you are drawing. I also had a small problem with the install, 4.4.0 from the source tarball. sudo make install appeared to work OK but pdfpc wasn't working, complaining 'No CSS file found'. After some investigating I discovered that the install had created the directories /usr/local/share/pixmaps and /usr/local/share/pixmaps/pdfpc with permission 700. chmod'ding these to 755 fixed the problem. |
What is laggy - the drawing or even the motion of the pointer (without pressing the mouse button)? Same question about the pointer mode. Also, try using the single screen mode (-S) - does it improve responsiveness?
Strange. What is your umask? |
I also observed a slaggy-drawing problem with the current master version (11719ed). For me the problem is closely related to screengrabbing: As long as I use pdfpc without a screengrabber (e.g., BigBlueButton or Jitsi), everything is quite smooth. In the moment, when I start the screensharing/screengrabbing, it starts to get slaggy. The problem becomes more severe if I start to draw. However, the slaggy behavior sticks with me from there on. I've recorded a screencast for you: https://youtu.be/ayos9PLazJY The screencast of course triggers the behavior (simplescreenrecorder, xorg 7.7, Hidpi: no, single window mode). As you can see, the laserpointer severly lags behind the actual mouse pointer. |
@stettberger Thanks, it's impressive :). But I cannot reproduce it, also tried with simplescreenrecorder. I guess it might be related to video driver. Hmm, xorg 7.7 is pretty old - circa 2012, right? Are you using Linux or something else, which variant/version? |
... Ok. I was not smart enough to look at the correct place:
This is the Debian unstable version. |
Well, nonetheless - what hardware do you have, in particular the video card? |
This is a Thinkpad T460. |
Thinkpad L390 here, UHD Graphics 620. Cannot notice any slowdown... |
@fnevgeny pointed me to this issue. I don't experience slowdown, but I experience 100% CPU load. I did some profiling and the top three consumers are:
To me, it looks like a lot of software rendering is happening. |
Hi, just discovered pdfpc, its great! Only one small issue that makes it not so usable for me, the drawing mode with the pen tool is very slow to update, which makes using the pen (with either mouse or stylus via a wacom tablet) almost unusable. The laser pointer mouse is also slow to update for me but that is less important.
In fullscreen mode when drawing with the pen Xorg is pegged at 100% CPU usage, and pdfpc at about 30% (this is on a 16 core ryzen threadripper, the presentation monitor is 1920x1080, the presenter monitor is 4K).
Using windowed mode helps a bit, the pen is a bit more fluid (but not great). pdfpc is pegged at 100% CPU usage, and Xorg is using about 50%.
The text was updated successfully, but these errors were encountered: