← Back to team overview

bumblebee team mailing list archive

Re: It is possible to switch between Nvidia driver to Nouveau?

 

On 23 October 2012 19:30, Bruno Pagani <bruno.n.pagani@xxxxxxxxx> wrote:

>  Hello,
>
> Dunno about Debian, but for Ubuntu, you just have to remove a file created
> by nvidia in /etc/modprobe.d/ and run sudo update-initramfs -u in order to
> be able to switch with a procedure a esay as set Driver=nouveau in
> /etc/bumblebee/bumblebee.conf and run sudo restart bumblebeed.
>
> Also, the group problem is probably specific to Debian.
>

Thanks.

apparently I can run  without root if the driver is nouveau.
nvidia without root crash and give the following error:
$ optirun glxgears
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
[VGL] WARNING: The OpenGL rendering context obtained on X display
[VGL]    :8 is indirect, which may cause performance to suffer.
[VGL]    If :8 is a local X display, then the framebuffer device
[VGL]    permissions may be set incorrectly.
[VGL] ERROR: in readpixels--
[VGL]    256: GL_ARB_pixel_buffer_object extension not available


Now I can see a little performance:
Nvidia
$ sudo optirun glxgears
5239 frames in 5.0 seconds = 1047.724 FPS
5162 frames in 5.0 seconds = 1032.278 FPS

Nouveau
$ optirun glxgears
3411 frames in 5.0 seconds = 682.102 FPS
3123 frames in 5.0 seconds = 624.546 FPS


Thanks a lot
Nadav



>
> Bruno Pagani, a.k.a. ArchangeGabriel
>
> Le 23/10/2012 19:04, Nadav Vinik a écrit :
>
> Hello
>
> I have both Nvidi and Nouveau install and I want to test from time to time
> how stuff works on Nouveau.
>
> Is it possible and easily switch between them?
>
> Also my user is in the bumblebee group but I still need run optirun with
> root or sudo.
>
> Debian unstable
> Installed from this repo:
> http://suwako.nomanga.net/
>
> Thanks for your great project
> Nadav
>
>
>
>


-- 
הבלוג שלי:
http://nadavvin.com

References