Files
darling-lol/upstream/manifest.json
T
lucannez64andClaude Opus 5.5 40f7a650d1 Report the host GPU name and VRAM from MTLDevice
-[MTLDevice name] returned "Darling Indium Device" for every GPU. It now
returns the selected Vulkan device's name in macOS Metal style: the
trailing driver note in brackets and the (R)/(TM) marks are removed, and
NVIDIA names are unchanged. The name is never replaced with another
vendor's. recommendedMaxWorkingSetSize is the device-local heap size on
discrete GPUs and all heaps on integrated/CPU devices, with the old 1 GiB
as fallback. Both are computed once per device.

hasUnifiedMemory stays YES by default: synchronizeResource:/
synchronizeTexture: are missing and Private buffers created with data
abort in Indium, so reporting NO on discrete GPUs would send apps down
unimplemented paths. DARLING_METAL_HOST_UNIFIED_MEMORY=1 opts in to the
GPU-type answer. DARLING_METAL_GPU_NAME and DARLING_METAL_VRAM_MB
override the name and working set.

The cleaning logic lives in private-include/Metal/MTLDeviceInfo.h and is
covered by the host check tools/test-metal-device-info.cpp. Metal now
links indium_private for the Vulkan properties, and the runtime build
script adds Indium's private headers before compiling MTLDevice.mm.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-17 20:49:42 +02:00

323 lines
12 KiB
JSON

{
"schema": 1,
"upstream": "https://github.com/darlinghq/darling.git",
"revision": "60ba801decee7a00782f74f6be4c8ffb013f79ff",
"components": [
{
"path": ".",
"revision": "60ba801decee7a00782f74f6be4c8ffb013f79ff",
"repository": "https://github.com/darlinghq/darling.git",
"patch": "patches/darling.patch",
"modified_files": 88,
"new_files": [
"src/CoreAudio/CoreAudio/AudioConverterShim.c",
"src/CoreAudio/AudioTrace.h",
"src/CoreAudio/CoreAudioComponent/MatrixMixerAU.cpp",
"src/frameworks/Carbon/HIToolbox/src/SecureInput.c",
"src/frameworks/CoreMedia/include/CoreMedia/CMFormatDescription.h",
"src/frameworks/CoreServices/src/LaunchServices/LSHostOpen.c",
"src/frameworks/CoreServices/src/LaunchServices/LSHostOpen.h",
"src/frameworks/CoreServices/src/LaunchServices/LSHostOpenBus.c",
"src/frameworks/CoreServices/src/LaunchServices/LSHostOpenBus.h",
"src/frameworks/CryptoTokenKit/src/TKTokenWatcher.m",
"src/frameworks/OpenDirectory/src/ODLocalDirectory.h",
"src/frameworks/OpenDirectory/src/ODLocalDirectory.m",
"src/frameworks/OpenGL/CGLAsyncPresent.inc",
"src/frameworks/OpenGL/include/OpenGL/DarlingNativePresent.h",
"src/startup/mldr/commpage-cpu-caps.h"
]
},
{
"path": "src/external/IOKitUser",
"revision": "534684e6748dffbd875c6cd1942477a52b66a077",
"repository": "https://github.com/darlinghq/darling-iokituser.git",
"patch": "patches/IOKitUser.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/Libinfo",
"revision": "93d242ce3f86d1de67522279edb3a2dcb23f30c7",
"repository": "https://github.com/darlinghq/darling-Libinfo.git",
"patch": "patches/Libinfo.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/OpenDirectory",
"revision": "67a8ad2ed0b06775bf53839446e2df7d49ab1c96",
"repository": "https://github.com/darlinghq/darling-opendirectory.git",
"patch": "patches/OpenDirectory.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/cocotron",
"revision": "c8d38d16a9f613d300157bebbab2b9501bc0c274",
"repository": "https://github.com/darlinghq/darling-cocotron.git",
"patch": "patches/cocotron.patch",
"modified_files": 104,
"new_files": [
"QuartzCore/include/QuartzCore/CATransformLayer.h",
"AppKit/NSGeometryTrace.h"
]
},
{
"path": "src/external/compiler-rt",
"revision": "5fd9bc0effa307b99b35da59ce579e8e031c22da",
"repository": "https://github.com/darlinghq/darling-compiler-rt.git",
"patch": "patches/compiler-rt.patch",
"modified_files": 2,
"new_files": []
},
{
"path": "src/external/configd",
"revision": "98e52de19c52f7938e581ed20385f38abd7fa197",
"repository": "https://github.com/darlinghq/darling-configd.git",
"patch": "patches/configd.patch",
"modified_files": 2,
"new_files": []
},
{
"path": "src/external/corecrypto",
"revision": "875f1cd9e75b0029d872b88ce8a77da276c00c84",
"repository": "https://github.com/darlinghq/darling-corecrypto.git",
"patch": "patches/corecrypto.patch",
"modified_files": 4,
"new_files": []
},
{
"path": "src/external/corefoundation",
"revision": "a3640a77410cf1825f7855172b1551ae7917c461",
"repository": "https://github.com/darlinghq/darling-corefoundation.git",
"patch": "patches/corefoundation.patch",
"modified_files": 5,
"new_files": []
},
{
"path": "src/external/curl",
"revision": "92f54fd7eceabed2c2382a4acc0f7293dedd92ff",
"repository": "https://github.com/darlinghq/darling-curl.git",
"patch": "patches/curl.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/darlingserver",
"revision": "89751e64bc6c2082f7725061824ee0e33395b0de",
"repository": "https://github.com/darlinghq/darlingserver.git",
"patch": "patches/darlingserver.patch",
"modified_files": 36,
"new_files": [
"duct-tape/src/fileport.c"
]
},
{
"path": "src/external/foundation",
"revision": "55a4341b470c2a56fea667c1d2167fb074226f04",
"repository": "https://github.com/darlinghq/darling-foundation.git",
"patch": "patches/foundation.patch",
"modified_files": 4,
"new_files": []
},
{
"path": "src/external/iokitd",
"revision": "5549ac4cd2db923c256f016a1381b3bfb716730a",
"repository": "https://github.com/darlinghq/darling-iokitd.git",
"patch": "patches/iokitd.patch",
"modified_files": 16,
"new_files": [
"src/IOInterestNotification.h",
"src/IOInterestNotification.mm",
"src/IOPMrootDomain.h",
"src/IOPMrootDomain.mm",
"src/IOPlatformExpertDevice.h",
"src/IOPlatformExpertDevice.mm",
"src/LogindSleep.c",
"src/LogindSleep.h",
"src/PowerSources.mm",
"src/HostPowerInhibit.c",
"src/HostPowerInhibit.h"
]
},
{
"path": "src/external/libcxxabi",
"revision": "c9c851718eb304a9aefa097aeaaf8c3bd1dff1bc",
"repository": "https://github.com/darlinghq/darling-libcxxabi.git",
"patch": "patches/libcxxabi.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/libdispatch",
"revision": "380f03c180b80d940134fb35783ddc714784a53a",
"repository": "https://github.com/darlinghq/darling-libdispatch.git",
"patch": "patches/libdispatch.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/libkqueue",
"revision": "b0795a2e1dab5331116770139bfea8d832478f5f",
"repository": "https://github.com/darlinghq/darling-libkqueue.git",
"patch": "patches/libkqueue.patch",
"modified_files": 13,
"new_files": []
},
{
"path": "src/external/libmalloc",
"revision": "a57991e2651226a675654bd96e5d9ab6bec288c5",
"repository": "https://github.com/darlinghq/darling-libmalloc.git",
"patch": "patches/libmalloc.patch",
"modified_files": 2,
"new_files": []
},
{
"path": "src/external/libnetwork",
"revision": "56c5fad43f24a40d8ca7f8a1d0badedfeaf7e64e",
"repository": "https://github.com/darlinghq/darling-libnetwork.git",
"patch": "patches/libnetwork.patch",
"modified_files": 2,
"new_files": []
},
{
"path": "src/external/libnotify",
"revision": "98156d3f847a3ced6c5f52c12a889047bc4f9b20",
"repository": "https://github.com/darlinghq/darling-Libnotify.git",
"patch": "patches/libnotify.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/libplatform",
"revision": "5a3e5b529d25c70257dcfa97e94f1826e71e9f40",
"repository": "https://github.com/darlinghq/darling-libplatform.git",
"patch": "patches/libplatform.patch",
"modified_files": 6,
"new_files": [
"private/platform/string_avx2.h"
]
},
{
"path": "src/external/libpthread",
"revision": "f07f265bfbcf071c1adfc808de971e053ea5edc5",
"repository": "https://github.com/darlinghq/darling-libpthread.git",
"patch": "patches/libpthread.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/libresolv",
"revision": "cf955392e5449efb269b8b3510c755085fd36a2d",
"repository": "https://github.com/darlinghq/darling-libresolv.git",
"patch": "patches/libresolv.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/libtrace",
"revision": "8cf07f02b15f7dca6436882a03678fff0392eaf6",
"repository": "https://github.com/darlinghq/darling-libtrace.git",
"patch": "patches/libtrace.patch",
"modified_files": 1,
"new_files": []
},
{
"path": "src/external/libxpc",
"revision": "394e033333d3c253a12f08a99090c113b0917d00",
"repository": "https://github.com/darlinghq/darling-libxpc.git",
"patch": "patches/libxpc.patch",
"modified_files": 3,
"new_files": []
},
{
"path": "src/external/metal",
"revision": "ae20248dc144beab899e38752f5a530f28a0ea56",
"repository": "https://github.com/darlinghq/darling-metal.git",
"patch": "patches/metal.patch",
"modified_files": 27,
"new_files": [
"include/Metal/MTLArgument.h",
"include/Metal/MTLBlitCommandEncoder.h",
"include/Metal/MTLExceptionBridge.h",
"include/Metal/MTLTrace.h",
"private-include/Metal/MTLArgumentInternal.h",
"private-include/Metal/MTLBlitCommandEncoderInternal.h",
"private-include/Metal/MTLDepthStencilInternal.h",
"private-include/Metal/MTLDeviceInfo.h",
"private-include/Metal/MTLSamplerStateInternal.h",
"private-include/Metal/MTLVertexDescriptorInternal.h",
"src/Metal/MTLArgument.mm",
"src/Metal/MTLBlitCommandEncoder.mm"
]
},
{
"path": "src/external/objc4",
"revision": "1a12df76d12bfc9fdfffadb290f7742763568765",
"repository": "https://github.com/darlinghq/darling-objc4.git",
"patch": "patches/objc4.patch",
"modified_files": 2,
"new_files": []
},
{
"path": "src/external/security",
"revision": "3cfffcf2c5b5900169c964facdf42cc05c23005c",
"repository": "https://github.com/darlinghq/darling-security.git",
"patch": "patches/security.patch",
"modified_files": 9,
"new_files": []
},
{
"path": "src/external/xnu",
"revision": "fa29287aa2f0115271e091f1031f53c9e024005d",
"repository": "https://github.com/darlinghq/darling-xnu.git",
"patch": "patches/xnu.patch",
"modified_files": 64,
"new_files": [
"darling/src/libsystem_kernel/emulation/include/common/cpu_topology.h",
"darling/src/libsystem_kernel/emulation/include/common/private_mutex.h",
"darling/src/libsystem_kernel/emulation/include/common/slowwait.h",
"darling/src/libsystem_kernel/emulation/include/conversion/xattr/name.h",
"darling/src/libsystem_kernel/emulation/include/xnu_syscall/bsd/impl/guarded/change_fdguard_np.h",
"darling/src/libsystem_kernel/emulation/include/xnu_syscall/bsd/impl/misc/mac_syscall.h",
"darling/src/libsystem_kernel/emulation/src/xnu_syscall/bsd/impl/guarded/change_fdguard_np.c",
"darling/src/libsystem_kernel/emulation/src/xnu_syscall/bsd/impl/misc/mac_syscall.c",
"libsyscall/wrappers/__sysctlbyname.S"
]
},
{
"path": "src/external/metal/deps/indium",
"revision": "8423a7d2f053167030d2bc4a227f96243c740667",
"repository": "https://github.com/darlinghq/indium.git",
"patch": "patches/metal--deps--indium.patch",
"modified_files": 36,
"new_files": [
"private-include/indium/counters.private.hpp",
"private-include/indium/deferred-blit-encoder.private.hpp",
"private-include/indium/deferred-render-encoder.private.hpp",
"private-include/indium/gpu-timing.private.hpp",
"private-include/indium/memory-pool.private.hpp",
"private-include/indium/outline-chain.private.hpp",
"private-include/indium/render-pass-key.private.hpp",
"private-include/indium/resource-owner-cache.private.hpp",
"private-include/indium/retirement-queue.private.hpp",
"private-include/indium/submission-batch.private.hpp",
"private-include/indium/submit-batch.private.hpp",
"private-include/indium/submit-thread.private.hpp",
"private-include/indium/waits.private.hpp"
]
},
{
"path": "src/external/cfnetwork",
"revision": "e7e3db881008d883f82914765a72ce842bcba735",
"repository": "https://github.com/darlinghq/darling-cfnetwork.git",
"patch": "patches/cfnetwork.patch",
"modified_files": 1,
"new_files": []
}
],
"omitted": [
"src/external/swift (local deletion of prebuilt Swift files, not a runtime source change)"
]
}