Skip to content

UScreen 1.2.14 — USB second monitor for Linux with S Pen support

Choose a tag to compare

@majmichu1 majmichu1 released this 06 Nov 20:50
· 29 commits to main since this release

A day early this week, a Friday instead of the usual Saturday, because I am away over the weekend. Computer and app both changed (touchpad mode), so update the app too (the new .apk is attached).

Thanks

  • @H234598 sent #49, the idle-frame comparison below, and has more pull requests waiting for the next release.
  • @andi-bar keeps measuring latency on Mint with three encoders (#41), which is what the next round of work is based on.

New

  • Touchpad mode (#40): a switch in the tablet's settings makes fingers move the computer's pointer like a laptop touchpad. Tap clicks, tap and drag drags, two fingers scroll, a two-finger tap right-clicks, three fingers middle-click. The pen is not affected. Together with Graphics tablet mode you get the whole tablet as a touchpad with a dark screen. Tried on my Tab S9 Ultra, including that combination.

Faster, quieter

  • The capture helper no longer grabs pixels or re-requests an update while the screen is still. On an idle desktop that caused a stream of EVDI kernel warnings (#41): 344 a minute here, none now.
  • The helper also compares the screen with the last frame before converting it (#49). KWin reports the whole output as changed even when the tablet's picture did not, and each of those frames used to be converted, encoded and sent. Now only rows that really changed are converted and an identical frame is not sent at all. On a quiet desktop the stream drops to the small idle keepalive. Checked on the tablet (libx264): idle, moving the pointer, and back to idle, no kernel warnings. When the whole screen changes it costs about 1-2 ms more per frame in the helper.

Fixes

  • The video port no longer asks for a keyframe before the app has shown the session token.
  • uscreen doctor points out an NVIDIA GPU next to VAAPI. With VAAPI on an Intel iGPU and an NVIDIA GPU drawing the desktop, frames queued up after 20-30 seconds; NVENC did not (#41).
  • New reference for every config.toml key: docs/configuration.md.

Not tested by me: #49 with NVENC (my GPU memory was full of a language model, I used libx264) and full-screen video through it. Full list in CHANGELOG.md.