Skip to content

Use switcheroo-control to discover dual GPUs

Dave Vasilevsky requested to merge vasi/powerdevil:vasi-switcheroo into Plasma/5.27

Also export which environment variables are necessary to switch to the non- default GPU, as discovered by switcheroo-control.

Previously, we only checked for /sys/kernel/debug/vgaswitcheroo/switch, which is not present with Nvidia hybrid graphics. Now we only fallback to that if switcheroo-control is not present.

BUG: 449106

Merge request reports

Loading