FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Laptop

 
 
LinkBack Thread Tools
 
Old 05-25-2011, 07:44 PM
Ilya Ilembitov
 
Default 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 <ilembitov@gmail.com> 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?
 
Old 05-26-2011, 04:38 PM
Jérôme
 
Default 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 debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1306427887.9916.17.camel@azuki.aranha.ici">http://lists.debian.org/1306427887.9916.17.camel@azuki.aranha.ici
 

Thread Tools




All times are GMT. The time now is 04:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org