PINE64
PineTab as SketchPad - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTab (https://forum.pine64.org/forumdisplay.php?fid=140)
+--- Forum: PineTab Software (https://forum.pine64.org/forumdisplay.php?fid=142)
+--- Thread: PineTab as SketchPad (/showthread.php?tid=11546)



PineTab as SketchPad - K3nn3th - 09-19-2020

Hey folks,
im trying to use the pinetab as a sketchpad.
I'm running arch linux.
Gimp and krita both work, but there is some lag between touch and the resulting line..

Now i wonder how to decrease the lag. Would a realtime (fully preemptible) kernel help?
I have built patched kernels myself in the past but am unsure how to build one for the PineTab.

does anyone have any ideas on this?
Maybe alternative approaches i could try?


RE: PineTab as SketchPad - barray - 09-19-2020

(09-19-2020, 03:55 PM)K3nn3th Wrote: Hey folks,
im trying to use the pinetab as a sketchpad.
I'm running arch linux.
Gimp and krita both work, but there is some lag between touch and the resulting line..

Now i wonder how to decrease the lag. Would a realtime (fully preemptible) kernel help?
I have built patched kernels myself in the past but am unsure how to build one for the PineTab.

does anyone have any ideas on this?
Maybe alternative approaches i could try?

Depending on the window manager you are running, you can try polling the display for touch updates (more energy use but in theory faster than waiting for a interrupt signal). [1]

Arch has some methods to increase polling rate [2]. Again, be aware this will tax the CPU more and energy consumption will go up. If the touch events are done over the same communication as the display updates then it gets more messy if the channel is already saturated.

[1] https://unix.stackexchange.com/a/25712
[2] https://wiki.archlinux.org/index.php/Mouse_polling_rate