Garvit Surana d5dc6fff42 fix(wifi): wait out the RTL8852C association's beacon interval across service turns, cap the network part's frame loops at 2 ms a turn, and name the slow piece and keeper step in HOST SERVICE SLOW, where boot 23 held PE 0 busy for 101 ms in rtw89_mac_port_cfg_func_sw's msleep(beacon_int + 1) inside the guest network's carrier poll
The 101 ms `HOST SERVICE SLOW part=network` lines of boot 23 (43.674 s and
1017.086 s, each ~260 ms before the host adapter's "link up") are the INFRA
port update of the association: ax/vif.rs cfg_func_sw delayed
(beacon_int + 1) * 1000 us once vif init had turned the port function on,
called from assoc::associate under Live::associate, under the station's
configure, under the keeper's poll, under GuestNetwork::carrier/receive in
the network part of PE 0's service step. Linux sleeps there; here it was a
busy wait on a guest PE.

- vif: port_function_on, quiet_us and port_update_after split the update
  around its wait; port_update keeps the blocking order for vif init.
- assoc: associate_begin and associate_end; associate is begin, wait, end.
- Live: begin_association and finish_association hold the begun
  association with its deadline; Chip::associate now returns Ok(false)
  until it has passed. A begun association leaves as a made one; set_bssid
  and a second association are refused meanwhile; power-off forgets it.
- ax station: configure keeps the admission and is Pending while the chip
  waits; the keeper retries a deferred configure while the radio is still
  Admitted (other radios unchanged).
- Flush without drop polls DLE_TXQ every 100 us instead of 10 ms.
- Link::slowest_step: the keeper times its steps (radio service, eapol and
  keys, port, scan, scan end and join, associate, configure, ...).
- service: the network part's transmit and receive loops stop starting
  frames after 2 ms (service_watch::Budget), the next turn starting at the
  network; HOST SERVICE SLOW part=network carries carrier/queued/transmit/
  receive/deliver us, sent, read, cut and keeper=step:us;
  HOST SERVICE KEEPER names a keeper step of 2 ms or more; the host
  adapter's link up/down line carries keeper_longest=.
2026-11-23 10:39:22 +00:00
2026-11-11 05:11:34 +00:00
2026-11-16 20:09:18 -05:00


Stela

A translation-based Apple Silicon layer for x86-64 PCs. It is a UEFI boot program with an arm64-to-x86-64 translator, a Metal driver for NVIDIA GPUs and a model of Apple silicon hardware. Stela currently presents itself as an M2 Mac mini.

Warning

Stela is still in development. It is slow and still may not boot on supported hardware. Fixes are on the way, please submit a GitHub Issue with your boot logs if you encounter an error!

Translator

An ahead-of-time and just-in-time compiler translates arm64e code to x86-64. It covers more than 3,000 AArch64 instruction encodings, maps guest registers to host registers and caches translated code.

NVIDIA driver

The Metal driver compiles AIR, Metal's shader IR, directly to NIR, Mesa's IR, and supports the Metal3 and Apple7 GPU families.

Hardware requirements

Part Requirement
CPU Intel or AMD x86-64-v2 (Intel Nehalem, AMD Bulldozer or newer). AVX2 and AVX-512 are used when present.
Memory 8 GB or more.
Firmware 64-bit UEFI with Secure Boot off.
GPU NVIDIA GeForce GTX 16 or RTX 20, 30, 40 or 50 series.
Disk NVMe, or SATA in AHCI mode. 60 GB or more for macOS: a GPT partition or a whole disk to erase.
USB stick 8 GB for the Online installer, 32 GB for the Offline installer.
Ethernet Intel I225, I226, I210, I211, I350, 82574L, 82575, 82576, 82579, 82580, I217, I218, I219.
Realtek RTL8111, RTL8168, RTL8169, RTL8411, RTL8125, RTL8126, Killer E2600, E3000.
Broadcom BCM5720, BCM5761, BCM5762.
Aquantia AQC100, AQC107, AQC108, AQC109, AQC111, AQC112, AQC113, AQC114, AQC115C, AQC116C.
Qualcomm Atheros AR8131, AR8132, AR8151, AR8152, AR8161, AR8162, AR8171, AR8172, Killer E2200, E2400, E2500.
USB: Realtek RTL8152, RTL8153, RTL8156, ASIX AX88179, AX88178A, AX88772, CDC ECM and NCM.
Wi-Fi None currently supported.
Bluetooth None currently supported.
Audio None currently supported.
USB xHCI (USB 3) and EHCI controllers, hubs, USB disks.
Input USB keyboards and mice. PS/2 keyboards, mice and Synaptics or Elantech touchpads.

Install

  1. Download stambha from the releases page.
  2. Run sudo ./stambha (Linux, macOS) or double-click stambha.exe (Windows).
  3. Choose the USB stick and the installer, then confirm. This erases the USB stick.
  4. Boot the PC from the USB stick.

Update

Download the new stambha, plug the USB stick in and run:

sudo ./stambha update

On Windows, open Terminal with Run as administrator and run:

.\stambha.exe update

Logs

If Stela does not work, plug the USB stick into any computer with stambha and save the boot log. Include log.txt in your GitHub Issue. Save it before you start Stela again many times: the log keeps the start of each of the last eight boots, but only the latest part of a long run.

sudo ./stambha log --output log.txt

On Windows, open Terminal with Run as administrator and run:

.\stambha.exe log --output log.txt

Build

You need Rust, git, Python 3.10 or newer, and LLVM 21, 22 or 23 with Clang, LLD and libclang. On macOS, Xcode's Apple clang 21 or newer also works.

git clone https://github.com/tylertms/Stela
cd Stela
cargo xtask dist

This writes target/release/stambha. The first build fetches and compiles Linux, Mesa and LLVM sources and takes a long time.

Stela contains no Apple software. You are responsible for following Apple's software license agreement and terms of use.

Stela's code is GPL-2.0-or-later. See LICENSE and NOTICE.

Community

Discord Server

Languages
Rust 89.2%
C 6.9%
Python 2.1%
Objective-C 1%
RenderScript 0.4%
Other 0.2%