Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No rendering in the main window #16

Open
k0pernicus opened this issue May 9, 2024 · 0 comments
Open

No rendering in the main window #16

k0pernicus opened this issue May 9, 2024 · 0 comments

Comments

@k0pernicus
Copy link

k0pernicus commented May 9, 2024

Hi,

I wanted to test one of your sample for one of my project and, unfortunately, I don't get any rendering running your project on my Mac.

I compiled the project using Xcode 15.3, on macOS Sonoma 14.4.1.
I tried also using Xcode 15.1 but no luck too.
My Mac is an Apple Silicon Mac, M2 chip inside.

I tested on three different targets:

  1. a simulated iPad (17.4)
  2. my Mac using Catalyst,
  3. my Mac with mention "Designed on iPad" (I guess it is Catalyst too...?)

This is the screenshot of the app running on my Mac:
Capture d’écran 2024-05-09 à 18 59 07

This is the list of logs I have on Xcode:

Logging Error: Failed to initialize logging system. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variables.
BOOL _NSPersistentUIDeleteItemAtFileURL(NSURL *const __strong) Failed to stat item: file:///Users/antonin/Library/Containers/1B09BC94-4B56-4FA4-ADAC-AB68505DC94A/Data/Library/Saved%20Application%20State/acarette.MetalDojo.savedState/restorecount.plist
TBB Global TLS count is not == 1, instead it is: 2
bufferSize 4544
loaded texture from MDLTexture
loaded texture from MDLTexture
loaded texture from MDLTexture
Animation
bufferSize 2176
loaded texture from MDLTexture
loaded texture from MDLTexture
loaded texture from MDLTexture
loaded texture from MDLTexture
bufferSize 2176
loaded texture from MDLTexture
loaded texture from MDLTexture
loaded texture from MDLTexture
loaded texture from MDLTexture
Take_001
bufferSize 4544
loaded texture from MDLTexture
loaded texture from MDLTexture
loaded texture from MDLTexture
Animation
Unknown client: Metal Sketch Dojo
CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
AX Safe category class 'SFUnifiedBarRegistrationAccessibility' was not found!
CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them

I tried to google the errors but did not found any good resolution issues for those...

So, I tried to capture a frame using the Metal debugger and it seems I actually have a generated texture, as you can see here:
Capture d’écran 2024-05-09 à 19 00 26

As you can see here "Final Texture" and "Output Texture" are never used & presented for rendering.

If I check further it seems that some buffers are not bound to the CPU as well.
Capture d’écran 2024-05-09 à 19 07 44

Is it possible to know which Metal spec did you used for this project please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant