Add PrefersNonDefaultGPU=true to the desktop file
On a system that has a iGPU and a dGPU and is configured for PRIME render offload (hybrid graphics), I want OpenMW to be run on the dGPU by default.
Adding PrefersNonDefaultGPU=true to the desktop file will satisfy this case.
If true, the application prefers to be run on a more powerful discrete GPU if available, which we describe as “a GPU other than the default one” in this spec to avoid the need to define what a discrete GPU is and in which cases it might be considered more powerful than the default GPU. This key is only a hint and support might not be present depending on the implementation.
(KDE can currently use X-KDE-RunOnDiscreteGpu=true
for this purpose.)