tang@ubuntu:~$ sudo su [sudo] password for tang: ubuntu
能夠先查看顯卡的狀態debug
root@ubuntu:/home/tang# cat /sys/kernel/debug/vgaswitcheroo/switch it
1:DIS: :Pwr:0000:01:00.0bug
1:DIS: :Off:0000:01:00.0word
這樣就能夠了sudo