shell-app: improve discrete GPU detection

Adds proper discrete GPU detection through switcheroo-control with a fallback to the old behavior (using the first non-default GPU).

needs switcheroo-control 3.0 (or later)

KDE counterpart: https://invent.kde.org/frameworks/kio/-/merge_requests/1556

Edited by Jan Drögehoff

Merge request reports

Loading