Skip to content

Use nonDefaultGpuEnvironment to select discrete GPU

Dave Vasilevsky requested to merge vasi/kio:vasi-switcheroo into kf5

If the new nonDefaultGpuEnvironment method is available from powerdevil, use that to set the correct environment variables for the discrete GPU.

Previously, we only used DRI_PRIME=1, which does not work with Nvidia.

Depends on plasma/powerdevil!195 (closed)

BUG: 449106

Edited by Dave Vasilevsky

Merge request reports

Loading