Post

Replies

Boosts

Views

Activity

#import <PDFKit/PDFKit.h> causes a problem
A little lost here so suggestions welcome. Existing code, working well for years. MacOS upgrade (Sequoia) and suddenly issues with #import <PDFKit/PDFKit.h> causing the following error message /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFDocument.h:26:53 Expected identifier or '{'
1
1
152
Oct ’24
Execution of the command buffer was aborted due to an error during execution. Too much geometry to support memoryless render pass attachments.
Hi Folks This error appeared when I switched to using a M1 ultra MacStudio. It therefore appears to be an issue with unified memory - since the existing code involvesI 'blitting' between CPU and GPU. I need only update the MTLBuffer when needed (which is not very often). This does not appear to be a problem caused in that way. There are many nodes in the scene graph, but the problem does not appear until I zoom down into the point cloud [when you can see relatively few 'spheres' that represent the point cloud. So it does not appear to be a problem related to too many nodes. It would help of course if I could localise where and when the problem began to appear, for the code works normally until this happens, but then of course, it loops and so I must terminate the process, and start again. I would appreciate any help on offer. The error loop repeats these messages over and over again until I cause the program to quit [using Xcode 13.4.1]. 2022-07-22 09:44:02.882746+1000 #####[13703:1234861] Execution of the command buffer was aborted due to an error during execution. Too much geometry to support memoryless render pass attachments. (0000000d:kIOGPUCommandBufferCallbackErrorOutOfMemoryForParameterBuffer) 2022-07-22 09:44:02.882818+1000 #####[13703:1234861] Execution of the command buffer was aborted due to an error during execution. Too much geometry to support memoryless render pass attachments. (0000000d:kIOGPUCommandBufferCallbackErrorOutOfMemoryForParameterBuffer) 2022-07-22 09:44:02.882875+1000 #####[13703:1234861] [SceneKit] Error: Main command buffer execution failed with status 5, error: Error Domain=MTLCommandBufferErrorDomain Code=10 "Too much geometry to support memoryless render pass attachments. (0000000d:kIOGPUCommandBufferCallbackErrorOutOfMemoryForParameterBuffer)" UserInfo={NSLocalizedDescription=Too much geometry to support memoryless render pass attachments. (0000000d:kIOGPUCommandBufferCallbackErrorOutOfMemoryForParameterBuffer)}
9
0
1.7k
Jul ’22