You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9751dbb
Browse filesBrowse the repository at this point in the historyBrowse files
fix: prefer the high-performance GPU on dual-GPU Macs
GPUI's Metal renderer sorted devices for low power and therefore always picked the Intel integrated GPU on Intel Macs with a discrete AMD GPU, even though the app declares NSSupportsAutomaticGraphicsSwitching=false. The UI was rendered and composited on the iGPU.
Carry a GPUI patch that selects the high-performance device by default, with CAP_GPU_PREFERENCE=low|integrated|battery and system|auto overrides. Apply the same preference to the Windows DXGI adapter and to Cap's wgpu devices (including camera blur) so the renderer, preview and encoders agree.
Add NSSupportsAutomaticGraphicsSwitching=false to the GPUI Info.plist, the change originally proposed for the Tauri app in #1759.
0 commit comments