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 ^_^; -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]
Re: vga_switcheroo switching on HP Envy 13
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? On Wed, May 25, 2011 at 8:22 PM, Ilya Ilembitov wrote: > Hi, all. > > I have installed Debian Testing amd64 on my HP Envy 13, which has two GPUs > - ATI Mobility HD 4330 and Intel GMA 4500MHD. Which means, I need some kind > of switching through vga_switcheroo. > > I've tried following this guide ( > http://linuxenvy.blogspot.com/2011/01/tackling-switchable-graphics.html) > for Ubuntu. I get this > > cat: /sys/kernel/debug/vgaswitcheroo/switch: No such file or directory > cat: /sys/kernel/debug/vgaswitcheroo/switch: No such file or directory > [: 96: unexpected operator > [: 96: unexpected operator > [: 96: unexpected operator > [: 96: unexpected operator > > What do I do? >
Re: vga_switcheroo switching on HP Envy 13
Le mercredi 25 mai 2011 à 20:22 +0400, Ilya Ilembitov a écrit : > Hi, all. > > I have installed Debian Testing amd64 on my HP Envy 13, which has two GPUs - > ATI Mobility HD 4330 and Intel GMA 4500MHD. Which means, I need some kind of > switching through vga_switcheroo. > > I've tried following this guide ( > http://linuxenvy.blogspot.com/2011/01/tackling-switchable-graphics.html) for > Ubuntu. I get this > > cat: /sys/kernel/debug/vgaswitcheroo/switch: No such file or directory > cat: /sys/kernel/debug/vgaswitcheroo/switch: No such file or directory > [: 96: unexpected operator > [: 96: unexpected operator > [: 96: unexpected operator > [: 96: unexpected operator > > What do I do? install debugfs. in /etc/fstab : none /sys/kernel/debug debugfs defaults 0 0 and : # mount -a for use it with your user, in /etc/rc.local : # chown your_user:your_user /sys/kernel/debug/vgaswitcheroo/switch 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 ^_^; best regards -- Jérôme -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

