https://bugs.winehq.org/show_bug.cgi?id=45626
Bug ID: 45626 Summary: enabling macOS eGPU settings Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winemac.drv Assignee: wine-bugs@winehq.org Reporter: f.platte@platte-web.de Distribution: ---
With continuous development of macOS since adding official eGPU support since some time. Since some versions it's unofficially possible to accelerate applications running on an iMac's or MacBook Pro's internal display using a bash command. However soon there will be official support from apple with GUI integration enabled by selection the option to prefer external GPUs in the programs information dialog within the macOS Finder. If this is selected for the Wine or "Wine Staging.app" it is not respect however as the option does not seem do be passed to the MacDriver as it seems. It would be an great addition especially for games and some cad or other pro software. It could also be an useful option for winecfg where it might even be selectable on an per windows application basis. Though the overall respectation of this macOS feature is my main concern.
An image describing the feature can be found here: https://9to5mac.com/wp-content/uploads/sites/6/2018/07/Prefer-External-GPU-m...
https://bugs.winehq.org/show_bug.cgi?id=45626
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Mac OS X
https://bugs.winehq.org/show_bug.cgi?id=45626
--- Comment #1 from Rastafabi f.platte@platte-web.de --- If this does help anybody:
The status of the eGPU setting can be read here:
defaults read -app <app path> GPUSelectionPolicy
The command does "fail", if the setting hasn't been altered previously, so it's safe to assume, that "prefer eGPU" hasn't been selected. Enabling it does not affect the system if there is no eGPU present.
https://bugs.winehq.org/show_bug.cgi?id=45626
--- Comment #2 from Ken Thomases ken@codeweavers.com --- (In reply to Rastafabi from comment #1)
If this does help anybody:
The status of the eGPU setting can be read here:
defaults read -app <app path> GPUSelectionPolicy
The command does "fail", if the setting hasn't been altered previously, so it's safe to assume, that "prefer eGPU" hasn't been selected. Enabling it does not affect the system if there is no eGPU present.
Have you tried the following command to see if it helps?
defaults write org.winehq.wine GPUSelectionPolicy -string preferRemovable
To revert to the default, you would use:
defaults delete org.winehq.wine GPUSelectionPolicy
https://bugs.winehq.org/show_bug.cgi?id=45626
--- Comment #3 from Rastafabi f.platte@platte-web.de --- Yes, I did, but it's not respected and wine still defaults to using the internal GPU. The command actually does the same as the Finder setting. And as this is not accepted nor the manual overwrite is.
https://bugs.winehq.org/show_bug.cgi?id=45626
--- Comment #4 from Rastafabi f.platte@platte-web.de --- To be sure I also ran:
defaults write org.winehq.wine-staging.wine GPUSelectionPolicy -string preferRemovable
though this did not change anything. I tested the detection with the Burnout Paradise Config Tool, as this allows selecting the GPU (on windows, and thus at least reads the currently used GPU. Whatever I do it still detects the Radeon RX 460 (my MacBooks internal Radeon Pro 560 - same device ID) but not my external RX Vega 56.
That said a fix is being implemented for a fork of the macOS Wineskin application by the developer of Porting Kit (Portingkit.org), which apparently already passes some additional GPU information to the running wine processes. I was told, that this functional is being expanded with eGPU support in a coming release.