SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-06-27 23:29:31

emek
Member
Registered: 2015-01-18
Posts: 41

How to install Nvidia drivers

Hello there!

I bought a new laptop and have a nvidia 840M. I looking for the driver but i found solutions that i don't want.
I found two topics with

http://crunchbang.org/forums/viewtopic.php?id=32800
http://crunchbang.org/forums/viewtopic.php?id=38243

On both topics, there are explanation to install drivers from the page of nvidia, but i understand that if you install that driver and then you update you kernel, you have to install again the driver. So, my question is: How i can install nvidia driver and keep update it?

Thanks you!

ps: i hope that you excuse me for my english.

Offline

Help fund CrunchBang, donate to the project!

#2 2015-06-27 23:49:24

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: How to install Nvidia drivers

This maybe - same person but with different results.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#3 2015-06-27 23:56:55

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Offline

#4 2015-06-28 02:43:17

emek
Member
Registered: 2015-01-18
Posts: 41

Re: How to install Nvidia drivers

Thanks very much!
I'll check


Edit:

I try to follow the guide of Debian wheezy, but i found two problems

1.- nvidia-detect don't detect my video card.
2.- When i follow the step to install the Version 340.65 (via wheezy-backports), i get an error:

sudo apt-get install -t wheezy-backports -r  nvidia-kernel-dkms
E: Command line option 'r' [from -r] is not known.

I have no idea what i can do.

Last edited by emek (2015-06-28 04:08:09)

Offline

#5 2015-06-28 09:37:53

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: How to install Nvidia drivers

emek wrote:

I have no idea what i can do.

You should *read* the instructions and then follow them.

sudo aptitude install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
sudo aptitude -t wheezy-backports -r install nvidia-kernel-dkms

This presumes you are using Debian wheezy (or #! Waldorf).

Now is probably a good time to read the bottom link in my signature...

EDIT: Run these and post the output of the second command:

sudo update-pciids
lspci -knn|egrep -iA2 'vga|video'

Last edited by Head_on_a_Stick (2015-06-28 09:43:24)

Offline

#6 2015-06-29 02:46:24

emek
Member
Registered: 2015-01-18
Posts: 41

Re: How to install Nvidia drivers

Head_on_a_Stick wrote:
emek wrote:

I have no idea what i can do.

You should *read* the instructions and then follow them.

sudo aptitude install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
sudo aptitude -t wheezy-backports -r install nvidia-kernel-dkms

This presumes you are using Debian wheezy (or #! Waldorf).

Now is probably a good time to read the bottom link in my signature...

EDIT: Run these and post the output of the second command:

sudo update-pciids
lspci -knn|egrep -iA2 'vga|video'

Thanks for your help.
I follow the guide of Debian, i get install nvidia drivers, but when i restart the laptop, the x didn't start, then i uninstall  all related to nvidia and i get back to the start.

I get this output:

00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
    Subsystem: Hewlett-Packard Company Device [103c:228d]
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 0b)

I'm pretty sure that i have a nvidia 840M, because on windows work fine.

Last edited by emek (2015-06-29 02:48:17)

Offline

#7 2015-06-29 06:24:45

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: How to install Nvidia drivers

emek wrote:

I get this output:

00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
    Subsystem: Hewlett-Packard Company Device [103c:228d]
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 0b)

You have an Optimus set up -- check that the NVIDIA card is enabled in your firmware (BIOS) options and then follow this guide instead:
https://wiki.debian.org/Bumblebee

Offline

#8 2015-07-02 12:56:56

emek
Member
Registered: 2015-01-18
Posts: 41

Re: How to install Nvidia drivers

Thanks you!
I install the Bumblebee but don't work to me.
I'll wait to BunsenLab to see what i do, for now with intel card it's good for me.
Thanks for your help!

Offline

#9 2015-07-02 18:52:32

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: How to install Nvidia drivers

emek wrote:

I install the Bumblebee but don't work to me.
I'll wait to BunsenLab to see what i do, for now with intel card it's good for me.

BunsenLabs will not change your situation -- it will use the same methods as Debian jessie.

Did you find any options in your firmware (BIOS) to switch the NVIDIA card on?

Offline

#10 2015-07-02 22:10:28

emek
Member
Registered: 2015-01-18
Posts: 41

Re: How to install Nvidia drivers

oh  8.(  I think that Debian Jessie  it's gonna help me.
Nop, in my bios i don't see nothing about Nvidia, or intel card.
I make something horrible, i want to delete all xorg files generated by Nvidia, and i delete something else, now my keyboard and mouse don't response. I have to reinstall #!.

Last edited by emek (2015-07-02 22:10:50)

Offline

#11 2015-07-03 06:26:23

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: How to install Nvidia drivers

Oh dear.

You should consider a back-up strategy.

Is your NVIDIA card recognised in any live distributions?

Offline

#12 2015-07-04 00:48:13

emek
Member
Registered: 2015-01-18
Posts: 41

Re: How to install Nvidia drivers

By luck i don't have personal stuff on the laptop, so i just lose time.
I have no idea if any distribution recognized my card because i use only #! so i don't download others....

Last edited by emek (2015-07-05 02:30:17)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo