Difficulty with nvidia and bumblebee drivers

Hey, I’m very new to openSUSE as well as zypper and zast, so I’d appreciate any instructions involving either to be specific.

I’m trying to get my dedicated graphics card (nvidia 210m) for my Asus ul50vt to work properly as well as openGL for source games (Garry’s mod specifically)

I’ve searched for the past several days, reading many guides but to no avail. Currently whenever I try to run a program with primusrun I get

primusrun glxspheres
primus: fatal: failed to connect to Bumblebee daemon: No such file or directory

Whenever I try to run a program with optirun I get

optirun glxspheres
  150.280092] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
  150.280149] [ERROR]Could not connect to bumblebee daemon - is it running?
richie@ul50vt:~> primusrun glxspheres
primus: fatal: failed to connect to Bumblebee daemon: No such file or directory

If you plan to post a link to another fix or tutorial, more than likely I’ve tried it and it failed to work for me, but any help is appreciated.

I’m sure one of our hybrid graphics gurus will drop by and assist, but in the meantime review the following guide

http://smithfarm-thebrain.blogspot.ca/2013/10/opensuse-131-nvidia-optimus-bumblebee.html

I wonder if bumblebeed.service is running. Check with

systemctl status bumblebeed

This is the output that the code gave me

systemctl status bumblebeed
bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since Fri 2014-04-04 22:29:06 EDT; 3h 3min ago
  Process: 3611 ExecStart=/usr/sbin/bumblebeed (code=exited, status=1/FAILURE)
 Main PID: 3611 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/bumblebeed.service


Looking at the guide posted, I’m unsure how to add myself to the bumblebee group. Could someone be kind enough to clarify how to do that for me?

You could use YaST. Navigate to YaST > Security and Users > User and Group Management. Edit the user concerned, select the ‘Details’ folder where additional groups can be selected as required. When done, click ‘Ok’, then ‘Ok’ again to write the changes.

Thanks for the assistance, I checked the box next to bumblebee and then had to reboot and now bumblebee shows up when I type

groups

I followed the previously mentioned tutorial to the letter and all of the commands at the end give identical output, but I still have the exact same problem when I try to launch a program using primusrun or optirun.

After adding the user to the bumblebee group, did you log out and log in again?

Yes I did, as well as a reboot. The error is now saying


primusrun glxspheres
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)

optirun glxspheres
 1589.946917] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)

 1589.946965] [ERROR]Aborting because fallback start is disabled.

I’m not sure why it’s trying to load nouveau; I want to use the nVidia driver.

Did you install the NVIDIA driver that is recommended in the bumblebee instruction page. I is different then the normal NVIDIA ie i has a patch to make it work.If you installed the normal NVIDIA driver uninstall it via Yast and install the one from the recommended repo.

I can’t seem to find a recommended driver for openSUSE 64-bit systems at http://bumblebee-project.org/install.html, but the one I installed is the dkms-nvidia package as stated in the previously mentioned tutorial.

If you followed the smithfarm tutorial exactly you should have the right one.

Afraid I can’t help much more I don’t have a frankenvideo machine to test… Really don’t know who thought it was a great idea to put 2 dissimilar video cards in a machine. Seems a better idea to have a video chip that scales as needed. Oh well :\