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 installing NVIDIA drivers

Need help with peripherals or devices?
Message
Author
User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Help installing NVIDIA drivers

#21 Post by stevepusser »

Don't know. It's tough to get you to give critical information, despite multiple requests, so I lack interest.

Are you seriously telling me you still haven't installed build-essential, or used module-assistant's "m-a prepare"?
MX Linux packager and developer

kdo
Posts: 20
Joined: 2017-04-04 14:57

Re: Help installing NVIDIA drivers

#22 Post by kdo »

stevepusser wrote:Don't know. It's tough to get you to give critical information, despite multiple requests, so I lack interest.

Are you seriously telling me you still haven't installed build-essential, or used module-assistant's "m-a prepare"?
Hi there i see an error in my installation no matter that i install bumblebee+property or just property it says something failed+a lib file couldn't find i searched for that lib file but i couldn't find it anywhere

Can u please help me about installing build essentials+m-a prepared?!

Thanks
I will try and update my post cuz i know driver fails with kernel(first error)

And sorry georgz please send me p.m if u want me to remove my post i will open a new topic

I only said it here because it's the same problem

georgz
Posts: 15
Joined: 2009-05-10 18:13

Re: Help installing NVIDIA drivers

#23 Post by georgz »

It's OK, since we have the same problem.

georgz
Posts: 15
Joined: 2009-05-10 18:13

Re: Help installing NVIDIA drivers

#24 Post by georgz »

Ok, let's start from the beginning. On a fresh installation,

Running
apt-cache policy build-essential
returns this,
build-essential:
Installed: 12.3
Candidate: 12.3
Version table:
*** 12.3 500
500 http://ftp.de.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
I also installed
linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
and added this
echo blacklist nouveau > /etc/modprobe.d/blacklist-nouveau.conf
to blacklist nouveau, running lsmod after reboot and I confirm that the module nouveau is no longer loaded.

Time to run
sudo apt-get install bumblebee-nvidia primus
and see what happens...

EDIT: Again the same issue, I enter my credentials for login, the login prompt disappears, it's stuck and need hard reset to reboot. Now I tried the echo ON > /proc/acpi/bbswitch and it worked as someone suggested earlier.

This is the installation log:

Code: Select all

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  bbswitch-dkms bumblebee dkms glx-alternative-mesa glx-alternative-nvidia
  glx-diversions libegl-nvidia0 libegl1-glvnd-nvidia libgl1-glvnd-nvidia-glx
  libgl1-nvidia-glvnd-glx libgldispatch0-nvidia libgles-nvidia1
  libgles-nvidia2 libgles1-glvnd-nvidia libgles2-glvnd-nvidia libglx-nvidia0
  libglx0-glvnd-nvidia libnvidia-cfg1 libnvidia-eglcore libnvidia-glcore
  libnvidia-ml1 libopengl0-glvnd-nvidia libvulkan1 libxnvctrl0
  nvidia-alternative nvidia-driver nvidia-driver-bin nvidia-driver-libs
  nvidia-egl-common nvidia-egl-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
  primus-libs socat update-glx xserver-xorg-video-nvidia
Suggested packages:
  python3-apport menu vulkan-utils
Recommended packages:
  nvidia-driver-libs-i386 primus-libs-ia32
The following NEW packages will be installed:
  bbswitch-dkms bumblebee bumblebee-nvidia dkms glx-alternative-mesa
  glx-alternative-nvidia glx-diversions libegl-nvidia0 libegl1-glvnd-nvidia
  libgl1-glvnd-nvidia-glx libgl1-nvidia-glvnd-glx libgldispatch0-nvidia
  libgles-nvidia1 libgles-nvidia2 libgles1-glvnd-nvidia libgles2-glvnd-nvidia
  libglx-nvidia0 libglx0-glvnd-nvidia libnvidia-cfg1 libnvidia-eglcore
  libnvidia-glcore libnvidia-ml1 libopengl0-glvnd-nvidia libvulkan1
  libxnvctrl0 nvidia-alternative nvidia-driver nvidia-driver-bin
  nvidia-driver-libs nvidia-egl-common nvidia-egl-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
  primus primus-libs socat update-glx xserver-xorg-video-nvidia
0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
Need to get 30.6 MB of archives.
After this operation, 121 MB of additional disk space will be used.
Do you want to continue? [Y/n] Get:1 http://ftp.de.debian.org/debian stretch/contrib amd64 nvidia-installer-cleanup amd64 20151021+4 [19.3 kB]
Get:2 http://ftp.de.debian.org/debian stretch/contrib amd64 update-glx amd64 0.7.4 [7,772 B]
Get:3 http://ftp.de.debian.org/debian stretch/contrib amd64 glx-alternative-mesa amd64 0.7.4 [8,184 B]
Get:4 http://ftp.de.debian.org/debian stretch/contrib amd64 glx-diversions amd64 0.7.4 [10.3 kB]
Get:5 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-legacy-check amd64 375.66-2~deb9u1 [175 kB]
Get:6 http://ftp.de.debian.org/debian stretch/contrib amd64 glx-alternative-nvidia amd64 0.7.4 [9,246 B]
Get:7 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-alternative amd64 375.66-2~deb9u1 [172 kB]
Get:8 http://ftp.de.debian.org/debian stretch/non-free amd64 libgldispatch0-nvidia amd64 375.66-2~deb9u1 [213 kB]
Get:9 http://ftp.de.debian.org/debian stretch/non-free amd64 libglx0-glvnd-nvidia amd64 375.66-2~deb9u1 [192 kB]
Get:10 http://ftp.de.debian.org/debian stretch/non-free amd64 libgl1-glvnd-nvidia-glx amd64 375.66-2~deb9u1 [245 kB]
Get:11 http://ftp.de.debian.org/debian stretch/non-free amd64 libnvidia-glcore amd64 375.66-2~deb9u1 [6,414 kB]
Get:12 http://ftp.de.debian.org/debian stretch/non-free amd64 libglx-nvidia0 amd64 375.66-2~deb9u1 [421 kB]
Get:13 http://ftp.de.debian.org/debian stretch/non-free amd64 libgl1-nvidia-glvnd-glx amd64 375.66-2~deb9u1 [322 kB]
Get:14 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-egl-common amd64 375.66-2~deb9u1 [171 kB]
Get:15 http://ftp.de.debian.org/debian stretch/non-free amd64 libegl1-glvnd-nvidia amd64 375.66-2~deb9u1 [197 kB]
Get:16 http://ftp.de.debian.org/debian stretch/non-free amd64 libnvidia-eglcore amd64 375.66-2~deb9u1 [6,351 kB]
Get:17 http://ftp.de.debian.org/debian stretch/non-free amd64 libegl-nvidia0 amd64 375.66-2~deb9u1 [335 kB]
Get:18 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-egl-icd amd64 375.66-2~deb9u1 [170 kB]
Get:19 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-driver-libs amd64 375.66-2~deb9u1 [170 kB]
Get:20 http://ftp.de.debian.org/debian stretch/non-free amd64 libnvidia-ml1 amd64 375.66-2~deb9u1 [549 kB]
Get:21 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-driver-bin amd64 375.66-2~deb9u1 [253 kB]
Get:22 http://ftp.de.debian.org/debian stretch/contrib amd64 nvidia-support amd64 20151021+4 [20.1 kB]
Get:23 http://ftp.de.debian.org/debian stretch/non-free amd64 xserver-xorg-video-nvidia amd64 375.66-2~deb9u1 [3,102 kB]
Get:24 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-vdpau-driver amd64 375.66-2~deb9u1 [699 kB]
Get:25 http://ftp.de.debian.org/debian stretch/main amd64 dkms all 2.3-2 [74.8 kB]
Get:26 http://ftp.de.debian.org/debian stretch/contrib amd64 nvidia-kernel-common amd64 20151021+4 [10.3 kB]
Get:27 http://ftp.de.debian.org/debian stretch/contrib amd64 nvidia-modprobe amd64 375.26-1 [16.4 kB]
Get:28 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-kernel-support amd64 375.66-2~deb9u1 [171 kB]
Get:29 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-kernel-dkms amd64 375.66-2~deb9u1 [6,707 kB]
Get:30 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-driver amd64 375.66-2~deb9u1 [465 kB]
Get:31 http://ftp.de.debian.org/debian stretch/main amd64 libxnvctrl0 amd64 375.66-1 [23.1 kB]
Get:32 http://ftp.de.debian.org/debian stretch/contrib amd64 nvidia-settings amd64 375.66-1 [882 kB]
Get:33 http://ftp.de.debian.org/debian stretch/main amd64 bbswitch-dkms amd64 0.8-4 [12.3 kB]
Get:34 http://ftp.de.debian.org/debian stretch/main amd64 bumblebee amd64 3.2.1-14 [49.7 kB]
Get:35 http://ftp.de.debian.org/debian stretch/non-free amd64 libgles1-glvnd-nvidia amd64 375.66-2~deb9u1 [179 kB]
Get:36 http://ftp.de.debian.org/debian stretch/non-free amd64 libgles-nvidia1 amd64 375.66-2~deb9u1 [187 kB]
Get:37 http://ftp.de.debian.org/debian stretch/non-free amd64 libgles2-glvnd-nvidia amd64 375.66-2~deb9u1 [181 kB]
Get:38 http://ftp.de.debian.org/debian stretch/non-free amd64 libgles-nvidia2 amd64 375.66-2~deb9u1 [192 kB]
Get:39 http://ftp.de.debian.org/debian stretch/non-free amd64 libnvidia-cfg1 amd64 375.66-2~deb9u1 [224 kB]
Get:40 http://ftp.de.debian.org/debian stretch/non-free amd64 libopengl0-glvnd-nvidia amd64 375.66-2~deb9u1 [196 kB]
Get:41 http://ftp.de.debian.org/debian stretch/main amd64 libvulkan1 amd64 1.0.39.0+dfsg1-1 [59.9 kB]
Get:42 http://ftp.de.debian.org/debian stretch/contrib amd64 nvidia-persistenced amd64 375.26-2 [20.5 kB]
Get:43 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-vulkan-common amd64 375.66-2~deb9u1 [171 kB]
Get:44 http://ftp.de.debian.org/debian stretch/non-free amd64 nvidia-vulkan-icd amd64 375.66-2~deb9u1 [170 kB]
Get:45 http://ftp.de.debian.org/debian stretch/contrib amd64 bumblebee-nvidia amd64 3.2.1-14 [5,146 B]
Get:46 http://ftp.de.debian.org/debian stretch/main amd64 socat amd64 1.7.3.1-2+deb9u1 [353 kB]
Get:47 http://ftp.de.debian.org/debian stretch/main amd64 primus-libs amd64 0~20150328-4 [49.3 kB]
Get:48 http://ftp.de.debian.org/debian stretch/main amd64 primus amd64 0~20150328-4 [11.0 kB]
Preconfiguring packages ...
Fetched 30.6 MB in 5s (5,380 kB/s)
Selecting previously unselected package nvidia-installer-cleanup.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 163191 files and directories currently installed.)
Preparing to unpack .../nvidia-installer-cleanup_20151021+4_amd64.deb ...
Unpacking nvidia-installer-cleanup (20151021+4) ...
Selecting previously unselected package update-glx.
Preparing to unpack .../update-glx_0.7.4_amd64.deb ...
Unpacking update-glx (0.7.4) ...
Selecting previously unselected package glx-alternative-mesa.
Preparing to unpack .../glx-alternative-mesa_0.7.4_amd64.deb ...
Unpacking glx-alternative-mesa (0.7.4) ...
Setting up nvidia-installer-cleanup (20151021+4) ...
Selecting previously unselected package glx-diversions.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 163306 files and directories currently installed.)
Preparing to unpack .../glx-diversions_0.7.4_amd64.deb ...
Unpacking glx-diversions (0.7.4) ...
Selecting previously unselected package nvidia-legacy-check.
Preparing to unpack .../nvidia-legacy-check_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-legacy-check (375.66-2~deb9u1) ...
Selecting previously unselected package glx-alternative-nvidia.
Preparing to unpack .../glx-alternative-nvidia_0.7.4_amd64.deb ...
Unpacking glx-alternative-nvidia (0.7.4) ...
Setting up nvidia-legacy-check (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-alternative.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 163336 files and directories currently installed.)
Preparing to unpack .../00-nvidia-alternative_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-alternative (375.66-2~deb9u1) ...
Selecting previously unselected package libgldispatch0-nvidia:amd64.
Preparing to unpack .../01-libgldispatch0-nvidia_375.66-2~deb9u1_amd64.deb ...
Unpacking libgldispatch0-nvidia:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libglx0-glvnd-nvidia:amd64.
Preparing to unpack .../02-libglx0-glvnd-nvidia_375.66-2~deb9u1_amd64.deb ...
Unpacking libglx0-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libgl1-glvnd-nvidia-glx:amd64.
Preparing to unpack .../03-libgl1-glvnd-nvidia-glx_375.66-2~deb9u1_amd64.deb ...
Unpacking libgl1-glvnd-nvidia-glx:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libnvidia-glcore:amd64.
Preparing to unpack .../04-libnvidia-glcore_375.66-2~deb9u1_amd64.deb ...
Unpacking libnvidia-glcore:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libglx-nvidia0:amd64.
Preparing to unpack .../05-libglx-nvidia0_375.66-2~deb9u1_amd64.deb ...
Unpacking libglx-nvidia0:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libgl1-nvidia-glvnd-glx:amd64.
Preparing to unpack .../06-libgl1-nvidia-glvnd-glx_375.66-2~deb9u1_amd64.deb ...
Unpacking libgl1-nvidia-glvnd-glx:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-egl-common.
Preparing to unpack .../07-nvidia-egl-common_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-egl-common (375.66-2~deb9u1) ...
Selecting previously unselected package libegl1-glvnd-nvidia:amd64.
Preparing to unpack .../08-libegl1-glvnd-nvidia_375.66-2~deb9u1_amd64.deb ...
Unpacking libegl1-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libnvidia-eglcore:amd64.
Preparing to unpack .../09-libnvidia-eglcore_375.66-2~deb9u1_amd64.deb ...
Unpacking libnvidia-eglcore:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libegl-nvidia0:amd64.
Preparing to unpack .../10-libegl-nvidia0_375.66-2~deb9u1_amd64.deb ...
Unpacking libegl-nvidia0:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-egl-icd:amd64.
Preparing to unpack .../11-nvidia-egl-icd_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-egl-icd:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-driver-libs:amd64.
Preparing to unpack .../12-nvidia-driver-libs_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-driver-libs:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libnvidia-ml1:amd64.
Preparing to unpack .../13-libnvidia-ml1_375.66-2~deb9u1_amd64.deb ...
Unpacking libnvidia-ml1:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-driver-bin.
Preparing to unpack .../14-nvidia-driver-bin_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-driver-bin (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-support.
Preparing to unpack .../15-nvidia-support_20151021+4_amd64.deb ...
Unpacking nvidia-support (20151021+4) ...
Selecting previously unselected package xserver-xorg-video-nvidia.
Preparing to unpack .../16-xserver-xorg-video-nvidia_375.66-2~deb9u1_amd64.deb ...
Unpacking xserver-xorg-video-nvidia (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-vdpau-driver:amd64.
Preparing to unpack .../17-nvidia-vdpau-driver_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-vdpau-driver:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../18-dkms_2.3-2_all.deb ...
Unpacking dkms (2.3-2) ...
Selecting previously unselected package nvidia-kernel-common.
Preparing to unpack .../19-nvidia-kernel-common_20151021+4_amd64.deb ...
Unpacking nvidia-kernel-common (20151021+4) ...
Selecting previously unselected package nvidia-modprobe.
Preparing to unpack .../20-nvidia-modprobe_375.26-1_amd64.deb ...
Unpacking nvidia-modprobe (375.26-1) ...
Selecting previously unselected package nvidia-kernel-support.
Preparing to unpack .../21-nvidia-kernel-support_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-kernel-support (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-kernel-dkms.
Preparing to unpack .../22-nvidia-kernel-dkms_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-kernel-dkms (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-driver.
Preparing to unpack .../23-nvidia-driver_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-driver (375.66-2~deb9u1) ...
Selecting previously unselected package libxnvctrl0:amd64.
Preparing to unpack .../24-libxnvctrl0_375.66-1_amd64.deb ...
Unpacking libxnvctrl0:amd64 (375.66-1) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../25-nvidia-settings_375.66-1_amd64.deb ...
Unpacking nvidia-settings (375.66-1) ...
Selecting previously unselected package bbswitch-dkms.
Preparing to unpack .../26-bbswitch-dkms_0.8-4_amd64.deb ...
Unpacking bbswitch-dkms (0.8-4) ...
Selecting previously unselected package bumblebee.
Preparing to unpack .../27-bumblebee_3.2.1-14_amd64.deb ...
Unpacking bumblebee (3.2.1-14) ...
Selecting previously unselected package libgles1-glvnd-nvidia:amd64.
Preparing to unpack .../28-libgles1-glvnd-nvidia_375.66-2~deb9u1_amd64.deb ...
Unpacking libgles1-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libgles-nvidia1:amd64.
Preparing to unpack .../29-libgles-nvidia1_375.66-2~deb9u1_amd64.deb ...
Unpacking libgles-nvidia1:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libgles2-glvnd-nvidia:amd64.
Preparing to unpack .../30-libgles2-glvnd-nvidia_375.66-2~deb9u1_amd64.deb ...
Unpacking libgles2-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libgles-nvidia2:amd64.
Preparing to unpack .../31-libgles-nvidia2_375.66-2~deb9u1_amd64.deb ...
Unpacking libgles-nvidia2:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libnvidia-cfg1:amd64.
Preparing to unpack .../32-libnvidia-cfg1_375.66-2~deb9u1_amd64.deb ...
Unpacking libnvidia-cfg1:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libopengl0-glvnd-nvidia:amd64.
Preparing to unpack .../33-libopengl0-glvnd-nvidia_375.66-2~deb9u1_amd64.deb ...
Unpacking libopengl0-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package libvulkan1:amd64.
Preparing to unpack .../34-libvulkan1_1.0.39.0+dfsg1-1_amd64.deb ...
Unpacking libvulkan1:amd64 (1.0.39.0+dfsg1-1) ...
Selecting previously unselected package nvidia-persistenced.
Preparing to unpack .../35-nvidia-persistenced_375.26-2_amd64.deb ...
Unpacking nvidia-persistenced (375.26-2) ...
Selecting previously unselected package nvidia-vulkan-common.
Preparing to unpack .../36-nvidia-vulkan-common_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-vulkan-common (375.66-2~deb9u1) ...
Selecting previously unselected package nvidia-vulkan-icd:amd64.
Preparing to unpack .../37-nvidia-vulkan-icd_375.66-2~deb9u1_amd64.deb ...
Unpacking nvidia-vulkan-icd:amd64 (375.66-2~deb9u1) ...
Selecting previously unselected package bumblebee-nvidia.
Preparing to unpack .../38-bumblebee-nvidia_3.2.1-14_amd64.deb ...
Unpacking bumblebee-nvidia (3.2.1-14) ...
Selecting previously unselected package socat.
Preparing to unpack .../39-socat_1.7.3.1-2+deb9u1_amd64.deb ...
Unpacking socat (1.7.3.1-2+deb9u1) ...
Selecting previously unselected package primus-libs:amd64.
Preparing to unpack .../40-primus-libs_0~20150328-4_amd64.deb ...
Unpacking primus-libs:amd64 (0~20150328-4) ...
Selecting previously unselected package primus.
Preparing to unpack .../41-primus_0~20150328-4_amd64.deb ...
Unpacking primus (0~20150328-4) ...
Setting up libvulkan1:amd64 (1.0.39.0+dfsg1-1) ...
Setting up nvidia-kernel-common (20151021+4) ...
Processing triggers for mime-support (3.60) ...
Setting up libnvidia-eglcore:amd64 (375.66-2~deb9u1) ...
Setting up libgldispatch0-nvidia:amd64 (375.66-2~deb9u1) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Setting up nvidia-support (20151021+4) ...
Setting up update-glx (0.7.4) ...
Setting up socat (1.7.3.1-2+deb9u1) ...
Setting up primus-libs:amd64 (0~20150328-4) ...
Setting up libnvidia-glcore:amd64 (375.66-2~deb9u1) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-3-amd64
Setting up dkms (2.3-2) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Setting up nvidia-egl-common (375.66-2~deb9u1) ...
Processing triggers for systemd (232-25+deb9u1) ...
Setting up nvidia-modprobe (375.26-1) ...
Setting up nvidia-vulkan-common (375.66-2~deb9u1) ...
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.7.4) ...
Setting up bbswitch-dkms (0.8-4) ...
Loading new bbswitch-0.8 DKMS files...
Building for 4.9.0-3-amd64
Building initial module for 4.9.0-3-amd64
Done.

bbswitch:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/

depmod...

DKMS: install completed.
Setting up libxnvctrl0:amd64 (375.66-1) ...
Setting up libopengl0-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Setting up glx-diversions (0.7.4) ...
Setting up bumblebee (3.2.1-14) ...
Adding members from group(s) 'adm sudo admin' to 'bumblebee':
george
Adding user george to group bumblebee
Created symlink /etc/systemd/system/graphical.target.wants/bumblebeed.service → /lib/systemd/system/bumblebeed.service.
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-3-amd64
Setting up primus (0~20150328-4) ...
Processing triggers for glx-alternative-mesa (0.7.4) ...
update-alternatives: using /usr/lib/mesa-diverted to provide /usr/lib/glx (glx) in auto mode
update-alternatives: using /usr/lib/mesa-diverted to provide /usr/lib/mesa-diverted/libGL.so-master (libGL.so-master) in auto mode
Setting up glx-alternative-nvidia (0.7.4) ...
Processing triggers for glx-alternative-nvidia (0.7.4) ...
Setting up nvidia-alternative (375.66-2~deb9u1) ...
Processing triggers for nvidia-alternative (375.66-2~deb9u1) ...
update-alternatives: using /usr/lib/nvidia/current to provide /usr/lib/nvidia/nvidia (nvidia) in auto mode
Setting up libglx0-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Setting up nvidia-kernel-support (375.66-2~deb9u1) ...
Setting up nvidia-settings (375.66-1) ...
Setting up nvidia-vdpau-driver:amd64 (375.66-2~deb9u1) ...
Setting up libegl1-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Setting up libegl-nvidia0:amd64 (375.66-2~deb9u1) ...
Setting up libnvidia-cfg1:amd64 (375.66-2~deb9u1) ...
Setting up libgles1-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Setting up libnvidia-ml1:amd64 (375.66-2~deb9u1) ...
Setting up libgles-nvidia1:amd64 (375.66-2~deb9u1) ...
Setting up xserver-xorg-video-nvidia (375.66-2~deb9u1) ...
Setting up nvidia-driver-bin (375.66-2~deb9u1) ...
Setting up libgl1-glvnd-nvidia-glx:amd64 (375.66-2~deb9u1) ...
Setting up nvidia-persistenced (375.26-2) ...
Setting up libgles2-glvnd-nvidia:amd64 (375.66-2~deb9u1) ...
Setting up libglx-nvidia0:amd64 (375.66-2~deb9u1) ...
Setting up nvidia-vulkan-icd:amd64 (375.66-2~deb9u1) ...
Setting up nvidia-egl-icd:amd64 (375.66-2~deb9u1) ...
Setting up libgles-nvidia2:amd64 (375.66-2~deb9u1) ...
Setting up libgl1-nvidia-glvnd-glx:amd64 (375.66-2~deb9u1) ...
Setting up nvidia-driver-libs:amd64 (375.66-2~deb9u1) ...
Processing triggers for nvidia-alternative (375.66-2~deb9u1) ...
update-alternatives: updating alternative /usr/lib/nvidia/current because link group nvidia has changed slave links
Setting up nvidia-kernel-dkms (375.66-2~deb9u1) ...
Loading new nvidia-current-375.66 DKMS files...
Building for 4.9.0-3-amd64
Building initial module for 4.9.0-3-amd64
Done.

nvidia-current:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.0-3-amd64/updates/dkms/

depmod...

DKMS: install completed.
Setting up bumblebee-nvidia (3.2.1-14) ...
update-alternatives: error: alternative /usr/lib/nvidia/bumblebee for glx not registered; not setting
Setting up nvidia-driver (375.66-2~deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for update-glx (0.7.4) ...
Processing triggers for glx-alternative-nvidia (0.7.4) ...
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto mode
update-alternatives: using /usr/lib/nvidia/bumblebee to provide /usr/lib/glx (glx) in auto mode
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-3-amd64
Processing triggers for bumblebee (3.2.1-14) ...
Last, running lshw -c video returns
*-display UNCLAIMED
description: VGA compatible controller
product: GP106M [GeForce GTX 1060]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list
configuration: latency=0
resources: memory:dc000000-dcffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:e000(size=128) memory:dd000000-dd07ffff

*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:138 memory:db000000-dbffffff memory:70000000-7fffffff ioport:f000(size=64) memory:c0000-dffff
Sooo... was the driver installed or not?

Last update, I added the acpi_rev_override=1 to grub but the problem persists.

kdo
Posts: 20
Joined: 2017-04-04 14:57

Re: Help installing NVIDIA drivers

#25 Post by kdo »

Any update regarding this issue?!

georgz
Posts: 15
Joined: 2009-05-10 18:13

Re: Help installing NVIDIA drivers

#26 Post by georgz »

Nop, btw I noticed that in dmesg the bbswitch is turning off the external GPU during boot. Perhaps a hacky way to fix this would be to remove the turning off functionality, recompile from source and with a simple script turn off the GPU after login.

Anyway, I'm out of ideas and I really don't want to ditch debian for another distro.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Help installing NVIDIA drivers

#27 Post by stevepusser »

Can't really tell what your Intel hardware is from lshw...could you install inxi and give the output of

Code: Select all

inxi -G
FWIW, we're starting development of Stretch based MX 17, currently with the stock 4.9 kernel, so I'll do its install and see how its automatic ddm-mx Nvidia driver and Bumblebee tool works with my Skylake Optimus Acer laptop. I wonder if your driver problems could be related to your particular hardware, and if a newer kernel might solve the issue.
MX Linux packager and developer

georgz
Posts: 15
Joined: 2009-05-10 18:13

Re: Help installing NVIDIA drivers

#28 Post by georgz »

Graphics: Card-1: Intel Device 591b
Card-2: NVIDIA GP106M [GeForce GTX 1060]
Display Server: X.Org 1.19.2 driver: N/A Resolution: 1920x1080@59.96hz
GLX Renderer: Mesa DRI Intel Kabylake GT2 GLX Version: 3.0 Mesa 13.0.6

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Help installing NVIDIA drivers

#29 Post by stevepusser »

Kabylake hardware may benefit from a newer kernel...can't hurt to try. Make suer you also get headers for the fresh kernel.

It's often possible to make inxi's output improve for recent hardware by updating your hardware ID database: as sysadmin,

Code: Select all

update-pciids
update-usbids
MX Linux packager and developer

loki
Posts: 13
Joined: 2017-08-02 22:01

Re: Help installing NVIDIA drivers

#30 Post by loki »

georgz wrote:Nop, btw I noticed that in dmesg the bbswitch is turning off the external GPU during boot. Perhaps a hacky way to fix this would be to remove the turning off functionality, recompile from source and with a simple script turn off the GPU after login.
When I experienced the same symptoms, my initial workaround was enable to discrete GPU prior to initializing the desktop session then disable the discrete GPU after the session started.

I placed a script to disable the discrete GPU at...

Code: Select all

/etc/gdm3/PostLogin/Default
With the following code...

Code: Select all

#!/bin/sh

BBSWITCH=/proc/acpi/bbswitch

if [ -f $BBSWITCH ]; then
  echo ON > $BBSWITCH
fi
This script is run as root and is invoked immediately after login but prior to the desktop session initialization.

I then added an autostart entry to disable the discrete GPU. Autostart entries are processed during session start but after what ever it is in the initialization process that needs to see the discrete GPU to be on. The autostart entry was a little more tricky as you need root privileges to write to /proc/acpi/bbswitch and Debian doesn't allow for setuid on scripts. I created a simple C utility to write to the file and then setuid as root on it, I'm lead to believe you could also allow a script to run with root privileges for certain users by adding it to your sudoers file if you use that.

I ran this workaround for some 2-3 weeks before discovering the kernel option switch that resolved my issue, during that time the workaround functioned very well and unobtrusively.

MrCitron
Posts: 2
Joined: 2017-09-25 06:39

Re: Help installing NVIDIA drivers

#31 Post by MrCitron »

Hi loki,
I ran this workaround for some 2-3 weeks before discovering the kernel option switch that resolved my issue, during that time the workaround functioned very well and unobtrusively.
Can you explain a bit more what this kernel switch is, and how you have enabled it ?

Thank you !

loki
Posts: 13
Joined: 2017-08-02 22:01

Re: Help installing NVIDIA drivers

#32 Post by loki »

MrCitron wrote:Can you explain a bit more what this kernel switch is, and how you have enabled it ?
As mentioned earlier in the thread, the kernel switch/boot parameter that is working for me is...

Code: Select all

acpi_rev_override
You can test it as a one time boot option by pressing 'E' to edit the highlighted grub menu item and add "acpi_rev_override" to the end of kernel line.

Or, to add this option permanently edit the file...

Code: Select all

/etc/default/grub
...Find the line...

Code: Select all

GRUB_CMDLINE_LINUX=""
... and add the option by changing the line to...

Code: Select all

GRUB_CMDLINE_LINUX="acpi_rev_override"
After saving the file changes remember to run update grub...

Code: Select all

# update-grub
The machine's firmware can expose the hardware to the OS differently depending on the ACPI version the OS reports. My machine's firmware expects all Linux OS' to return 5 as the ACPI version, the acpi_rev_override option forces the OS to return 5 as the ACPI version regardless of actual version.

MrCitron
Posts: 2
Joined: 2017-09-25 06:39

Re: Help installing NVIDIA drivers

#33 Post by MrCitron »

Hi loki,

thank you for your answer.

I confirm that adding

Code: Select all

acpi_rev_override=1
solve the freezing issue in Gnome post login (Ubuntu 17.04) on my Gigabyte Aero 15 laptop.

Metin

Post Reply