Skip to content

goggles-dev/Goggles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

193 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goggles

Ask DeepWiki

A real-time shader post-processing tool that runs target apps inside a nested compositor and applies shader effects.

zfast-crt
showcase_zfast_crt
crt-royale
showcase_crt_royale

Goggles runs target apps inside a nested Wayland compositor, applies a shader filter chain, and forwards input.

Shader Preset Compatibility Database

Status Key

  • Verified: Manually inspected; visual output is perfect.
  • Partial: Compiles and runs; full feature set or parameters pending review.
  • Untested: Compiles successfully; requires human eyes for visual artifacts.
Name Build Status Platform Notes
crt/crt-royale.slangp Pass Partial Mesa: RDNA3 Full verification pending after the shader parameter controlling support.
crt/crt-lottes-fast.slangp Pass Verified Mesa: RDNA3, Proprietary: Ada

Build

This project uses Pixi for dependency management and build tasks.

After cloning, initialize the extracted filter-chain/ dependency before configuring or building:

git submodule update --init --recursive
pixi run help # view all available tasks and their descriptions
pixi run <task-name> [args]... # run a task

For local co-development against a sibling goggles-filter-chain checkout, keep the committed submodule untouched and point CMake at the alternate source tree instead:

cmake --preset debug -DGOGGLES_FILTER_CHAIN_SOURCE_DIR=/abs/path/to/goggles-filter-chain

Build output:

build/<preset>/
├── bin/goggles

Dependency Artifacts

Prebuilt dependency assets consumed by Goggles package recipes are published in:

Usage

Use pixi run start [-p preset] [goggles_args...] -- <app> [app_args...] to launch the viewer and target together. The -- separator is required so app arguments (like --config) don't get parsed as Goggles options. The preset defaults to debug.

# Quick smoke tests (build as needed)
pixi run start -- vkcube --wsi xcb                            # preset=debug
pixi run start -p release -- vkcube --wsi xcb                 # preset=release
pixi run start -p profile --app-width 480 --app-height 240 -- vkcube --wsi xcb

In default mode, Goggles exits when the target app exits. If the viewer window is closed early, Goggles terminates the launched target process.

For Steam games, prefer a wrapper that launches the game through Goggles: goggles -- %command%.

RetroArch Shaders

pixi run shader-fetch            # Download/refresh full RetroArch shaders into shaders/retroarch

This downloads from libretro/slang-shaders. All shaders except tracked crt-lottes-fast files are gitignored.

Documentation

See docs/architecture.md for project architecture and design.

Topic-specific docs:

License

This project is licensed under the MIT License. See LICENSE.

Some bundled third-party files use their own licenses (for example, assets/fonts/OFL.txt and curated shader files under shaders/retroarch/). See THIRD_PART_NOTICES.md.

About

A compositor based frame streaming tool with support for RetroArch shader processing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors