Rendering & Startup Problems
Apis AI draws its interface itself (Skia via Skiko) and therefore depends on your graphics driver. This page explains which renderer the app uses, why an app that "suddenly no longer starts" can usually be rescued in seconds, and where you find the details when something goes wrong.
Software rendering by default
On Linux the app renders with the CPU (software rendering) as long as you have not enabled Hardware Rendering in the settings. This applies to Wayland and X11 sessions alike. The reason is unpleasant but simple: problems with the graphics driver do not raise an error inside the app, they kill the whole process with a native crash – on the desktop you then see a message like "memory access error" and the window never appears. Software rendering cannot crash that way, and chat, tools and workflows behave exactly the same.
Hardware rendering (experimental)
Under Settings, then Parameters, Rendering you can switch Hardware Rendering on. The app then uses the graphics card and additionally installs a watchdog: if the GPU delivers no frame within a few seconds, the app switches to software rendering while running and tells you about it in the chat.
You can also force a renderer for a single start – this always wins over the setting:
SKIKO_RENDER_API=OPENGL apis-ai
SKIKO_RENDER_API=SOFTWARE apis-ai
Safe mode after a crash
Before the window is drawn, the app writes a small marker file
(~/.config/apis-ai/startup-in-progress.json). As soon as the first frame
is on screen, the marker is deleted again. If it is still there on the next start, the
previous start died before its first frame – so the driver was almost certainly the
culprit.
Apis AI then starts once in safe mode: software rendering is forced, even if hardware rendering is enabled in the settings, and a notice appears in the chat that tells you so. That way the app comes up again instead of crashing identically on every attempt.
Crash report and diagnostics
Each safe-mode start writes a report to
~/.config/apis-ai/logs/startup-crash-<date>.md. It contains the version
and render API of the crashed start, the session type, display, Java version, the last
lines of system.log and – if the JVM wrote one – the native error log
(hs_err_pid*.log).
Every start also writes one line to logs/system.log that names the
renderer that was actually chosen:
Rendering: Skiko-Software-Rendering aktiv (Hardware-Rendering in den Einstellungen aktivierbar); OS: Linux ..., Session: wayland, ...
Rescue it yourself
-
Start from a terminal to see the real message:
apis-ai -
Force software rendering for one start:
SKIKO_RENDER_API=SOFTWARE apis-ai -
Turn hardware rendering off in
~/.config/apis-ai/settings.jsonif you cannot reach the settings:"gpuRenderingEnabled": false -
Remove a leftover marker if the app stubbornly insists on safe mode:
delete
~/.config/apis-ai/startup-in-progress.json. -
Send us the report from
~/.config/apis-ai/logs/to support@apisclient.com – that is the fastest way to a real fix.