pop-os / gnome-shell-extension-system76-power

System76 Power Management Extension
MIT License
88 stars 26 forks source link

Add option for switching to hybrid graphics #27

Closed crawfxrd closed 4 years ago

crawfxrd commented 4 years ago

See: pop-os/system76-power#111

crawfxrd commented 4 years ago

switcheroo-control uses udev instead of vga_switcheroo with hadess/switcheroo-control#21. This will allow detecting the dGPU when using the NVidia drivers and add the "Launch using Dedicated Graphics Card" context item without changes on our end. The caveat being gnome-shell will only set DRI_PRIME right now, which the NVidia drivers won't use.

jackpot51 commented 4 years ago

This sounds great, looks like switcheroo-control is already a dependency of gnome-shell so we just need to get the version in Ubuntu updated or release a new version ourselves.

jackpot51 commented 4 years ago

XDG specification for using discrete graphics: https://gitlab.freedesktop.org/xdg/xdg-specs/merge_requests/7

crawfxrd commented 4 years ago

Coordinating with upstream on the integration. We will need a release of switcheroo-control that using the udev based detection.

09:31 < hadess> tcrawford: in any case, switcheroo-control release would come if someone can show 1) switcheroo-control can
                detect nvidia gpus 2) that rendering on the discrete gpu can work in gnome-shell