Xcode Version 14.1 (14B47) + iPhone12ProMax 16.2beta still do not get mtlp-json by metal-source (with or without air-lipo), below is the command:
xcrun metal-source -flatbuffers=json binaryArchive_1007_iOS16_.metallib -o ./descriptors3.mtlp-json
xcrun air-lipo binaryArchive_1007_iOS16_.metallib -thin applegpu_g13p -output applegpu_g13p.metallib
xcrun metal-source -flatbuffers=json applegpu_g13p.metallib -o ./descriptors3.mtlp-json
both of them got the same result(three binary, no json files):
descriptors3.mtlp-json
~metallib
~~98C2A0BE-8A64-3CD2-B587-B427709ACDA7.metallib
~object
~~0-0.metallib
~~1-0.metallib
Post
Replies
Boosts
Views
Activity
I have got the same result, does there any solution now?
xcrun -sdk macosx metal-source -flatbuffers=json binaryArchive_1007_iOS16_0_4000000000000f_ec60895_810997981_2154888147.metallib -o ./descriptors.mtlp-json
Then I also try to use the directory "descriptors.mtlp-json" as **** ,and failed:
SHINESHWANG-MC0:ios16 shineshwang$ xcrun -sdk macosx metal-tt fpstrunk1_sf_metal.0.metallib descriptors.mtlp-json -o ba0.metallib
applegpu-nt: cannot read 'descriptors.mtlp-json'
metal-tt: applegpu-nt command failed
Sorry, It is my fault, I reload the binary archive for a different pso...
Ignore...
Thank you
Hi,
Thank you for the quick response.
I just double checked it, and some interesting things happened, below are the scenarios:
1.install the app, reboot, start the app with instrument immediately, and some strange part “Create MTLibrary(mediaserverd)” with grey color occured.
2.install the app, reboot, start some other apps, play some minutes, and then start the app with instrument, anything goes fine, without the strange part “Create MTLibrary(mediaserverd)” with grey color, and also nearly without the part "Create MTLibrary(TestProj)" with purple color, as we expect
3.install the app, reboot, wait for some minutes, and then start the app with instrument, only a few strange part “Create MTLibrary(mediaserverd)” with grey color left, and also nearly without the part "Create MTLibrary(TestProj)" with purple color