[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vga_switcheroo switching on HP Envy 13



Le mercredi 25 mai 2011 à 23:44 +0400, Ilya Ilembitov a écrit :
> For some weird reason after I rewrote the local script so that it
> switched
> to discrete card and not integrated, it worked. How do I check, which
> cards
> are being used right now? 

Switching in rc.local don't work for me (acer timelineX) but I guess
there are also some bugs in the bios.

I switch and power off unused vga in userspace, and I logout/login for
restarting X server.

Obviously I set "switchable" in bios.

> and now, identify your card :
> $ lspci |grep -i vga
> 
> get status :
> cat /sys/kernel/debug/vgaswitcheroo/switch
> 
> switch to ati :
> echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
> 
> switch to intel :
> echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch
> 
> power off unused :
> echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
> 
> power on unused :
> echo ON > /sys/kernel/debug/vgaswitcheroo/switch
> 
> make scripts ^_^;


Reply to: