[Nouveau] properly check for _DSM function support and Optimus support for vga_switcheroo

Lekensteyn lekensteyn at gmail.com
Sun Jan 8 15:13:05 PST 2012


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.

Regards,
Lekensteyn

On Mon, Dec 19, 2011 at 2:26 PM, Lekensteyn <lekensteyn at gmail.com> 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 <
> gianluca.cecchi at gmail.com> wrote:
>
>> >> On Sat, Dec 17, 2011 at 5:50 PM, Lekensteyn <lekensteyn at gmail.com>
>> 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 at 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 at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/nouveau
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20120109/b3df4873/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nouveau-switcheroo-optimus.patch
Type: text/x-diff
Size: 9130 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20120109/b3df4873/attachment.patch>


More information about the Nouveau mailing list