Unix-friendly CLI for RenderDoc .rdc captures
Project description
_____ _____ _____
| __ \| __ \ / ____|
| |__) | | | | |
| _ /| | | | |
| | \ \| |__| | |____
|_| \_\_____/ \_____| cli
Pipe-friendly TSV output, JSON mode, 51 commands, daemon-backed session for interactive exploration of RenderDoc .rdc captures.
rdc open capture.rdc # start session
rdc draws # list draw calls (TSV)
rdc pipeline 142 # pipeline state at EID 142
rdc shader 142 ps # pixel shader disassembly
rdc texture 5 -o out.png # export texture
rdc debug 142 ps 400 300 # debug pixel shader at (400,300)
rdc assert-pixel 142 400 300 \
--expect 0.5,0.0,0.0,1.0 # CI pixel assertion
rdc draws --json | jq '...' # machine-readable output
rdc close # end session
Install
PyPI (recommended)
pipx install rdc-cli
# build renderdoc Python module (one-time, ~3 min, needs cmake/ninja/python3)
curl -fsSL https://raw.githubusercontent.com/BANANASJIM/rdc-cli/master/scripts/build-renderdoc.sh | bash
rdc doctor # verify installation
AUR (Arch Linux — builds renderdoc Python module automatically)
yay -S rdc-cli-git
From source
git clone https://github.com/BANANASJIM/rdc-cli.git
cd rdc-cli
pixi install && pixi run sync
Commands
Run rdc --help for the full command list, or rdc <command> --help for details.
| Category | Commands |
|---|---|
| Session | open, close, status, goto |
| Inspection | info, stats, events, draws, event, draw, log |
| GPU state | pipeline, bindings, shader, shaders, shader-map |
| Debug | debug, pixel, pick-pixel, tex-stats |
| Shader Edit | shader-build, shader-replace, shader-restore, shader-restore-all, shader-encodings |
| Resources | resources, resource, passes, pass, usage |
| Export | texture, rt, buffer, mesh, snapshot |
| Search | search, counters |
| Assertions | assert-pixel, assert-state, assert-image, assert-count, assert-clean |
| VFS | ls, cat, tree |
| Utility | doctor, completion, capture, count, script, diff |
All commands support --json for machine-readable output.
Shell completions
rdc completion bash > ~/.local/share/bash-completion/completions/rdc
rdc completion zsh > ~/.zfunc/_rdc
rdc completion fish > ~/.config/fish/completions/rdc.fish
Development
pixi run sync # install deps + activate git hooks
pixi run check # lint + typecheck + test (1729 tests, 95.51% coverage)
pixi run verify # full packaging verification (19 checks)
GPU integration tests require a real renderdoc module:
export RENDERDOC_PYTHON_PATH=/path/to/renderdoc/build/lib
pixi run test-gpu
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rdc_cli-0.3.1.tar.gz.
File metadata
- Download URL: rdc_cli-0.3.1.tar.gz
- Upload date:
- Size: 94.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
631c8713bd3a0b3ca324c4bd7a1cebb47706300053ef83d0ebaba385bb4a330d
|
|
| MD5 |
f39426e859b8f10788649f1d50485c8a
|
|
| BLAKE2b-256 |
d4402b1a6c58f559f109b06cfe4c889bb8a8a8f0da307880bf9a68e4da12a8c8
|
Provenance
The following attestation bundles were made for rdc_cli-0.3.1.tar.gz:
Publisher:
ci.yml on BANANASJIM/rdc-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rdc_cli-0.3.1.tar.gz -
Subject digest:
631c8713bd3a0b3ca324c4bd7a1cebb47706300053ef83d0ebaba385bb4a330d - Sigstore transparency entry: 979928892
- Sigstore integration time:
-
Permalink:
BANANASJIM/rdc-cli@dff9329d2e10ba7eab5fcdfc63b419c928e94b77 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/BANANASJIM
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@dff9329d2e10ba7eab5fcdfc63b419c928e94b77 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rdc_cli-0.3.1-py3-none-any.whl.
File metadata
- Download URL: rdc_cli-0.3.1-py3-none-any.whl
- Upload date:
- Size: 124.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6287e521f9c05bfddbf93e96ede7f7471ab61968165c6aaede033fbb85f0c1b9
|
|
| MD5 |
6f88f6c8764b4d70d20f06679cf8ab97
|
|
| BLAKE2b-256 |
1276128e9ebd43a71b5a320306108a03a69f8087d7392146e098f9a8ceffd750
|
Provenance
The following attestation bundles were made for rdc_cli-0.3.1-py3-none-any.whl:
Publisher:
ci.yml on BANANASJIM/rdc-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rdc_cli-0.3.1-py3-none-any.whl -
Subject digest:
6287e521f9c05bfddbf93e96ede7f7471ab61968165c6aaede033fbb85f0c1b9 - Sigstore transparency entry: 979928967
- Sigstore integration time:
-
Permalink:
BANANASJIM/rdc-cli@dff9329d2e10ba7eab5fcdfc63b419c928e94b77 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/BANANASJIM
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@dff9329d2e10ba7eab5fcdfc63b419c928e94b77 -
Trigger Event:
push
-
Statement type: