diff --git a/guest/bundle/src/RgfxCaps.hpp b/guest/bundle/src/RgfxCaps.hpp index e61835591..0d7383d98 100644 --- a/guest/bundle/src/RgfxCaps.hpp +++ b/guest/bundle/src/RgfxCaps.hpp @@ -212,8 +212,7 @@ std::string rgfxFamilyNameOf(const char *name); std::string rgfxVendorNameOf(const char *name); /// The `name` an x86-64 guest's Metal device answers where the host names its GPU `hostName` -/// (the device info's name, NUL-terminated): the kext's x86-64 name (rgfxX86Name, -/// guest/kext/src/RgfxDeviceName.hpp), which the kext states as the GPU's `model` too. That is +/// (the device info's name, NUL-terminated): rgfxX86Name (guest/kext/src/RgfxDeviceName.hpp). It is /// "AMD - " and the host's name with the vendor words "Intel" and "NVIDIA" taken out, in any /// case, each with a mark directly after it ("(R)", "(TM)", "®", "™") and then one space, on /// every type of GPU (integrated, discrete, virtual, CPU, other): "AMD - Iris(R) Xe Graphics diff --git a/guest/bundle/src/RgfxMetalDevice.mm b/guest/bundle/src/RgfxMetalDevice.mm index cba4f1c03..15136a8f6 100644 --- a/guest/bundle/src/RgfxMetalDevice.mm +++ b/guest/bundle/src/RgfxMetalDevice.mm @@ -1519,7 +1519,7 @@ static NSString *rgfxHostNameOf(const RgfxCaps &caps) return @"reims-graphics"; } -// On an x86-64 guest the x86-64 name, the kext's `model` there (rgfxMetalNameOf): "AMD - " and the +// On an x86-64 guest the Metal compatibility name (rgfxMetalNameOf): "AMD - " and the // host's name without "Intel" and "NVIDIA", on every type of GPU: "AMD - GeForce RTX 3090", // "AMD - Iris(R) Xe Graphics (RPL-P)". On an arm64 guest the host's name. - (NSString *)name diff --git a/guest/kext/src/RgfxAccelerator.cpp b/guest/kext/src/RgfxAccelerator.cpp index 674f1b826..b87a595a4 100644 --- a/guest/kext/src/RgfxAccelerator.cpp +++ b/guest/kext/src/RgfxAccelerator.cpp @@ -551,9 +551,7 @@ bool RgfxAccelerator::start(IOService *provider) setProperty("VRAM,totalMB", memory.vramMB, 32); } } - // The GPU's name, as a Mac's GPU states it (RgfxDeviceName.hpp): `model` on the PCI device, - // which System Information shows as its Chipset Model. On an arm64 guest a host that gave no - // name has none stated. + // The host GPU's name as the PCI `model` that System Information shows as its Chipset Model. { uint8_t model[kRgfxDeviceModelMax]; const size_t length = readDeviceModel(model); diff --git a/guest/kext/src/RgfxAccelerator.hpp b/guest/kext/src/RgfxAccelerator.hpp index 11f546630..660018f0d 100644 --- a/guest/kext/src/RgfxAccelerator.hpp +++ b/guest/kext/src/RgfxAccelerator.hpp @@ -432,7 +432,7 @@ public: // false where the region is not mapped. bool readMemorySize(RgfxMemorySize *out) const; // The GPU's `model` bytes, from the host's device name (RgfxDeviceName.hpp): how many, 0 - // where the region is not mapped or, on an arm64 guest, the host gave no name. + // where the region is not mapped or the host gave no name. size_t readDeviceModel(uint8_t (&out)[kRgfxDeviceModelMax]) const; // Shared events' ports (RgfxSharedEventUserClient.hpp): the client of ours that holds context diff --git a/guest/kext/src/RgfxDeviceName.hpp b/guest/kext/src/RgfxDeviceName.hpp index 9144c9c96..a2d706694 100644 --- a/guest/kext/src/RgfxDeviceName.hpp +++ b/guest/kext/src/RgfxDeviceName.hpp @@ -1,9 +1,7 @@ -// RgfxDeviceName: the GPU name the kext states to the guest, from the host's device name in the -// device info (RgfxDeviceInfo's name_len and name, written at RGFX_DEVICE_INFO_OFFSET when the -// device is made). On an arm64 guest it is the host's name whole. On an x86-64 guest it is the -// x86-64 name (rgfxX86Name): "AMD - " and the host's name without the vendor words "Intel" and -// "NVIDIA", on every host GPU. The bundle's Metal device answers the same name as its `name` -// on either guest (rgfxMetalNameOf, guest/bundle/src/RgfxCaps.hpp). +// RgfxDeviceName: the PCI model the kext states to the guest and the compatibility name the +// x86-64 Metal bundle answers. Both use the host's name from RgfxDeviceInfo. The PCI model +// keeps the host's name on both architectures. The x86-64 Metal name adds "AMD - " and drops +// the vendor words "Intel" and "NVIDIA" (rgfxX86Name, used by the bundle's rgfxMetalNameOf). // // A Mac's GPU states its name as its IOPCIDevice's `model`, an OSData of the name's bytes, which // System Information shows as the GPU's "Chipset Model"; without one it shows "Graphics" and the @@ -11,9 +9,8 @@ // 630's `model` is its 22 bytes and a NUL, the AMD Radeon Pro 5300M's its 20 bytes with none, // and System Information names both. So the kext sets `model` as the Intel's is: the name's // bytes, then a NUL. The host's name is its first name_len bytes (at most RGFX_DEVICE_NAME_LEN), -// cut at a NUL among them. On an arm64 guest, a host that gave no name (name_len 0, or a NUL -// first) has none stated; on an x86-64 guest it has "AMD - reims-graphics", as the bundle -// answers. +// cut at a NUL among them. The kext publishes no model when the host supplies no name +// (name_len 0 or a NUL first). // // Why the x86-64 name holds no vendor word: WindowServer's compositor (SkyLight, read from its // code) takes a Metal device whose name holds "Intel" for an Intel GPU, and then scales a @@ -25,9 +22,8 @@ // macOS 26.7.2 and 15.8.2. The compositor's other test, a name holding "NVIDIA", is the other // vendor word: without either, every host takes the path of an AMD GPU's Mac. // -// Header-only and free of the kernel's headers, so its native tests (tests/device_name_test.cpp, -// built for the x86-64 kext's rules and, as device_name_arm64_test, the arm64e kext's) build it -// as the kext does, and the bundle builds rgfxX86Name as the kext does. +// Header-only and free of the kernel's headers, so the native tests and Metal bundle can +// build it too. // // Our own code; it depends only on the committed wire header. #ifndef RGFX_DEVICE_NAME_HPP_ @@ -38,10 +34,6 @@ #include #include -#ifndef RGFX_GUEST_ARM64 -#define RGFX_GUEST_ARM64 0 -#endif - // The bytes of RgfxDeviceInfo the kext reads for the name: from name_len to the name's end. static constexpr uint64_t kRgfxDeviceNameFirst = offsetof(RgfxDeviceInfo, name_len); static constexpr uint64_t kRgfxDeviceNameEnd = offsetof(RgfxDeviceInfo, name) + RGFX_DEVICE_NAME_LEN; @@ -54,8 +46,8 @@ static constexpr size_t kRgfxX86NamePrefixLen = sizeof(kRgfxX86NamePrefix) - 1; // The most bytes of an x86-64 name: the prefix, a whole name field and a NUL. static constexpr size_t kRgfxX86NameMax = kRgfxX86NamePrefixLen + RGFX_DEVICE_NAME_LEN + 1; -// The most bytes of `model`: the x86-64 name's, the longer of the two guests'. -static constexpr size_t kRgfxDeviceModelMax = kRgfxX86NameMax; +// The most bytes of `model`: the full name field and a NUL. +static constexpr size_t kRgfxDeviceModelMax = RGFX_DEVICE_NAME_LEN + 1; // The vendor words the x86-64 name holds none of, and the marks it takes out with one directly // before them: "(R)" and "(TM)", and the UTF-8 of "®" and "™". In lower case: each matches in @@ -138,7 +130,7 @@ inline size_t rgfxX86Name(const uint8_t *name, size_t length, char (&out)[kRgfxX return kRgfxX86NamePrefixLen + n; } -// `model`'s bytes on an arm64 guest into `out`, from a name_len and the name field's +// `model`'s bytes into `out`, from a name_len and the name field's // RGFX_DEVICE_NAME_LEN bytes: the host's name and a NUL. How many, its NUL counted, or 0 when // the host gave no name. inline size_t rgfxDeviceModel(uint32_t nameLen, const uint8_t *name, uint8_t (&out)[kRgfxDeviceModelMax]) @@ -155,23 +147,14 @@ inline size_t rgfxDeviceModel(uint32_t nameLen, const uint8_t *name, uint8_t (&o return n + 1; } -// `model`'s bytes on an x86-64 guest into `out`, from a name_len and the name field's -// RGFX_DEVICE_NAME_LEN bytes: the x86-64 name (rgfxX86Name) and a NUL. How many, its NUL -// counted; never 0. -inline size_t rgfxDeviceModelX86(uint32_t nameLen, const uint8_t *name, uint8_t (&out)[kRgfxDeviceModelMax]) -{ - return rgfxX86Name(name, nameLen, reinterpret_cast(out)) + 1; -} - -// `model`'s bytes out of the device info's bytes from kRgfxDeviceNameFirst to kRgfxDeviceNameEnd, -// as the kext's guest takes them (RGFX_GUEST_ARM64). +// `model`'s bytes out of the device info span. inline size_t rgfxDeviceModelFrom(const uint8_t *span, uint8_t (&out)[kRgfxDeviceModelMax]) { uint32_t nameLen = 0; for (unsigned i = 0; i < sizeof(nameLen); i++) nameLen |= static_cast(span[i]) << (8 * i); const uint8_t *name = span + (offsetof(RgfxDeviceInfo, name) - kRgfxDeviceNameFirst); - return RGFX_GUEST_ARM64 ? rgfxDeviceModel(nameLen, name, out) : rgfxDeviceModelX86(nameLen, name, out); + return rgfxDeviceModel(nameLen, name, out); } #endif // RGFX_DEVICE_NAME_HPP_ diff --git a/guest/kext/tests/device_name_test.cpp b/guest/kext/tests/device_name_test.cpp index ee1971cfe..75df997b0 100644 --- a/guest/kext/tests/device_name_test.cpp +++ b/guest/kext/tests/device_name_test.cpp @@ -1,10 +1,5 @@ -// The native test of RgfxDeviceName.hpp: the `model` bytes the kext states on the PCI device, from -// the host's device name, as each guest's kext takes it (built twice: device_name_test for the -// x86-64 kext, device_name_arm64_test with RGFX_GUEST_ARM64 for the arm64e kext). Both cut the -// host's name at its length, at the field and at a NUL, and end it with a NUL, as an Intel Mac's -// Intel UHD Graphics 630 states its own (measured, macOS 26.7.1). The arm64e kext states the -// host's name whole, and none for no name. The x86-64 kext states the x86-64 name, "AMD - " and -// the host's name without "Intel" and "NVIDIA", and "AMD - reims-graphics" for no name. +// The native test of the PCI model bytes the kext publishes on either architecture. +// The bytes come from the host name, bounded by its length, field size, and any NUL. #include "RgfxDeviceName.hpp" #include @@ -43,40 +38,18 @@ bool is(const uint8_t *model, size_t n, const char *want) return n == len + 1 && !std::memcmp(model, want, len) && model[len] == 0; } -#if !RGFX_GUEST_ARM64 -// Whether `s` holds "intel" or "nvidia" in any ASCII case. -bool holdsVendorWord(const uint8_t *s, size_t n) -{ - for (size_t i = 0; i < n; i++) { - for (const char *vendor : kRgfxVendorWords) { - if (rgfxMatchAnyCase(s + i, n - i, vendor)) - return true; - } - } - return false; -} - -// The x86-64 name of `host` through the device info. -bool x86NameIs(const char *host, const char *want) -{ - uint8_t model[kRgfxDeviceModelMax]; - const size_t n = fromDeviceInfo(static_cast(std::strlen(host)), host, std::strlen(host), model); - return is(model, n, want) && !holdsVendorWord(model, n); -} -#endif } // namespace int main() { uint8_t model[kRgfxDeviceModelMax]; const char intel[] = "Intel UHD Graphics 630"; - const char nvidia[] = "NVIDIA GeForce RTX 5080 Laptop GPU"; + const char nvidia[] = "NVIDIA GeForce RTX 5090"; uint8_t full[RGFX_DEVICE_NAME_LEN]; for (size_t i = 0; i < sizeof(full); i++) full[i] = static_cast('A' + i % 26); size_t n = 0; -#if RGFX_GUEST_ARM64 // A host GPU's name: its bytes and a NUL, as the Intel GPU's 23 bytes of `model`. n = fromDeviceInfo(22, intel, 22, model); check(n == 23, "a 22-byte name is 23 bytes of model"); @@ -108,49 +81,6 @@ int main() // A NUL inside the length: the name up to it. n = fromDeviceInfo(10, "AMD\0Radeon", 10, model); check(is(model, n, "AMD"), "a NUL inside the length ends the name"); -#else - // A host GPU's name: "AMD - " and the name without its vendor words, then a NUL. - check(x86NameIs(intel, "AMD - UHD Graphics 630"), "Intel's word and its space go"); - check(x86NameIs(nvidia, "AMD - GeForce RTX 5080 Laptop GPU"), "NVIDIA's word and its space go"); - check(x86NameIs("Intel(R) Iris(R) Xe Graphics (RPL-P)", "AMD - Iris(R) Xe Graphics (RPL-P)"), - "a mark after the word goes with it; a later one stays"); - check(x86NameIs("Intel(R) UHD Graphics 630 (CFL GT2)", "AMD - UHD Graphics 630 (CFL GT2)"), - "the UHD 630 on Linux"); - check(x86NameIs("Intel(R) Arc(tm) A770 Graphics (DG2)", "AMD - Arc(tm) A770 Graphics (DG2)"), - "the A770"); - check(x86NameIs("NVIDIA GeForce RTX 3090", "AMD - GeForce RTX 3090"), "the 3090"); - check(x86NameIs("AMD Radeon 780M Graphics (RADV PHOENIX)", - "AMD - AMD Radeon 780M Graphics (RADV PHOENIX)"), - "an AMD GPU's name whole"); - check(x86NameIs("intel(tm) nViDiA\xc2\xae X\xe2\x84\xa2", "AMD - X\xe2\x84\xa2"), - "any case and either UTF-8 mark; a mark after no word stays"); - check(x86NameIs("InNVIDIAtel(R) X", "AMD - X"), "a word that taking one out leaves goes too"); - check(x86NameIs("Mesa Intel", "AMD - Mesa "), "a word at the end; the space before it stays"); - - // No name, or nothing left: "reims-graphics" after the prefix; a NUL first is no name. - check(fromDeviceInfo(0, intel, 22, model) == 21 && is(model, 21, "AMD - reims-graphics"), - "name_len 0 is AMD - reims-graphics"); - n = fromDeviceInfo(5, "\0abcd", 5, model); - check(is(model, n, "AMD - reims-graphics"), "a NUL first is no name"); - check(x86NameIs("NVIDIA", "AMD - reims-graphics"), "a name of a vendor word alone leaves none"); - check(x86NameIs("Intel(R) ", "AMD - reims-graphics"), "a word, its mark and its space leave none"); - - // A whole field, 256 bytes and no NUL in it: the prefix, all of them, then a NUL. - n = fromDeviceInfo(RGFX_DEVICE_NAME_LEN, full, sizeof(full), model); - check(n == kRgfxDeviceModelMax, "a full field is the prefix, 256 bytes and a NUL"); - check(!std::memcmp(model, "AMD - ", 6) && !std::memcmp(model + 6, full, sizeof(full)) && - model[kRgfxDeviceModelMax - 1] == 0, - "every byte of a full field after the prefix, NUL-ended"); - // A length past the field reads the field alone, never the bytes after it (architecture_name). - n = fromDeviceInfo(UINT32_MAX, full, sizeof(full), model); - check(n == kRgfxDeviceModelMax && model[kRgfxDeviceModelMax - 1] == 0, "a length past the field is cut to it"); - - // A length short of the name: its first bytes; a NUL inside the length ends it. - n = fromDeviceInfo(11, nvidia, sizeof(nvidia) - 1, model); - check(is(model, n, "AMD - GeFo"), "name_len bounds the name before its words go"); - n = fromDeviceInfo(10, "AMD\0Radeon", 10, model); - check(is(model, n, "AMD - AMD"), "a NUL inside the length ends the name"); -#endif // The span the kext reads holds name_len and the whole field, and lies inside the device info. check(kRgfxDeviceNameFirst == offsetof(RgfxDeviceInfo, name_len), "the span starts at name_len"); @@ -158,6 +88,6 @@ int main() "the span ends at the name field's end"); check(kRgfxDeviceNameEnd <= sizeof(RgfxDeviceInfo), "the span ends inside the device info"); - std::printf("device_name_test: OK (%d checks, %s kext)\n", checks, RGFX_GUEST_ARM64 ? "arm64e" : "x86-64"); + std::printf("device_name_test: OK (%d checks)\n", checks); return 0; } diff --git a/guest/prebuilt-arm64e/ReimsGraphics.kext/Contents/MacOS/ReimsGraphics b/guest/prebuilt-arm64e/ReimsGraphics.kext/Contents/MacOS/ReimsGraphics index 36dc92790..e57a79dc2 100755 Binary files a/guest/prebuilt-arm64e/ReimsGraphics.kext/Contents/MacOS/ReimsGraphics and b/guest/prebuilt-arm64e/ReimsGraphics.kext/Contents/MacOS/ReimsGraphics differ diff --git a/guest/prebuilt-arm64e/set.toml b/guest/prebuilt-arm64e/set.toml index ce71a3a24..255e46a82 100644 --- a/guest/prebuilt-arm64e/set.toml +++ b/guest/prebuilt-arm64e/set.toml @@ -24,7 +24,7 @@ Arch = "arm64e" MinKernel = "23.0.0" MaxKernel = "" Comment = "The reims-graphics display and accelerator" -sha256 = "33a086b90fa116b3cf0c6bb826c27f8a55cd83f15522ee794e20186d469bdbc7" +sha256 = "efacd163e0b230f95ce7a43c05c87771e504137ffd6d675a14468cddc7865605" [[kext]] BundlePath = "RgfxGate.kext" diff --git a/guest/prebuilt-arm64e/sources.toml b/guest/prebuilt-arm64e/sources.toml index 2942eb38d..d1f31cfce 100644 --- a/guest/prebuilt-arm64e/sources.toml +++ b/guest/prebuilt-arm64e/sources.toml @@ -3,8 +3,8 @@ # when a source or an output differs from its SHA-256 here (guest/tools/prebuilt.py). # [built] records the local toolchain; every input is in the tree. [built] -xcode = "Xcode 27.2 Build version 27B52" -sdk = "MacOSX27.2.sdk" +xcode = "unknown" +sdk = "MacOSX.sdk" clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" [sources] @@ -27,7 +27,7 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "guest/bundle/src/RgfxBuffer.h" = "4b54841a30b0559c424b8aed06fcd5edd7c172cda1bf9fd5c892e30dc066ec7d" "guest/bundle/src/RgfxBuffer.mm" = "360a494bb58668c4c66ce468b8ac39a10ccdad16e97a538ef48a6c8fa7cadbec" "guest/bundle/src/RgfxCaps.cpp" = "d6020aeff1adcef0b74e9bbc51dea8d849f88355e019927ee9e8fb96a3007d12" -"guest/bundle/src/RgfxCaps.hpp" = "7063a6821533fdf44d66b4363aa14ba3a4d5321b2f3df62e2e3ff16ea9764a48" +"guest/bundle/src/RgfxCaps.hpp" = "4c8e0dba604b37d4509f54518f24337090fab595c5ed12c15d13298ad195f5dd" "guest/bundle/src/RgfxClMode.cpp" = "c5d5127ef251d119cb104015676d16a475f615680b83d48eba32c48b76e39a5c" "guest/bundle/src/RgfxClMode.hpp" = "138c803295021645c2854f3e9cb34dac96d485719d5447151ff9168c698e7a1a" "guest/bundle/src/RgfxCommandObjects.h" = "cd504d3df8e3560758a926d31742e052bdda77e76c2c2c23e2dc6ae07346b9bc" @@ -111,7 +111,7 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "guest/bundle/src/RgfxMetalDevice+Unsupported.mm" = "a424349b2a969a53609b34ae3f4b72cc2e2c9378605ba780520eeb22643c535c" "guest/bundle/src/RgfxMetalDevice+Video.mm" = "aa53c5a15243b11155c9342ab1c7867ff5e19ced9272471f9ea76e95db01d9af" "guest/bundle/src/RgfxMetalDevice.h" = "92708ff70a7693edebc6402a8c68fa16ed1982c27d885a74ac56f6a92b4a10a9" -"guest/bundle/src/RgfxMetalDevice.mm" = "420bd3f1c54f87eb33d27e62427b4b1c967af8976193dd8f01b02794839e3fe8" +"guest/bundle/src/RgfxMetalDevice.mm" = "f1fa5b4c56b61766dd0f89f63be3eeeef51d927b51eef0065c7c79f3de50bcdc" "guest/bundle/src/RgfxMetalError.h" = "e4440b3c0d0617ad118f16aa56fc9cfb0e7ebbf0ef2d3f8e16b27df9fd1f9803" "guest/bundle/src/RgfxMetalPrivate.h" = "18196f21ce0808a37c8d8913fab72e16e032c7c73064b6a81618bb9f06a478f2" "guest/bundle/src/RgfxMetallibWriter.cpp" = "a9f0e9a4a2ef80729470051130d201806f59d0c4d1803129a3662e4afc389f13" @@ -333,8 +333,8 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "guest/kext/src/ReimsGraphicsMobile.cpp" = "b73a2e5f5b061453817c5d0b18211a2d0782f5971f02d90b0fb7f930365086de" "guest/kext/src/ReimsGraphicsPointer.cpp" = "255f049c3a5244a148d80fd25ef3388001ba180c58901e3620451c3158908f0e" "guest/kext/src/RgfxAccelTypes.hpp" = "c65e032a617cda503b2534c68bec87947d7856accda676f35a1affa145998259" -"guest/kext/src/RgfxAccelerator.cpp" = "319e1148d2644e922ed2c30859019392764c9e64328594c1f593c5c4fe890030" -"guest/kext/src/RgfxAccelerator.hpp" = "2711b9225040feae3e45bb8057a60b30f5d17d83d953eadc82c2db91e83e28c5" +"guest/kext/src/RgfxAccelerator.cpp" = "e05bf13fb97b0e2fbc133dc83c451dd6b063323c8f2b26d67e82b8de9912ecd4" +"guest/kext/src/RgfxAccelerator.hpp" = "148d63554b5a5eaaaf280651d0f493b3741dbaf444808554f88af0e6bc670ce8" "guest/kext/src/RgfxAcceleratorContexts.cpp" = "77f39e6d4750dfb0f1ff5a614b9d419362f159a8eac48b18673181a01d3f0451" "guest/kext/src/RgfxAcceleratorLocks.cpp" = "171e708b5fb87abbf39423aa08fb0343ca8dd1777f47e125288a296940667124" "guest/kext/src/RgfxAcceleratorSurfaces.cpp" = "54c72029acb78f19cc41e80ab1e646b1bb402af45ec0f073dc07eb2236f5baa0" @@ -358,7 +358,7 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "guest/kext/src/RgfxDeferredAnswers.hpp" = "b7b62b567e38da8ce27d89aa47b1001f56f8f7afeda0def2b550b1f7ad9b18c6" "guest/kext/src/RgfxDeviceControl.cpp" = "53c7c6a722ef4d7edeb5756eb04091d4a56f397dc5aef83c3637b1c0f129b934" "guest/kext/src/RgfxDeviceControl.hpp" = "c1357b80ee2141e1e2fd57213f3c9361cb497b8c6490a0b6aff8c64649be48c6" -"guest/kext/src/RgfxDeviceName.hpp" = "b242e0ccdce31c3c454bc3a4d64b13c30e574b25379a0833973dcecbbb1146d3" +"guest/kext/src/RgfxDeviceName.hpp" = "7085045ea0c9ca3215e58ea43f0a23309a9ba8145e9c2d5ede541093a293f9c1" "guest/kext/src/RgfxDisplayBounds.hpp" = "c1e8fe52f89bcb25ee178f4e0ea4ac53396109fd934348408692d21d1931ecf7" "guest/kext/src/RgfxDisplayIdentity.hpp" = "ce4328b8e255f942aea0f0dc097e2e80eb4a8d7e126ea0f342fd116252357731" "guest/kext/src/RgfxDisplayModes.hpp" = "62026ac6fa3febe5ce403fbfe026760f0434b70cc47e5d74c191fa5509ae12cd" @@ -464,7 +464,7 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "Graft-arm64e.kext/Contents/Info.plist" = "fa8533d5ec06430f3ede502e6f9e739e9c8c3f6b6909c46d854effe6028cbc7f" "Graft-arm64e.kext/Contents/MacOS/Graft" = "2f405e84ddd1414b6ac32e813a4369a6d4681d9c6e7331b933bb719761b1a31a" "ReimsGraphics.kext/Contents/Info.plist" = "9683153587659c4bd4d5c52167eff1f3d2ae51dae575f60c15a27d89240f46c5" -"ReimsGraphics.kext/Contents/MacOS/ReimsGraphics" = "33a086b90fa116b3cf0c6bb826c27f8a55cd83f15522ee794e20186d469bdbc7" +"ReimsGraphics.kext/Contents/MacOS/ReimsGraphics" = "efacd163e0b230f95ce7a43c05c87771e504137ffd6d675a14468cddc7865605" "RgfxGate.kext/Contents/Info.plist" = "7b78d915fab4d36e6cdb3f40aa2a6c1e7224f30158ee879af23451d2e6969992" "RgfxGate.kext/Contents/MacOS/RgfxGate" = "deb1696453b7d754547abc24e3fa30e5affea059bd19d2d732bee243054a300e" -"set.toml" = "a4da2409f25dd7bf12260de752c38c474b60d4b2d993810a44de0f4b07cb6dfd" +"set.toml" = "a0be05b8801df322a6d2276bb41821682c473157227fa29c7aef46e5ff171868" diff --git a/guest/prebuilt/ReimsGraphics.kext/Contents/MacOS/ReimsGraphics b/guest/prebuilt/ReimsGraphics.kext/Contents/MacOS/ReimsGraphics index bce4fcadd..55f4d5ce2 100755 Binary files a/guest/prebuilt/ReimsGraphics.kext/Contents/MacOS/ReimsGraphics and b/guest/prebuilt/ReimsGraphics.kext/Contents/MacOS/ReimsGraphics differ diff --git a/guest/prebuilt/set.toml b/guest/prebuilt/set.toml index 02d020880..2c178836e 100644 --- a/guest/prebuilt/set.toml +++ b/guest/prebuilt/set.toml @@ -24,7 +24,7 @@ Arch = "x86_64" MinKernel = "20.0.0" MaxKernel = "" Comment = "The reims-graphics display, accelerator and device control" -sha256 = "d0277f202173dcecc35bce8aa2ec84cd9d53759a0fd34c26e913bcd65a191d50" +sha256 = "c8b23bcde87d6d0415d09cbdf47ad444afe0c0ea2f51dca1a4583be8bea75f6e" [[kext]] BundlePath = "RgfxGate.kext" diff --git a/guest/prebuilt/sources.toml b/guest/prebuilt/sources.toml index dfe9ba1ec..dddc23943 100644 --- a/guest/prebuilt/sources.toml +++ b/guest/prebuilt/sources.toml @@ -3,8 +3,8 @@ # when a source or an output differs from its SHA-256 here (guest/tools/prebuilt.py). # [built] records the local toolchain; every input is in the tree. [built] -xcode = "Xcode 27.2 Build version 27B52" -sdk = "MacOSX27.2.sdk" +xcode = "unknown" +sdk = "MacOSX.sdk" clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" [sources] @@ -27,7 +27,7 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "guest/bundle/src/RgfxBuffer.h" = "4b54841a30b0559c424b8aed06fcd5edd7c172cda1bf9fd5c892e30dc066ec7d" "guest/bundle/src/RgfxBuffer.mm" = "360a494bb58668c4c66ce468b8ac39a10ccdad16e97a538ef48a6c8fa7cadbec" "guest/bundle/src/RgfxCaps.cpp" = "d6020aeff1adcef0b74e9bbc51dea8d849f88355e019927ee9e8fb96a3007d12" -"guest/bundle/src/RgfxCaps.hpp" = "7063a6821533fdf44d66b4363aa14ba3a4d5321b2f3df62e2e3ff16ea9764a48" +"guest/bundle/src/RgfxCaps.hpp" = "4c8e0dba604b37d4509f54518f24337090fab595c5ed12c15d13298ad195f5dd" "guest/bundle/src/RgfxClMode.cpp" = "c5d5127ef251d119cb104015676d16a475f615680b83d48eba32c48b76e39a5c" "guest/bundle/src/RgfxClMode.hpp" = "138c803295021645c2854f3e9cb34dac96d485719d5447151ff9168c698e7a1a" "guest/bundle/src/RgfxCommandObjects.h" = "cd504d3df8e3560758a926d31742e052bdda77e76c2c2c23e2dc6ae07346b9bc" @@ -111,7 +111,7 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "guest/bundle/src/RgfxMetalDevice+Unsupported.mm" = "a424349b2a969a53609b34ae3f4b72cc2e2c9378605ba780520eeb22643c535c" "guest/bundle/src/RgfxMetalDevice+Video.mm" = "aa53c5a15243b11155c9342ab1c7867ff5e19ced9272471f9ea76e95db01d9af" "guest/bundle/src/RgfxMetalDevice.h" = "92708ff70a7693edebc6402a8c68fa16ed1982c27d885a74ac56f6a92b4a10a9" -"guest/bundle/src/RgfxMetalDevice.mm" = "420bd3f1c54f87eb33d27e62427b4b1c967af8976193dd8f01b02794839e3fe8" +"guest/bundle/src/RgfxMetalDevice.mm" = "f1fa5b4c56b61766dd0f89f63be3eeeef51d927b51eef0065c7c79f3de50bcdc" "guest/bundle/src/RgfxMetalError.h" = "e4440b3c0d0617ad118f16aa56fc9cfb0e7ebbf0ef2d3f8e16b27df9fd1f9803" "guest/bundle/src/RgfxMetalPrivate.h" = "18196f21ce0808a37c8d8913fab72e16e032c7c73064b6a81618bb9f06a478f2" "guest/bundle/src/RgfxMetallibWriter.cpp" = "a9f0e9a4a2ef80729470051130d201806f59d0c4d1803129a3662e4afc389f13" @@ -333,8 +333,8 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "guest/kext/src/ReimsGraphicsMobile.cpp" = "b73a2e5f5b061453817c5d0b18211a2d0782f5971f02d90b0fb7f930365086de" "guest/kext/src/ReimsGraphicsPointer.cpp" = "255f049c3a5244a148d80fd25ef3388001ba180c58901e3620451c3158908f0e" "guest/kext/src/RgfxAccelTypes.hpp" = "c65e032a617cda503b2534c68bec87947d7856accda676f35a1affa145998259" -"guest/kext/src/RgfxAccelerator.cpp" = "319e1148d2644e922ed2c30859019392764c9e64328594c1f593c5c4fe890030" -"guest/kext/src/RgfxAccelerator.hpp" = "2711b9225040feae3e45bb8057a60b30f5d17d83d953eadc82c2db91e83e28c5" +"guest/kext/src/RgfxAccelerator.cpp" = "e05bf13fb97b0e2fbc133dc83c451dd6b063323c8f2b26d67e82b8de9912ecd4" +"guest/kext/src/RgfxAccelerator.hpp" = "148d63554b5a5eaaaf280651d0f493b3741dbaf444808554f88af0e6bc670ce8" "guest/kext/src/RgfxAcceleratorContexts.cpp" = "77f39e6d4750dfb0f1ff5a614b9d419362f159a8eac48b18673181a01d3f0451" "guest/kext/src/RgfxAcceleratorLocks.cpp" = "171e708b5fb87abbf39423aa08fb0343ca8dd1777f47e125288a296940667124" "guest/kext/src/RgfxAcceleratorSurfaces.cpp" = "54c72029acb78f19cc41e80ab1e646b1bb402af45ec0f073dc07eb2236f5baa0" @@ -358,7 +358,7 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "guest/kext/src/RgfxDeferredAnswers.hpp" = "b7b62b567e38da8ce27d89aa47b1001f56f8f7afeda0def2b550b1f7ad9b18c6" "guest/kext/src/RgfxDeviceControl.cpp" = "53c7c6a722ef4d7edeb5756eb04091d4a56f397dc5aef83c3637b1c0f129b934" "guest/kext/src/RgfxDeviceControl.hpp" = "c1357b80ee2141e1e2fd57213f3c9361cb497b8c6490a0b6aff8c64649be48c6" -"guest/kext/src/RgfxDeviceName.hpp" = "b242e0ccdce31c3c454bc3a4d64b13c30e574b25379a0833973dcecbbb1146d3" +"guest/kext/src/RgfxDeviceName.hpp" = "7085045ea0c9ca3215e58ea43f0a23309a9ba8145e9c2d5ede541093a293f9c1" "guest/kext/src/RgfxDisplayBounds.hpp" = "c1e8fe52f89bcb25ee178f4e0ea4ac53396109fd934348408692d21d1931ecf7" "guest/kext/src/RgfxDisplayIdentity.hpp" = "ce4328b8e255f942aea0f0dc097e2e80eb4a8d7e126ea0f342fd116252357731" "guest/kext/src/RgfxDisplayModes.hpp" = "62026ac6fa3febe5ce403fbfe026760f0434b70cc47e5d74c191fa5509ae12cd" @@ -464,7 +464,7 @@ clang = "Apple clang version 21.0.0 (clang-2100.4.1.1)" "Graft.kext/Contents/Info.plist" = "fa8533d5ec06430f3ede502e6f9e739e9c8c3f6b6909c46d854effe6028cbc7f" "Graft.kext/Contents/MacOS/Graft" = "04a1d44c0c80c20a71f3a662c46b56a1732b8134f095fb2ac57ec790f72baf72" "ReimsGraphics.kext/Contents/Info.plist" = "ae0dafd3b6c36c24d1c92467d8203d76360eb6e4f6ad5c496167a21033b2c209" -"ReimsGraphics.kext/Contents/MacOS/ReimsGraphics" = "d0277f202173dcecc35bce8aa2ec84cd9d53759a0fd34c26e913bcd65a191d50" +"ReimsGraphics.kext/Contents/MacOS/ReimsGraphics" = "c8b23bcde87d6d0415d09cbdf47ad444afe0c0ea2f51dca1a4583be8bea75f6e" "RgfxGate.kext/Contents/Info.plist" = "7b78d915fab4d36e6cdb3f40aa2a6c1e7224f30158ee879af23451d2e6969992" "RgfxGate.kext/Contents/MacOS/RgfxGate" = "90d8327eb2243b820dd90ce29e4be79a80516f3e6341137b76e9b575ea3d10eb" -"set.toml" = "49182c19c3d961b251901e19a09016df684f1f102527a0d3274697eaaf3dbab5" +"set.toml" = "dcdad1148a389c4be577c0641f3f3942031df313983e09f5a445cb783a7e6a42"