Bug#819869: nvidia-legacy-check: lock during install

Luca Boccassi luca.boccassi at gmail.com
Sun Apr 3 15:34:49 UTC 2016


On 3 April 2016 at 16:00, Simon Fourquier <sifourquier at yahoo.fr> wrote:
> I'm finally install driver in safe mode and is ok. I think is a problem with
> nouveau driver if nouveaux are load when we try to install
> nvidia-legacy-check. he lock.

I've tested that scenario too and it works fine, see log. During the
installation the driver package will show a debconf warning in the
terminal about mismatching modules if nouveau is loaded, advises to
reboot after the installation and waits for the user to press "ok",
and proceeds just fine once you do. Are you sure you weren't doing
something like running apt in the background (if this is a requirement
you can preseed the answer)? And that debconf is properly working on
your system?

luca at luca-laptop:~$ lsmod | grep nouveau
nouveau              1466368  1
ttm                    94208  1 nouveau
mxm_wmi                16384  1 nouveau
drm_kms_helper        135168  2 i915,nouveau
drm                   356352  11 ttm,i915,drm_kms_helper,nouveau
i2c_algo_bit           16384  2 i915,nouveau
video                  40960  3 i915,ideapad_laptop,nouveau
button                 16384  2 i915,nouveau
wmi                    20480  3 ideapad_laptop,mxm_wmi,nouveau
luca at luca-laptop:~$ sudo apt-get install nvidia-driver bumblebee
[sudo] password for luca:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  glx-alternative-mesa glx-alternative-nvidia glx-diversions
libegl1-nvidia libgl1-nvidia-glx libgles1-nvidia libgles2-nvidia
libnvidia-eglcore
  libnvidia-ml1 nvidia-alternative nvidia-driver-bin
nvidia-installer-cleanup nvidia-kernel-common nvidia-kernel-dkms
nvidia-kernel-support
  nvidia-legacy-check nvidia-modprobe nvidia-persistenced
nvidia-support nvidia-vdpau-driver primus update-glx
xserver-xorg-video-nvidia
Suggested packages:
  bumblebee-nvidia
Recommended packages:
  nvidia-settings libgl1-nvidia-glx-i386 primus-libs-ia32
The following NEW packages will be installed:
  bumblebee glx-alternative-mesa glx-alternative-nvidia glx-diversions
libegl1-nvidia libgl1-nvidia-glx libgles1-nvidia libgles2-nvidia
  libnvidia-eglcore libnvidia-ml1 nvidia-alternative nvidia-driver
nvidia-driver-bin nvidia-installer-cleanup nvidia-kernel-common
  nvidia-kernel-dkms nvidia-kernel-support nvidia-legacy-check
nvidia-modprobe nvidia-persistenced nvidia-support nvidia-vdpau-driver
primus
  update-glx xserver-xorg-video-nvidia
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/24.2 MB of archives.
After this operation, 129 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
Selecting previously unselected package nvidia-installer-cleanup.
(Reading database ... 159670 files and directories currently installed.)
Preparing to unpack .../nvidia-installer-cleanup_20151021+4_amd64.deb ...
Unpacking nvidia-installer-cleanup (20151021+4) ...
Setting up nvidia-installer-cleanup (20151021+4) ...
Selecting previously unselected package glx-diversions.
(Reading database ... 159678 files and directories currently installed.)
Preparing to unpack .../glx-diversions_0.7.2_amd64.deb ...
Unpacking glx-diversions (0.7.2) ...
Selecting previously unselected package nvidia-legacy-check.
Preparing to unpack .../nvidia-legacy-check_352.79-5_amd64.deb ...
Unpacking nvidia-legacy-check (352.79-5) ...
Selecting previously unselected package update-glx.
Preparing to unpack .../update-glx_0.7.2_amd64.deb ...
Unpacking update-glx (0.7.2) ...
Selecting previously unselected package glx-alternative-mesa.
Preparing to unpack .../glx-alternative-mesa_0.7.2_amd64.deb ...
Unpacking glx-alternative-mesa (0.7.2) ...
Selecting previously unselected package glx-alternative-nvidia.
Preparing to unpack .../glx-alternative-nvidia_0.7.2_amd64.deb ...
Unpacking glx-alternative-nvidia (0.7.2) ...
Setting up nvidia-legacy-check (352.79-5) ...
Selecting previously unselected package nvidia-alternative.
(Reading database ... 159807 files and directories currently installed.)

<SNIP>


DKMS: install completed.
Setting up nvidia-driver (352.79-5) ...
Processing triggers for libc-bin (2.22-5) ...
Processing triggers for systemd (229-3) ...
Processing triggers for update-glx (0.7.2) ...
Processing triggers for glx-alternative-nvidia (0.7.2) ...
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx
(glx) in auto mode
Processing triggers for initramfs-tools (0.123) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-1-amd64
luca at luca-laptop:~$


> I have a asusUX501VW (optimus gforce 960m)

Make sure to install bumblebee-nvidia then since it's an optimus system.

Kind regards,
Luca Boccassi



More information about the pkg-nvidia-devel mailing list