All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lekensteyn <lekensteyn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Gianluca Cecchi
	<gianluca.cecchi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: properly check for _DSM function support and Optimus support for vga_switcheroo
Date: Mon, 19 Dec 2011 14:26:27 +0100	[thread overview]
Message-ID: <CALBR5ZzZpnZp4=65tFv=_ZJfz+eaxxMLk-T-5hWzHUhwSf+U=w@mail.gmail.com> (raw)
In-Reply-To: <CAG2kNCwBwRJ_VrS9NHnmGvOTTLuwmBKd5kG8OknJG+f20Kvqsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2009 bytes --]

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> wrote:

> >> On Sat, Dec 17, 2011 at 5:50 PM, Lekensteyn <lekensteyn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 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
>

[-- Attachment #1.2: Type: text/html, Size: 3115 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2011-12-19 13:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-17 12:14 properly check for _DSM function support and Optimus support for vga_switcheroo Lekensteyn
     [not found] ` <CALBR5ZxR9iuvT57bDZ8yW9ZkZjuoUhBTYw4HBsmsiwoRi4gSkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-17 22:50   ` Lekensteyn
     [not found]     ` <CALBR5ZyE2ZRX7eFBhooB22e9BRf0f3H2xqtvXB2iwe8nvKKnvw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-19  4:39       ` Omar Andrés Zapata Mesa
     [not found]         ` <CAOB9epp8EdpetsPStfdnGNx5-2dKi42j3DQiVKN_dzMdFcssWA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-19  9:44           ` Lekensteyn
     [not found]             ` <CALBR5Zw0gEDqKrSUF3R30tSSC6DUgfhVm0Y1Mp60e4bB4ObijQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-19 10:04               ` Gianluca Cecchi
     [not found]                 ` <CAG2kNCwBwRJ_VrS9NHnmGvOTTLuwmBKd5kG8OknJG+f20Kvqsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-19 13:26                   ` Lekensteyn [this message]
2012-01-08 23:13                     ` Lekensteyn
     [not found]                       ` <CALBR5Zxuwv-zBQfVr7By3su2rjWjcVapX7oCCfeybjBMPY9cbA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-09 22:45                         ` Ben Skeggs
2012-01-12 17:29                           ` Dave Airlie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALBR5ZzZpnZp4=65tFv=_ZJfz+eaxxMLk-T-5hWzHUhwSf+U=w@mail.gmail.com' \
    --to=lekensteyn-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=gianluca.cecchi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.