Hi!
Dear fellow linuxers, I hope you can help me figure this one out.
I’m on a Schenker XMG A505 (http://www.mysn.de/xmg-advanced-gaming-notebooks/xmg-a505) with an NVIDIA GeForce GTX 960M 2048MB GDDR5 + internal Intel graphic in NVIDIA Optimus.
For now, bumblebee had worked really fantastic to me.
On 15 September, zypper pulled a new nvidia drivers version, as nvidia-bumblebee-352.41-1.1.x86_64.rpm and nvidia-bumblebee-32bit-352.41-1.1.x86_64.rpm from repo:
4 | X11:Bumblebee | X11:Bumblebee | Yes | (r ) Yes | Yes | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_13.2/
from /var/log/zypp/history:
# 2015-09-15 00:38:11 nvidia-bumblebee-352.41-1.1.x86_64.rpm installed ok
# Additional rpm output:
# converted 'http://us.download.nvidia.com/XFree86/Linux-x86_64/352.41/NVIDIA-Linux-x86_64-352.41.run' (ANSI_X3.4-1968) -> 'http://us.download.nvidia.com/XFree86/Linux-x86_64/352.41/NVIDIA-Linux-x86_64-352.41.run' (UTF-8)
# --2015-09-15 00:37:23-- http://us.download.nvidia.com/XFree86/Linux-x86_64/352.41/NVIDIA-Linux-x86_64-352.41.run
# Resolving us.download.nvidia.com (us.download.nvidia.com)... 92.226.0.192, 92.226.0.193
# Connecting to us.download.nvidia.com (us.download.nvidia.com)|92.226.0.192|:80... connected.
# HTTP request sent, awaiting response... 200 OK
# Length: 77180264 (74M) [application/octet-stream]
# Saving to: 'NVIDIA-Linux-x86_64-352.41.run'
#
# 0K .......... .......... .......... .......... .......... 0% 257K 4m53s
# 50K .......... .......... .......... .......... .......... 0% 4.26M 2m35s
...]
# 75350K .......... .......... . 100% 5.08M=32s
#
# 2015-09-15 00:37:56 (2.29 MB/s) - 'NVIDIA-Linux-x86_64-352.41.run' saved [77180264/77180264]
#
# check sums and md5 sums are ok
# Creating directory NVIDIA-Linux-x86_64-352.41
# Verifying archive integrity... OK
# Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 352.41...........................................................................................................................................................................................................................................................
# + '' -x /usr/sbin/dkms ']'
# + /usr/sbin/dkms remove -m nvidia -v 352.21 --all --rpm_safe_upgrade
#
# -------- Uninstall Beginning --------
# Module: nvidia
# Version: 352.21
# Kernel: 3.16.7-21-desktop (x86_64)
# -------------------------------------
#
# Status: Before uninstall, this module version was ACTIVE on this kernel.
# Removing any linked weak-modules
#
# nvidia.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.16.7-21-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
#
# nvidia-uvm.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.16.7-21-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
# depmod....
#
# DKMS: uninstall completed.
#
# -------- Uninstall Beginning --------
# Module: nvidia
# Version: 352.21
# Kernel: 3.16.7-24-desktop (x86_64)
# -------------------------------------
#
# Status: Before uninstall, this module version was ACTIVE on this kernel.
# Removing any linked weak-modules
#
# nvidia.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.16.7-24-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
#
# nvidia-uvm.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.16.7-24-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
# depmod....
#
# DKMS: uninstall completed.
#
# -------- Uninstall Beginning --------
# Module: nvidia
# Version: 352.21
# Kernel: 3.16.7-62-desktop (x86_64)
# -------------------------------------
#
# Status: Before uninstall, this module version was ACTIVE on this kernel.
# Removing any linked weak-modules
#
# nvidia.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.16.7-62-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
#
# nvidia-uvm.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.16.7-62-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
# depmod....
#
# DKMS: uninstall completed.
#
# ------------------------------
# Deleting module version: 352.21
# completely from the DKMS tree.
# ------------------------------
# Done.
#
2015-09-15 00:38:11|install|nvidia-bumblebee|352.41-1.1|x86_64||X11:Bumblebee|c299e5f4cdd45440dbe094281a73e20bdad484f157a7d994fcd788b0d334811f|
# 2015-09-15 00:38:49 nvidia-bumblebee-32bit-352.41-1.1.x86_64.rpm installed ok
# Additional rpm output:
# converted 'http://us.download.nvidia.com/XFree86/Linux-x86_64/352.41/NVIDIA-Linux-x86_64-352.41.run' (ANSI_X3.4-1968) -> 'http://us.download.nvidia.com/XFree86/Linux-x86_64/352.41/NVIDIA-Linux-x86_64-352.41.run' (UTF-8)
# --2015-09-15 00:38:11-- http://us.download.nvidia.com/XFree86/Linux-x86_64/352.41/NVIDIA-Linux-x86_64-352.41.run
# Resolving us.download.nvidia.com (us.download.nvidia.com)... 92.226.0.193, 92.226.0.192
# Connecting to us.download.nvidia.com (us.download.nvidia.com)|92.226.0.193|:80... connected.
# HTTP request sent, awaiting response... 200 OK
# Length: 77180264 (74M) [application/octet-stream]
# Saving to: 'NVIDIA-Linux-x86_64-352.41.run'
#
# 0K .......... .......... .......... .......... .......... 0% 238K 5m16s
# 50K .......... .......... .......... .......... .......... 0% 4.85M 2m45s
...]
# 75350K .......... .......... . 100% 7.03M=31s
#
# 2015-09-15 00:38:43 (2.36 MB/s) - 'NVIDIA-Linux-x86_64-352.41.run' saved [77180264/77180264]
#
# check sums and md5 sums are ok
# Creating directory NVIDIA-Linux-x86_64-352.41
# Verifying archive integrity... OK
# Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 352.41...........................................................................................................................................................................................................................................................
#
2015-09-15 00:38:49|install|nvidia-bumblebee-32bit|352.41-1.1|x86_64||X11:Bumblebee|8e6b7f53dbca500c6f27f3fb66e9385ebb50dc7a1d195a4d63f18338beb8e94b|
...]
# 2015-09-15 00:39:32 Output of nvidia-bumblebee-352.41-1.1.x86_64.rpm %posttrans script:
# + '' -x /usr/sbin/dkms ']'
# + /usr/sbin/dkms add -m nvidia -v 352.41 --rpm_safe_upgrade
#
# Creating symlink /var/lib/dkms/nvidia/352.41/source ->
# /usr/src/nvidia-352.41
#
# DKMS: add completed.
# + /usr/sbin/dkms build -m nvidia -v 352.41
#
# Kernel preparation unnecessary for this kernel. Skipping...
#
# Building module:
# cleaning build area....
# make KERNELRELEASE=3.16.7-24-desktop module KERNEL_UNAME=3.16.7-24-desktop; make -C uvm module KERNEL_UNAME=3.16.7-24-desktop KBUILD_EXTMOD=/var/lib/dkms/nvidia/352.41/build/uvm..........
# cleaning build area....
#
# DKMS: build completed.
# + /usr/sbin/dkms install -m nvidia -v 352.41
#
# nvidia:
# Running module version sanity check.
# - Original module
# - No original module exists within this kernel
# - Installation
# - Installing to /lib/modules/3.16.7-24-desktop/updates//
#
# nvidia-uvm.ko:
# Running module version sanity check.
# - Original module
# - No original module exists within this kernel
# - Installation
# - Installing to /lib/modules/3.16.7-24-desktop/updates//
# Adding any weak-modules
#
# depmod....
#
# DKMS: install completed.
# + popd
2015-09-15 16:20:36|install|java-1_8_0-openjdk-headless|1.8.0.60-15.2|x86_64||repo-update|d947b079a4cced320cca4745601e08a6cc71d7fd7217cc881a23297de8157662|
2015-09-15 16:20:36|install|java-1_8_0-openjdk|1.8.0.60-15.2|x86_64||repo-update|f48221527abc0da7b746d14298e051bf3262dfd2630a6722d515f83fb932b1f8|
...]
You can see that the kernel module is made, but it is not added to the initrd in the boot partition yet at this time. Therefore, booting worked flawlessly from 2015-09-15 (when the new bumblebee nvidia driver was installed) until 2015-09-23.
At 2015-09-22, a new version of dracut was installed, which caused the initrd to be rebuilt:
2015-09-22 22:30:44|install|chromium|45.0.2454.85-43.1|x86_64||repo-update|2aa0dd102de5c4017f79dd1f0d3f42a8a1c4fafd928a233edd53cdfa78013044|
2015-09-22 22:30:44|install|dracut|037-17.21.1|x86_64||repo-update|10fef431b587fe5c176ca35a15ba5d76c0dc33496d25d5fb1f60d8c84e998a13|
# 2015-09-22 22:31:53 Output of dracut-037-17.21.1.x86_64.rpm %posttrans script:
# Creating initrd: /boot/initrd-3.11.10-25-desktop
# Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-3.11.10-25-desktop 3.11.10-25-desktop
... --> http://pastebin.com/VzN593PX ]
When booting again next morning, my kernel did not make it through the bootup process. I hope I will be able to upload the photographed boot log as JPGs, attaching them to this post.
I booted from the openSUSE 13.2 DVD to make sure all filesystems were intact and it was no device failure (RAM, graphics card…) and also booted successfully into Windows 8.1. Very happy that I could pretty much narrow it down to a software-only problem.
Due to the zypper install log and some boot error messages mentioning nvidia and NVRM, I decided trying to uninstall bumblebee:
# 2015-09-23 18:32:06 nvidia-bumblebee-352.41-1.1.x86_64 removed ok
# Additional rpm output:
# + '' -x /usr/sbin/dkms ']'
# + /usr/sbin/dkms remove -m nvidia -v 352.41 --all --rpm_safe_upgrade
#
# -------- Uninstall Beginning --------
# Module: nvidia
# Version: 352.41
# Kernel: 3.11.10-25-desktop (x86_64)
# -------------------------------------
#
# Status: Before uninstall, this module version was ACTIVE on this kernel.
# Removing any linked weak-modules
#
# nvidia.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.11.10-25-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
#
# nvidia-uvm.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.11.10-25-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
# depmod....
#
# DKMS: uninstall completed.
#
# -------- Uninstall Beginning --------
# Module: nvidia
# Version: 352.41
# Kernel: 3.16.7-24-desktop (x86_64)
# -------------------------------------
#
# Status: Before uninstall, this module version was ACTIVE on this kernel.
# Removing any linked weak-modules
#
# nvidia.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.16.7-24-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
#
# nvidia-uvm.ko:
# - Uninstallation
# - Deleting from: /lib/modules/3.16.7-24-desktop/updates//
# - Original module
# - No original module was found for this module on this kernel.
# - Use the dkms install command to reinstall any previous module version.
#
# depmod....
#
# DKMS: uninstall completed.
#
# ------------------------------
# Deleting module version: 352.41
# completely from the DKMS tree.
# ------------------------------
# Done.
#
2015-09-23 18:32:06|remove |nvidia-bumblebee|352.41-1.1|x86_64|root@felinity|
2015-09-23 18:32:06|remove |nvidia-bumblebee-32bit|352.41-1.1|x86_64|root@felinity|
2015-09-23 18:32:06|remove |primus|20131226-3.1.3|x86_64||
2015-09-23 18:32:07|remove |bumblebee|3.2.1-2.1.12|x86_64|root@felinity|
The next boot still failed, but I remembered that the driver was still in the initrd. After calling “mkinird” and rebooting, I finally got back to my KDE desktop.
So currently, I am having X running, but I cannot control screen brightness, run Steam, play games or use other 3D acceleration of the NVIDIA card.
→ How can I get a bumblebee nvidia driver that won’t break my boot? http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_13.2/x86_64/ does not contain the previous version anymore. My root partition is on ext4, not btrfs, so I cannot use snapper and roll back.
→ How can I get this report to the people who are maintaining the X11:/Bumblebee repository?
Thanks so much for your help!
– Klaus