Which display manager and desktop environment has been installed?
Myself and a few other have experienced an apparent system freeze/lock/hang after installing bumblee. However, in all cases that I have heard of the system would boot to a graphical login prompt, the freeze would occur after entering your login credentials and prior to starting the desktop session. These cases were with GMD display manager and GNOME 3 desktop environment, I suspect if using some other display manger it may freeze for the same reason before reaching the login prompt.
For me and a few others, the issue was resolved by adding...
...to the kernel boot parameters.
stevepusser wrote:The most common rookie problem is not making sure you have a driver (aka module) build environment set up first. Install
module-assistant and run as sysadmin:
to take care of this. Then again follow the wiki instructions to install bumblebee-nvidia.
And a common problem that experienced users make is to assume that methods and requirements of previous versions or architectures never change and are still necessary.
There are no specific prerequisites for installing Bumblebee with Nvidia on Debian Stretch amd64. The package manager pulls in everything needed during the install.
Just this morning I have performed a fresh/clean install of Debian Stretch on a machine and upon reboot, this first thing I did was to install Bumblebee with the Nvidia drivers. It was as straight forward as installing the bumblebee-nividia package alone, then adding the user(s) to the bumblebee group...
Code: Select all
~# apt-get install bumblebee-nvidia
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
bbswitch-dkms binutils bumblebee dkms fakeroot gcc gcc-6
glx-alternative-mesa glx-alternative-nvidia glx-diversions libasan3
libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libegl-nvidia0
libegl1-glvnd-nvidia libfakeroot libgcc-6-dev libgl1-glvnd-nvidia-glx
libgl1-nvidia-glvnd-glx libgldispatch0-nvidia libgles-nvidia1
libgles-nvidia2 libgles1-glvnd-nvidia libgles2-glvnd-nvidia libglx-nvidia0
libglx0-glvnd-nvidia libitm1 liblsan0 libmpx2 libnvidia-cfg1
libnvidia-eglcore libnvidia-glcore libnvidia-ml1 libopengl0-glvnd-nvidia
libtsan0 libubsan0 libvulkan1 libxnvctrl0 linux-compiler-gcc-6-x86
linux-headers-4.9.0-4-amd64 linux-headers-4.9.0-4-common linux-headers-amd64
linux-kbuild-4.9 linux-libc-dev make manpages-dev nvidia-alternative
nvidia-driver nvidia-driver-bin nvidia-driver-libs nvidia-egl-common
nvidia-egl-icd nvidia-installer-cleanup nvidia-kernel-common
nvidia-kernel-dkms nvidia-kernel-support nvidia-legacy-check nvidia-modprobe
nvidia-persistenced nvidia-settings nvidia-support nvidia-vdpau-driver
nvidia-vulkan-common nvidia-vulkan-icd patch primus primus-libs socat sudo
update-glx xserver-xorg-video-nvidia
Suggested packages:
binutils-doc python3-apport menu gcc-multilib autoconf automake libtool flex
bison gdb gcc-doc gcc-6-multilib gcc-6-doc gcc-6-locales libgcc1-dbg
libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg
libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg
glibc-doc make-doc vulkan-utils ed diffutils-doc
Recommended packages:
nvidia-driver-libs-i386 primus-libs-ia32
The following NEW packages will be installed:
bbswitch-dkms binutils bumblebee bumblebee-nvidia dkms fakeroot gcc gcc-6
glx-alternative-mesa glx-alternative-nvidia glx-diversions libasan3
libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libegl-nvidia0
libegl1-glvnd-nvidia libfakeroot libgcc-6-dev libgl1-glvnd-nvidia-glx
libgl1-nvidia-glvnd-glx libgldispatch0-nvidia libgles-nvidia1
libgles-nvidia2 libgles1-glvnd-nvidia libgles2-glvnd-nvidia libglx-nvidia0
libglx0-glvnd-nvidia libitm1 liblsan0 libmpx2 libnvidia-cfg1
libnvidia-eglcore libnvidia-glcore libnvidia-ml1 libopengl0-glvnd-nvidia
libtsan0 libubsan0 libvulkan1 libxnvctrl0 linux-compiler-gcc-6-x86
linux-headers-4.9.0-4-amd64 linux-headers-4.9.0-4-common linux-headers-amd64
linux-kbuild-4.9 linux-libc-dev make manpages-dev nvidia-alternative
nvidia-driver nvidia-driver-bin nvidia-driver-libs nvidia-egl-common
nvidia-egl-icd nvidia-installer-cleanup nvidia-kernel-common
nvidia-kernel-dkms nvidia-kernel-support nvidia-legacy-check nvidia-modprobe
nvidia-persistenced nvidia-settings nvidia-support nvidia-vdpau-driver
nvidia-vulkan-common nvidia-vulkan-icd patch primus primus-libs socat sudo
update-glx xserver-xorg-video-nvidia
0 upgraded, 74 newly installed, 0 to remove and 0 not upgraded.
Need to get 61.5 MB of archives.
After this operation, 270 MB of additional disk space will be used.
Do you want to continue? [Y/n]
As can be seen, the package manager installs any additional packages required, there is no need to have module-assistant, build-essential or any such similar packages installed prior.