High-Performance PC Gaming Handheld Cast & Universal Controller Subsystem
Created by rayzien & pheonix14
Direct hardware streaming and wireless gamepad subsystem for mobile handheld gaming.
| GameGhost v10 Live Stream (Landscape 2340x1080) | GameGhost Streaming Viewport |
|---|---|
![]() |
![]() |
-
In-App Live FPS Counter & Performance HUD:
- Live hardware-synchronized FPS badge directly embedded inside the on-screen streaming overlay.
- Real-time video telemetry delivering 85-90+ FPS and up to 24+ MB/s bitrate with 3ms broadcast polling.
-
Ultra-Low-Latency Delivery Pipeline & Button Accuracy:
- Replaced fixed-rate sleeps with 3ms high-frequency non-blocking polling loops, slashing frame delivery latency.
- Standardized full PlayStation and Xbox button mapping aliases (
TRI,CIR,X,SQR,CROSS,CIRCLE,SQUARE,TRIANGLE) mapped directly to hardware virtual gamepad events viauinput. - Native touch coordinate projection directly to PC screen cursor and buttons.
-
Isolated System Audio Streaming:
- Hardware PipeWire / PulseAudio monitor capture linking automatically to Speaker sink monitors and running games (Tekken 8, DMC5).
- Low-latency 44.1kHz 16-bit stereo PCM streaming with auto-reconnect recovery on phone network interruptions.
-
Monochromatic Tactical Handheld Client:
- Zero emojis, clean typography, tactile hexagonal button clusters.
- Quick input switching:
PAD,MOUSE,KBD, andTOUCH. - Direct launch into landscape streaming with fast return via
DASH.
- Litecoin (LTC):
ltc1q08zgc7n6lgghfxtlure29mc8dye70r6ccq8gx0
High-Performance PC Gaming Handheld Cast & Universal Controller Subsystem
Created by rayzien & pheonix14
Based on CPUGhost — works exactly like PlayStation Portal (PS Portal) and cloud gaming, casting local PC games directly to phone anywhere in range.
GameGhost v7.6.0 resolves all video streaming issues on Android Termux with Termux-X11 and Linux hosts. It brings native Mutter ScreenCast PipeWire capture for Wayland environments, eliminates black screen voids with direct game window capture fallbacks, auto-synchronizes Termux-X11 displays across :1, :0, and :2, and updates client rendering heuristics for instant frame display.
-
Wayland ScreenCast & Zero-Black-Screen Pipeline:
- Integrated hardware-accelerated Mutter ScreenCast (
org.gnome.Mutter.ScreenCast) with PipeWire GStreamer pipeline for zero-black-screen PC streaming on Wayland. - Intelligent black-screen detection: automatically detects blank/black frames from Xwayland root capture and falls back to direct
XGetImagewindow capture of active game windows or styled host status.
- Integrated hardware-accelerated Mutter ScreenCast (
-
Termux-X11 Display :1 / :0 Process Synchronization:
- Added running process inspection to automatically detect whether Termux-X11 is serving on display
:1or:0. - Prevented conflicts when multiple sockets exist in
/tmpand${PREFIX}/tmp. - Auto-launches Termux-X11 daemon on the active target display with
-legacy-drawing -ac.
- Added running process inspection to automatically detect whether Termux-X11 is serving on display
-
Client Video Decoupling & Display Scaling:
- Timed out black-screen loading banner to prevent permanently covering active game scenes.
- Flawless full-screen scaling on high-resolution mobile phone displays in Termux-X11.
High-Performance PC Gaming Handheld Cast & Universal Controller Subsystem
Created by rayzien & pheonix14
Based on CPUGhost (work in progress) — works exactly like PlayStation Portal (PS Portal) and cloud gaming, casting local PC games directly to phone anywhere in range.
GameGhost v1.7.3 delivers complete streaming fixes and optimizations for Android Termux with Termux-X11, introducing zero-black-screen root window compositing, automated game window focus via _NET_ACTIVE_WINDOW, multi-socket Termux display detection (:0, :1, :2), host software rasterizer isolation, non-blocking frame queueing, and cached surface scaling for butter-smooth 60 FPS mobile streaming.
-
Termux-X11 Stream Pipeline Fixes:
- Resolved black-screen streaming by preserving root window capture and activating games via
_NET_ACTIVE_WINDOW. - Multi-socket display detection: auto-discovers
:0,:1,:2displays across${PREFIX}/tmp/.X11-unix/and/tmp/.X11-unix/. - Automated companion launch: seamlessly launches
com.termux.x11Android app into the foreground. - Replaced mode-switching
FULLSCREENon Termux-X11 with borderless resizable window to prevent SDL2 XRandR crashes.
- Resolved black-screen streaming by preserving root window capture and activating games via
-
Host GPU & Software Rasterizer Isolation:
- Confined software rasterizer fallbacks (
llvmpipe) strictly to Termux clients. - PC host streaming and Wine/Proton games always utilize dedicated NVIDIA RTX GPU acceleration.
- Confined software rasterizer fallbacks (
-
Client Decompression & Scaling Cache:
- Implemented cached surface scaling in
GameGhostViewerto avoid redundant CPU rescaling per tick. - Non-blocking frame queueing (
put_nowait) prevents asyncio event loop stalls and eliminates ping timeouts.
- Implemented cached surface scaling in
High-Performance PC Gaming Handheld Cast & Touch Controller Subsystem
Created by rayzien & pheonix14
GameGhost casts your PC games directly to your mobile phone (running Android Termux with Termux-X11) at ultra-low latency, with an interactive on-screen handheld controller (supporting Xbox and PlayStation layout profiles, clickable L3/R3 thumbsticks, dual triggers, and customizable neon themes).
-
Comprehensive Physical Controller Support:
- Multi-brand controller detection: Xbox, PlayStation (DualShock / DualSense), and Nintendo Switch (Pro Controller / Joy-Con).
- Dynamic profile auto-detection with button remapping and trigger normalization (-1.0..1.0 to 0.0..1.0).
- Radial analog stick deadzones (0.08) to eliminate stick drift.
-
Full Mouse & Keyboard Forwarding:
- Hardware cursor lock toggle via
F10hotkey or interactive Settings button. - Smooth relative mouse motion capture and forwarding (
mouse_move). - Mouse click injection (
mouse_btn: left, right, middle) and scroll wheel (mouse_scroll). - Full keyboard event forwarding for precision PC controls.
- Hardware cursor lock toggle via
-
Interactive On-Screen Touch Controls Customization:
- Touch Scale: Cycle 75%, 100%, 125%, 150% for optimal fingertip ergonomics.
- Touch Opacity: Cycle 30%, 50%, 75%, 100% alpha for unobscured gameplay visibility.
- Layout Styles: Choose between Classic, Compact (tucked towards edges), and Wide (tablet landscape grip).
-
Visual Feedback Animations & Styling:
- Dynamic expanding touch ripple animations upon finger contact.
- Active button depression (physical press feedback) and glowing neon aura upon actuation.
- Aspect Ratio Scaling: Choose between
Auto(letterboxed native),Stretch(full display),16:9,21:9, and4:3.
-
Stability & Launch Optimizations:
- Tekken 8: Verified 4-minute continuous stability with Unreal Engine 5 shader optimizations.
- Mortal Kombat 11: Verified stable launch under DX12 with driver application workarounds and safe hardware sink-level test muting (
wpctl). - Zero-emoji standard enforced across all user interfaces, logs, HUDs, and documentation.
-
Independent Dedicated Architecture:
- 100% self-contained environment with its own isolated
.venv. - Dedicated streaming ports (
8900video,8901audio,8990UDP discovery). - Dedicated user configurations and log files in
~/.config/gameghost.
- 100% self-contained environment with its own isolated
-
Live Log Streaming:
- Stream live host logs on PC:
gameghost logs -f(orgg logs -f). - Stream live client logs on phone:
gameghost logs --client -f(orgg logs -c -f). - Dual-logging to
host.logandclient.logfor instant troubleshooting.
- Stream live host logs on PC:
-
Seamless Game Display Capture:
- Dynamic monitor and game window capture without freezing on standby frames.
- Automatically attaches directly to Devil May Cry 5, Sekiro, Tekken 8, and other catalog game windows on X11 / Xwayland.
- Streams primary desktop monitor during game boot, Wine/Proton initialization, and loading screens.
-
Zero-Lag Hotspot Autostart & Auto-Connect:
- Boot-time network readiness detector (
wait_for_hotspot_ip) waits for Wi-Fi/hotspot IP assignment before binding. - Automatic background service for 24/7 gaming host operation (
gameghost autostart enable). - Client automatically detects PC host via UDP broadcast, ARP scan, and local subnet scan.
- Boot-time network readiness detector (
-
Super Low Data / Internet Modes:
- New
360pSuper Low Data preset (scale 0.45, quality 50, 30 FPS) for cellular mobile hotspots. - New
480pEfficient preset (scale 0.55, quality 60, 45 FPS). - Standard
720p,1080p,1440p, and4Kpresets for high-bandwidth local Wi-Fi.
- New
-
Interactive Handheld Client:
- On-screen HUD toast notifications when games launch (
Launching DMC5 on PC...,PC: Started successfully). - Interactive top collapsible Quick Settings bar (
[PAD],[RES],[FPS],[THM],[VIEW]). - Full support for hardware Bluetooth/USB controllers (Kishi, Backbone, Xbox, DualSense).
- Strict zero-emoji policy across all code, logs, and docs.
- On-screen HUD toast notifications when games launch (
git clone https://github.com/rayzien/gameghost.git
cd gameghost
./setup.shgameghost start
# Or manage autostart:
gameghost autostart enablegameghost logs -f# Auto-detect PC host on hotspot/Wi-Fi:
gameghost client
# Or launch Devil May Cry 5 directly:
gg dmc5
# Or stream client logs:
gameghost logs -c -f| Command | Description |
|---|---|
gg |
Interactive handheld touch menu |
gg host |
Start streaming host in foreground |
gg start |
Start streaming host in background daemon |
gg stop |
Stop running background host |
gg restart |
Restart background host |
gg logs [-f] [-c] |
View or stream live host/client logs |
gg autostart [enable/disable/status] |
Configure 24/7 background autostart |
gg client [IP] |
Launch handheld client in landscape mode |
gg scan |
Scan network for active PC gaming hosts |
gg dmc5 |
Launch Devil May Cry 5 & cast to phone |
gg sekiro |
Launch Sekiro & cast to phone |
gg tekken8 |
Launch Tekken 8 & cast to phone |
gg status |
Display connection status and IP table |
gg update |
Check and apply latest updates from GitHub |
MIT License. Designed and maintained by rayzien & pheonix14.

