[Bug]: Built-in Antigravity installation fails to start on Linux ARM64 (aarch64) #12490
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/server
Steps to reproduce#
- Run T3 Code on a Linux ARM64 (aarch64) server.
- Open Settings → Providers → Antigravity.
- Do not configure a custom Antigravity executable path.
- Use T3 Code's built-in "Install Antigravity" option.
- Wait for T3 Code to download the Antigravity runtime.
- Observe the provider status after the download/install attempt.
Expected behavior#
T3 Code should download and install the appropriate Antigravity runtime for Linux ARM64 (aarch64).
After installation, the runtime should start successfully and the Antigravity provider should become available.
Actual behavior#
The built-in installation downloads the Antigravity runtime, but the runtime fails to start.
The UI shows:
"657 MB download."
followed by:
"The downloaded Antigravity runtime could not start in this environment."
The Antigravity provider then remains in the "Not found" state with:
"Antigravity is not installed. Install it in this environment or set a custom executable path."
A "Retry installation" button is shown.
Impact#
Blocks work completely
Version or commit#
v0.0.42
Environment#
OS: Linux ARM64 / aarch64
Logs or stack traces#
Screenshots, recordings, or supporting files#
Workaround#
No work arround found
sunjay-dev(GitHub profile, opens in a new tab) added labelsbug
sunjay-dev(GitHub profile, opens in a new tab) added labelsneeds-triage
juliusmarminge added labelsaccepted
juliusmarminge added labelsvia-triage
juliusmarminge removed labelsneeds-triage
Here are the requested details from the remote environment
larger-instance-2-0:Architecture: aarch64 Node: which node -> /home/ubuntu/.nvm/versions/node/v24.17.0/bin/node node -v -> v24.17.0 T3: type -a t3 -> not found T3 Code is running as the standalone v0.0.42 binary through a systemd user service: [Service] Type=simple WorkingDirectory=%h Environment=T3CODE_HOME=/home/ubuntu/.t3 Environment=T3_BOOT_SERVICE_UNIT=t3code.service ExecStart=/home/ubuntu/.t3/runtime/versions/0.0.42/t3 __service-launcher KillMode=mixed OOMPolicy=continue Restart=always RestartSec=5 StandardOutput=append:/home/ubuntu/.t3/userdata/logs/boot-service.log StandardError=append:/home/ubuntu/.t3/userdata/logs/boot-service.log Disk space does not appear to be an issue: /dev/sda1 78G 41G 38G 52% / The server trace is available at: /home/ubuntu/.t3/userdata/logs/server.trace.ndjson The Antigravity-related trace I found currently shows the post-install failure: AntigravityInstallation.resolve Failure: AntigravityInstallationError: Antigravity is not installed. Install it in this environment or set a custom executable path. AntigravityDriver.makeRuntime Failure: ProviderSetupError: Antigravity is not installed. Install it in this environment or set a custom executable path.I met the same issue, and second that I should be able to set the path to the binary, I already have it installed in /opt so its silly that it is forcing me to redownload instead of just asking me where it is.
EDIT: I see the same behavior on AMD64 (x86_64) not just ARM64
@joshuacox Did you find any workaround for this issue?
@sunjay-dev there is a
Binary pathfield, however, setting it does not seem to workConfirming the standalone-
t3Node-helper cause from the triage with a trace and a one-line repro. Hardware: Raspberry Pi 5, Linux aarch64 (kernel6.12.75+rpt-rpi-2712, 16K pages), T3 v0.0.42 headless (t3 serve, runtime~/.t3/runtime/versions/0.0.42/t3).Trace (
server.trace.ndjson, built-in Install → validate, ~347s total incl. 657 MB download):AntigravityInstallation.validate Failure AntigravityInstallationError: The downloaded Antigravity runtime could not start in this environment. at AntigravityInstallation.validate (.../versions/0.0.42/t3:142207:10) at AntigravityInstallation.install (.../versions/0.0.42/t3:142244:16) at ws.rpc.provider.install.start (.../versions/0.0.42/t3:127362:104) { [cause]: AcpTransportError: ACP transport operation failed. at authSupportError (.../versions/0.0.42/t3:139381:9)Repro of the browser-suppression preflight (same argv/env
prepareAntigravityProfilebuilds, withprocess.execPath= the standalone binary):$ ELECTRON_RUN_AS_NODE=1 ~/.t3/runtime/versions/0.0.42/t3 -e '<browserHelperSource>' -- https://example.invalid/t3-antigravity-browser-preflight ERROR Unrecognized flag: -e in command t3 # exit 1, usage text on stdoutSo the preflight fails before the
.paris ever spawned.The runtime itself is fine on this box: the linux-arm64 zip (sha256
ed69e64b…7175398, matches the manifest) extracts, and bothagy_acp_server.par --helpandlocalharness_external --helprun and exit 0. LOAD segments are 2 MiB-aligned, so 16K-page kernels aren't a factor.A real Node is available at
/usr/bin/node(on the service PATH), so #12033 should be enough here. I'll try0.0.43-nightlyand report back.Follow-up after trying 0.0.43-nightly.20260924.2187 on the same Raspberry Pi 5:
#12033 fixes the browser-helper preflight here (it resolves
/usr/bin/node, and the preflight emits the expected marker). Install now gets pastprepareAntigravityProfileand fails when the runtime starts:AcpTransportError: ACP transport operation read-process-exit-status failed. PlatformError: ChildProcess.exitCode (.../antigravity-acp/linux-arm64/versions/.install-eozahi/runtime/agy_acp_server.par --uid=) Error: Process interrupted due to receipt of signal: 'SIGABRT'Running the runtime by hand with an ACP
initializeshows the cause is in Google's binary, not T3:F0924 15:35:18.965063 page-size.cc:19] Check failed: sysconf(_SC_PAGE_SIZE) == kPageSize (16384 vs. 4096) Compile-time page size does not match runtime page size @ bamm2::internal::google_init_module_bamm2_init_verify_page_size() @ GoogleInitializer::RunInitializers() @ RealInitGoogle()(
--helpexits beforeInitGoogle, so it doesn't catch this.)So
agy_acp_server 1.1.1linux-arm64 is built for 4K pages only. It can't run on 16K-page aarch64 kernels, which is the default on Raspberry Pi 5 (kernel_2712.img) and some other ARM64 distros. Asahi is 16K as well. Suggestions for T3's side:- Check
getconf PAGESIZE(oros.constants/sysconf) on linux-arm64 before the 657 MB download and show a specific message. On a Pi 5 the fix iskernel=kernel8.imgin/boot/firmware/config.txtplus a reboot. - Show the child's stderr, or at least the signal, instead of the generic "could not start in this environment".
This likely applies to #12477 as well if that host runs a 16K kernel.
- Check
Confirmed on v0.0.45. Though i have workaround:
Workaround for ARM64#
Notice that this is compatible only with AGY ACP 1.1.1 not 1.3.0 (for a while there was a bug in this script that referenced version 1.3.0)
mkdir -p ~/.t3/tools/antigravity-acp/linux-arm64 cd ~/.t3/tools/antigravity-acp/linux-arm64 wget https://dl.google.com/agy-extensions/releases/linux/agy-acp-server-agy_acp_server_1.1.1-linux-x86_64.zip unzip agy-acp-server-agy_acp_server_1.1.1-linux-x86_64.zip chmod +x agy_acp_server.par chmod +x localharness_external(if it fails you most likely dont have unzip)
Also on ubuntu you need to create group nobody (ubuntu/debian uses
nogroupfor the same usecase)sudo groupadd --system nobodyAnd enable ipv6 loopback:
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0 echo 'net.ipv6.conf.lo.disable_ipv6 = 0' | sudo tee /etc/sysctl.d/99-lo-ipv6.confAfter all this just disable and enable antigravity ... it will catch up + you need to ofc sign in.
// disclaimer: use advice as just that advice - no guarantee also as this is manual fix so it can break lots of stuff once this gets fixed
Current stacktrace of the issue#
(formatted for better readability)
[ { "type": "effect-span", "name": "RpcClient.initialize", "traceId": "0bd8b3aed3df9f5a8ce89385439640d6", "spanId": "5f1d4cf3ae7f2fc7", "parentSpanId": "6d670b308c31c602", "sampled": true, "kind": "internal", "startTimeUnixNano": "1791212422188343624", "endTimeUnixNano": "1791212426588917372", "durationMs": 4400.573748, "attributes": {}, "events": [], "links": [], "exit": { "_tag": "Failure", "cause": "~effect/rpc/RpcClientError: RpcClientDefect: ACP protocol terminated.\n at emitClientProtocolError (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:147954:10)\n at file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:147966:11\n at AntigravityInstallation.validate (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150541:10)\n at AntigravityInstallation.validate (definition) (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150406:39)\n at AntigravityInstallation.install (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150578:16)\n at AntigravityInstallation.install (definition) (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150430:18)\n at ProviderInstallation.start (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:293397:122)\n at ProviderInstallation.start (definition) (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:261312:16)\n at ws.rpc.provider.install.start (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:133939:104)" } }, { "type": "effect-span", "name": "AntigravityInstallation.validate", "traceId": "0bd8b3aed3df9f5a8ce89385439640d6", "spanId": "6d670b308c31c602", "parentSpanId": "b4176728a8311349", "sampled": true, "kind": "internal", "startTimeUnixNano": "1791212422144595340", "endTimeUnixNano": "1791212426589716936", "durationMs": 4445.121596, "attributes": {}, "events": [], "links": [], "exit": { "_tag": "Failure", "cause": "AntigravityInstallationError: The downloaded Antigravity runtime could not start in this environment.\n at installationError (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150195:57)\n at file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150200:92\n at file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:10444:96\n at ~effect/Utils/internal (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:2653:10)\n at AntigravityInstallation.validate (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150541:10)\n at AntigravityInstallation.validate (definition) (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150406:39)\n at AntigravityInstallation.install (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150578:16)\n at AntigravityInstallation.install (definition) (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150430:18)\n at ProviderInstallation.start (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:293397:122)\n at ProviderInstallation.start (definition) (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:261312:16)\n at ws.rpc.provider.install.start (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:133939:104) {\n [cause]: AcpTransportError: ACP transport operation read-process-exit-status failed.\n at Object.onFailure (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:148336:24) {\n [cause]: PlatformError: Unknown: ChildProcess.exitCode (/home/ubuntu/.t3/tools/antigravity-acp/linux-arm64/versions/.install-34p2bA/runtime/agy_acp_server.par --uid=)\n at systemError (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:23484:34)\n at file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:38696:9\n at toPlatformError (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:38960:53) {\n [cause]: Error: Process interrupted due to receipt of signal: 'SIGABRT'\n }\n }\n }" } }, { "type": "effect-span", "name": "AntigravityInstallation.install", "traceId": "0bd8b3aed3df9f5a8ce89385439640d6", "spanId": "b4176728a8311349", "parentSpanId": "94eaa2b9d4515792", "sampled": true, "kind": "internal", "startTimeUnixNano": "1791212292624300870", "endTimeUnixNano": "1791212428705197869", "durationMs": 136080.896999, "attributes": {}, "events": [], "links": [], "exit": { "_tag": "Failure", "cause": "AntigravityInstallationError: The downloaded Antigravity runtime could not start in this environment.\n at installationError (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150195:57)\n at file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150200:92\n at file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:10444:96\n at ~effect/Utils/internal (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:2653:10)\n at AntigravityInstallation.install (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150578:16)\n at AntigravityInstallation.install (definition) (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:150430:18)\n at ProviderInstallation.start (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:293397:122)\n at ProviderInstallation.start (definition) (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:261312:16)\n at ws.rpc.provider.install.start (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:133939:104) {\n [cause]: AcpTransportError: ACP transport operation read-process-exit-status failed.\n at Object.onFailure (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:148336:24) {\n [cause]: PlatformError: Unknown: ChildProcess.exitCode (/home/ubuntu/.t3/tools/antigravity-acp/linux-arm64/versions/.install-34p2bA/runtime/agy_acp_server.par --uid=)\n at systemError (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:23484:34)\n at file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:38696:9\n at toPlatformError (file:///home/ubuntu/.t3/runtime/versions/0.0.45/t3:38960:53) {\n [cause]: Error: Process interrupted due to receipt of signal: 'SIGABRT'\n }\n }\n }" } } ]@aranwe This issue has been fixed in the nightly version.
as i have workaround i will wait for stable release - unless you would like testing (btw: did you solve the ipv6 & nogroup vs nobody groups? the native antigravity installer solves this internally somehow).
Btw: thanks for the fix!
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Closing as fixed by #12033, which shipped in v0.0.43. As the triage found, the ARM64 download was never the problem. On a standalone
t3binary, the Antigravity profile step usedprocess.execPath, which is T3 itself, as Node. That is why-ewas rejected. The step now resolves the realnodeon PATH and refuses anodethat points back to T3. If no Node is found, the install now stops before the download with "Antigravity requires Node.js…".If you run T3 as a systemd service and installed Node with nvm, make sure the service's PATH includes that
node. Reopen this issue if it still fails on v0.0.43 or later.t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Triage#
Confirmed against shipping v0.0.42 and current
main. This is a real managed Install failure on Linux aarch64, not a missing linux-arm64 asset, not a custom-path resolve miss, and not the x86 no-AVX or WSL2/IPv6 tickets.Screenshot matches the filed copy and the same remote environment as #12477:
larger-instance-2-0No server log /
server.trace.ndjsonwas attached, so the child-process cause is still hidden. The UI pair (correct arm64 size + generic validate line + not activated) is enough to place the failure.What the code does#
1. “657 MB download” is the official linux-arm64 zip. Architecture selection worked.
Pinned asset in
antigravityRelease.ts(same in 0.0.42 andmain):https://dl.google.com/agy-extensions/releases/linux/agy-acp-server-agy_acp_server_1.1.1-linux-arm64.ziparchiveBytes:656_572_786→ UIMath.ceil(totalBytes / 1_000_000)= 657 MBT3 mapped
process.archarm64→linux-arm64and started the right download. This is not “Google does not publish an Antigravity runtime for linux-arm64.”2. The generic line is
validate(), not extract/hash, and a failed validate does not activate.Managed install (
AntigravityInstallation.install):agy_acp_server.par,localharness_external)validate:prepareAntigravityProfile+ spawn ACP +initialize(90s).install-complete.jsonandactive.jsonAny non-
AntigravityInstallationErrorfrom step 3 is collapsed bywrapFailureto:Because activate never ran, resolve falls back to “not installed” and the card shows Not found. Staging is scoped, so Retry installation downloads the 657 MB zip again.
3. On v0.0.42 this validate path shares the standalone-
t3Node helper bug with #12477.validatealways callsprepareAntigravityProfilebefore the.par. On 0.0.42 that helper isprocess.execPath. On a standalone@t3code/t3-linux-arm64binary that is T3, not Node. The preflight then fails with “Antigravity browser suppression could not be verified.” — anAcpTransportErrorthat install swallows into the generic line. The.parmay never have been exec’d.4. Two fixes landed after 0.0.42; only one changes this ticket’s symptom.
TMPDIRnodefor the browser helper; refuse install if missingt3no longer uses itself as Node. Missing Node fails before the 657 MB download with “Antigravity requires Node.js…”.Both are in
0.0.43-nightly(main).Related, not duplicates#
ipv6.disable=1. This is a native Linux ARM64 remote, not WSL.agyon PATH. This flow never resolved a custom/PATHpair.What we still need from this machine#
On the remote environment
larger-instance-2-0(not the client laptop):And the redacted
server.trace.ndjson/ server log aroundAntigravityInstallation.validate,prepareAntigravityProfile/ browser suppression, andAntigravityInstallation.install.Workaround (try in order)#
0.0.43-nightly(picks up #12033).t3host, install Node and putnodeon the server PATH, then Retry installation with Binary path cleared.TMPDIRdisk has several GB free.initialize— use the trace, not another 657 MB retry loop.Do not point Binary path at
agy. Do not close this as #12477, #11414, or #9800.