hybrid-graphics-linux team mailing list archive
-
hybrid-graphics-linux team
-
Mailing list archive
-
Message #01309
Re: switching cards on bumblebee, dell vostro 3500
That was an error in the enable/disable script. The acpi_call method was
misstyped. Was reported and i think Martin already fised it.
--
Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx>
El lun, 30-05-2011 a las 15:22 -0300, Thiago Santos escribió:
> Hi,
>
> I have the same problem. When I was run the instalation scrip I
> recieved this error message:
>
> Auto-detecting hardware
> UNDEFINED
>
> _PS0 Enabling nVidia Card failed (Error: AE_BAD_PARAMETER).
> _PS0 Disabling nVidia Card failed (Error: AE_BAD_PARAMETER).
>
> someone would help us?
>
> Thanks, Thiago.
>
>
> 2011/5/28 Oier Mees <oier.mees@xxxxxxxxx>
> If I put the backslash I get the following error:
> _PS0 Disabling nVidia Card failed (Error: AE_NOT_FOUND).
>
> What does that mean?
>
> 2011/5/28 MASSUCHETTI Jonathan <iletaitunfois@xxxxxxxxxx>
> Don't you forgot the backslash ?
>
> Its " \_SB.PCI0.POP1.PEGP._OFF "
>
>
>
>
> 2011/5/28 Oier Mees <oier.mees@xxxxxxxxx>
> Thanks, here are the scripts, but as I
> mentioned I just copied them from the
> documentation.
>
> #!/bin/bash
> # This script should contain the command(s)
> nessesary to switch on the
> # nVidia card.
> # As an example i've included the script for
> the Dell Vostro 3500, provided by pauloxnet..
> # Please note that the acpi_call module is
> need for these operations:
> #
> #
> http://linux-hybrid-graphics.blogspot.com/2010/07/using-acpicall-module-to-switch-onoff.html
>
> modprobe acpi_call
>
> if ! lsmod | grep -q acpi_call; then
> echo "Error: acpi_call module not loaded"
> exit
> fi
>
> acpi_call () {
> echo "$*" > /proc/acpi/call
> result=$(cat /proc/acpi/call)
> case "$result" in
> Error*)
> echo "Enabling nVidia Card failed
> ($result)."
> ;;
> *)
> echo "Enabling nVidia Card Succeded."
> ;;
> esac
> }
>
> echo _PS0 $(acpi_call
> "_SB.PCI0.POP1.PEGP._OFF")
> modprobe nvidia-current
>
>
>
>
>
> #!/bin/bash
> # This script should contain the command(s)
> nessesary to switch off the
> # nVidia card.
> # As an example i've included the script for
> the Dell Vostro 3500, provided by pauloxnet..
> # Please note that the acpi_call module is
> need for these operations:
> #
> #
> http://linux-hybrid-graphics.blogspot.com/2010/07/using-acpicall-module-to-switch-onoff.html
>
> rmmod nvidia
> if lsmod | grep -q nvidia; then
> echo "Error: could not unload nvidia module,
> leaving card turned on"
> exit
> fi
> modprobe acpi_call
>
> if ! lsmod | grep -q acpi_call; then
> echo "Error: acpi_call module not loaded"
> exit
> fi
>
> acpi_call () {
> echo "$*" > /proc/acpi/call
> result=$(cat /proc/acpi/call)
> case "$result" in
> Error*)
> echo "Disabling nVidia Card failed
> ($result)."
> ;;
> *)
> echo "Disabling nVidia Card
> Succeded."
> ;;
> esac
> }
>
> echo _PS0 $(acpi_call
> "_SB.PCI0.POP1.PEGP._OFF")
>
>
>
>
> 2011/5/27 MASSUCHETTI Jonathan
> <iletaitunfois@xxxxxxxxxx>
> Hi,
>
> Dell Vostro 3X00 have a specific power
> management relative to the nVidia
> card. Can we see you script to enable
> & disable card please ?
>
>
> 2011/5/27 Oier Mees
> <oier.mees@xxxxxxxxx>
>
>
>
> Hi,
> I installed bumblebee on
> Ubuntu 11.04 with nvidia 310m
> (Vostro 3500) and the
> optirun64 glxgears works
> succesfully. Since there is a
> example documentation of
> vostro 3500 provided, I copied
> and renamed this examples
> to /usr/local/bin/bumblebee-enablecard and disablecard.
> While I run optirun64 glxgears
> the nvidia module is loaded
> (checked with lsmod) and when
> I exit glxgears, unloaded. But
> I get keeping the following
> message while I run optirun64
> or I try enabling and
> disabling the card:
> $ optirun64 glxgears
> * Starting Bumblebee X server
> bumblebee
> _PS0 Enabling nVidia Card
> failed (Error:
> AE_BAD_PARAMETER).
>
> [ OK ]
> 2731 frames in 5.0 seconds =
> 546.133 FPS
> 2851 frames in 5.0 seconds =
> 570.166 FPS
> 2662 frames in 5.0 seconds =
> 532.364 FPS
> [VGL] ERROR: in readback--
> [VGL] 362: Window has been
> deleted by window manager
> * Stopping Bumblebee X server
> bumblebee
> * .
> _PS0 Disabling nVidia Card
> failed (Error:
> AE_BAD_PARAMETER).
>
>
> If modprobe and rmmod work,
> does this mean that turning
> the card on and off also
> works? What does the error
> message mean?
> Regards,
> Oier
>
>
>
>
>
> _______________________________________________
> 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
Follow ups
References
-
switching cards on bumblebee, dell vostro 3500
From: Oier Mees, 2011-05-27
-
switching cards on bumblebee, dell vostro 3500
From: Oier Mees, 2011-05-27
-
Re: switching cards on bumblebee, dell vostro 3500
From: MASSUCHETTI Jonathan, 2011-05-27
-
Re: switching cards on bumblebee, dell vostro 3500
From: Oier Mees, 2011-05-28
-
Re: switching cards on bumblebee, dell vostro 3500
From: Oier Mees, 2011-05-28
-
Re: switching cards on bumblebee, dell vostro 3500
From: Thiago Santos, 2011-05-30