Post

Replies

Boosts

Views

Activity

Reply to Dynamic Switching Problems with Metal on Big Sur
I'm also seeing this issue with Big Sur. In my case I am using a MTKView via NSViewRepresentable as my app is built using SwiftUI. MTLCreateSystemDefaultDevice will not trigger the display to use the discrete GPU. It returns the discrete GPU but the display is still using the integrated. My machine also has the AMD Radeon Pro 560 and the Intel(R) HD Graphics 630. Opening Pixelmator Pro will immediately trigger the switch to the discrete GPU and when closing the display switches back to the integrated. Any feedback would be most appreciated!
Jul ’21
Reply to Metal and Swift Concurrency
That makes sense. Exactly what are you referring to when you mean explicit threading? Would you recommend using continuations to bridge tasks from the higher level parts of the app to the render engine? In my use case I'm doing a lot of Core Image render tasks and displaying the results in MTKViews.
Jun ’24