Skip to content

High-performance Rust hardware dashboard for Raspberry Pi Video Streaming, featuring real-time history graphs and DMA/CMA monitoring.

Notifications You must be signed in to change notification settings

axeljerabek/stream_dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ stream_dash (v23.0-rs)

Dashboard Demo

The evolution of stream_top. A high-performance, Rust-based diagnostic dashboard for Raspberry Pi power users. While the original Bash version focused on raw numbers, stream_dash introduces Real-Time History Graphs to visualize hardware trends over time.

๐Ÿ” Why stream_dash? Standard monitoring tools (like htop or btop) often miss what matters for video streaming: DMA/CMA buffer states, VPU voltages, and H.264 clock speeds.

stream_dash is written in Rust for minimal CPU footprint and provides:

Visual History: 42-point sparkline graphs for CPU and Temperature.

Stacked Memory Graphs: Visualizing Active vs. Reserved vs. Total memory for both RAM and CMA.

Deep Hardware Insight: Real-time throttling status and DMA-buffer breakdown.

Systemd Integration: Integrated, scrollable logs for your stream.service.

๐Ÿ“ธ Visualization Logic Triple-Stacked Bars (RAM & CMA) We use a unique layered visualization to show memory health at a glance:

โ–ˆ Active (Bright): Data actually in use (App code or live video frames).

โ–“ Reserved/Cached (Dim): System-managed buffers (Linux Cache or CMA pre-allocations).

โ–‘ Total Capacity (Dark): Your hardware ceiling.

๐Ÿ›  Installation

  1. Requirements Ensure you have the Rust toolchain installed:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

  1. Build & Run

git clone https://github.com/axeljerabek/stream_dash.git

cd stream_dash

cargo build --release

(On a Rpi Zero or Zero2W or other low-RAM machines try: cargo build --release -j 1 )

sudo ./target/release/stream_dash

(Or install with: "install -s target/release/stream_dash /usr/local/bin/"

Note: sudo is required to read the kernel's DMA debug interface.

๐ŸŽฎ Interactive Controls

  • / - : Adjust Refresh Speed (100ms to 5s).

, / . : Adjust Log Depth (Show more/fewer lines).

q : Exit.

๐Ÿ”— History This project is the spiritual successor to stream_top. While stream_top remains a great lightweight Bash alternative, stream_dash is recommended for users who need to see "the story" behind the numbers through historical graphing.

About

High-performance Rust hardware dashboard for Raspberry Pi Video Streaming, featuring real-time history graphs and DMA/CMA monitoring.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages