← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: FW: Linux hybrid graphics card

 

On Sat, 2010-11-20 at 02:37 -0500, Raghuram.O.S. wrote:
> On Sat, Nov 20, 2010 at 1:34 AM, David Marsh <dmarsh26@xxxxxxxxxxx>
> wrote:
>         As I understand it there are two options :-
>         
>         1. Install closed source binary driver from NVidia and have
>         GPU on 100% of the time.
>         
>         2. Install noveau open source driver and have possibility
>         of :-
>             2.1 Intel GMA + NVidia GPU for CUDA/OpenCL.
> 
> I would like to do 2.1. Could somebody please point me to a howto or
> something?Thanks!

You're not the only one wanting this option, however, AFAIK there is no
way yet to do this - Nouveau has no support for CUDA/OpenCL.

I was thinking about the following: create a different kernel (or just
copy the current one, but under different name) to create a new 'uname
-r' entry in /lib/modules, for example "2.6.35-23-generic" and
"2.6.35-23-nvidia", and then install the NVidia drivers into
"2.6.35-23-nvidia" and turn off the NVidia GPU completely in
"2.6.35-23-generic".

I know how to turn off the NVidia GPU on my Asus K52J laptop right at
boot time - all you have to do is modify the GRUB kernel boot command
line and add the following at the end: "acpi_osi=Linux". I am not sure
if it works for other laptops, but I found this out in my DSDT.

The result would be that at boot time, you could select between the
"standard" long-battery option, and when needed, reboot into full CUDA
support. 

Did anyone try this, or does anyone know if this will work? Especially
if it is possible to install the NVidia drivers only to single
configuration...

Any comments appreciated,

Michal




Follow ups

References