← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Lenovo Z360 acpi_call issue

 

Hi Cherep,

If you enable graphical boot on a nvidia system, Ubuntu will load nouveau in
the initrd completely disregarding the blacklist. Make sure you don't have
vga=nnn in your grub commandline. Check /etc/default/grub.


On Mon, Jun 27, 2011 at 15:35, Cherep <acherep@xxxxxxx> wrote:

> adding the line "blacklist nouveau" to the end of
> /etc/modprobe.d/blacklist.conf doesn't help to prevent the module from
> loading at startup.
>
> After reboot I have
> lspci -k
> 01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 310M]
> (rev a2)
>        Subsystem: Lenovo Device 3968
>        Kernel driver in use: nouveau
>        Kernel modules: nouveau, nvidiafb
>
>
> 27 июня 2011, 10:07 от Bilal Akhtar <bilalakhtar@xxxxxxxxxx>:
> > On 06/27/2011 12:02 AM, Cherep wrote:
> > > after
> > > lspci -k
> > > I found "nouveau" as a module.
> > >
> > > after
> > > lsmod | grep nvidia
> > > I found nothing.
> > >
> > > Then I typed
> > > sudo rmmod nouveau
> > >
> > > Now everything is working without freezing!
> >
> > To prevent the nouveau module from loading up unnecessarily each time,
> > just add the line "blacklist nouveau" to the end of
> > /etc/modprobe.d/blacklist.conf .
> >
> > Then you won't have to remove nouveau after every acpi_call to turn the
> > dGPU off.
> >
> > >
> > > Joaquín and Aurelgadjo!!! Thank you a lot!
> > >
> > > 27 июня 2011, 00:10 от Joaquín Ignacio Aramendía<samsagax@xxxxxxxxx>:
> > >> Try $ lspci -k
> > >> Then you will find the kernel module used by the Nvidia card. Should
> be
> > >> "nvidia" or "nouveau"
> > >>
> > >> Then try $ sudo rmmod nouveau
> > >>
> > >> You can turn off the card without freezing
> > >> --
> > >> Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx>
> > >>
> > >> El dom, 26-06-2011 a las 23:33 +0400, Cherep escribió:
> > >>> HI Joaquin,
> > >>>
> > >>> How can I disable nvidia kernel module?
> > >>>
> > >>> I tried this
> > >>> sudo modprobe -r nvidia
> > >>> with reply
> > >>> "FATAL: Module nvidia not found."
> > >>>
> > >>> Thank you!
> > >>>
> > >>> Cherep
> > >>>
> > >>> 26 июня 2011, 23:07 от Joaquín Ignacio Aramendía<samsagax@xxxxxxxxx
> >:
> > >>>> Try to disable nvidia kernel module before turning the card off.
> > >>>> That should take care of the freeze issue.
> > >>>>
> > >>>> By the way. Is there any Dell Vostro 3500 user that could use the
> > >>>> automatic power management under bumblebee? I'm having trouble
> trying to
> > >>>> turn the card ON again and modprobing nvidia. Sometimes it works
> fine
> > >>>> and sometimes just don't. There where a few times that worked.
> > >>>> --
> > >>>> Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx>
> > >>>>
> > >>>> El dom, 26-06-2011 a las 16:40 +0400, Cherep escribió:
> > >>>>> Hi all,
> > >>>>>
> > >>>>> I got acpi_call working on my Lenovo Z360. I have used method "
> > >>>>> \_SB.PCI0.P0P2.PEGP._DSM" to switch nvidia off which is not in
> > >>>>> standard test_off.sh.
> > >>>>> (How can one add it to test_off.sh?)
> > >>>>>
> > >>>>> However, when my nvidia card is off, I can't use my USB mouse. Once
> I
> > >>>>> move the mouse, the screen becomes frozen. Then I can reboot only
> > >>>>> using a power button. At the same time, when my nvidia is off, I
> can
> > >>>>> use a touchpad (works fine).
> > >>>>>
> > >>>>> Does anybody know how I can handle this problem with my USB mouse?
> > >>>>>
> > >>>>> Scripts are attached! If something is missing, just let me know!
> > >>>>>
> > >>>>> Thanks in advance!
> > >>>>>
> > >>>>> Some info:
> > >>>>> Ubuntu 10.10 (64 bit)
> > >>>>>
> > >>>>> cherep@weekend:~/acpi_call$ sudo dmidecode -s system-product-name
> > >>>>> [sudo] password for cherep:
> > >>>>> Lenovo IdeaPad Z
> > >>>>> cherep@weekend:~/acpi_call$ sudo dmidecode -s system-version
> > >>>>> Rev 1.0
> > >>>>> cherep@weekend:~/acpi_call$ lspci -vnnn | perl -lne 'print if /^\d
> > >>>>> +\:.+(\[\S+\:\S+\])/' | grep VGA
> > >>>>> 00:02.0 VGA compatible controller [0300]: Intel Corporation Core
> > >>>>> Processor Integrated Graphics Controller [8086:0046] (rev 12)
> (prog-if
> > >>>>> 00 [VGA controller])
> > >>>>> 01:00.0 VGA compatible controller [0300]: nVidia Corporation GT218
> > >>>>> [GeForce 310M] [10de:0a70] (rev ff) (prog-if ff)
> > >>>>> 
> > >>>>> Take care,
> > >>>>> Cherep
> > >>>>> _______________________________________________
> > >>>>> 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
> > >>> _______________________________________________
> > >>> 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
> > > _______________________________________________
> > > 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
> >
> >
> > --
> > Bilal Akhtar - Ubuntu Developer <bilalakhtar@xxxxxxxxxx>
> > IRC nick: cdbs
> >
> >
> > _______________________________________________
> > 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
> _______________________________________________
> 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
>



-- 
Regards,
Tais Plougmann Hansen

OSD Consulting ApS
Tel: +45 78101078
CVR: DK31332737

References