For some time I've tried to install nvidia drivers on my laptop and I've never got it working. The issue comes with that fact its an Optimus laptop (intel integrated + nvidia discrete) from my understanding
I've tired this and while it did install and it didn't just boot to a black screen like other methods have, running optirun glxgears yields no FPS increase and in games as well it did not work either. Perhaps I'm not doing it right, so if you guys could please help me or get me going in the right direction I'd appreciate it
I have an MSI GP60 which has the following hardware
Couple questions, which games? Are you playing any games that require nvidia graphics drivers?
The game I tried was CS:GO, so thats not a game that requires an Nvidia GPU as far as I'm aware
Are you able to launch the nvidia control panel?
It never installed, I've the last couple times I tried this I haven't had an nvidia control panel
Are you sure the game is using your nvidia card and not your CPU video card?
I tried launching it using primusrun %COMMAND% in the launch options as this Valve how-to specifies, but as if it was actually working or using the card I don't feel it was
Bumblebee allows support for NVIDIA Optimus enabled systems however does not install the proprietary driver itself. To install the proprietary driver on Debian, please do the following:
Search for all the nvidia packages and purge them:
dpkg --list | grep -i --color nvidia
Stop any graphical environment
Install the proprietary driver:
sh /home/your_username/NVIDIA-Linux-arch-version.run
Replace the variables according to your system setup (such as your username, architecture, driver version, etc.), execute the command and follow the on-screen instructions. After that, reboot your system and you should've successfully installed the NVIDIA proprietary driver.
Update: I tried your method @Mazen and I didn't have any luck
I followed your instructions and the nvidia installation went good and completed without error, and then I rebooted afterward and upon where normally a login screen would be there was a white screen saying something such as 'oops there was an error we cannot recover from' or similar.
I tried the newer 349 drivers for this, and again this is with a GTX 840M
I'm going to piggy back this topic as it is sort of relevant to my problem.
I had just installed Debian 8 onto my laptop (Lenovo Ideapad Y500). Install worked well, booted up and installed some software including Steam and the Nvidia drivers. I also installed the nvidia-config and ran it. Everything seems to have gone smoothly without any issues.
Except now the system doesn't boot. It will go through grub, show some echo lines in the corner and the laptop will actually shut off. Maybe a kernel panic? Anyone have an idea as to what could be wrong? I can boot into the recovery and get a root terminal using the option in Grub.
I really hope I don't have to go back to Ubuntu, Debian seemed so stable until this happened.
Thanks for the suggestion, unfortunately it didn't work. The laptop would show a blank screen and the fans on my GPUs would ramp up. It didn't shut down like it did before though.
I probably should have mentioned that I am running two GT 650Ms in SLI