使用xrandr显示可支持的显卡
xrandr --listproviders
输出类似以下内容
Providers: number : 2
Provider 0: id: 0x6b cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 7 associated providers: 1 name:modesetting
Provider 1: id: 0x41 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 0 associated providers: 1 name:OLAND @ pci:0000:01:00.0
To be able to render GPU-intensive applications by the more powerful discrete card use
xrandr --setprovideroffloadsink 1 0
或者