I have an Asus n552vw (Nvidia gtx960m+Intel HD graphics 530) with Debian 9.
I thought of installing the Nvidia Optimus drivers to increase battery life, without any result.
I followed the official guide (bumblebee + proprietary) but after login the system freezes and the fans run at max, of course the system is unusable.
Formatted and installed again Debian 9.
I've tried bumblebee+nouveau, same result.
I have tried many guides, same result (always with a fresh installation system)
I have tried to configuring Nvidia driver without bumblebee to work in Prime Sync Mode, but I don't arrive at the end of the configuration (i've followed this guide here on stackexchange)
I don't know how to solve
Thank you all for any help
I successfully installed
bumblebee + nvidia proprietary on
Debian 10 (buster).
I realized that the problem on
Debian 9 was the Kernel version (4.9) which did not support well the architecture for Intel skylake CPUs and the Nvidia Maxwell (and of course all the newest architectures)
Installing the new
4.19 kernel I think the steps are similar to the ones I ran on Debian 10 (maybe setting wayland as default display manager)
After a clean install of debian 10.
If it crashes on boot add this kernel boot options (works on my Asus, refeer to GitHub )
acpi_osi=! acpi_osi="Windows 2015".
Launch the terminal and:
sudo dpkg --add-architecture i386; sudo apt-get update; sudo apt-get install bumblebee-nvidia primus primus-libs:i386 libgl1-nvidia-glx:i386 mesa-utils
When finished, check this package
sudo apt-get install libgl1-nvidia-glx:amd64
Modifiy the grub
sudo nano /etc/default/grub adding at the line
acpi_osi=! acpi_osi="Windows 2015" save and update
Reboot and check if it works launching
cat /proc/acpi/bbswitch, should give OFF (rightly, In fact, the PC is using the Intel video card). Open another terminal's window, launch
optirun glxgears, in the other windows launch again
cat /proc/acpi/bbswitch now should give ON (rightly the PC is using the nVidia card to start glxgears).
To test better i used glxsphere which gave me 60 fps with the intel card and about 300fps with the nvidia card (optirun).
I hope I have written clearly and to be useful to someone.