Skip to content
Email

Hello, I'm

Konstantin.Balzer

Systems Architect & AI‑Augmented Engineer

Linux drivers for hardware that ships without one. And the systems that have to keep running beside them.

  • 1440p @ 120 Hz

    Verified on a PlayStation 5.

  • 20+ users

    Internal tool, in production.

  • No cookies

    Hits stay on the operator's server.

Faster with models. The decisions stay mine.

I use them for architecture, prototypes, and kernel traces. Security review, pipelines, and what ships stay with me.

  1. 01

    Architecture, prototypes, kernel traces

    That's the work I give to models.

  2. 02

    Security review, pipelines, what ships

    Those stay with me.

Case studies

01

EverLive

Userspace VFIO driver for the AVerMedia GC573 · C, SDL2, V4L2, PipeWire

github.com/Everlite/EverLive

Problem

AVerMedia had not shipped a Linux driver for their GC573 flagship capture card in over 7 years. The proprietary binary blob (aver_xilinx.o) failed on cold-boot states,DMA transfers delivered only black frames (0x10 0x80 YUYV pattern), and audio streams drifted into XRUNs within minutes due to clock jitter.

aver_xilinx.o: cold-boot, GPIO reset missing
dma: YUYV 0x10 0x80 — black frames
pipewire: XRUN, clock jitter, 48 kHz
Failure mode of the vendor blob on Linux, before open_gc573.

Engineering solution

  • Userspace VFIO

    The capture engine binds the card with in-tree vfio-pci and maps video and audio DMA into the process. No DKMS module for the driver itself. The old open_gc573kernel module is archived.

  • Modes and EDID

    1440p at 120 Hz and native 4K60, verified on a PlayStation 5, including HDR. Profiles for 1440p120, 4K60, and 1080p240 are written to the IT6805, and each one advertises L-PCM, Dolby Digital, and DTS. A custom 256-byte EDID can be loaded the same way.

  • Audio

    Linear PCM and Dolby Digital / DTS 5.1 are decoded in-process and played throughSDL2 into PipeWire, with an optional isolated virtual track for OBS.

  • HDR tonemapping

    HDR10 and HLG are tonemapped to SDR in the game window and on the virtual camera. SDR signals skip the tonemap.

  • Virtual camera

    Optional v4l2loopback sink at /dev/video10 for OBS. The installer can skip it, so the machine stays module-free. When the HDMI link drops, a 30 FPS no-signal card holds the device open.

  • Integer scaling

    Nearest-neighbor scaling for 720p and 1080p sources, with the pixel aspect ratio kept. 720p is an exact 2× on a 1440p display.

  • Live switch

    Gaming screen and headless studio swap the SDL window over IPC. VFIO, DMA, audio, and an active OBS recording stay up.

Result

A GPL-2.0-only userspace driver and SDL2 gaming screen. PlayStation 5 capture is verified at 1440p120 and 4K60, with HDR tonemapping, integer scaling, L-PCM and bitstream audio, and a V4L2 sink for OBS.

everlive · install
~/Avermedia-GC573-Linux main
❯ ./install.sh
===================================================================
     EverLive v1.3.1 — GC573 Userspace Gaming Suite Installer     
===================================================================
[*] Root is required for system and hardware permissions.
[*] Restarting with sudo…
[sudo] password for everlite:
===================================================================
     EverLive v1.3.1 — GC573 Userspace Gaming Suite Installer     
===================================================================
[*] Target user: everlite
[*] Linux kernel: 7.3.1-1-cachyos
[*] Architecture: 100% userspace VFIO (blob-free ring 3)
Install optional Virtual Camera (/dev/video10 for OBS) via distribution v4l2loopback? [Y/n] y

[1/5] Checking software dependencies…
[+] All required libraries are present.

[*] Checking the virtual camera module (v4l2loopback)…
[+] v4l2loopback is already available.

[2/5] Compiling the EverLive userspace VFIO engine…
make: Entering directory '~/Avermedia-GC573-Linux/tools/opengc573-userd'
cc -O2 -Wall -Wextra -pthread -D_GNU_SOURCE -o gc573_user_streamer gc573_user_streamer.o gc573_vfio.o gc573_user_i2c.o gc573_user_hw.o gc573_user_edid.o gc573_user_it6805.o gc573_user_it6664.o gc573_user_fpga.o gc573_user_video.o gc573_user_audio.o gc573_user_bitstream.o gc573_user_nosignal.o gc573_user_ipc.o gc573_user_audio_tap.o gc573_user_hdr.o -pthread -lSDL2 -lavcodec -lswresample -lswscale -lavutil -lpipewire-0.3 -lm
make: Leaving directory '~/Avermedia-GC573-Linux/tools/opengc573-userd'
[+] Userspace VFIO engine built and capabilities set.

[*] Checking the Python environment for EverLive Studio…
[+] Python GUI environment is ready.

[3/5] Removing legacy artifacts and configuring the virtual camera…
[+] Legacy kernel module unregistered and blacklisted.
[+] /dev/video10 'EverLive Capture' is ready (exclusive_caps=0).
[+] PipeWire sink 'EverLive Capture Audio' configured.
    Enable it with: systemctl --user restart pipewire pipewire-pulse

[4/5] Setting VFIO device permissions (udev), boot autobind, and memlock…
[*] Switching GC573 (0000:0a:00.0) to userspace VFIO mode…
[✓] GC573 successfully bound to vfio-pci in IOMMU group 25.
    You can now run userspace tests without root: ./tools/opengc573-userd/gc573_user_probe

[5/5] Installing the EverLive desktop launcher and application icon…

===================================================================
      EverLive v1.3.1 installed and ready.      
===================================================================
You can start EverLive from the application menu,
or in a terminal with: ./play.sh

Enjoy the games at 1440p120, native 4K, and zero kernel fiddling.
~/Avermedia-GC573-Linux main

An install of the userspace VFIO driver.

02

Internal platform

Internal operations platform · Next.js 16, React 19, PostgreSQL/PostGIS, Docker, Python

Problem

An internal team needed a paper process replaced by a system that works offline, turns incoming PDFs into records, and stays GDPR-compliant.

Engineering solution

  • Offline-first PWA

    IndexedDB form caching and an outbox pattern for offline use. Digital signatures and photo uploads, including client-side HEIC conversion and compression, sync when connectivity is available.

  • Automated backend pipelines

    A Python file watcher (pdfplumber) parses incoming PDFs, imports them through a secured API (internal API key, Nginx isolation), and prevents race conditions with reconcile loops.

  • Security and compliance

    Grey-box pentest, role-based access control, GDPR data retention (purge scripts), and a 3-tier backup strategy (VPS → rclone/OneDrive → NAS).

  • Geo integration

    PostGIS for positions. Geoapify, Photon, and Overpass as a fallback chain for address autocomplete. Valhalla for routing.

  • Shared screen

    A dedicated read-only role for a shared screen that shows the current overview.

Result

In production with 20+ users. Paper forms are gone, and positions update throughPostGIS. Solo-architected and delivered with full GDPR compliance (AV contracts, VVT documentation).

03

Spectora

Self-hosted monitoring and cookie-free analytics · Laravel 12, PHP 8.2, Docker, SQLite

github.com/Everlite/Spectora-Website-Monitoring-Suite

Problem

Agencies and freelancers want uptime, SSL, and visitor counts on their own server, without Google Analytics and without a hosted account.

Engineering solution

  • One probe

    SpectoraEngine::probe() is the only outbound check. It filters the target, blocks SSRF, does one HTTP GET, then keywords, SSL days, and Watchdog on that same HTML. Watchdog flags obfuscated eval, CJK title spam, hidden text, tiny iframes, meta refresh, and shady outbound links.

  • Pulse

    Cookie-free hits through sp-pulse.js. A daily rotating HMAC visitor hash, no raw IP stored, and the origin is checked against the monitored host.

  • Incidents

    The first failure sends the alert. A recovery alert goes out when the target is healthy again. Channels are email, Discord, Slack, and Web Push.

  • Ship

    Docker Compose, with the queue and scheduler under Supervisor. Registration is off by default. MIT. The runbook and privacy notes are in the repo.

Result

A self-hosted monitor for one server: uptime, SSL, a small audit score, and cookie-free analytics. The data stays on the operator's machine.

04

PS5-to-Steam Bridge

Standalone app, v2 · Python, Tkinter, Node.js

github.com/Everlite/PS5-to-Steam-Bridge

Problem

Steam shows friends what you're playing on Steam — but not what you're playing on PS5. That is a feature gap between the platforms.

Engineering solution

  • Packaging

    Windows ships as one EXE. The build machine uses Python 3.11+ and a pinned Node build whose checksum is checked. People who receive the EXE install neither. Linux runs from source with Tk. Replacing the EXE keeps the saved session.

  • Token storage

    The NPSSO token and the Steam session stay on that PC. On Windows they are DPAPI-encrypted insecrets.bin. config.json only stores the Steam account name. An older plaintext config is migrated on first start.

  • Presence

    The app polls PlayStation presence and sets the Steam status to PS5: plus the game name. Stop or quit clears it. Friends seeing you come online is expected. Steam's Invisible or Offline state is overwritten while the bridge is connected.

Result

A standalone app. The earlier ASF-based build is kept under v1/. Tokens stay on the machine, and quitting clears the status.

Open source

  • EverLive

    35 stars

    Blob-free userspace VFIO driver and gaming screen for the AVerMedia GC573.

  • Spectora

    1 star

    Self-hosted monitoring and cookie-free analytics. Laravel 12, Docker.

  • Standalone app that shows the current PlayStation 5 game on a Steam profile.