I install Bumblebee form here https://en.opensuse.org/SDB:NVIDIA_Bumblebee with Bumblebee repo for 15.1, and it work, but Bumblebee NVIDIA driver are 440, and it don’t support my card.
What is my options on using full potential of the laptop. My setup is laptop connected to external monitor. The problem is that when i am using Mozilla in YouTube, every clip is taking 95% CPU usage and clip skip and stop from time to time. So I think that whit using of NVIDIA card for visualization the work is go smoother.
First error is here, at “Change the following lines under [driver-nvidia]:”
sudo ln -s /usr/lib64/xorg/modules/extensions/nvidia/nvidia-libglx.so /usr/lib64/nvidia/xorg/modules/extensions/libglx.so
ln: failed to create symbolic link ‘/usr/lib64/nvidia/xorg/modules/extensions/libglx.so’: file exist
optirun --status
101.724632] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
101.724705] [ERROR]Could not connect to bumblebee daemon - is it running?
linux-4962:/home/hristokz # sudo systemctl restart bumblebeed
linux-4962:/home/hristokz # optirun --status
110.217413] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
110.217487] [ERROR]Could not connect to bumblebee daemon - is it running?
linux-4962:/home/hristokz # sudo systemctl enable bumblebeed
linux-4962:/home/hristokz # optirun --status
150.728466] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
150.728529] [ERROR]Could not connect to bumblebee daemon - is it running?
sudo systemctl enable bbswitch
Failed to enable unit: Unit file bbswitch.service does not exist.
TEST
optirun --status
5604.773774] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
5604.773841] [ERROR]Could not connect to bumblebee daemon - is it running?
After reinstall bbswitch and bbswitch-kmp-default:
sudo systemctl enable bbswitch
Failed to enable unit: Unit file bbswitch.service does not exist.
linux-4962:/home/hristokz # optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
linux-4962:/home/hristokz # sudo systemctl start bumblebeed
linux-4962:/home/hristokz # optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
linux-4962:/home/hristokz # optirun glxgears
7541.822120] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
7541.822236] [ERROR]Aborting because fallback start is disabled.
PS: after just reboot
sudo systemctl start bbswitch
Failed to start bbswitch.service: Unit bbswitch.service not found.
linux-4962:/home/hristokz # optirun glxgears
153.124317] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
153.124374] [ERROR]Could not connect to bumblebee daemon - is it running?
linux-4962:/home/hristokz # sudo systemctl start bumblebeed
linux-4962:/home/hristokz # optirun glxgears
226.154855] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
226.154929] [ERROR]Could not connect to bumblebee daemon - is it running?
linux-4962:/home/hristokz # optirun --status
231.962653] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
231.962743] [ERROR]Could not connect to bumblebee daemon - is it running?
you need to “enable” as well as starting bbswitch and bumblebeed. I don’t know why you are installing bbswitch-kmp-default.
I don’t know what went wrong since I don’t know exactly what sequence you went with but if systemctl cannot start bbswitch, obviously bbswitch and/or its dependence hasn’t been installed properly.
Don’t expect bumblebee to work without bbswitch, but you need to sort out where it went wrong.
I am sorry, I cannot help you since you haven’t even uninstalled the Nvidia driver you installed originally. As I’ve said in my set of instructions, you have to start from “clean” state first.
sudo systemctl enable bumblebeed
linux-4j1s:/home/hristokz # sudo systemctl start bumblebeed
linux-4j1s:/home/hristokz # sudo systemctl enable bbswitch
Failed to enable unit: Unit file bbswitch.service does not exist.
linux-4j1s:/home/hristokz # optirun --status
255.314062] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
255.314133] [ERROR]Could not connect to bumblebee daemon - is it running?
linux-4j1s:/home/hristokz # optirun glxgears
844.944853] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
844.944930] [ERROR]Could not connect to bumblebee daemon - is it running?
Okay, that really beats me. You enabled and started bumblebeed and it’s complaining that it’s not running even when you check for status. Did you configure bumblebee correctly?
bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=true
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib64/:/usr/lib/
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib64/nvidia/xorg/,/usr/lib64/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
linux-4j1s:/home/hristokz # optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
linux-4j1s:/home/hristokz # optirun glxgears
7636.797984] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
7636.798066] [ERROR]Aborting because fallback start is disabled.
linux-4j1s:/home/hristokz # sudo systemctl enable bbswitch
Failed to enable unit: Unit file bbswitch.service does not exist.
linux-4j1s:/home/hristokz # sudo systemctl enable bumblebeed
linux-4j1s:/home/hristokz # sudo systemctl start bumblebeed
linux-4j1s:/home/hristokz # optirun --status
Bumblebee status: Error (3.2.1): Could not load GPU driver
linux-4j1s:/home/hristokz # sudo systemctl restart bumblebeed
linux-4j1s:/home/hristokz # optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
linux-4j1s:/home/hristokz # sudo systemctl enable bbswitch
Failed to enable unit: Unit file bbswitch.service does not exist.
linux-4j1s:/home/hristokz # optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
linux-4j1s:/home/hristokz # optirun glxgears
7702.781141] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
7702.781260] [ERROR]Aborting because fallback start is disabled.
PS More info about the problem
dmesg | tail
8033.277872] NVRM: No NVIDIA graphics adapter found!
8033.278123] nvidia-nvlink: Unregistered the Nvlink Core, major device number 241
8042.123453] nvidia-nvlink: Nvlink Core is being initialized, major device number 241
8042.124320] NVRM: The NVIDIA GeForce GT 325M GPU installed in this system is
NVRM: supported through the NVIDIA 340.xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 440.64.00 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
8042.124327] NVRM: No NVIDIA graphics adapter found!
8042.125018] nvidia-nvlink: Unregistered the Nvlink Core, major device number 241
optirun -vvv glxinfo
8298.794532] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
8298.795002] [INFO]Configured driver: nvidia
8298.795247] [DEBUG]optirun version 3.2.1 starting...
8298.795282] [DEBUG]Active configuration:
8298.795311] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
8298.795340] [DEBUG] X display: :8
8298.795360] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/:/usr/lib/
8298.795380] [DEBUG] Socket path: /var/run/bumblebee.socket
8298.795403] [DEBUG] Accel/display bridge: auto
8298.795422] [DEBUG] VGL Compression: proxy
8298.795439] [DEBUG] VGLrun extra options:
8298.795456] [DEBUG] Primus LD Path: /usr/lib64/primus:/usr/lib/primus
8298.795569] [DEBUG]Using auto-detected bridge virtualgl
8298.916941] [INFO]Response: No - error: Could not load GPU driver
8298.916994] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
8298.917039] [DEBUG]Socket closed.
8298.917100] [ERROR]Aborting because fallback start is disabled.
8298.917111] [DEBUG]Killing all remaining processes.
8042.124320] NVRM: The NVIDIA GeForce GT 325M GPU installed in this system is
NVRM: supported through the NVIDIA 340.xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 440.64.00 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe…Since the beginning of your thread, trying to install Nvidai 340.00 legacy driver. Now, the “fun” part is that assuming that you aren’t using cuda, find a matching driver version in the repository and to install a compatible version of it with bumblebee. Quite to be honest, I don’t know if they have a compatible driver that old with bumblebee.
This is the only driver for Leap 15.1 that i can find in OpenSUSE Repo. By your opinion is it viable option for driver or not. If not what is my other options: Older version of OpenSUSE or…