Why do you have kernel-default installed as well? Try to remove that.
And try to install kernel-source and and the devel packages for the older 3.11.6 kernel as well which you also have installed:
sudo zypper in kernel-source-3.11.6 kernel-desktop-devel-3.11.6 kernel-syms-3.11.6
Of course, if you prefer that.
Just a note though: kernel-desktop is not intended for desktop systems as opposed to laptops. It is a kernel specifically tuned for graphical desktop usage (i.e. Xorg).
You should install the devel packages for the 3.11.6 kernel nevertheless, as you also have kernel-default-3.11.6 installed.
sudo zypper in kernel-source-3.11.6 kernel-desktop-devel-3.11.6 kernel-syms-3.11.6
It seems that this installed older kernel-default-devel aswell. After I uninstalled kernel-default YaST2 automatically installed older version of kernel-default-base.
Well many thanks, nvidia drivers have installed but bbswitch still returns error
2014-03-18 20:42:37 (227 KB/s) - 'NVIDIA-Linux-x86_64-331.49.run' saved [60102684/60102684]
check sums and md5 sums are ok
Creating directory NVIDIA-Linux-x86_64-331.49
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 331.49.........................................................................................................................................................................................................................
(3/6) Instalowanie: primus-20131226-3.1 ..............................................................................[gotowe]
(4/6) Instalowanie: dkms-2.2.0.3-16.1 ................................................................................[gotowe]
(5/6) Instalowanie: dkms-nvidia-331.49-10.1 ..........................................................................[gotowe]
Dodatkowe wyjście rpm:
check sums and md5 sums are ok
(6/6) Instalowanie: dkms-bbswitch-0.8-6.1 ............................................................................[gotowe]
Dodatkowe wyjście rpm:
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
It’s normal that it would install kernel-default-devel as well, because kernel-syms requires all the kernel-xxx-devel packages.
But you shouldn’t have that kernel-default-base. Apparently you have something else installed that requires kernel-default, so YaST pulls in kernel-default-base when you want to uninstall kernel-default.
Try to uninstall kernel-default-base as well, you should get a dialog asking what to do with that other package. If YaST wants to install kernel-default again instead just taboo that.
And for some reason you don’t have kernel-syms-3.11.10 installed now, so update that too.
Hm. Which kernel are you actual running now? (“uname -a”)
Maybe that’s caused by kernel-default-base, so uninstall that as written above.
Ok, after I tried to taboo kernel-default-base I found that I have bbswitch-kde-default which caused both errors. Now I can enjoy bumblebee again. Thanks wolfi323.
I need help once more. After I installed those drivers modprobe nvidia returned that there is no nvidia module so I had to reinstall whole bumblebee and now the same problem with bbswitch still remains. When I tried to install whole “package” for bumblebee I get this:
2014-03-18 23:55:33 (231 KB/s) - 'NVIDIA-Linux-x86_64-331.49.run' saved [60102684/60102684]
check sums and md5 sums are ok
Creating directory NVIDIA-Linux-x86_64-331.49
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 331.49.........................................................................................................................................................................................................................
(4/6) Instalowanie: primus-20131226-3.1 ................................................................................................[gotowe]
(5/6) Instalowanie: dkms-nvidia-331.49-1.1 .............................................................................................[gotowe]
Dodatkowe wyjście rpm:
check sums and md5 sums are ok
+ '' -x /usr/sbin/dkms ']'
+ /usr/sbin/dkms add -m nvidia -v 331.49-1.1 --rpm_safe_upgrade
Creating symlink /var/lib/dkms/nvidia/331.49-1.1/source ->
/usr/src/nvidia-331.49-1.1
DKMS: add completed.
+ /usr/sbin/dkms build -m nvidia -v 331.49-1.1
Error! echo
Your kernel headers for kernel 3.11.10-7-desktop cannot be found at
/lib/modules/3.11.10-7-desktop/build or /lib/modules/3.11.10-7-desktop/source.
+ /usr/sbin/dkms install -m nvidia -v 331.49-1.1
Error! echo
Your kernel headers for kernel 3.11.10-7-desktop cannot be found at
/lib/modules/3.11.10-7-desktop/build or /lib/modules/3.11.10-7-desktop/source.
+ popd
(6/6) Instalowanie: dkms-bbswitch-0.8-6.1 ..............................................................................................[gotowe]
Dodatkowe wyjście rpm:
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
After reinstallation of kernel-source kernel-desktop-devel and kernel-syms I no longer get those error posted previously but now new came up… sadly…
(5/6) Instalowanie: dkms-nvidia-331.49-1.1 .............................................................................................[gotowe]Dodatkowe wyjście rpm:
check sums and md5 sums are ok
+ '' -x /usr/sbin/dkms ']'
+ /usr/sbin/dkms add -m nvidia -v 331.49-1.1 --rpm_safe_upgrade
Creating symlink /var/lib/dkms/nvidia/331.49-1.1/source ->
/usr/src/nvidia-331.49-1.1
DKMS: add completed.
+ /usr/sbin/dkms build -m nvidia -v 331.49-1.1
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....(bad exit status: 2)
make KERNELRELEASE=3.11.10-7-desktop -C /lib/modules/3.11.10-7-desktop/build SUBDIRS=/var/lib/dkms/nvidia/331.49-1.1/build modules....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.11.10-7-desktop (x86_64)
Consult /var/lib/dkms/nvidia/331.49-1.1/build/make.log for more information.
+ /usr/sbin/dkms install -m nvidia -v 331.49-1.1
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....(bad exit status: 2)
make KERNELRELEASE=3.11.10-7-desktop -C /lib/modules/3.11.10-7-desktop/build SUBDIRS=/var/lib/dkms/nvidia/331.49-1.1/build modules....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.11.10-7-desktop (x86_64)
Consult /var/lib/dkms/nvidia/331.49-1.1/build/make.log for more information.
+ popd
(6/6) Instalowanie: dkms-bbswitch-0.8-6.1 ..............................................................................................[gotowe]
Dodatkowe wyjście rpm:
Add module source to dkms
Creating symlink /var/lib/dkms/bbswitch/0.8/source ->
/usr/src/bbswitch-0.8
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....(bad exit status: 2)
make KERNELRELEASE=3.11.10-7-desktop KVERSION=3.11.10-7-desktop....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.11.10-7-desktop (x86_64)
Consult /var/lib/dkms/bbswitch/0.8/build/make.log for more information.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....(bad exit status: 2)
make KERNELRELEASE=3.11.10-7-desktop KVERSION=3.11.10-7-desktop....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.11.10-7-desktop (x86_64)
Consult /var/lib/dkms/bbswitch/0.8/build/make.log for more information.
Logs:
DKMS make.log for nvidia-331.49-1.1 for kernel 3.11.10-7-desktop (x86_64)
Wed Mar 19 00:50:25 CET 2014
make: Entering directory `/usr/src/linux-3.11.10-7-obj/x86_64/desktop'
make[1]: *** No rule to make target `modules'. Stop.
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-3.11.10-7-obj/x86_64/desktop'
Well, shame to admin but I missed whole kernel-devel… that caused so much trouble to me. I think it’s because I accidentally deleted whole /usr/src (I know it was stupid…) when I tried to remove NVIDIA drivers before I posted here. Is there something else that I should verify because of it?
You removed the whole /usr/src/ ?
Then you should re-install all the kernel-* packages (except the kernel itself and kernel-firmware).
sudo zypper in -f kernel-source-3.11.6 kernel-desktop-devel-3.11.6 kernel-syms-3.11.6 kernel-source-3.11.10 kernel-desktop-devel-3.11.10 kernel-syms-3.11.10
(I omitted kernel-default there as you don’t really need it, but you might want to reinstall that as well for completeness)
And all *-debuginfo packages you might have installed, but I guess that’s not really critical…
You can verify a specific package with something like this:
rpm -V kernel-source-3.11.6
(you can specify more than one package there, but it will make it harder to find out which packages need re-installing)
No output means, that everythings ok.
You would of course only need to re-install those packages where “rpm -V” gives errors.
Something really strange is going on over here. After all those installations I had to reinstall everything because when I tried to run Steam an error comes up “OpenGL GLX is not supported by this device”. So I removed bumblebee dkms nvidia drivers, all those stuff that I had to install to use bumblebee. I removed xorg.conf and renamed xorg.conf.install to xorg.conf, ran mkinitrd and after reboot my whole /usr/src/ went missing… all those links from /lib/modules/ lead to nowhere. Is this normal? I’m now thinking of removing whole OpenSUSE and installing it once again.
Did you run steam with optirun?
Then something went wrong with the nvidia driver installation.
If not, I can think of those things:
you had an xorg.conf that loaded another driver than intel.
you had “nomodeset” specified on the kernel command line, which also prevents the intel driver to work.
Or maybe you installed the nvidia driver manually (using the .run file from nvidia’s site) at one point?
This overwrites the system’s libglx and libGL with incompatible versions, which breaks the intel driver.
Please run “rpm -V Mesa-GL1 xorg-x11-server” and re-install those packages if necessary.
I removed xorg.conf and renamed xorg.conf.install to xorg.conf,
You should NOT do that.
xorg.conf.install is the config for failsafe/recovery mode, it WILL NOT load the intel driver.
You don’t need an xorg.conf anyway (it’s use is even depreciated nowadays), so just rename it back to xorg.conf.install.
ran mkinitrd and after reboot my whole /usr/src/ went missing… all those links from /lib/modules/ lead to nowhere. Is this normal? I’m now thinking of removing whole OpenSUSE and installing it once again.
No, this is not normal.
Maybe dkms somehow causes this?
Never seen something like this here, but I don’t have dkms installed and I don’t use bumblebee (as I have no Optimus system).
I did not run steam with optirun.
I’ve removed xorg.conf completely.
I don’t know if I had nomodeset, how can I check it.
Nvidia driver installs with dkms-nvidia and x11-video-nvidia
I don’t have Mesa-GL1 and there is no such thing in repos.
+
I’m in video and bumblebee groups.