Hello,
I have one question:
I use openSUSE Leap 42.1 KDE on my laptop.
I have double video Intel + nVidia
I try to configure bumblebee but with no success… After that I just install nvidia drivers from Nvidia Repo (Yast)
Everthing now looks OK, BUT when i try open nvidia X server setting have this message:
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
Hi, not clear to me what you really did.
Is your laptop equipped with an “Optimus” architecture (as is likely)?
If so, you NEED either bumblebee or suse-prime to engage the Nvidia graphics chip.
And the “regular” Nvidia driver (which “Nvidia repo” did you use?) will NOT work on such systems.
If your laptop is one of those rare models that can switch Intel OR Nvidia GPU via BIOS (or other switches), you don’t need bumblebee and the Nvidia driver should work when properly installed.
But anyway bumblebee and the “regular” Nvidia driver DON’T WORK together (unless you go a long way to customize your install configuration).
Please note that on a properly configured “bumblebee” install, nvidia-settings should be invoked as:
optirun -b none nvidia-settings -c :8
to engage the “auxiliary” Xserver at display :8, otherwise it casts an error similar to what you are seeing.
Before 1 day I run nvidia-xconfig in Konzole and my openSUSE stop start KDE only non-graphical mode
I delete nvidia drivers from yast “sudo -s yast”
after that I delete xorg.conf file and ny my graphical mode (KDE) start succeful.
but now I donk know what is the mess with my video drivers…
Yes i have optimus video, but have not a way to swich via BIOS.
I follow this steps for conficure Bumblebee - https://en.opensuse.org/SDB:NVIDIA_Bumblebee
But when i type optirun --status have errors and I delete all bumblebee thingss. My question If i install only nVidia drivers from nVidia repository is that a problem for my hardware ? And my second question is there is need to use bumblebee ? I cant cofigure it… Maybe tutorial from site is old and cant use for Leap ? Thank you! Sorry for my English Im from Bulgaria.
Ok please tell be step by step how to install and configure bumblebee pls I will be grateful.
I will break my laptop with hammer… THIS guide not worked for me…
you have “Optimus” hardware, then “bumblebee” is needed and “regular” Nvidia drivers from other sites will NOT WORK as installed;
there is NO CONFIGURATION needed for bumblebee; just add your user to the “bumblebee” and “video” groups; namely, NO nvidia-xconfig NOR xorg.conf are needed;
enable the bumblebee daemon as written in the guide with “systemctl enable bumblebeed” typed in a terminal with superuser (root) privileges; you may check that the daemon is indeed running by the command:
service bumblebeed status
the system should answer something similar to the following:
LT_B:~ # service bumblebeed status
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
Active: active (running) since Wed 2016-08-10 18:43:29 CEST; 4h 40min ago
Main PID: 1955 (bumblebeed)
CGroup: /system.slice/bumblebeed.service
└─1955 /usr/sbin/bumblebeed
Aug 10 18:43:29 LT_B systemd[1]: Started Bumblebee C Daemon.
Aug 10 18:43:29 LT_B bumblebeed[1955]: 7.031461] [INFO]/usr/sbin/bumblebeed 3.2.1 started
LT_B:~ #
The procedure from SDB:NVIDIA_Bumblebee may lead to problems if you have an older Nvidia chip (please check that yours is supported by the 367.27 driver currently installed by nvidia-bumblebee) or with some Nvidia Quadro chips.
If this is your case, please post your Nvidia chip model, maybe there are workarounds.
If you still have problems, please post the results of the following commands:
zypper lr -dE
zypper se -is bumblebee bbswitch nvidia
If anything is not clear to you, feel free to ask here, we are not afraid of bad English
Hi, Thank you very much I install bumblebee, but I think still have some problems
when I restart laptop and type after starting “optirun --status” outpus is normaly … X inactive. Discrete video card is off.
but when I try to start some application with nVidia (optirun) like - optirun chromium
my output is:
**inux-0m83:/home/azim #** optirun chromium
387.711640] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card1: failed
to set DRM interface version 1.4: Permission denied
387.711733] [ERROR]Aborting because fallback start is disabled.
I think have some problem and after that command my optirun --status is change
**linux-0m83:/home/azim #** optirun --status
Bumblebee status: Error (3.2.1): [XORG] (EE) /dev/dri/card1: failed to set DRM interface versi
on 1.4: Permission denied
I post output from service bumblebeed status.
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
Active: **active (running)** since Thu 2016-08-11 17:56:59 EEST; 7min ago
Main PID: 1345 (bumblebeed)
CGroup: /system.slice/bumblebeed.service
`-1345 /usr/sbin/bumblebeed
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711455] [ERROR][XORG] (EE) NVIDIA: sys
tem's kernel log for additional error messages and
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711472] [ERROR][XORG] (EE) NVIDIA: con
sult the NVIDIA README for details.
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711487] [ERROR][XORG] (EE) No devices dete
cted.
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711501] [ERROR][XORG] (EE)
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711516] [ERROR][XORG] (EE) no screens foun
d(EE)
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711530] [ERROR][XORG] (EE)
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711546] [ERROR][XORG] (EE) Please also che
ck the log file at "/var/log/Xorg.8.log" for additional information.
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711560] [ERROR][XORG] (EE)
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711574] [ERROR][XORG] (EE) Server terminat
ed with error (1). Closing log file.
Aug 11 18:02:59 linux-0m83 bumblebeed[1345]: 387.711587] [ERROR]X did not start properly
Results from zypper se -is bumblebee bbswitch nvidia
**linux-0m83:/home/azim #** zypper se -is bumblebee bbswitch nvidia
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+------------------------+---------+-----------------------+--------+------------------
i | bbswitch | package | 0.8-24.2 | x86_64 | Bumblebee
i | bbswitch-kmp-default | package | 0.8_k4.1.12_1-24.2 | x86_64 | Bumblebee
i | bbswitch-kmp-pv | package | 0.8_k4.1.12_1-24.2 | x86_64 | Bumblebee
i | bumblebee | package | 3.2.1-26.1 | x86_64 | Bumblebee
i | nvidia-bumblebee | package | 367.27-2.1 | x86_64 | Bumblebee
i | nvidia-bumblebee-32bit | package | 367.27-2.1 | x86_64 | Bumblebee
i | nvidia-gfxG04-kmp-pv | package | 367.35_k4.1.12_1-25.1 | x86_64 | (System Packages)
i | nvidia-glG04 | package | 367.35-25.1 | x86_64 | (System Packages)
I`m not advanced user, but I think is have a problem ?
I have been use Bumblebee ot Deiban , Mint and have no problems, but I like openSUSE more that other distros and want to use it.
BTW my video nVidia is Geforce GT520M CUDA 1GB
Any ideas ?
Yes, you have a problem: nvidia-gfxG04-kmp-pv and nvidia-glG04 (both with version 367.35) conflict with nvidia-bumblebee 367.27.
Please uninstall those 367.35 packages (a leftover from your previous install of the “regular” driver?).
If afterwards bumblebee works, you are done. If not so, maybe you have to uninstall all bbswitch* bumblebee nvidia-* packages and start over reinstalling according to the guide TO THE LAST WORD.
If that doesn’t work, report back and we’ll try to find what is wrong.
I uninstall nvidia-gfxG04-kmp-pv and nvidia-glG04, no results… after that I remove bbswitch* bumblebee nvidia-* packages and reinstall everything from guide but problem is still there
now when I type optirun --status output is:
azim@linux-0m83:~> optirun --status
Bumblebee status: Error (3.2.1): [XORG] (EE) /dev/dri/card0: failed to set DRM interface versi
on 1.4: Permission denied
Now I have 2 monitors… The same is when I make fresh install of openSUSE have 2 monitors… one is my laptop monitor and other is VGA Monitor…
I am desperate, here in openSUSE is very dificult…
Any ideas ?
Thank you for supporting!
Apparently you messesd up something during your previous attempts at installing the wrong version of Nvidia drivers; now it is very hard to figure out what went wrong without having access to your system.
Apparently bumblebee is working, but the nvidia driver is missing something.
If it is possible to reinstall Leap from scratch and then follow the Nvidia-bumblebee guide EXACTLY, maybe that is the safer solution. That worked out-of-the-box here on Optimus laptops, so things are not difficult in OpenSUSE if you follow the OpenSUSE rules… and don’t try other distribution’s “tricks”.
If a complete reinstall is not an option, here are a few things to check.
check that the nvidia modules are indeed installed; you should see something similar to:
bruno@LT_B:~> ls -l /lib/modules/4.1.27-27-default/updates/
total .....
-rw-r--r-- 1 root root 22344 7 ago 15.55 bbswitch.ko
-rw-r--r-- 1 root root 84864 7 ago 18.47 nvidia-drm.ko
-rw-r--r-- 1 root root 15296064 7 ago 18.47 nvidia.ko
-rw-r--r-- 1 root root 1050896 7 ago 18.47 nvidia-modeset.ko
-rw-r--r-- 1 root root 1109688 7 ago 18.47 nvidia-uvm.ko
.....
bruno@LT_B:~>
If any nvidia*.ko module is missing, check if you have virtualbox-guest-kmp-default installed; if so, uninstall it and then re-install nvidia-bumblebee.
Check that /etc/bumblebee/xorg.conf.nvidia is the file installed by the bumblebee package and has not been overwritten or is missing. Among comments and other stuff you should find the following:
Check /var/log/Xorg.8.log between the lines that read:
13909.414] (II) xfree86: Adding drm device (/dev/dri/card0)
13909.414] (II) xfree86: Adding drm device (/dev/dri/card1)
13909.414] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied
....
13909.711] (II) LoadModule: "dri2"
13909.711] (II) Module "dri2" already built-in
13909.711] (II) NVIDIA(0): [DRI2] Setup complete
13909.711] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
13909.711] (--) RandR disabled
13909.714] (II) Initializing extension GLX
13909.714] (II) Indirect GLX disabled.
Any errors between those lines should point to something wrong in your install.
Reinstalling xorg-x11-server might help too, if installing and uninstalling the wrong drivers messed up extensions.
Your Geforce GT520M has nothing special as far as I know and a standard bumblebee install should just work with the 367.27 driver.
Waiting for your feedback, don’t give up (yet )
Hint you must first totally uninstall the normal NVIDA driver if you install it before installing bumblebee version. over writing can leave thing behind since nvidia-bumblebee is just a little different
Hint you must first totally uninstall the normal NVIDA driver if you install it before installing bumblebee version. over writing can leave thing behind since nvidia-bumblebee is just a little different
I was uninstall all of nvidia drivers installed before with Yast - Software - Search nVidia and mark all nvidia thinks to remove… After that I make new bumblebee installation.
Bruno when i type ls -l /lib/modules/4.1.27-27-default/updates/ output is:
azim@linux-0m83:~> ls -l /lib/modules/4.1.27-27-default/updates/total 0
azim@linux-0m83:~>
My /etc/bumblebee/xorg.conf.nvidia file is not same like your:
My file:
Section "ServerLayout" Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
# BusID "PCI:01:00:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
My /var/log/Xorg.8.log file:
I upload it on one of my sites: http://ribnovo-bg.com/Xorg.8.log
God bless you peope - for support
Now I will reinstall xorg-x11-server and will post results.
Sorry for late, but I`m aircraft Engineer and work all day.
Thanks again
I will not give up
Don’t do that NVIDIA modes the X stack so reinstalling X will break any NVIDIA driver
You should not need or have an /etc/X11/xorg.conf file. It may have been made if you tried nvidia settings program with the default driver. remove/rename if it exists
Hi, just a partial answer, more about it later (I hope…)
Agree with @gogalthorp, don’t touch xorg-x11-server (yet), we shall try to repair your Nvidia install.
Your /etc/bumblebee/xorg.conf.nvidia file is the original from bumblebee in the X11:/Bumblebee/ repo, no need to change it. @gogalthorp Please don’t confuse this file with /etc/X11/xorg.conf which, I agree, is NOT needed and does harm if present.
Bruno when i type ls -l /lib/modules/4.1.27-27-default/updates/ output is:
azim@linux-0m83:~> ls -l /lib/modules/4.1.27-27-default/updates/total 0
azim@linux-0m83:~>
You have NO NVIDIA KERNEL modules for the running kernel: something went wrong while building and/or installing them.
Please post the result of:
Know the difference but worth looking if an existing xorg.conf is messing with things since the normal drivers were first installed nvidia-settings may have been run
Hi,
I uninstall Xserver and my KDE cant start anymore -only "terminal mode".. in this mode i type sudo -s yast after that I install xserver again and now my KDE start correctly. Before 5 days I try to install nvidia drivers only from nvidia repository and I was have xorg.conf and my system cant start with xorg.conf and I delete it. Now have not xorg.conf.
Bruno I not use virtual machine I have double boot windows7 and openSUSE on my laptop.
I’m confused now… what I need to do guys ?