
This merge request to improve dGPU detection within the GNOME Shell was opened back in February 2024 and finally merged yesterday to the latest Git code for GNOME Shell 50.
GNOME Shell now has proper discrete GPU detection through switcheroo-control with a fallback for the old behavior of using the first non-default GPU if needed, such as when switcheroo-control isn't installed or outdated.
"The original logic only took into account if a GPU is the "Default", meaning the GPU used during boot, which was intended for Laptops with Hybrid Graphics.
The new logic uses the new Discrete key to figure out which GPU is the most appropriate to use in order of:
- the first non-default GPU if it is discrete
- the first discrete GPU if it exists
- the first non-default GPU"
The hope is this will lead to a better user experience on GNOME 50 for those with multi-GPU setups when wanting to launch games or other heavy workloads on your dedicated/discrete GPU.
KDE had a similar patch for its switcheroo-control integration that was merged last year already. After recent changes to the GNOME patch and with stakeholders interested in getting this to land in time for GNOME 50, it finally crossed the finish line in the GNOME world.