Launching Orca stops discord screen sharing on macOS #15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
MBP 16' 2019 - Intel Core i9
macOS Catalina - 10.15.4
So, this is weird...
The screen sharing disconnect happens when we set the metal layer's
device
property:If I don't call
MTLCreateSystemDefaultDevice()
and set the layer's device tolayer.preferredDevice
instead, it doesn't hang the screen sharing... even though this is the same value that's returned byMTLCreateSystemDefaultDevice()
.To note, this Apple sample showing how to create a metal layer sets the layer's device property to the return value of
MTLCreateSystemDefaultDevice()
, and it does hang Discord's screen sharing.I'll just use
layer.preferredDevice
for now, so that we can use screen sharing.We'll probably need to reopen this when we'll want more control over which GPU is used.
Closed by
301020ee9a
This "fix" appears to break XCode's GPU Frame Capture...
Milepost commit
a65b0cc1bb
seems to fix both the discord issue and the XCode frame capture issue. Instead of callingMTLCreateSystemDefaultDevice()
, we query the list of all available GPUs and iterate to find the discrete one, and otherwise fallback on the first one.