Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HELP] Errors following wiki to install nvidia drivers

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
peterpenguin
Posts: 7
Joined: 2018-08-25 22:44

HELP] Errors following wiki to install nvidia drivers

#1 Post by peterpenguin »

Hi all,

Have been trying to follow the official Debian wiki guide for installing the latest nvidia drivers on my system (version 390) but keep failing and returning errors.

Also if it helps, I am doing this on a FRESH brand new install of Debian, yes I have an NVIDIA card, yes it is detected, yes it can handle version 390 (it is a 1050ti) and I have even successfully installed the 390 drivers on it in the past, but that was a previous install a while ago now and I can't remember what guide/webpage I followed.

For clarity I will include everything I am/have been doing, as straightforwardly as possible.

Here is the page:

https://wiki.debian.org/NvidiaGraphicsDrivers

I am following the instructions for version 390 for Debian stretch.

Going through the steps in order:

Step 1.
Add the following to /etc/apt/sources.list:
"
# stretch-backports
deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
"
Seemingly no problems there.

Step 2.
"
apt-get install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')
"
No immediate problems or error output in terminal.

Step 3a.
"
apt-get update
"
No problems there.

Step 3b.
"
apt-get install -t stretch-backports nvidia-driver
"

Fails, I get a long list of unmet dependencies, starting off with:

"
The following packages have unmet dependencies:
nvidia-driver
        predepends: nvidia-installer-cleanup but it is not installable
        predepends: nvidia-legacy-check
        depends: nvidia-driver-libs
"

and a lot more etc etc etc
I can paste the entire error message if need be.

Also *If I then restart my computer after going through the above steps*, it runs through a bunch of checks on startup returning various results, *one* of which is a red FAIL that reads 'failed to start Load Kernel Modules', then it tries to load up and outputs a grey screen with the Oh no! message. Unsure if this is more likely related to something going wrong with Step 2 or Step 3b.

Confused and frustrated as seemingly I'm following the correct instructions on the **official debian wiki**, when my hardware is totally compatible and yet it's not working. I would have thought the info would be correct, up to date and comprehensive, so guessing something has changed in the driver that's not yet been accounted for on the wiki?

Please excuse my long post, just wanted to cover as much detail as I could, and thank you in advance for any potential help.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: HELP] Errors following wiki to install nvidia drivers

#2 Post by bw123 »

...
The following packages have unmet dependencies: nvidia-driver
predepends: nvidia-installer-cleanup but it is not installable
...
That pkg is available in stretch contrib
https://packages.debian.org/stretch/nvi ... er-cleanup
so I am going to guess that your sources.list does not include the correct repos. Either the entire line for stretch main repo is missing or maybe just the "contrib" section.

If you post your sources.list someone will help, or search the forum you can find some examples. There are also examples in the debian wiki https://wiki.debian.org/SourcesList and somewhere around /usr/share/doc/apt/examples on your computer.

The wiki for nvidia-driver you followed assumes you have a working install with a stretch contrib component in sources.list and you add stretch-backports repo to it.
resigned by AI ChatGPT

peterpenguin
Posts: 7
Joined: 2018-08-25 22:44

Re: HELP] Errors following wiki to install nvidia drivers

#3 Post by peterpenguin »

bw123 wrote:
That pkg is available in stretch contrib
https://packages.debian.org/stretch/nvi ... er-cleanup
so I am going to guess that your sources.list does not include the correct repos. Either the entire line for stretch main repo is missing or maybe just the "contrib" section.

If you post your sources.list someone will help, or search the forum you can find some examples. There are also examples in the debian wiki https://wiki.debian.org/SourcesList and somewhere around /usr/share/doc/apt/examples on your computer.

The wiki for nvidia-driver you followed assumes you have a working install with a stretch contrib component in sources.list and you add stretch-backports repo to it.
Hi bw, thanks for your reply. For the sake of precision I tried *only* the literal instructions for 390 without changing anything else. Also if you look at the guide for version 375 below it, that doesn't have the same assumption about the sources.list, and instead directs the user to edit their sources.list in that very way, leading me to think the same wasn't the case for 390.

In my attempts yesterday, I did actually try that and was able to *seemingly* successfully install the driver after I added 'contrib non-free' to the end of every line ending in 'main', but then when I restarted to enable nouveau blacklist, I still encountered that nasty fail message reading 'failed to start Load Kernel Module' which then leads to the grey screen.

I actually made a reddit post about it yesterday which is basically identical to this post except it mentions that very thing:

https://reddit.app.link/9yn4UDptGP

Also yes I can upload my sources.list contents, not at computer right now but will do it soon.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: HELP] Errors following wiki to install nvidia drivers

#4 Post by bw123 »

There are many many threads on the forum and the internet about nvidia drivers, so I'd really hope that you can solve this by reading them, but be sure your sources.list is correct. if you don;t understand how sources.lits works there is also a man page.

Code: Select all

$ man sources.list
I'm not really sure what you're after, but using bold labels and *asterisk* and stressing that you followed official debian wiki is kind of silly IMNSHO no documentation is really perfect, though it can alwas be better. Maybe you can help fix that once you get things up and running.
Last edited by bw123 on 2018-08-26 01:11, edited 1 time in total.
resigned by AI ChatGPT

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5347
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: HELP] Errors following wiki to install nvidia drivers

#5 Post by dilberts_left_nut »

peterpenguin wrote:able to *seemingly* successfully install
This is useless to anyone wanting to help you.
Post the actual commands and output.
AdrianTM wrote:There's no hacker in my grandma...

peterpenguin
Posts: 7
Joined: 2018-08-25 22:44

Re: HELP] Errors following wiki to install nvidia drivers

#6 Post by peterpenguin »

Ok sorry, I have a fresh install now, will redo the process and post each of my inputs and outputs.

So starting off, once I am root, and type into the terminal:

Code: Select all

gedit /etc/apt/sources.list
it does open the sources.list file, but there is also the following output in the terminal:

Code: Select all

root@test:/home/user# gedit /etc/apt/sources.list

(gedit:9624): GLib-GIO-CRITICAL **: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:9624): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(gedit:9624): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

(gedit:9624): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)

(gedit:9624): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

(gedit:9624): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

(gedit:9624): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
Here is the initial content of the sources.list file:

Code: Select all

# 

# deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 NETINST 20180310-11:21]/ stretch main

#deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 NETINST 20180310-11:21]/ stretch main

deb http://ftp.us.debian.org/debian/ stretch main
deb-src http://ftp.us.debian.org/debian/ stretch main

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main
deb-src http://ftp.us.debian.org/debian/ stretch-updates main
Now updating the contents so that it reads,

Code: Select all

# 

# deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 NETINST 20180310-11:21]/ stretch main

#deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 NETINST 20180310-11:21]/ stretch main

deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
Now I will go through each of the steps on https://wiki.debian.org/NvidiaGraphicsDrivers and post the input and output, please bear with me :)

peterpenguin
Posts: 7
Joined: 2018-08-25 22:44

Re: HELP] Errors following wiki to install nvidia drivers

#7 Post by peterpenguin »

Ok, so, Step 1:
Added stretch-backports to /etc/apt/sources.list which now reads:

Code: Select all

# 

# deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 NETINST 20180310-11:21]/ stretch main

#deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 NETINST 20180310-11:21]/ stretch main

deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free

# stretch-backports
deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
Now Step 2 returns the following:

Code: Select all

root@test:/home/user# apt-get install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  binutils gcc-6 libasan3 libc-dev-bin libc6-dev libcc1-0 libcilkrts5
  libgcc-6-dev libitm1 liblsan0 libmpx2 libtsan0 libubsan0
  linux-compiler-gcc-6-x86 linux-headers-4.9.0-8-amd64
  linux-headers-4.9.0-8-common linux-kbuild-4.9 linux-libc-dev manpages-dev
Suggested packages:
  binutils-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
The following NEW packages will be installed:
  binutils gcc-6 libasan3 libc-dev-bin libc6-dev libcc1-0 libcilkrts5
  libgcc-6-dev libitm1 liblsan0 libmpx2 libtsan0 libubsan0
  linux-compiler-gcc-6-x86 linux-headers-4.9.0-8-amd64
  linux-headers-4.9.0-8-common linux-headers-amd64 linux-kbuild-4.9
  linux-libc-dev manpages-dev
0 upgraded, 20 newly installed, 0 to remove and 1 not upgraded.
Need to get 29.4 MB of archives.
After this operation, 143 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 linux-libc-dev amd64 4.9.110-3+deb9u4 [1,350 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 linux-compiler-gcc-6-x86 amd64 4.9.110-3+deb9u4 [558 kB]
Get:3 http://security.debian.org/debian-security stretch/updates/main amd64 linux-headers-4.9.0-8-common all 4.9.110-3+deb9u4 [7,594 kB]
Get:4 http://ftp.us.debian.org/debian stretch/main amd64 binutils amd64 2.28-5 [3,770 kB]
Get:5 http://security.debian.org/debian-security stretch/updates/main amd64 linux-kbuild-4.9 amd64 4.9.110-3+deb9u4 [765 kB]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 linux-headers-4.9.0-8-amd64 amd64 4.9.110-3+deb9u4 [450 kB]
Get:7 http://security.debian.org/debian-security stretch/updates/main amd64 linux-headers-amd64 amd64 4.9+80+deb9u6 [6,024 B]
Get:8 http://ftp.us.debian.org/debian stretch/main amd64 libcc1-0 amd64 6.3.0-18+deb9u1 [30.6 kB]
Get:9 http://ftp.us.debian.org/debian stretch/main amd64 libitm1 amd64 6.3.0-18+deb9u1 [27.3 kB]
Get:10 http://ftp.us.debian.org/debian stretch/main amd64 libasan3 amd64 6.3.0-18+deb9u1 [311 kB]
Get:11 http://ftp.us.debian.org/debian stretch/main amd64 liblsan0 amd64 6.3.0-18+deb9u1 [115 kB]
Get:12 http://ftp.us.debian.org/debian stretch/main amd64 libtsan0 amd64 6.3.0-18+deb9u1 [257 kB]
Get:13 http://ftp.us.debian.org/debian stretch/main amd64 libubsan0 amd64 6.3.0-18+deb9u1 [107 kB]
Get:14 http://ftp.us.debian.org/debian stretch/main amd64 libcilkrts5 amd64 6.3.0-18+deb9u1 [40.5 kB]
Get:15 http://ftp.us.debian.org/debian stretch/main amd64 libmpx2 amd64 6.3.0-18+deb9u1 [11.2 kB]
Get:16 http://ftp.us.debian.org/debian stretch/main amd64 libgcc-6-dev amd64 6.3.0-18+deb9u1 [2,296 kB]
Get:17 http://ftp.us.debian.org/debian stretch/main amd64 gcc-6 amd64 6.3.0-18+deb9u1 [6,900 kB]
Get:18 http://ftp.us.debian.org/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u3 [258 kB]
Get:19 http://ftp.us.debian.org/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u3 [2,361 kB]
Get:20 http://ftp.us.debian.org/debian stretch/main amd64 manpages-dev all 4.10-2 [2,145 kB]
Fetched 29.4 MB in 22s (1,313 kB/s)                                            
Selecting previously unselected package binutils.
(Reading database ... 125319 files and directories currently installed.)
Preparing to unpack .../00-binutils_2.28-5_amd64.deb ...
Unpacking binutils (2.28-5) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../01-libcc1-0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libcc1-0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../02-libitm1_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libitm1:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libasan3:amd64.
Preparing to unpack .../03-libasan3_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libasan3:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../04-liblsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking liblsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../05-libtsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libtsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../06-libubsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libubsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../07-libcilkrts5_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libcilkrts5:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../08-libmpx2_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libmpx2:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libgcc-6-dev:amd64.
Preparing to unpack .../09-libgcc-6-dev_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc-6.
Preparing to unpack .../10-gcc-6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking gcc-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../11-libc-dev-bin_2.24-11+deb9u3_amd64.deb ...
Unpacking libc-dev-bin (2.24-11+deb9u3) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../12-linux-libc-dev_4.9.110-3+deb9u4_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.9.110-3+deb9u4) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../13-libc6-dev_2.24-11+deb9u3_amd64.deb ...
Unpacking libc6-dev:amd64 (2.24-11+deb9u3) ...
Selecting previously unselected package linux-compiler-gcc-6-x86.
Preparing to unpack .../14-linux-compiler-gcc-6-x86_4.9.110-3+deb9u4_amd64.deb ...
Unpacking linux-compiler-gcc-6-x86 (4.9.110-3+deb9u4) ...
Selecting previously unselected package linux-headers-4.9.0-8-common.
Preparing to unpack .../15-linux-headers-4.9.0-8-common_4.9.110-3+deb9u4_all.deb ...
Unpacking linux-headers-4.9.0-8-common (4.9.110-3+deb9u4) ...
Selecting previously unselected package linux-kbuild-4.9.
Preparing to unpack .../16-linux-kbuild-4.9_4.9.110-3+deb9u4_amd64.deb ...
Unpacking linux-kbuild-4.9 (4.9.110-3+deb9u4) ...
Selecting previously unselected package linux-headers-4.9.0-8-amd64.
Preparing to unpack .../17-linux-headers-4.9.0-8-amd64_4.9.110-3+deb9u4_amd64.deb ...
Unpacking linux-headers-4.9.0-8-amd64 (4.9.110-3+deb9u4) ...
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../18-linux-headers-amd64_4.9+80+deb9u6_amd64.deb ...
Unpacking linux-headers-amd64 (4.9+80+deb9u6) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../19-manpages-dev_4.10-2_all.deb ...
Unpacking manpages-dev (4.10-2) ...
Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ...
Setting up libasan3:amd64 (6.3.0-18+deb9u1) ...
Setting up linux-headers-4.9.0-8-common (4.9.110-3+deb9u4) ...
Setting up libcilkrts5:amd64 (6.3.0-18+deb9u1) ...
Setting up libubsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up libtsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up linux-libc-dev:amd64 (4.9.110-3+deb9u4) ...
Setting up liblsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ...
Setting up linux-kbuild-4.9 (4.9.110-3+deb9u4) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up binutils (2.28-5) ...
Setting up libc-dev-bin (2.24-11+deb9u3) ...
Setting up manpages-dev (4.10-2) ...
Setting up libc6-dev:amd64 (2.24-11+deb9u3) ...
Setting up libitm1:amd64 (6.3.0-18+deb9u1) ...
Setting up libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ...
Setting up gcc-6 (6.3.0-18+deb9u1) ...
Setting up linux-compiler-gcc-6-x86 (4.9.110-3+deb9u4) ...
Setting up linux-headers-4.9.0-8-amd64 (4.9.110-3+deb9u4) ...
Setting up linux-headers-amd64 (4.9+80+deb9u6) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
root@test:/home/user# 
Now Step 3:
First I update:

Code: Select all

root@test:/home/user# apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:3 http://ftp.us.debian.org/debian stretch InRelease                        
Hit:4 http://ftp.us.debian.org/debian stretch-updates InRelease
Get:2 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:5 http://ftp.us.debian.org/debian stretch Release     
Get:6 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 Packages [408 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch-backports/main Translation-en [299 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib amd64 Packages [7,284 B]
Get:9 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib Translation-en [5,877 B]
Get:10 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 Packages [22.8 kB]
Get:11 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free Translation-en [30.2 kB]
Get:13 http://ftp.us.debian.org/debian stretch/contrib Sources [44.7 kB]       
Get:14 http://ftp.us.debian.org/debian stretch/non-free Sources [79.7 kB]
Get:15 http://ftp.us.debian.org/debian stretch/contrib amd64 Packages [50.9 kB]
Get:16 http://ftp.us.debian.org/debian stretch/contrib Translation-en [45.9 kB]
Get:17 http://ftp.us.debian.org/debian stretch/contrib amd64 DEP-11 Metadata [7,308 B]
Get:18 http://ftp.us.debian.org/debian stretch/contrib DEP-11 64x64 Icons [100 kB]
Get:19 http://ftp.us.debian.org/debian stretch/non-free amd64 Packages [78.7 kB]
Get:20 http://ftp.us.debian.org/debian stretch/non-free Translation-en [80.6 kB]
Get:21 http://ftp.us.debian.org/debian stretch/non-free amd64 DEP-11 Metadata [7,180 B]
Get:22 http://ftp.us.debian.org/debian stretch/non-free DEP-11 64x64 Icons [30.0 kB]
Fetched 1,390 kB in 2s (476 kB/s)                                     
Reading package lists... Done
root@test:/home/user# 
Then I install the driver:

Code: Select all

root@test:/home/user# apt-get install -t stretch-backports nvidia-driver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  dkms fakeroot gcc glx-alternative-mesa glx-alternative-nvidia glx-diversions
  libdrm-common libdrm2 libegl-nvidia0 libegl1 libegl1-mesa libfakeroot libgl1
  libgl1-mesa-glx libgl1-nvidia-glvnd-glx libglapi-mesa libgles-nvidia2
  libgles2 libgles2-mesa libglvnd0 libglx-mesa0 libglx-nvidia0 libglx0
  libnvidia-cfg1 libnvidia-egl-wayland1 libnvidia-eglcore libnvidia-glcore
  libnvidia-ml1 libopengl0 libvulkan1 libwayland-egl1 libwayland-egl1-mesa
  libxnvctrl0 make nvidia-alternative nvidia-driver-bin nvidia-driver-libs
  nvidia-egl-common nvidia-egl-icd nvidia-egl-wayland-common
  nvidia-egl-wayland-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 sudo update-glx
  xserver-xorg-video-nvidia
Suggested packages:
  python3-apport menu gcc-multilib autoconf automake libtool flex bison gdb
  gcc-doc make-doc vulkan-utils ed diffutils-doc
Recommended packages:
  nvidia-driver-libs-i386
The following NEW packages will be installed:
  dkms fakeroot gcc glx-alternative-mesa glx-alternative-nvidia glx-diversions
  libdrm-common libegl-nvidia0 libegl1 libfakeroot libgl1
  libgl1-nvidia-glvnd-glx libgles-nvidia2 libgles2 libglvnd0 libglx-mesa0
  libglx-nvidia0 libglx0 libnvidia-cfg1 libnvidia-egl-wayland1
  libnvidia-eglcore libnvidia-glcore libnvidia-ml1 libopengl0 libvulkan1
  libwayland-egl1 libxnvctrl0 make nvidia-alternative nvidia-driver
  nvidia-driver-bin nvidia-driver-libs nvidia-egl-common nvidia-egl-icd
  nvidia-egl-wayland-common nvidia-egl-wayland-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 sudo update-glx xserver-xorg-video-nvidia
The following packages will be upgraded:
  libdrm2 libegl1-mesa libgl1-mesa-glx libglapi-mesa libgles2-mesa
  libwayland-egl1-mesa
6 upgraded, 52 newly installed, 0 to remove and 107 not upgraded.
Need to get 34.4 MB of archives.
After this operation, 128 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.us.debian.org/debian stretch/contrib amd64 nvidia-installer-cleanup amd64 20151021+4 [19.3 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib amd64 update-glx amd64 0.8.7~bpo9+1 [9,898 B]
Get:3 http://ftp.us.debian.org/debian stretch/contrib amd64 nvidia-support amd64 20151021+4 [20.1 kB]
Get:4 http://ftp.us.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-4 [5,196 B]
Get:5 http://ftp.us.debian.org/debian stretch/main amd64 make amd64 4.1-9.1 [302 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib amd64 glx-alternative-mesa amd64 0.8.7~bpo9+1 [9,244 B]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libglvnd0 amd64 1.0.0+git20180308-2~bpo9+1 [48.5 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libdrm-common all 2.4.91-2~bpo9+1 [13.5 kB]
Get:9 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libdrm2 amd64 2.4.91-2~bpo9+1 [39.8 kB]
Get:10 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libgles2-mesa amd64 18.1.6-1~bpo9+1 [43.7 kB]
Get:11 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libgles2 amd64 1.0.0+git20180308-2~bpo9+1 [19.1 kB]
Get:12 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libgl1-mesa-glx amd64 18.1.6-1~bpo9+1 [43.7 kB]
Get:13 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libglapi-mesa amd64 18.1.6-1~bpo9+1 [62.5 kB]
Get:14 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libglx-mesa0 amd64 18.1.6-1~bpo9+1 [174 kB]
Get:15 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-legacy-check amd64 390.77-1~bpo9+1 [195 kB]
Get:16 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-alternative amd64 390.77-1~bpo9+1 [191 kB]
Get:17 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 libnvidia-glcore amd64 390.77-1~bpo9+1 [6,809 kB]
Get:24 http://ftp.us.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+deb9u1 [112 kB]
Get:25 http://ftp.us.debian.org/debian stretch/main amd64 dkms all 2.3-2 [74.8 kB]
Get:36 http://ftp.us.debian.org/debian stretch/contrib amd64 nvidia-kernel-common amd64 20151021+4 [10.3 kB]
Get:37 http://ftp.us.debian.org/debian stretch/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB]
Get:38 http://ftp.us.debian.org/debian stretch/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB]
Get:18 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 libglx-nvidia0 amd64 390.77-1~bpo9+1 [444 kB]
Get:19 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libglx0 amd64 1.0.0+git20180308-2~bpo9+1 [29.9 kB]
Get:20 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libgl1 amd64 1.0.0+git20180308-2~bpo9+1 [89.7 kB]
Get:21 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib amd64 glx-diversions amd64 0.8.7~bpo9+1 [11.5 kB]
Get:22 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib amd64 glx-alternative-nvidia amd64 0.8.7~bpo9+1 [10.3 kB]
Get:23 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 libgl1-nvidia-glvnd-glx amd64 390.77-1~bpo9+1 [344 kB]
Get:26 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-egl-common amd64 390.77-1~bpo9+1 [190 kB]
Get:27 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libwayland-egl1-mesa amd64 18.1.6-1~bpo9+1 [43.7 kB]
Get:44 http://ftp.us.debian.org/debian stretch/main amd64 sudo amd64 1.8.19p1-2.1 [1,055 kB]
Get:28 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libwayland-egl1 amd64 1.15.0-2~bpo9+1 [7,898 B]
Get:29 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libegl1-mesa amd64 18.1.6-1~bpo9+1 [43.7 kB]
Get:30 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libegl1 amd64 1.0.0+git20180308-2~bpo9+1 [33.6 kB]
Get:31 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 libnvidia-eglcore amd64 390.77-1~bpo9+1 [6,765 kB]
Get:32 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 libegl-nvidia0 amd64 390.77-1~bpo9+1 [364 kB]
Get:33 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-egl-icd amd64 390.77-1~bpo9+1 [190 kB]
Get:34 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-driver-libs amd64 390.77-1~bpo9+1 [190 kB]
Get:35 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 libnvidia-ml1 amd64 390.77-1~bpo9+1 [602 kB]
Get:39 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-driver-bin amd64 390.77-1~bpo9+1 [274 kB]
Get:40 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 xserver-xorg-video-nvidia amd64 390.77-1~bpo9+1 [2,491 kB]
Get:41 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-vdpau-driver amd64 390.77-1~bpo9+1 [836 kB]
Get:42 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib amd64 nvidia-modprobe amd64 384.111-1~bpo9+1 [17.7 kB]
Get:43 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-kernel-support amd64 390.77-1~bpo9+1 [189 kB]
Get:45 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-kernel-dkms amd64 390.77-1~bpo9+1 [8,826 kB]
Get:46 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-driver amd64 390.77-1~bpo9+1 [489 kB]
Get:47 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libxnvctrl0 amd64 390.48-2~bpo9+1 [24.7 kB]
Get:48 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib amd64 nvidia-settings amd64 390.48-2~bpo9+1 [956 kB]
Get:49 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 libgles-nvidia2 amd64 390.77-1~bpo9+1 [217 kB]
Get:50 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 libnvidia-cfg1 amd64 390.77-1~bpo9+1 [252 kB]
Get:51 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 libnvidia-egl-wayland1 amd64 390.77-1~bpo9+1 [202 kB]
Get:52 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libopengl0 amd64 1.0.0+git20180308-2~bpo9+1 [33.4 kB]
Get:53 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 libvulkan1 amd64 1.1.70+dfsg1-1~bpo9+1 [92.3 kB]
Get:54 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-egl-wayland-common amd64 390.77-1~bpo9+1 [190 kB]
Get:55 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-egl-wayland-icd amd64 390.77-1~bpo9+1 [190 kB]
Get:56 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib amd64 nvidia-persistenced amd64 384.111-1~bpo9+1 [20.7 kB]
Get:57 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-vulkan-common amd64 390.77-1~bpo9+1 [190 kB]
Get:58 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 nvidia-vulkan-icd amd64 390.77-1~bpo9+1 [190 kB]
Fetched 34.4 MB in 5s (5,939 kB/s)          
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package update-glx.
(Reading database ... 145136 files and directories currently installed.)
Preparing to unpack .../00-update-glx_0.8.7~bpo9+1_amd64.deb ...
Unpacking update-glx (0.8.7~bpo9+1) ...
Selecting previously unselected package glx-alternative-mesa.
Preparing to unpack .../01-glx-alternative-mesa_0.8.7~bpo9+1_amd64.deb ...
Unpacking glx-alternative-mesa (0.8.7~bpo9+1) ...
Selecting previously unselected package nvidia-installer-cleanup.
Preparing to unpack .../02-nvidia-installer-cleanup_20151021+4_amd64.deb ...
Unpacking nvidia-installer-cleanup (20151021+4) ...
Selecting previously unselected package libglvnd0:amd64.
Preparing to unpack .../03-libglvnd0_1.0.0+git20180308-2~bpo9+1_amd64.deb ...
Unpacking libglvnd0:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Selecting previously unselected package libdrm-common.
Preparing to unpack .../04-libdrm-common_2.4.91-2~bpo9+1_all.deb ...
Unpacking libdrm-common (2.4.91-2~bpo9+1) ...
Preparing to unpack .../05-libdrm2_2.4.91-2~bpo9+1_amd64.deb ...
Unpacking libdrm2:amd64 (2.4.91-2~bpo9+1) over (2.4.74-1) ...
Preparing to unpack .../06-libgles2-mesa_18.1.6-1~bpo9+1_amd64.deb ...
Unpacking libgles2-mesa:amd64 (18.1.6-1~bpo9+1) over (13.0.6-1+b2) ...
Selecting previously unselected package libgles2:amd64.
Preparing to unpack .../07-libgles2_1.0.0+git20180308-2~bpo9+1_amd64.deb ...
Unpacking libgles2:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Preparing to unpack .../08-libgl1-mesa-glx_18.1.6-1~bpo9+1_amd64.deb ...
Unpacking libgl1-mesa-glx:amd64 (18.1.6-1~bpo9+1) over (13.0.6-1+b2) ...
Preparing to unpack .../09-libglapi-mesa_18.1.6-1~bpo9+1_amd64.deb ...
Unpacking libglapi-mesa:amd64 (18.1.6-1~bpo9+1) over (13.0.6-1+b2) ...
Selecting previously unselected package libglx-mesa0:amd64.
Preparing to unpack .../10-libglx-mesa0_18.1.6-1~bpo9+1_amd64.deb ...
Unpacking libglx-mesa0:amd64 (18.1.6-1~bpo9+1) ...
Setting up nvidia-installer-cleanup (20151021+4) ...
Selecting previously unselected package nvidia-legacy-check.
(Reading database ... 145257 files and directories currently installed.)
Preparing to unpack .../nvidia-legacy-check_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-legacy-check (390.77-1~bpo9+1) ...
Setting up nvidia-legacy-check (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-alternative.
(Reading database ... 145265 files and directories currently installed.)
Preparing to unpack .../00-nvidia-alternative_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-alternative (390.77-1~bpo9+1) ...
Selecting previously unselected package libnvidia-glcore:amd64.
Preparing to unpack .../01-libnvidia-glcore_390.77-1~bpo9+1_amd64.deb ...
Unpacking libnvidia-glcore:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package libglx-nvidia0:amd64.
Preparing to unpack .../02-libglx-nvidia0_390.77-1~bpo9+1_amd64.deb ...
Unpacking libglx-nvidia0:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package libglx0:amd64.
Preparing to unpack .../03-libglx0_1.0.0+git20180308-2~bpo9+1_amd64.deb ...
Unpacking libglx0:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Selecting previously unselected package libgl1:amd64.
Preparing to unpack .../04-libgl1_1.0.0+git20180308-2~bpo9+1_amd64.deb ...
Unpacking libgl1:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Selecting previously unselected package glx-diversions.
Preparing to unpack .../05-glx-diversions_0.8.7~bpo9+1_amd64.deb ...
Unpacking glx-diversions (0.8.7~bpo9+1) ...
Selecting previously unselected package glx-alternative-nvidia.
Preparing to unpack .../06-glx-alternative-nvidia_0.8.7~bpo9+1_amd64.deb ...
Unpacking glx-alternative-nvidia (0.8.7~bpo9+1) ...
Selecting previously unselected package libgl1-nvidia-glvnd-glx:amd64.
Preparing to unpack .../07-libgl1-nvidia-glvnd-glx_390.77-1~bpo9+1_amd64.deb ...
Unpacking libgl1-nvidia-glvnd-glx:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-egl-common.
Preparing to unpack .../08-nvidia-egl-common_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-egl-common (390.77-1~bpo9+1) ...
Preparing to unpack .../09-libwayland-egl1-mesa_18.1.6-1~bpo9+1_amd64.deb ...
Unpacking libwayland-egl1-mesa:amd64 (18.1.6-1~bpo9+1) over (13.0.6-1+b2) ...
Selecting previously unselected package libwayland-egl1:amd64.
Preparing to unpack .../10-libwayland-egl1_1.15.0-2~bpo9+1_amd64.deb ...
Unpacking libwayland-egl1:amd64 (1.15.0-2~bpo9+1) ...
Preparing to unpack .../11-libegl1-mesa_18.1.6-1~bpo9+1_amd64.deb ...
Unpacking libegl1-mesa:amd64 (18.1.6-1~bpo9+1) over (13.0.6-1+b2) ...
Selecting previously unselected package libegl1:amd64.
Preparing to unpack .../12-libegl1_1.0.0+git20180308-2~bpo9+1_amd64.deb ...
Unpacking libegl1:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Selecting previously unselected package libnvidia-eglcore:amd64.
Preparing to unpack .../13-libnvidia-eglcore_390.77-1~bpo9+1_amd64.deb ...
Unpacking libnvidia-eglcore:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package libegl-nvidia0:amd64.
Preparing to unpack .../14-libegl-nvidia0_390.77-1~bpo9+1_amd64.deb ...
Unpacking libegl-nvidia0:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-egl-icd:amd64.
Preparing to unpack .../15-nvidia-egl-icd_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-egl-icd:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-driver-libs:amd64.
Preparing to unpack .../16-nvidia-driver-libs_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-driver-libs:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package libnvidia-ml1:amd64.
Preparing to unpack .../17-libnvidia-ml1_390.77-1~bpo9+1_amd64.deb ...
Unpacking libnvidia-ml1:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-driver-bin.
Preparing to unpack .../18-nvidia-driver-bin_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-driver-bin (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-support.
Preparing to unpack .../19-nvidia-support_20151021+4_amd64.deb ...
Unpacking nvidia-support (20151021+4) ...
Selecting previously unselected package xserver-xorg-video-nvidia.
Preparing to unpack .../20-xserver-xorg-video-nvidia_390.77-1~bpo9+1_amd64.deb ...
Unpacking xserver-xorg-video-nvidia (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-vdpau-driver:amd64.
Preparing to unpack .../21-nvidia-vdpau-driver_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-vdpau-driver:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../22-gcc_4%3a6.3.0-4_amd64.deb ...
Unpacking gcc (4:6.3.0-4) ...
Selecting previously unselected package make.
Preparing to unpack .../23-make_4.1-9.1_amd64.deb ...
Unpacking make (4.1-9.1) ...
Selecting previously unselected package patch.
Preparing to unpack .../24-patch_2.7.5-1+deb9u1_amd64.deb ...
Unpacking patch (2.7.5-1+deb9u1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../25-dkms_2.3-2_all.deb ...
Unpacking dkms (2.3-2) ...
Selecting previously unselected package nvidia-kernel-common.
Preparing to unpack .../26-nvidia-kernel-common_20151021+4_amd64.deb ...
Unpacking nvidia-kernel-common (20151021+4) ...
Selecting previously unselected package nvidia-modprobe.
Preparing to unpack .../27-nvidia-modprobe_384.111-1~bpo9+1_amd64.deb ...
Unpacking nvidia-modprobe (384.111-1~bpo9+1) ...
Selecting previously unselected package nvidia-kernel-support.
Preparing to unpack .../28-nvidia-kernel-support_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-kernel-support (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-kernel-dkms.
Preparing to unpack .../29-nvidia-kernel-dkms_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-kernel-dkms (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-driver.
Preparing to unpack .../30-nvidia-driver_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-driver (390.77-1~bpo9+1) ...
Selecting previously unselected package libxnvctrl0:amd64.
Preparing to unpack .../31-libxnvctrl0_390.48-2~bpo9+1_amd64.deb ...
Unpacking libxnvctrl0:amd64 (390.48-2~bpo9+1) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../32-nvidia-settings_390.48-2~bpo9+1_amd64.deb ...
Unpacking nvidia-settings (390.48-2~bpo9+1) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../33-libfakeroot_1.21-3.1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.21-3.1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../34-fakeroot_1.21-3.1_amd64.deb ...
Unpacking fakeroot (1.21-3.1) ...
Selecting previously unselected package libgles-nvidia2:amd64.
Preparing to unpack .../35-libgles-nvidia2_390.77-1~bpo9+1_amd64.deb ...
Unpacking libgles-nvidia2:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package libnvidia-cfg1:amd64.
Preparing to unpack .../36-libnvidia-cfg1_390.77-1~bpo9+1_amd64.deb ...
Unpacking libnvidia-cfg1:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package libnvidia-egl-wayland1:amd64.
Preparing to unpack .../37-libnvidia-egl-wayland1_390.77-1~bpo9+1_amd64.deb ...
Unpacking libnvidia-egl-wayland1:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package libopengl0:amd64.
Preparing to unpack .../38-libopengl0_1.0.0+git20180308-2~bpo9+1_amd64.deb ...
Unpacking libopengl0:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Selecting previously unselected package libvulkan1:amd64.
Preparing to unpack .../39-libvulkan1_1.1.70+dfsg1-1~bpo9+1_amd64.deb ...
Unpacking libvulkan1:amd64 (1.1.70+dfsg1-1~bpo9+1) ...
Selecting previously unselected package nvidia-egl-wayland-common.
Preparing to unpack .../40-nvidia-egl-wayland-common_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-egl-wayland-common (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-egl-wayland-icd:amd64.
Preparing to unpack .../41-nvidia-egl-wayland-icd_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-egl-wayland-icd:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-persistenced.
Preparing to unpack .../42-nvidia-persistenced_384.111-1~bpo9+1_amd64.deb ...
Unpacking nvidia-persistenced (384.111-1~bpo9+1) ...
Selecting previously unselected package nvidia-vulkan-common.
Preparing to unpack .../43-nvidia-vulkan-common_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-vulkan-common (390.77-1~bpo9+1) ...
Selecting previously unselected package nvidia-vulkan-icd:amd64.
Preparing to unpack .../44-nvidia-vulkan-icd_390.77-1~bpo9+1_amd64.deb ...
Unpacking nvidia-vulkan-icd:amd64 (390.77-1~bpo9+1) ...
Selecting previously unselected package sudo.
Preparing to unpack .../45-sudo_1.8.19p1-2.1_amd64.deb ...
Unpacking sudo (1.8.19p1-2.1) ...
Setting up libvulkan1:amd64 (1.1.70+dfsg1-1~bpo9+1) ...
Setting up libglvnd0:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Setting up libopengl0:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Setting up nvidia-kernel-common (20151021+4) ...
Setting up make (4.1-9.1) ...
Processing triggers for mime-support (3.60) ...
Setting up libnvidia-eglcore:amd64 (390.77-1~bpo9+1) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Setting up sudo (1.8.19p1-2.1) ...
Setting up nvidia-support (20151021+4) ...
Setting up update-glx (0.8.7~bpo9+1) ...
Setting up libnvidia-glcore:amd64 (390.77-1~bpo9+1) ...
Setting up nvidia-egl-wayland-common (390.77-1~bpo9+1) ...
Setting up libglapi-mesa:amd64 (18.1.6-1~bpo9+1) ...
Setting up gcc (4:6.3.0-4) ...
Setting up libdrm-common (2.4.91-2~bpo9+1) ...
Setting up patch (2.7.5-1+deb9u1) ...
Setting up dkms (2.3-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up nvidia-egl-common (390.77-1~bpo9+1) ...
Setting up libfakeroot:amd64 (1.21-3.1) ...
Processing triggers for systemd (232-25+deb9u4) ...
Setting up nvidia-modprobe (384.111-1~bpo9+1) ...
Setting up nvidia-vulkan-common (390.77-1~bpo9+1) ...
Setting up libgles2:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Setting up glx-alternative-mesa (0.8.7~bpo9+1) ...
Setting up libgles2-mesa:amd64 (18.1.6-1~bpo9+1) ...
Setting up libxnvctrl0:amd64 (390.48-2~bpo9+1) ...
Setting up libwayland-egl1:amd64 (1.15.0-2~bpo9+1) ...
Setting up fakeroot (1.21-3.1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libdrm2:amd64 (2.4.91-2~bpo9+1) ...
Setting up glx-diversions (0.8.7~bpo9+1) ...
Setting up libglx-mesa0:amd64 (18.1.6-1~bpo9+1) ...
Setting up libglx0:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Setting up libgl1:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Setting up libgl1-mesa-glx:amd64 (18.1.6-1~bpo9+1) ...
Processing triggers for glx-alternative-mesa (0.8.7~bpo9+1) ...
update-alternatives: using /usr/lib/mesa-diverted to provide /usr/lib/glx (glx) in auto mode
Setting up glx-alternative-nvidia (0.8.7~bpo9+1) ...
Processing triggers for glx-alternative-nvidia (0.8.7~bpo9+1) ...
Setting up nvidia-alternative (390.77-1~bpo9+1) ...
Processing triggers for nvidia-alternative (390.77-1~bpo9+1) ...
update-alternatives: using /usr/lib/nvidia/current to provide /usr/lib/nvidia/nvidia (nvidia) in auto mode
Setting up libnvidia-egl-wayland1:amd64 (390.77-1~bpo9+1) ...
Setting up nvidia-kernel-support (390.77-1~bpo9+1) ...
Setting up nvidia-settings (390.48-2~bpo9+1) ...
Setting up nvidia-vdpau-driver:amd64 (390.77-1~bpo9+1) ...
Setting up libegl-nvidia0:amd64 (390.77-1~bpo9+1) ...
Setting up libgles-nvidia2:amd64 (390.77-1~bpo9+1) ...
Setting up libnvidia-cfg1:amd64 (390.77-1~bpo9+1) ...
Setting up libnvidia-ml1:amd64 (390.77-1~bpo9+1) ...
Setting up xserver-xorg-video-nvidia (390.77-1~bpo9+1) ...
Setting up nvidia-driver-bin (390.77-1~bpo9+1) ...
Setting up nvidia-egl-wayland-icd:amd64 (390.77-1~bpo9+1) ...
Setting up nvidia-persistenced (384.111-1~bpo9+1) ...
Setting up libglx-nvidia0:amd64 (390.77-1~bpo9+1) ...
Setting up nvidia-vulkan-icd:amd64 (390.77-1~bpo9+1) ...
Setting up libgl1-nvidia-glvnd-glx:amd64 (390.77-1~bpo9+1) ...
Processing triggers for nvidia-alternative (390.77-1~bpo9+1) ...
update-alternatives: updating alternative /usr/lib/nvidia/current because link group nvidia has changed slave links
Setting up nvidia-kernel-dkms (390.77-1~bpo9+1) ...
Loading new nvidia-current-390.77 DKMS files...
Building for 4.9.0-6-amd64
Module build for kernel 4.9.0-6-amd64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Setting up libegl1:amd64 (1.0.0+git20180308-2~bpo9+1) ...
Setting up libwayland-egl1-mesa:amd64 (18.1.6-1~bpo9+1) ...
Setting up libegl1-mesa:amd64 (18.1.6-1~bpo9+1) ...
Setting up nvidia-egl-icd:amd64 (390.77-1~bpo9+1) ...
Setting up nvidia-driver-libs:amd64 (390.77-1~bpo9+1) ...
Setting up nvidia-driver (390.77-1~bpo9+1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for update-glx (0.8.7~bpo9+1) ...
Processing triggers for glx-alternative-nvidia (0.8.7~bpo9+1) ...
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto mode
Processing triggers for glx-alternative-mesa (0.8.7~bpo9+1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-6-amd64
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169
root@test:/home/user# 
About 3/4 through the output of the last command, there's a popup message which says that the nouveau driver conflicts with the nvidia driver but that this is easily fixed by a restart. However then when I restart, during start up there's an error message 'failed to start Load Kernel Modules' and then a grey screen.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: HELP] Errors following wiki to install nvidia drivers

#8 Post by bw123 »

https://duckduckgo.com/html/?q=nvidia+F ... nel+Module

Do you think update/upgrade the system after first boot would be a good first step before installing proprietary drivers? or maybe installing the newer kernel from backports before the newer driver? Have you made sure the device does not require any firmware?

Did you notice this in what you posted? or I guess you want others to find the errors for you? man you posted a lot of stuff!
Module build for kernel 4.9.0-6-amd64 was skipped since the kernel headers for this kernel does not seem to be installed.
resigned by AI ChatGPT

peterpenguin
Posts: 7
Joined: 2018-08-25 22:44

Re: HELP] Errors following wiki to install nvidia drivers

#9 Post by peterpenguin »

bw123 wrote:https://duckduckgo.com/html/?q=nvidia+F ... nel+Module

Do you think update/upgrade the system after first boot would be a good first step before installing proprietary drivers? or maybe installing the newer kernel from backports before the newer driver? Have you made sure the device does not require any firmware?

Did you notice this in what you posted? or I guess you want others to find the errors for you? man you posted a lot of stuff!
Module build for kernel 4.9.0-6-amd64 was skipped since the kernel headers for this kernel does not seem to be installed.
Thank you for that duckduckgo link, I postponed restart until I had some more info, then I had a quick read of that and your comment about upgrade, then I tried apt-get upgrade, apt-get update, dpkg --configure -a, apt-get upgrade, apt-get update, apt-get -f install, apt-get update, and then reboot, and this time there was no FAILED message, booted up and I think it has worked as the display is now automatically showing on my other additional screens.

I did not notice that bit about the module build that's strange since the kernel headers seemed to install ok.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: HELP] Errors following wiki to install nvidia drivers

#10 Post by bw123 »

the wiki has a botched command? that installs a current header pkg, instead of headers for the currently running kernel?

This is what the wiki command does here, just returns the 'amd64' part of the kernel pkg name.

Code: Select all

$ uname -r|sed 's/[^-]*-[^-]*-//'
amd64
$ apt show linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')
That's maybe a bug, good find. I have no idea how to fix/report it though...Glad you got it working.
resigned by AI ChatGPT

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5347
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: HELP] Errors following wiki to install nvidia drivers

#11 Post by dilberts_left_nut »

It's probably by design - that installs the headers metapackage ensuring the header leaf packages are updated to match future kernels, avoiding breakage of dkms modules on kernel updates.
AdrianTM wrote:There's no hacker in my grandma...

peterpenguin
Posts: 7
Joined: 2018-08-25 22:44

Re: HELP] Errors following wiki to install nvidia drivers

#12 Post by peterpenguin »

Ok I just tried to repeat that process on a fresh install (same computer) to confirm I now definitely have the right procedure but back to the same error again. These are the steps I went through:

(AS ROOT)
apt-get update
apt-get upgrade
apt-get update

gedit /etc/apt/sources.list
Add 'contrib non-free' to the four relevant lines (not security)
Add the following at the end of the file:
# stretch-backports
deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
Save and close.

apt-get install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')
apt-get update
apt-get install -t stretch-backports nvidia-driver
apt-get upgrade
apt-get update
dpkg --configure -a
apt-get upgrade
apt-get update
apt-get -f install
apt-get update
reboot

(All the steps went fine returning the same output as far as I know.)
On reboot, again getting the Failed to start Load Kernel Modules error

peterpenguin
Posts: 7
Joined: 2018-08-25 22:44

Re: HELP] Errors following wiki to install nvidia drivers

#13 Post by peterpenguin »

This time I'm going to try just enter in 'apt-get install linux-headers-4.9.0-6-amd64'

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5347
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: HELP] Errors following wiki to install nvidia drivers

#14 Post by dilberts_left_nut »

You didn't reboot after the first upgrade so would still have been running the old kernel.

What did the 'module build' part report? (I thought it should try to build for all available kernels).

Post install, did you reboot into the new kernel?
AdrianTM wrote:There's no hacker in my grandma...

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 6 times
Been thanked: 16 times

Re: HELP] Errors following wiki to install nvidia drivers

#15 Post by Dai_trying »

Quick guide to Nvidia install (works for me)

1 Install Debain
2 reboot into new installation
3 edit sources list (as root)
my suggestion based on your posted sources.list wrote: deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free

deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
I included the source for backports as you appear to want the source packages for everything else, if you do not need sources you could comment them all out.

4 apt update (as root)
5 apt upgrade (as root)
6 reboot
7 apt install module-assistant (as root)
8 m-a prepare (as root)
9 apt-get install -t stretch-backports nvidia-driver (as root)
10 reboot

This is all I have to do on my system (I only have one with Nvidia) and it worked without issue.

User avatar
sunrat
Administrator
Administrator
Posts: 6495
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 476 times

Re: HELP] Errors following wiki to install nvidia drivers

#16 Post by sunrat »

Dai_trying wrote:Quick guide to Nvidia install (works for me)

1 Install Debain
2 reboot into new installation
3 edit sources list (as root)
my suggestion based on your posted sources.list wrote: deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free

deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
I included the source for backports as you appear to want the source packages for everything else, if you do not need sources you could comment them all out.

4 apt update (as root)
5 apt upgrade (as root)
6 reboot
7 apt install module-assistant (as root)
8 m-a prepare (as root)
9 apt-get install -t stretch-backports nvidia-driver (as root)
10 reboot

This is all I have to do on my system (I only have one with Nvidia) and it worked without issue.
@Dai_trying - that's how I do it (except for using apt instead of apt-get, shouldn't make a difference though).
If the wiki showed that, I think we would have a lot less Nvidia driver install topics.
I tried to work out how to request wiki edits recently but gave up as it seemed rather obscure.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 6 times
Been thanked: 16 times

Re: HELP] Errors following wiki to install nvidia drivers

#17 Post by Dai_trying »

sunrat wrote:@Dai_trying - that's how I do it (except for using apt instead of apt-get, shouldn't make a difference though).
If the wiki showed that, I think we would have a lot less Nvidia driver install topics.
I tried to work out how to request wiki edits recently but gave up as it seemed rather obscure.
I actually only use the stable version on my system now, but I did try the backports when I first got this machine but after a couple of re-installs (I always seem to install too much on a new system) I found that stable worked perfectly fine for my card so I stuck with it, and yes very little difference between apt and apt-get but I prefer the feedback from apt but use apt-get in scripts if needed.

I think the wiki covers more bases but maybe my previous post will help a few users to simplify the process. And looking at the wiki it seems you would need to log-in to make changes but I don't see any registration so could be some closed group or maybe Debian developers??

Post Reply