Case study · 01
SideScreen
Turns an Android tablet into a real second monitor for Windows, over one USB cable.
v1.0.0Windows 10/11 · Android 11+

The numbers
- at the native 2960 × 1848
- 120 Hz
- at the native 2960 × 1848
- fps measured on a Tab S8 Ultra
- 119–120
- fps measured on a Tab S8 Ultra
- capture and encode per frame
- ~4 ms
- capture and encode per frame
- time between frames at 120 Hz
- 8.3 ms
- time between frames at 120 Hz
- touch points
- 10
- touch points
- custom refresh rates
- 24–240 Hz
- custom refresh rates
- the Android app
- ~25 KB
- the Android app
- heartbeat, to tell a pulled cable from a still screen
- 1 s
- heartbeat, to tell a pulled cable from a still screen
The problem
The problem
The goal: make a Galaxy Tab S8 Ultra a real second monitor for Windows. One that shows up in Display Settings, takes any window, and runs at the tablet's native 2960 × 1848 and 120 Hz.
The catch is that the tablet's USB port can't take a video signal. So the picture has to be made on the PC, compressed, sent as data and decoded on the tablet, quickly enough that it still feels like a monitor. At 120 Hz, a new frame is due every 8.3 ms.
How it works
From the PC to the tablet.
Windows PC
Virtual display
IddCx driver, 2960 × 1848 @ 120 Hz
sscapture.exe~4 ms
Desktop Duplication → NVENC HEVC
SideScreen.exe
Tray app, touch injection, display setup
USB cable
ADB reverse tunnel
Touch events
Android tablet
SideScreen app
MediaCodec low-latency → SurfaceView @ 120 Hz
- 01
Virtual display
An indirect display driver gives Windows a 2960 × 1848, 120 Hz monitor.
Windows draws to it like any other screen, so every app and game works on it.
- 02
Capture
Desktop Duplication wakes up exactly when a new frame is presented.
It reacts to new frames instead of polling, and the frame stays in VRAM.
- 03
Encode
NVENC HEVC with ultra-low-latency tuning, no B-frames and an infinite GOP.
About 3.5–5 ms per frame. Frames that haven't changed aren't sent again.
- 04
Transport
Length-prefixed packets over adb reverse, on the USB cable.
TCP_NODELAY and a small send buffer keep old frames from piling up.
- 05
Decode
Android MediaCodec in low-latency mode, with no frame dropping.
Each frame shows up on the next refresh of the tablet's screen.
- 06
Pointer and touch
The pointer's shape and position travel on their own; touches come back through InjectTouchInput.
The pointer never waits for a video frame.
Trade-offs
What each choice bought, and what it cost.
USB through an ADB tunnel, not Wi-Fi
GetsNo network setup or pairing, and Wi-Fi interference can't cause lag spikes.
CostsUSB debugging has to be on, and the cable has to carry data.
A virtual display driver, not just mirroring
GetsWindows treats the tablet as a real monitor: drag windows onto it and arrange it in Display Settings.
CostsA one-time driver install that needs admin rights.
Encoding with NVENC HEVC on the GPU
GetsCapture and encode take about 3.5–5 ms per frame, and the frame stays in VRAM.
CostsIt needs an NVIDIA GTX 10-series or newer. AMD and Intel encoders aren't supported yet.
No B-frames and an infinite GOP
GetsNothing waits in a queue, and frames that haven't changed aren't sent again.
—
4:2:0 video, which tablet decoders require
GetsHardware decoding on almost every tablet made since 2018.
CostsColour is stored at half resolution, so small coloured text can look slightly soft. The Max quality setting helps, and a still screen sharpens within a few frames.
The tablet draws the pointer itself
GetsThe pointer's shape and position travel separately, so it never waits for a video frame.
—
An Android app with no Gradle and no dependencies
GetsIt's built straight with aapt2, javac, d8 and apksigner, so the build is quick and the APK is about 25 KB.
—
Not yet
What it doesn't do yet.
- Encoding needs an NVIDIA GPU (NVENC). AMD and Intel encoders aren't supported yet.
- It has been tested on one tablet so far: a Galaxy Tab S8 Ultra on Android 16.
- Windows blocks capture of the lock screen and UAC prompts, so the picture pauses there.
- Windows 10 (21H2 or newer) or Windows 11, 64-bit only.
Built with
Built with
- C# · .NET 10
- C++
- Desktop Duplication
- NVENC HEVC
- Java
- MediaCodec
Every fact and number on this page comes from SideScreen's README.