Improve discrete GPU detection using switcheroo-control
Supersedes !1368 (closed)
Adds proper discrete GPU detection through switcheroo-control with a fallback to the old behavior (using the first non-default GPU).
required switcheroo-control merge request: https://gitlab.freedesktop.org/hadess/switcheroo-control/-/merge_requests/69
I've been holding off on making this merge in the hopes that the switcheroo-control stuff would get merged, but since RedHat no longer wants to fund the project it appears to have gone unmaintained.
I hope opening up merge requests against consumers of switcheroo-control will get the ball rolling again, but in the mean time its available as a Fedora COPR and available on Bazzite by default.
GNOME Counterpart: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3193