From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Skeggs Subject: Re: properly check for _DSM function support and Optimus support for vga_switcheroo Date: Tue, 10 Jan 2012 08:45:09 +1000 Message-ID: <1326149109.31565.0.camel@nisroch> References: Reply-To: skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Lekensteyn Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, airlied-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org List-Id: nouveau.vger.kernel.org On Mon, 2012-01-09 at 00:13 +0100, Lekensteyn wrote: > Any activity on this? The newly attached patch contains one difference > with the previous > one: a dummy function has been added to avoid an error if ACPI is > disabled. Dave, Any thoughts on this? Ben. > > Regards, > Lekensteyn > > On Mon, Dec 19, 2011 at 2:26 PM, Lekensteyn > wrote: > A quickly written way to test this module is described for > Ubuntu at > http://pastebin.com/c5XqKSsW. Basically, you need to apply the > patch on nouveau > and rebuild the nouveau kernel module. > > A comparison of different methods that works for toggling the > dGPU is available: > https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods > > Regards, > Lekensteyn > > > On Mon, Dec 19, 2011 at 11:04 AM, Gianluca Cecchi > wrote: > >> On Sat, Dec 17, 2011 at 5:50 PM, Lekensteyn > wrote: > >>> > >>> Hello guys, > >>> > >>> I've prepared a patch based on my findings for the > bbswitch module > >>> > (https://github.com/Lekensteyn/acpi-stuff/tree/master/bbswitch). This > >>> adds a proper > >>> check whether a _DSM function is supported or not > and make OFF / ON for > >>> vga_switcheroo work for nVidia Optimus models. The > patch is based against > >>> the > >>> mainline kernel. > >>> > >>> It has been tested on my Clevo B7130 laptop > running kernel 3.2 which has > > > Hello, > I have an Asus U36SD laptop with Optimus and Fedora 16 > with kernel > 3.1.5-6.fc16.x86_64 > Any way I can test it? > Currently I'm using acpi_call to switch off nvidia > card and gain 4w > for more battery life. > > [g.cecchi@ope46 ~]$ lspci -vnnn|grep -i vga > 00:02.0 VGA compatible controller [0300]: Intel > Corporation 2nd > Generation Core Processor Family Integrated Graphics > Controller > [8086:0126] (rev 09) (prog-if 00 [VGA controller]) > 01:00.0 VGA compatible controller [0300]: nVidia > Corporation Device > [10de:1050] (rev ff) (prog-if ff) > > What benefit would it give me? Chance to use nvidia > for graphic > related apps ? With nouveau andor nvidia proprietary > driver? > Thanks in advance for any pointer > > Gianluca > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau > > > > > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau