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

Metal background execution error #3172

Open
georgbachmann opened this issue Jan 23, 2025 · 0 comments
Open

Metal background execution error #3172

georgbachmann opened this issue Jan 23, 2025 · 0 comments
Labels

Comments

@georgbachmann
Copy link

georgbachmann commented Jan 23, 2025

MapLibre iOS Version

6.10

iOS Version

18.2.1

Device

iPhone 16 Pro & iPad Pro 5th generation

What happened?

Today I tried again to move my pre-metal version to metal and everything seems to work fine this time. No more rendering artifacts! Cool!
But one thing I noticed is a lot of error messages in my logs

Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
Frame completed with error:Error Domain=MTLCommandBufferErrorDomain Code=7 "Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)" UserInfo={NSLocalizedDescription=Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted), NSUnderlyingError=0x30226d3e0 {Error Domain=IOGPUCommandQueueErrorDomain Code=6 "(null)"}}
Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
Frame completed with error:Error Domain=MTLCommandBufferErrorDomain Code=7 "Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)" UserInfo={NSLocalizedDescription=Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted), NSUnderlyingError=0x3022cd0e0 {Error Domain=IOGPUCommandQueueErrorDomain Code=6 "(null)"}}
Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
Frame completed with error:Error Domain=MTLCommandBufferErrorDomain Code=7 "Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)" UserInfo={NSLocalizedDescription=Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted), NSUnderlyingError=0x302040e40 {Error Domain=IOGPUCommandQueueErrorDomain Code=6 "(null)"}}
Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
Frame completed with error:Error Domain=MTLCommandBufferErrorDomain Code=7 "Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)" UserInfo={NSLocalizedDescription=Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted), NSUnderlyingError=0x302195aa0 {Error Domain=IOGPUCommandQueueErrorDomain Code=6 "(null)"}}

I am wondering if I am just blind and don't see which capability I might be missing. All I do is run my app which is showing a map and sending it to the background by closing it (swiping up from the bottom)

It seems not to affect anything else. It does not crash, but still there are those warnings inside the log, so I wanted to share with you to see if it's something that needs to be taken care of.

Steps to reproduce

Show a map, close the app.
Not happening always, but sometimes. Not sure how to reproduce it on purpose.

Relevant log output

Additional context

No response

@louwers louwers added the metal label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants