8869 Commits
Author SHA1 Message Date
Garvit Surana 78052d244c docs(readme): what's next after 0.6.2 (laptop battery, lid and keys in testing; AMD and Intel already in the main download), and the experimental Wi-Fi chips in the requirements
ci / format (push) Waiting to run
ci / check (macos) (push) Waiting to run
ci / check (linux) (push) Waiting to run
ci / check (windows) (push) Waiting to run
2026-12-01 00:25:40 +05:30
Garvit Surana fc1ea681ea docs(readme): Stambha 0.6.2 is out, one download for NVIDIA, AMD and Intel graphics, with AX211 and MT7925 Wi-Fi experimental 2026-12-01 00:03:58 +05:30
Garvit Surana 6534091473 style(xtask): read a symbolized function's words as 4-byte arrays (as_chunks), where clippy 1.99's chunks_exact_to_as_chunks failed xtask's lane on the forward-branch scan 2026-11-30 16:36:45 +00:00
Garvit Surana a83916afc6 test(gpu): the ANV sampler cap's bounds hold at compile time, where clippy's test lane refused an assertion on constants 2026-11-30 16:36:45 +00:00
Garvit Surana 570e6a050a fix(wifi): the BIOS reads PR #48 takes at probe are kept only for the 51f1 bring-up with an ACPI companion, and its tests build them as the gate holds them, where the gate's first form left driver-net's native-acpi test lane unbuilt 2026-11-30 16:36:45 +00:00
Garvit Surana 2f1291f95c merge: stambha main (its README front page, CONTRIBUTING, SECURITY, issue and PR templates, and assets) into release/0.6.2, keeping main's README, so 0.6.2 reaches main as a fast-forward, where main never held 0.6.0 or 0.6.1's code and a push of the release would have replaced its front page 2026-11-30 16:04:26 +00:00
Garvit Surana 3a1b52d0c8 style: format the 0.6.2 additions as rustfmt does (#47's firmware recipe test, #38's pkgconf choice and sampler test, #48's tests and its AX211 gate, the I219 state line test), where cargo fmt --check failed 2026-11-30 16:03:22 +00:00
Garvit Surana c9dd9c0d84 fix(wifi): PR #48's Intel CNVi bring-up runs on the AX211 at 8086:51f1 alone (its APM link bits set unread, its BIOS tables read at probe, attach waiting for its NVM address, setup past AX200's, the country, scan, queue and link changes after it), and every other Intel card takes the path it had, where the PR changed them for every Intel family
The AX211 stopped at Power(Rejected { register: 256, mask: 8388608 }); rqffael's PR takes it through association on his Latitude 5340. The predicate is identity::cnvi_bring_up, one PCI device, carried on the profile; tests of other models take it through a test-only hook, and new tests pin an AX210 still refused at setup and the masks off for every other device. The PR's later revision moves the address wait into GuestNetwork::open for every adapter with no address yet, which would change other cards, so the wait stays in attach, for 51f1 alone.
2026-11-30 16:02:37 +00:00
Garvit Surana e25309ac5e test: declare candidate 2's four by-hand engine timings and replays in the oracle manifest (fetch_path_cost, the Finder window's parts and nursery and two-slides replays, and the kept-forms replay), fetch_path_cost's ignore reason the canonical manual one, where xtask's manifest test failed on the first unbound ignored test 2026-11-30 15:51:19 +00:00
rqffael 8ed7b415c7 wifi: mask EHT and pre-assoc HE flags in Intel MLD LINK_CONFIG_CMD (PR #48) 2026-11-30 15:46:26 +00:00
rqffael 56a874489a wifi: accept TX_QUEUE_CFG_ENABLE_QUEUE flag bit in Intel SCD_QUEUE_CONFIG_CMD reply (PR #48) 2026-11-30 15:46:26 +00:00
rqffael 402a052b1f wifi: set beacon interval in Intel MLD LINK_CONFIG_CMD before activation (PR #48) 2026-11-30 15:46:26 +00:00
rqffael 92cf419fc7 wifi: defer LAR country-update notifications during Intel scan and PHY setup (PR #48) 2026-11-30 15:46:26 +00:00
rqffael f2de37cb77 wifi: adopt matching firmware MCC and handle world-domain MCC_RESP_ILLEGAL (PR #48) 2026-11-30 15:46:26 +00:00
rqffael f0c7654b9c wifi: allow AX210 and newer Intel families through setup and management queue (PR #48) 2026-11-30 15:46:26 +00:00
rqffael 64e3ad81e1 wifi: report iwlwifi bring-up phase and error via Link::diagnostic (PR #48) 2026-11-30 15:46:26 +00:00
rqffael 6c0beaed81 wifi: prefetch Intel ACPI BIOS tables during probe inside ACPICA continuation (PR #48) 2026-11-30 15:46:26 +00:00
rqffael e5ee1b07b0 wifi: wait for Intel NVM MAC address during attach before returning Link (PR #48) 2026-11-30 15:46:26 +00:00
rqffael dca606762a wifi: match Linux iwl_trans_set_bit without readback for APM link workaround CSRs (PR #48) 2026-11-30 15:46:26 +00:00
Garvit Surana d719b795d4 feat(boot): the GPU's own Linux backlight takes the brightness keys, and a dark panel is raised at the display's start, only with --panel-backlight, off unless given, where PR #40 sent every laptop's keys to the first Linux raw backlight, nouveau's among them, ahead of ACPI's _BCM 2026-11-30 15:46:13 +00:00
Federico Bricca cb10003d43 feat(gpu): drive native Linux DRM panel backlight from hardware brightness keys (PR #40) 2026-11-30 15:44:46 +00:00
rqffael 6231e73524 xtask: prefer host pkgconf over pkg-config wrapper for mesa_clc (PR #38) 2026-11-30 15:44:21 +00:00
rqffael 56f2f00aa2 metal: cap ANV's bindless sampler descriptors at 4096, twice Metal tier 2's 2048 and past NVK's 4000, where ANV's 65,536 kept a pool most of which no app reaches in the integrated GPU's share; other drivers keep their own counts (PR #38) 2026-11-30 15:44:21 +00:00
Garvit Surana ac39fbf462 fix(e1000e): the I219's register dump names how many sent frames the MAC wrote back with a collision or underrun flag, for the SPT/CNP I219s whose guest DHCP goes unanswered (italiano, Diamond Master) 2026-11-30 15:44:21 +00:00
Garvit Surana ba4a30e67b test(cli): the built bundle holds 471 files and 246.6 MiB, as the AX211 Bluetooth firmware and its DDC (2 files, 721,061 bytes) add to every build's count, where four setup tests still expected 469 files and 245.9 MiB 2026-11-30 15:42:45 +00:00
Garvit Surana d7cd4c3c1c test(cli): a stick that refuses the shorter log file holds the NVIDIA loader its free room was counted without, so the larger loader's update shrinks the 32 MiB log to 8 MiB and the refusal is what keeps it, where with no loader on the stick the log was kept before the write and the test failed wherever the folder really refuses writes (CI, not root) 2026-11-30 15:42:45 +00:00
Garvit Surana c772346d32 fix(xtask): the hosted RADV corpus run's loader names no system-memory placement, where the merge of candidate 2's NVK system-memory reopen and test 7's first-submission check left its initializer without the field and xtask did not compile 2026-11-30 15:42:45 +00:00
BluePhi09 f7e7b755d7 fix(boot): the PC's devices start sooner, as a PC with no software-managed USB4 host no longer waits 700 ms for USB4 domains to go quiet and an xHCI's connected root ports are enumerated before its empty ones wait out the connect settle time, where the boot stick waited 400 ms more than its debounce; the boot log names USB Bluetooth firmware loads and the ACPI platform devices, whose time it charged to the last controller started, and the startup choices' help text says a key pressed right away opens them too 2026-11-30 14:10:52 +00:00
MGKFN 02e1291365 fix(boot): the performance summary names the balanced preference and the boot processor's new minimum
Review fixes for --cpu-balanced: the HOST PERFORMANCE line said
preference=performance even when the Intel requests took the balanced
preference, and the boot processor's second request added its new
minimum to the range beside its first, so requested_minimum read
lowest-highest. request_again now replaces that processor's minimum
(Tally::replace_minimum) without counting it again, while it is the only
processor recorded; the line names preference=balanced under
INTEL_BALANCED where a processor took an HWP request.

(PR #53)
2026-11-30 13:31:38 +00:00
MGKFN feebe6223a feat(boot): --cpu-balanced lets Intel cores slow down, where a power-limited laptop starves its GPU
On a 15 W Intel laptop (i5-1235U, Iris Xe) every core is held at its
highest HWP level, so the package sits at PL1 and the integrated GPU
runs at 100 MHz. WindowServer then fills its GPU memory budget and is
killed during Setup Assistant (as in #35).

--cpu-balanced keeps each core's highest level but sets the minimum to
its lowest and the energy preference to 0x80 (balanced), so idle cores
drop their clocks and the package budget reaches the GPU. The boot
processor asks again once the options are read; the APs take the
balanced request from the start. Off unless given.

(PR #53)
2026-11-30 13:31:38 +00:00
Garvit Surana d80d69f760 release: Stambha 0.6.2 2026-11-30 13:24:03 +00:00
Garvit Surana 3089d6d843 fix(gpu): a posted call no Linux task has taken is withdrawn after 400 ms, still under XNU's half second and past the 200 ms a held fence wait keeps, where at 300 ms the boot processor's GPU pump, held 350 to 364 ms on a UHD 630 and an Iris Xe, had GPU call 0x40086409 withdrawn with ETIMEDOUT and WindowServer crashed after the Language Chooser (antuneddu and rqffael, issue #52) 2026-11-30 13:21:55 +00:00
Garvit Surana 6c7d35c14c fix(soc): the stop for a USB-C port controller image that neither the boot bundle nor the board's flash holds says the flash is in the machine-state area a copied disk or a reset of it lacks, that macOS would have no keyboard, pointer, USB network or Bluetooth without it, and that Install macOS writes it again and erases that disk, where it said only that an install fills the flash and okakatel228's copied disk stopped at every boot with no way forward 2026-11-30 13:18:14 +00:00
Garvit Surana 611cd2cfec fix(memory): the memory plan leaves out an NVIDIA GPU older than Turing that the firmware catalog has no chip for, which the claim refuses, so the integrated GPU beside it is planned as the GPU that draws with its full share of RAM, where an i5-1035G1 laptop's UHD Graphics drew beside a refused GeForce MX330 as its fallback, budgeted to 2248M of heap pages with 1605M for Metal, ran out at 1080p and WindowServer died (android_artisan) 2026-11-30 13:13:04 +00:00
rqffael 8243769072 bluetooth: accept Intel WRITE_DDC completion payload matching Linux btintel_load_ddc_config 2026-11-30 13:06:39 +00:00
rqffael c8d5b785f1 bluetooth: accept Intel bootup notification payload matching Linux btintel_bootup 2026-11-30 13:06:39 +00:00
rqffael b38276efcc firmware: bundle Intel TLV Bluetooth firmware for AX211 (ibt-0040-0041) 2026-11-30 13:06:39 +00:00
rqffael a21723dd95 bluetooth: allow Intel TLV bootloaders to omit optional CNVR_BT (0x13), DEV_REV_ID (0x16), and Debug Lock (0x2c) 2026-11-30 13:06:39 +00:00
Federico Bricca d11c88cf51 feat(hle): report PES HLE summary on shutdown when --hle is active 2026-11-30 13:06:34 +00:00
Federico Bricca e81adba3c4 feat(hle): extend forward-branching functions in xtask and add oracle-verified bzero for 26B123 2026-11-30 13:06:34 +00:00
Federico Bricca 866ea1d327 feat(hle): add oracle-verified __platform_memmove signature for macOS 26B123 2026-11-30 13:06:33 +00:00
Federico Bricca 02a0910176 fix(hle): match __platform_* symbols, allow dst==src memmove in oracle, and support 16 KiB guest leaves 2026-11-30 13:06:33 +00:00
Federico Bricca 5905646972 fix(acpi): enter loader root before clock/dispatch checks in call_owned so guest-loop ACPI polling works 2026-11-30 13:06:33 +00:00
Federico Bricca 4ba29ab465 fix(ioapic): skip Unit-claimed pins during verify_contained so --acpi-hardware SCI does not block PCI/GPU bring-up 2026-11-30 13:06:33 +00:00
Federico Bricca 641bec4f11 fix(smc): mark little-endian battery keys with SMC_ATTR_LITTLE_ENDIAN and notify on state changes 2026-11-30 13:06:33 +00:00
Federico Bricca 1fe07ab181 fix(wifi): drop WrongPeer/WrongChannel/Unsupported station frames in MediaTek policy link 2026-11-30 13:06:33 +00:00
Garvit Surana 740703f15f feat(app): the macOS app shows itself as Stambha, with the pillar icon, in its name, window, menus, dialogs and report, and keeps its bundle identifier and executable, so an installed copy updates in place, where it still showed Stela and Stela's icon 2026-11-30 13:06:03 +00:00
Garvit Surana e6d9a9ac0c merge fork/062-intel-test7 (Intel tests 3 to 7: i915 and xe with ANV beside NVK and amdgpu with RADV, the iGPU memory share, GuC and CCS controls) into release/0.6.2, keeping candidate 2's --share-aliases, --host-cursor and NVK system-memory placement beside test 7's --i915-guc and first-submission check 2026-11-30 13:05:49 +00:00
Garvit Surana 02ccd767e9 fix(gpu): run ANV with Gen12's CCS aux compression off (INTEL_DEBUG=noccs), as RADV runs without DCC, with --intel-ccs to keep it on and a boot log line saying which, where CCS under the Metal device's unified image layouts drew garbled UI on Iris Xe and ended in 10 s context resets for GPU hang (found by rqffael, issue #35)
rqffael's Latitude 5340 (i7-1365U, Iris Xe 8086:a7a1) drew corrupted UI
and lost its GPU to "context reset due to GPU hang" until he set
INTEL_DEBUG=noccs in the C library's environment beside
ANV_SYS_MEM_LIMIT; after it the session ran more than 13 minutes and
8,465 submissions with no hang, ENOMEM or crash. RADV already runs with
DCC off for the same unified layouts, where an image a copy fills and a
shader samples read back blank.

getenv now answers INTEL_DEBUG=noccs unless the boot keeps CCS on
(stela_libc_intel_ccs, from the hand-written --intel-ccs option); nothing
else sets INTEL_DEBUG. The display's scanout buffers and the shared
IOSurface images are linear-modifier images, so nothing assumes a CCS
modifier. The kernel fixes his issue lists are in the series already:
0236 takes the guc_id before the lock and 0237 the i915_active node
before the tree's lock, as his patches do.

Reported-by: rqffael <https://github.com/rqffael>
2026-11-27 18:47:23 +00:00
Garvit Surana cf2fb49d08 fix(boot): say after the chosen startup choice that its line in choices.cfg runs in place of stela.cfg's, where test 6's instructions had dev64 add --gpu-strict-families to stela.cfg, which a boot through choices.cfg never reads, and his strict boot still claimed Apple4
With \EFI\stela\choices.cfg on the stick, stela.efi boots the chosen
entry's options line (NAME, a tab, the options) and reads none of
stela.cfg's; stela.cfg holds the default entry for a boot without
choices. The boot log now says which line ran, and test 7's instructions
name choices.cfg.
2026-11-27 18:47:23 +00:00