← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Bumblebee scripts configuration, help

 

Just run

$ sudo chmod +x /usr/local/bin/bumblebee-enablecard

Also, the bumblebee-enablecard and bumblebee-disablecard are not the same
scripts. Check your installation.

//D

On Sun, Jun 12, 2011 at 7:11 AM, Nicola Strambini <strambinico@xxxxxxxxx>wrote:

> optirun64 works fone for me, worked also before, but when I stop the
> program and the script tries to  disable the card, it appears to remain on
> (e.g. I didn't see any change in the battery life, as it should be expected
> after turning off the nvidia card). also, in enabling the card, also with
> the same script for disabling it (is it ok ti use the same script for
> enabling and disabling? i put it in both "bumblebee-enablecard" and
> "bumblebee-disablecard" files), it gives another error (permission denied):
>
>
> nicola@samsundy:~$ optirun64 glxgears
>  * Starting Bumblebee X server
> bumblebee                                        /etc/init.d/bumblebee: 117:
> /usr/local/bin/bumblebee-enablecard: *Permission denied*
>                                                                          [
> OK ]
> 2052 frames in 5.0 seconds = 410.287 FPS
> 2004 frames in 5.0 seconds = 400.734 FPS
> [VGL] ERROR: in readback--
> [VGL]    362: Window has been deleted by window manager
>  * Stopping Bumblebee X server
> bumblebee                                         *
> .
> Usage: /usr/local/bin/bumblebee-disablecard [on|off]
>
> Samsung RF511 appears to be *on*
>
>
>
> thank you very much for your help!
> Nicola
>
>
>
> On Sun, Jun 12, 2011 at 1:51 PM, D B <tqzzaa@xxxxxxxxx> wrote:
>
>> Just run optirun as it is. Try it with glxgears, for instance:
>>
>> $ optirun glxgears
>>
>> (note: no sudo)
>>
>> If that works out for you, the card will be enabled/disabled for you
>> whenever you run optirun :)
>>
>> //D
>>
>

References