← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Testers needed - intel/nvidia nouveau working with github.com/awilliam module

 

I tested your module on my Asus N53Jf with ubuntu 10.10 and 2.6.38.

It seems to be working right now, although it gets me a little confused.

echoing ON and OFF impacted battery drain rate as expected, so I guess
discrete GPU is shut down properly.

Then I tried  to switch to discrete. I echoed DDIS, then tried an X restart
with Alt+sys+K (Ctrl-Alt-Bckspc doesn't work for a reason..).
This gave me a blank screen I could not leave. I noticed that the screen was
lit though.

On reboot, I had a blank screen between GRUB and GDM, so I assume I was on
discrete. This time the screen was not even lit, it was completely off.

Now, what confuses me is the output of cat
/sys/kernel/debug/vgaswitcheroo/switch wich says :
0:DIS: :Off:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0

But I noticed echo OFF no longer lowers battery drain. Rate stays at ~30W,
which is a typical rate when GPU is ON.
Is the cat command unreliable ? Or do I misunderstand it?

I don't really have use of the discrete card, but the good news for me is I
don't get frozen on shutdown anymore with the xorg cold bug. May be related
to the new kernel tough, as I was running under 2.6.35 and updated to test
this module.

Good work anyway.
Thanks.


2011/4/21 Alex Williamson <alex.l.williamson@xxxxxxxxx>

> On Thu, Apr 21, 2011 at 9:35 AM, Ellington Santos
> <ellington@xxxxxxxxxxxxx> wrote:
> > Alex,
> >
> > I got same behavior with or without asus-switcheroo: echo "DIS" gave me a
> > blank screen. echo "IGD" restores the screen.
> > I believe that LVDS isn't connecting to nvidia card.
>
> This is probably because 2.6.37 doesn't have the client reprobe
> callback.  asus-switcheroo does this via a crazy little hack.  v2.6.38
> should already include it.
>
> > With your new update, asus-switceroo compiles in kernel 2.6.37.6.
>
> Great, thanks for the test.
>
> > Are there some way to help you develop OPTIMUS support?
>
> Have you tried Dave's tree?
>
> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-testing.git;a=summary
>
> He's been doing some optimus enablement in the drm-nvidia-switch
> branch.  I don't have anything with optimus.  This module only came
> about as a result of picking up a UL30VT as a new personal laptop.
> Thanks,
>
> Alex
>
> _______________________________________________
> Mailing list: https://launchpad.net/~hybrid-graphics-linux
> Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References