compile without gpu accleration and profile json

This commit is contained in:
Priec
2026-09-06 22:26:37 +02:00
parent c1ce857ad6
commit 1ccde44c00
4 changed files with 2292 additions and 1 deletions

View File

@@ -52,6 +52,16 @@ flatpak install ./KompAC-embedded-x86_64.flatpak
flatpak run com.kompac.client
```
The Tauri WebView starts with WebKit accelerated compositing and the DMA-BUF
renderer disabled, and Mesa software rendering requested by default.
To allow hardware rendering for a launch:
```sh
flatpak run --env=WEBKIT_DISABLE_COMPOSITING_MODE=0 \
--env=WEBKIT_DISABLE_DMABUF_RENDERER=0 \
--env=LIBGL_ALWAYS_SOFTWARE=0 com.kompac.client
```
The bundle records Flathub as the source of its GNOME runtime. The first
installation therefore downloads the runtime when it is not already installed.
For an offline destination, transfer the runtime through a Flatpak repository

View File

@@ -102,4 +102,7 @@ if [[ "$ready" != true ]]; then
exit 1
fi
WEBKIT_DISABLE_COMPOSITING_MODE="${WEBKIT_DISABLE_COMPOSITING_MODE:-1}" \
WEBKIT_DISABLE_DMABUF_RENDERER="${WEBKIT_DISABLE_DMABUF_RENDERER:-1}" \
LIBGL_ALWAYS_SOFTWARE="${LIBGL_ALWAYS_SOFTWARE:-1}" \
"$gui"

File diff suppressed because it is too large Load Diff