Commit Graph
648 Commits
Author SHA1 Message Date
Promethium 5006c150e8 fix(disk): keep every partition in its GPT entry when the installer rewrites a table, where partitions after a gap or after the new one moved to other entries and were renumbered 2026-11-18 03:40:28 -05:00
Tyler Smith ecaee19338 fix(xtask): a release job's build or cargo xtask dist stops when STELA_VRAM_CAP_MIB is set, where it built the test-only memory cap into an image that ships 2026-11-17 19:46:05 -05:00
Tyler Smith 108014fe73 test(gpu): a boot built with STELA_VRAM_CAP_MIB set holds the Metal device to that much device memory, its heaps reporting no more and its allocations running out of memory there, so a GPU with much memory takes the paths of one with little 2026-11-17 19:46:05 -05:00
Daniel Brooks d90a67c676 fix(gpu): fail only a submission amdgpu refuses short of losing the context and keep a lost RADV device unreleased, where any refusal lost the device for every client and its reopen closed RADV's file in the turn every client waits on 2026-11-17 01:22:57 -05:00
Daniel Brooks 428c3cad80 feat(boot): a radv image whose Metal device runs on RADV over the GPU amdgpu binds, built by cargo xtask boot build --radv 2026-11-17 01:22:57 -05:00
LBNM-ONE 1d60fb9d4b feat(gpu): claim an RX 9070 for amdgpu without a reset at claim, from an image built with xtask boot build --amdgpu 2026-11-17 01:22:57 -05:00
Tyler Smith a6f494d7e3 fix(xtask): gpu compilers reads a thin archive's members from their own files and leaves the system's libraries out of the archives it inspects, where Meson 1.10's thin archives and its implicit inputs on libm.a and libdl.a stopped the run after its tests passed 2026-11-16 17:10:30 -05:00
Tyler Smith dd76724be3 test(gpu): a Metal suite case times eight frames sampling a 3840x2160 10-bit 4:2:0 video surface and checks the frames after a CPU write see it 2026-11-16 16:56:32 -05:00
Tyler Smith fda4ece2a2 perf(gpu): a large sampled two-plane IOSurface texture is kept in device memory and copied from its rows only in command buffers that use it after its surface's seed changed or the GPU wrote it, where every sample was a bus read of guest RAM and a 4K video wallpaper cost Mission Control 10-19 ms a frame 2026-11-16 16:56:32 -05:00
Tyler Smith 566b72cb8a fix(gpu): RADV builds a stage given as NIR in VkPipelineShaderStageNirCreateInfoMESA, as Mesa's common pipelines do, from a clone that takes the device's options, and radv-test builds such a pipeline through ACO on each of its 9 devices, where RADV skipped the stage and compiled zero words of SPIR-V for every Metal pipeline 2026-11-16 16:32:13 -05:00
Tyler Smith 823ae097a7 fix(intel): ANV reads storage images without a format below Gfx12.5 through its shader conversion by default, so Tiger Lake to Raptor Lake give Metal read-write texture tier 2, and anv-test builds a pipeline from NIR through BRW per platform, where the conversion was on only for Android and the Metal device refused Gen12.0 (Mesa patch 0030) 2026-11-16 16:32:13 -05:00
Tyler Smith b8e95bdcf8 test(gpu): cargo xtask gpu anv-test says per platform which of the Metal device's Vulkan requirements ANV lacks, where it created only a plain device and never showed that the Metal device refuses ANV on every platform 2026-11-16 16:32:13 -05:00
Tyler Smith bc1d8fbdbc fix(gpu): a release build (STELA_RELEASE) fails with the reason when the host cannot build a Vulkan driver the image gives its GPUs, named by each driver's released flag, where it built an image without that driver as a developer's build does 2026-11-16 13:17:46 -05:00
Tyler Smith 0404e30d26 fix(mesa): crates/stela-mesa is a workspace of its own, so cargo xtask check formats it and its std crate in a git worktree nested in the main checkout, where Cargo took that checkout's root as their workspace and both format steps failed 2026-11-16 13:17:46 -05:00
Tyler Smith 865c48e476 fix(gpu): a host whose mesa_clc build fails, as on a pkg-config file naming libdrm headers that are not there, builds the image without the Vulkan drivers that need it and names the first compiler error once, where the failure stopped cargo xtask gpu nvk 2026-11-16 10:57:56 -05:00
Tyler Smith d970f08f43 test(gpu): cargo xtask gpu radv-test builds RADV for the host with the image's options and runs it over Mesa's amdgpu no-op DRM shim through Stela's libdrm stand-in and libdrm_amdgpu from its unchanged sources, creating the device, compiling an ACO compute pipeline and submitting one dispatch for nine AMD GPUs from GFX8 to GFX12, each amdgpu ioctl counted and checked against Stela's amdgpu 2026-11-16 10:41:48 -05:00
Tyler Smith fb806f922a feat(gpu): the image's Mesa build adds RADV with ACO as one more entry of its driver table when the build host has the tools, with libdrm_amdgpu built from libdrm's unchanged sources over the DRM calls compat/mesa/drm.c serves, RADV's entry and its clashing symbols under their own names, and RADV's own NIR options for metal::amd::DRIVER, with tests; AMD's stack still gives no Vulkan driver 2026-11-16 10:41:48 -05:00
Tyler Smith 31f72536fb refactor(gpu): the host tests of the image's Vulkan drivers share one module for Mesa's host configuration, the test program's compile and link, the host's libdrm and the kernel driver's ioctl table, which ANV's test now uses, so a second driver's test is its driver, shim, program and devices alone 2026-11-16 10:41:48 -05:00
Tyler Smith ed4f478bac test(gpu): cargo xtask gpu anv-test builds ANV for the host with the image's options and runs it over an xe no-op DRM shim through Stela's libdrm stand-in, creating the device, compiling a BRW compute pipeline and submitting one dispatch for six xe platforms, each xe ioctl checked against Stela's xe 2026-11-16 10:41:48 -05:00
Tyler Smith 0e2bcf964a feat(gpu): the image's Mesa build adds ANV with BRW beside NVK when the build host has what its build runs, mesa_clc and vtn_bindgen2 built here for the host and glslang, with ANV's loader entry compiled under its own name and checked against NVK's symbols, and says once why ANV is not built otherwise; Intel's stack names ANV's entry only in an image that holds it 2026-11-16 10:41:48 -05:00
Tyler Smith 1a22c6e35d fix(gpu): the image's C library has dl_iterate_phdr, which finds no ELF object, imaxabs, openat in the current directory, a refusing mkfifoat and ENOBUFS, so Meson's probe finds dl_iterate_phdr and ANV's units compile, where ANV's configuration stopped and the build forced the probe's define 2026-11-16 10:41:48 -05:00
Tyler Smith 55731fcad6 build(gpu): a change of Meson's options configures Mesa again from its own record of them, and a unit whose compile command changed is compiled again, where the first removed every GPU build tree, LLVM's and the C library's included, and a new probe result kept a unit's old object 2026-11-16 10:41:48 -05:00
Tyler Smith 5a4b43b41f fix(oracles): the manifest binds the 570.211.01 live NVIDIA provisioning test to STELA_NVIDIA_570_211_TEST, where the ignored test was unbound and the oracle manifest check failed 2026-11-16 08:42:21 -05:00
Tyler Smith 104d6d9814 test(compiler): a manual host benchmark times one transfer through a stamped tail, a cell tail, an empty cell and a lookup tail of one to a thousand targets, in one native run or in short runs, where no benchmark compared the paths a transfer to another page takes 2026-11-16 04:58:04 -05:00
Tyler Smith b11703fb2c test(gpu): the Metal suite renders a pass shaped as a path coverage pass, with varyings without perspective and an output to color attachment 1 alone under early fragment tests, where no case covered the pipeline whose shader program header a GB203 refused 2026-11-16 03:20:59 -05:00
Tyler Smith 8bef08364c fix(gpu): a shared depth or stencil texture is made with a CPU copy that CPU writes reach the image from at the next commit and CPU reads copy the image out on the GPU, and a shared combined depth-stencil texture is made for blits alone, where every shared texture of a format without host image copy was refused and a pass with a shared Depth32Float target failed 2026-11-16 03:20:59 -05:00
Tyler Smith 98591b7229 test(engine): a manual replay runs the PAC memo on eight PEs with their census against threads that keep to their PE, hot call paths of a shared library and B keys per process or thread, and against a memo all PEs share, where the only model ran one PE with a few processes and short call trees 2026-11-16 03:19:35 -05:00
Tyler Smith 34e7e85a65 perf(compiler): on AES-NI hosts blocks and PAC thunks compute signings, successful authentications and PACGA with the cipher's AES rounds from key schedules and layouts the PAC service keeps, where every PAC instruction looked up a 2 MiB memo per PE and a miss called the service 2026-11-16 03:19:35 -05:00
Daniel Brooks 9e02237a50 fix(guest): build the Metal plugin without objc_msgSend selector stubs on a Clang that emits them, Apple's or LLVM's from 23, where plugin::link left their objc_msgSend$ symbols undefined and WindowServer's dlopen of the plugin failed 2026-11-15 20:51:39 -05:00
Tyler Smith 726c2b0628 perf(compiler): a guest call pushes a frame and calls its own exit, and a return to the frame's address in its contexts and retire epoch takes a host ret into the call's continuation, where every RET took the lookup tail's indirect jump, which the VM does not predict 2026-11-15 20:01:35 -05:00
Tyler Smith acbaa30509 test(compiler): an opt-in census writes each sampled block's system-mode code and its process code under the value allocator, to bound what the allocator saves system-mode blocks 2026-11-15 19:05:37 -05:00
Tyler Smith 19e59e3ff6 feat(boot): --profile prints a PES PAC line of memo misses by key, by signing, authentication and PACGA and by whether no PE, this PE or another PE computed the result before, PES PMU prints nat~= from the PES WHERE samples where no window measured native code alone, and PES WHERE leads with its host instruction and cycle totals 2026-11-15 19:05:37 -05:00
Tyler Smith 90a89d2019 test(gpu): the two-plane extended-range suite case also reads back a 512x256 surface, whose encode goes through staging memory, where only a surface under the staging size was checked 2026-11-15 18:07:52 -05:00
Tyler Smith 3c7160255b perf(gpu): a plain global store is weak in NAK and the Metal suite checks store order and times stores and loads in Shared and Private buffers, where every plain store was strong at GPU scope 2026-11-15 17:28:33 -05:00
Tyler Smith 9d2826a778 perf(engine): give each PAC key its own memo generation, hash call trees apart and keep two entries a set in a 64K-entry memo, where one process switch closed every key's entries and a call tree's signings shared a few slots 2026-11-15 16:13:48 -05:00
Tyler Smith ea6b151889 test(compiler): trace the host instructions real blocks execute, inline, out of line and outside the block, in an opt-in test that runs each sampled block once under the trap flag 2026-11-15 16:13:34 -05:00
Tyler Smith 1ba21e0397 perf(engine): complete native timer writes that lower a raised EL2 virtual timer, leaving waiting the interrupts the engine finds without its FIQ, where every write under the timer's own FIQ exited and the handler's ERET then exited too 2026-11-15 15:00:28 -05:00
Tyler Smith fab9ee425f perf(engine): keep an ERET record per state for returns within EL2 beside the one for returns to EL0, so a kernel's returns to its processes and from its own exceptions both complete natively, where the two shared one record and every other ERET took the engine path 2026-11-15 15:00:28 -05:00
Tyler Smith 8bdb07940e test(compiler): time on the host a native entry into a device site's stub and its return, as the bare-metal entry makes them, which come to 2.7 ns 2026-11-15 07:10:22 -05:00
Tyler Smith f0d97c85a4 perf(engine): complete an access at a device site with the instruction and page translation its last access there kept, valid while the native device reads' key holds, where every access decoded the word twice and walked the tables 2026-11-15 07:10:22 -05:00
Tyler Smith f744c54670 test(soc): bind the SPI NOR access timing test in the oracle manifest 2026-11-15 04:49:20 -05:00
Tyler Smith 7782e73b28 test(compiler): bind the two host timing tests in the oracle manifest and build the flag model helpers only where their Linux test runs 2026-11-15 04:42:14 -05:00
Louis-Philippe Gauthier d72f84de03 perf(net): present the guest network as a USB NCM adapter 2026-11-15 03:30:46 -05:00
Tyler Smith d5fc4d52ed fix(gpu): tell CoreVideo the guest has no universal buffer compression with a one-shot job that sets disable-buffer-compression in the global preferences, where a CPU painter's lossless page tiles drew as stripes 2026-11-14 15:55:26 -05:00
Tyler Smith 4b74720045 fix(topology): declare ApplePMGR's harvested CPU mode when CPUs are pruned from the device tree, where hosts with fewer than 8 threads panicked in setCPUCoreEnergyAccumulator because the PMGR still numbered all 8 cores 2026-11-14 06:27:21 -05:00
Tyler Smith 55eed344a9 feat(gpu): log each process's accelerator open result and the plugin's pre-gate failure step to the guest console once 2026-11-14 01:33:59 -05:00
Tyler Smith 991f79b2e5 refactor(boot): remove install mode's stage, which wrote a payload copy nothing reads to a disk through the firmware's block I/O, with its staging format and xtask runs 2026-11-14 01:33:59 -05:00
Tyler Smith a4b93fdfaf fix(xtask): assemble the boot fixture again when CLANG changes, and read an empty CLANG as unset 2026-11-14 01:33:59 -05:00
Tyler Smith c9665292ba fix(cli): drop the removed repair --fetch, --fetch and setup spellings from hints, errors and comments 2026-11-14 01:33:58 -05:00
Tyler Smith ada142ad13 perf(compiler): decode WKdm pages with no branch on each word's tag, selecting its candidates by masks, with a manual decode bench over distinct mixed pages 2026-11-12 10:42:08 -05:00