summaryrefslogtreecommitdiff
path: root/vendor/bionic-fg/README.md
diff options
context:
space:
mode:
authorxXJsonDeruloXx <danielhimebauch@gmail.com>2026-08-01 15:02:20 -0400
committerxXJsonDeruloXx <danielhimebauch@gmail.com>2026-08-01 15:02:20 -0400
commit98106c79126fc01e96b7b718977b857cb216922f (patch)
treeee3877f9ebc1e794c74511867bced4e6e6ab37b1 /vendor/bionic-fg/README.md
parentd859de9a5849f99824ba98a69d6658d9f7724bdf (diff)
downloaddecky-lsfg-vk-agent/bionic-fg-x86_64-experiment.tar.gz
decky-lsfg-vk-agent/bionic-fg-x86_64-experiment.zip
Add bionic-fg glibc x86_64 experimentagent/bionic-fg-x86_64-experiment
Diffstat (limited to 'vendor/bionic-fg/README.md')
-rw-r--r--vendor/bionic-fg/README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/vendor/bionic-fg/README.md b/vendor/bionic-fg/README.md
index 004dbfd..d8dfee0 100644
--- a/vendor/bionic-fg/README.md
+++ b/vendor/bionic-fg/README.md
@@ -63,6 +63,36 @@ cmake -S . -B build/android-arm64 \
cmake --build build/android-arm64 -j
```
+### Linux / glibc x86_64
+
+The glibc target omits the Android JNI and AHardwareBuffer entry points and
+uses the layer's single-device path with device-local Vulkan images. It still
+uses the same embedded shader graph and implicit-layer interception points.
+
+On an x86_64 Linux system with a C++17 compiler, Vulkan headers/loader, CMake,
+and pthreads installed:
+
+```sh
+./build-linux-x86_64.sh
+```
+
+The output is staged at `dist/linux-x86_64/`:
+
+```text
+libbionic_fg.so
+VkLayer_BIONIC_framegen.json
+```
+
+The manifest is intended for:
+
+```text
+~/.local/lib/libbionic_fg.so
+~/.local/share/vulkan/implicit_layer.d/VkLayer_BIONIC_framegen.json
+```
+
+Enable the layer for a test process with `BIONIC_FG_ENABLE=1` and point
+`BIONIC_FG_CONFIG` at a compatible `conf.toml` as described above.
+
## Shaders
The compute shaders are a clean-room reimplementation of the shader *code*: