# WebGL 1 preview (Linux x86-64) The `obscura-x86_64-linux-webgl-preview.tar.gz` archive contains an opt-in WebGL 1 subset. Standard archives do not include it. A WebGL canvas starts a sandboxed software graphics helper when its context is created; pages that do not request WebGL start no helper. ## Run the archive Download the preview archive from a [release](https://github.com/h4ckf0r0day/obscura/releases) that includes it and extract it. Install `bubblewrap` and enable unprivileged user namespaces. From the extracted directory: ```bash OBSCURA_WEBGL_ENABLE=1 \ OBSCURA_WEBGL_HELPER="$PWD/obscura-webgl-helper" \ OBSCURA_WEBGL_RUNTIME_DIR="$PWD/runtime" \ ./obscura fetch 'data:text/html,' \ --eval "document.querySelector('canvas').getContext('webgl') !== null" ``` The last output line is `true` when the context starts. Set these variables before launching `serve`, `scrape`, or `mcp` too; CDP clients connect as usual. The archive's CLI also supports `--stealth`, independently of WebGL. If the probe returns `false`, check that `bwrap` is on `PATH`, unprivileged user namespaces are allowed, and both paths above point to the extracted helper and runtime. A missing helper, sandbox failure, or graphics startup failure makes `getContext('webgl')` return `null`. ## Build from source On Linux x86-64, build both executables: ```bash cargo build --release -p obscura-cli --bins --features render,native-webgl cargo build --release -p obscura-webgl --bin obscura-webgl-helper ``` Use the `runtime/` directory from the matching preview archive and point `OBSCURA_WEBGL_HELPER` at `target/release/obscura-webgl-helper`. The source build does not download the graphics libraries. Add `stealth` to the CLI feature list only if you need its transport. ## Current limits Focused tests cover shader compilation, buffers, 2D textures, drawing, readback, canvas presentation, and resizing. WebGL 2, video and cube-map textures, WebGL on `OffscreenCanvas`, context restoration, and some WebGL 1 methods are unsupported. The preview retains at most four contexts per document, including contexts on detached canvases. Each helper has a cumulative five-second CPU budget and bounded resources. It is not full WebGL 1 conformance or a guarantee about site detection outcomes. The archive bundles ANGLE/SwiftShader libraries from Playwright 1.59.1's Chromium headless shell 147.0.7727.15. Release packaging verifies their SHA-256 hashes; `LICENSE.headless_shell` contains the license notices.