Hi, I am new to linux and just switched over from kubuntu after a friend suggested I should try opensuse. I tried installing bumblebee from various guides and have had no success. I read https://forums.opensuse.org/english/get-technical-help-here/hardware/484188-setup-bumblebee-primus-opensuse-12-3-a.html and was not sure on how to go about installing bumblebee. I would also like to get this working with 32bit apps.
New installation of opensuse 12.3 KDE 64bit
System specs: Gigabyte u2442 i5-3210m 8GB Nvidia 640M
This one is quite old. In short, this is it:
Use Yast - Software - Software repositories - Add - URL, and add this repo:
[Index of /repositories/home:/Overman79:/Laptop/openSUSE_12.3](http://download.opensuse.org/repositories/home:/Overman79:/Laptop/openSUSE_12.3/)
Trust the key when prompted for
Now start Yast - Software - Software management, and check the following packages for install, packagenames between brackets only on 64bit systems:
VirtualGL
(VirtualGL-32bit)
bumblebee
dkms
dkms-bbswitch
dkms-nvidia
libturbojpgeg
(liturbojpeg-32bit)
primus
(primus-32bit)
x11-video-nvidia
(x11-video-nvidia-32bit)
When done, reboot. Once back in the desktop environment, open a terminal and run
primusrun glxinfo | grep OpenGL
optirun glxinfo | grep OpenGL
to verify things work. The output should show the NVIDIA card is being used by the commands.
There’s a couple of things one may check in case of trouble:
Check whether bumblebee is running
systemctl status bumblebeed.service
if it doesn’t run yet, do
su -c 'systemctl restart bumblebeed.service'
User may need to be member of the “video” group
User may have to create a “bumblebee” group and add him/herself to it
When running
primusrun glxinfo | grep OpenGL
optirun glxinfo | grep OpenGL
I get 141.999292] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) [drm] KMS not enabled
141.999322] [ERROR]Aborting because fallback start is disabled.
What Xorg files do I need to install/enable?
Zharken:
When running
primusrun glxinfo | grep OpenGL
optirun glxinfo | grep OpenGL
I get 141.999292] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) [drm] KMS not enabled
141.999322] [ERROR]Aborting because fallback start is disabled.
What Xorg files do I need to install/enable?
None. What you need to do is this:
Start Yast - System - Sysconfig editor
Search for KMS, go there
Set “NO_KMS_IN_INITRD” to “no”
Reboot, and try the last commands again.
Some background: in the latest drivers delivered by NVIDIA, they have done what a lot of us would never expect: the driver now needs kernel mode setting. So far the drivers wouldn’t work with KMS, now (at least in an Optimus/bumblebee configuration) the require it.
Knurpht:
Some background: in the latest drivers delivered by NVIDIA, they have done what a lot of us would never expect: the driver now needs kernel mode setting. So far the drivers wouldn’t work with KMS, now (at least in an Optimus/bumblebee configuration) the require it.
Interesting. I wasn’t aware of that development.
Knurpht:
None. What you need to do is this:
Start Yast - System - Sysconfig editor
Search for KMS, go there
Set “NO_KMS_IN_INITRD” to “no”
Reboot, and try the last commands again.
Some background: in the latest drivers delivered by NVIDIA, they have done what a lot of us would never expect: the driver now needs kernel mode setting. So far the drivers wouldn’t work with KMS, now (at least in an Optimus/bumblebee configuration) the require it.
I did exactly that and now I am getting another error
99.240368] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module “nvidia” (module does not exist, 0)
99.240401] [ERROR]Aborting because fallback start is disabled.
Am I doing something wrong or was something not installed correctly? Anyway thanks for the help!