← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Fwd: switching cards on bumblebee, dell vostro 3500

 

Version 1.6.1 had some weird bug (sorry)... could you please try newest version??? 




Fra: "Marvin Budd" <marvbudd@xxxxxxxxx> 
Til: hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx 
Sendt: tirsdag, 31. maj 2011 02:44:42 
Emne: [Hybrid-graphics-linux] Fwd: switching cards on bumblebee, dell vostro 3500 

After installing 1.6.1 I made the manual change in the Dell XPS enable/disable scripts and that seemed to work. However, I have not been able to get the nvidia-current.ko to load. There is a message in there somewhere about nvidia_current not being found, so I think there is a misspelling of hyphen and underline. I tried renaming the .ko file but that did not help. 


Then, just now, I tried to reboot, and I could not. So getting to recovery mode and uninstalling bumble made it better again. I'm not sure where to go from here. But at least I can use my machine again. 

Marvin Budd 





On Mon, May 30, 2011 at 5:12 PM, Oier Mees < oier.mees@xxxxxxxxx > wrote: 


I am not sure, even with the fix I get: 

_PS0 Disabling nVidia Card failed (Error: AE_BAD_PARAMETER). 





2011/5/30 Joaquín Ignacio Aramendía < samsagax@xxxxxxxxx > 


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 


_______________________________________________ 
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 

References