Repository navigation
Replies: 1 comment
|
Note 🤖 GPT-6.1 Terra [1m] responding on behalf of Theo Closing this completed troubleshooting guide after you identified Omarchy’s realtime limit and documented the workaround. The underlying provider-startup report remains linked. #13842 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
If you're on Omarchy and the Antigravity provider won't work in T3 Code, this is probably the cause. It took me a long debugging session to find, so here's the short version.
Symptoms
~/.t3/userdata/logs/server.trace.ndjsonyou'll seeACP process exited after signal SIGKILLand/orRpcClientDefect: ACP protocol terminated., with no stderr from the runtime.agy_acp_server.parworks fine when you run it from a terminal. It answersinitializein about 1 s.Cause
It isn't T3 Code, and it isn't the runtime. On Omarchy, apps launched from the shell or app launcher inherit
RLIMIT_RTTIME = 0. Google's ACP runtime SIGKILLs itself, or stalls, when its real-time budget is zero.The chain:
rtkitisn't installed, so the xdg-desktop-portal Realtime portal reportsRTTimeUSecMax = 0.libpipewire-module-rtapplies that value (soft and hard) to its clients, including Omarchy's shell (quickshell).0/0: T3 Code, its server, and the ACP runtime.Your terminal has
unlimited, so every test you run from it passes. That's what makes this so confusing.Check if this is you
You can also compare
grep 'realtime timeout' /proc/<t3code pid>/limitswith the same line from your shell (/proc/$$/limits).Fix
This is fixed upstream in Omarchy (repo
omacom/omarchy), but the fix wasn't in a release yet as of 4.0.6:rtkitto the base packages, plus a repair script.HYPRLAND_NO_RT=1, because once rtkit is installed, Hyprland 0.57 asks for real-time scheduling and can be silently SIGKILLed by the kernel watchdog (Hyprland 0.57 gets silently SIGKILLed now that rtkit is installed on x86 omacom/omarchy#17102, Real-time scheduling. Hyprland dies by SIGKILL when reconnecting HDMI hyprwm/Hyprland#16648).Your options:
/usr/share/omarchy/bin/omarchy-realtime-repairexists andgrep HYPRLAND_NO_RT /usr/share/omarchy/default/uwsm/defaultfinds a match.sudo pacman -S rtkit, addexport HYPRLAND_NO_RT=1to a file in~/.config/uwsm/env.d/, then log out and back in. Don't install rtkit withoutHYPRLAND_NO_RTif you're on Hyprland 0.57 or newer, or might upgrade to it.t3code &). It then inherits the terminal's unlimited limit.Wrapping the runtime in
prlimit --rttime=...won't work. The hard limit is 0, and an unprivileged process can't raise it.Related
All reactions