Even yet a Nvidia driver install problem

Help with issues regarding installation of Debian

Even yet a Nvidia driver install problem

Postby Eazy » 2018-11-10 18:49

Hi!

I'm trying to install the Nvidia driver on Debian Buster (unofficial non-free) but I fail.
I have a GTX 1060 and i installed the "nvidia-driver" package:
Code: Select all
sudo apt install nvidia-driver

(I installed "nvidia-detect" to confirm i installed the correct package.)
I rebooted and meet a black console.
I tried to start with "startx" and was able to start X. I went to Nvidia-settings and it complained I had to run nvidia-xconfig. I did that and rebooted... but again a black console. Tried startx again but then I got some error message, and no go on starting X.
I'm using KDE if that matters.

This should just work...

I recently successfully installed the Nvidia driver at the exact same way on KDE-Neon.
Is Debian making installing Nvidia drivers difficult on purpose for some reason?
Eazy
 
Posts: 28
Joined: 2009-07-01 20:19

Re: Even yet a Nvidia driver install problem

Postby Head_on_a_Stick » 2018-11-10 18:59

Eazy wrote:This should just work...

No, it shouldn't.

This is Debian and non-free software is not supported.

If you want to run a blobby driver then please consult the Debian wiki, there is a page that tells you exactly what you have to do.

See also viewtopic.php?f=30&t=47078
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8322
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Even yet a Nvidia driver install problem

Postby Eazy » 2018-11-10 19:21

I did consult the Wiki, but I could not find one for Buster. "blobby drivers" is your opinion. I have always used them and they work fine.
When I say just work, i have been using Debian for 15 years and I never had these problems until recently. I tried to install the driver on my wifes laptop and we had to give up and install Linux Mint.
Eazy
 
Posts: 28
Joined: 2009-07-01 20:19

Re: Even yet a Nvidia driver install problem

Postby Head_on_a_Stick » 2018-11-10 19:38

Eazy wrote:I did consult the Wiki, but I could not find one for Buster.

Then why did you not try the guide for stable? It should also work.

Eazy wrote:"blobby drivers" is your opinion.

By "blobby" I meant that NVIDIA will not show us the source code.

Eazy wrote:I have always used them and they work fine.

Go back and check the wiki, if your OP lists everything that you tried then you missed an important step.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8322
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Even yet a Nvidia driver install problem

Postby davidvt » 2018-11-10 20:02

i do this and it works every time......

type su : to go root type :

nano /etc/modprobe.d/blacklist-nouveau.conf

add this text :

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

root install this software :
apt install gcc
apt install make
apt install headers-amd64*

donwload the driver pack form NVIDIA.

run it , click yes on all.
sh NVIDIA-Linux-x86_64-390.77.run
davidvt
 
Posts: 12
Joined: 2017-11-19 21:50

Re: Even yet a Nvidia driver install problem

Postby Head_on_a_Stick » 2018-11-10 20:07

davidvt wrote:i do this and it works every time......

And I take it you enjoy doing this every time the kernel is updated?

Did you know that the Debian NVIDIA packages will handle that automagically?

See also https://wiki.debian.org/DontBreakDebian ... ll_scripts
Don't use GPU manufacturer install scripts

Debian includes Free open source drivers that support most video cards. The Free drivers provide the best integration with the rest of the Debian system and work quite well for most users.

If you absolutely must have the proprietary closed source drivers, do not download them directly from the manufacturer's website!. Installing drivers this way only works for the current kernel, and after the next kernel update your video drivers will not work until they are manually reinstalled again.

Fortunately there is a Debian way to install proprietary video card drivers using packages in the repository. Installing the drivers the Debian way will make sure that the drivers continue to work after kernel updates.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8322
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Even yet a Nvidia driver install problem

Postby davidvt » 2018-11-10 20:11

@ Head_on_a_Stick = Yes i do like it ! the driver packet debian has ive never used it....
somtimes it's not working if u use boinc software i need to cruch boinc data.....
davidvt
 
Posts: 12
Joined: 2017-11-19 21:50

Re: Even yet a Nvidia driver install problem

Postby Eazy » 2018-11-10 20:17

davidvt wrote:i do this and it works every time......

type su : to go root type :

nano /etc/modprobe.d/blacklist-nouveau.conf

add this text :

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

root install this software :
apt install gcc
apt install make
apt install headers-amd64*

donwload the driver pack form NVIDIA.

run it , click yes on all.
sh NVIDIA-Linux-x86_64-390.77.run


Thanx!
I will try this as a last resort. I have been installing Nvidia driver this way some years ago when I needed the latest driver that Debian did not have.
Eazy
 
Posts: 28
Joined: 2009-07-01 20:19

Re: Even yet a Nvidia driver install problem

Postby Eazy » 2018-11-10 20:20

Head_on_a_Stick wrote:
davidvt wrote:i do this and it works every time......

And I take it you enjoy doing this every time the kernel is updated?

Did you know that the Debian NVIDIA packages will handle that automagically?

See also https://wiki.debian.org/DontBreakDebian ... ll_scripts
Don't use GPU manufacturer install scripts

Debian includes Free open source drivers that support most video cards. The Free drivers provide the best integration with the rest of the Debian system and work quite well for most users.

If you absolutely must have the proprietary closed source drivers, do not download them directly from the manufacturer's website!. Installing drivers this way only works for the current kernel, and after the next kernel update your video drivers will not work until they are manually reinstalled again.

Fortunately there is a Debian way to install proprietary video card drivers using packages in the repository. Installing the drivers the Debian way will make sure that the drivers continue to work after kernel updates.


The Debian way is broken. So if i want Nvidias closed driver, this is what I might have to do
Eazy
 
Posts: 28
Joined: 2009-07-01 20:19

Re: Even yet a Nvidia driver install problem

Postby Head_on_a_Stick » 2018-11-10 20:45

FFS d00d, all you have to do is copy&paste a five line configuration file from the wiki page.

Xorg will not load the NVIDIA driver automatically so you have to force it.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8322
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Even yet a Nvidia driver install problem

Postby Eazy » 2018-11-10 23:07

Head_on_a_Stick wrote:FFS d00d, all you have to do is copy&paste a five line configuration file from the wiki page.

Xorg will not load the NVIDIA driver automatically so you have to force it.


What five line configuration are you referring too? If you mean lines in xorg.conf, I already done that.
Eazy
 
Posts: 28
Joined: 2009-07-01 20:19

Re: Even yet a Nvidia driver install problem

Postby bw123 » 2018-11-11 04:09

You used "blobby" nvidia on debian for 15 yrs without a problem? some kind of wiz, wut?

If the blobby driver "just works" then what is the problem? You realize the pkg are not from debian right? There is no way for debian maintainer to alter or make the pkg work, it's provided from nvidia as a binary, that is why debian puts it in non-free.. The task is yours to alter whatever debian installation you have to make it work. Because Nvidia wants it that way, not debian maintainers.

...I recently successfully installed the Nvidia driver at the exact same way on KDE-Neon.
...


I did not realize kde-neon was a standalone linux distro, do you have a link wher I can get it? Everything I find on search says it's only for ubutnut, and I don't swing that way. If you can run the latest kde-neon why are you worrying about debian anyway?
User avatar
bw123
 
Posts: 3578
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Even yet a Nvidia driver install problem

Postby Head_on_a_Stick » 2018-11-11 08:21

Eazy wrote:If you mean lines in xorg.conf, I already done that.

The nvidia-xconfig script is a piece of shit and probably messed it up, copy&paste the example from the wiki instead, *many* users have had success with that guide.

If it still doesn't work then post a link to your Xorg log.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8322
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Even yet a Nvidia driver install problem

Postby davidvt » 2018-11-11 10:15

Head_on_a_Stick wrote:
Eazy wrote:If you mean lines in xorg.conf, I already done that.

The nvidia-xconfig script is a piece of shit and probably messed it up, copy&paste the example from the wiki instead, *many* users have had success with that guide.

If it still doesn't work then post a link to your Xorg log.


yes i try the guide, it works fine nothing else to add it works, only not test it on buster, a'm on stable Stretch, only have nvidia 1030, can play wow smooth, cruch add night boinc data, not on the gpu lol on the cpu that is, Head_on_a_Stick wish u a nice sunday !!
i install the driver by hand because it was easy, now the guide works i going to use it !!
"" nvidia-xconfig script is a piece of shit and probably messed it up "" never had problems with it but ok maybe sometimes it goes wrong, using 10years debian ive allway's found a way to fix thing's.
davidvt
 
Posts: 12
Joined: 2017-11-19 21:50

Re: Even yet a Nvidia driver install problem

Postby Eazy » 2018-11-11 12:30

bw123 and Head_on_a_Stick, you are really insulting. I come here for help and you act defensive for some reason. What gives you the right to act so unfriendly? Do we know each other? Help me if you know how to install the drivers or don't answer at all. I hope you don't feel the need to represent the Debian community by acting like you do.
Eazy
 
Posts: 28
Joined: 2009-07-01 20:19

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable