Bug#859310: xserver-xorg-video-nvidia-legacy-304xx: Failed to load module nvidia (module does not exist, 0) No drivers available.

A. F. Cano afc at shibaya.lonestar.org
Sun Apr 9 17:32:41 UTC 2017


On Sun, Apr 09, 2017 at 03:22:39PM +0100, Luca Boccassi wrote:
> On Sat, 8 Apr 2017 15:18:12 -0400 "A. F. Cano" <afc at shibaya.lonestar.or
> g> wrote:
> > On Thu, Apr 06, 2017 at 12:44:32AM +0100, Luca Boccassi wrote:
> > > ...
> > > The problem is that your dpkg alternative is set to use mesa rather
> > > than nvidia to provide glx. That's why the symlink was missing.
> > > 
> > > You can fix this manually by running:
> > > 
> > > sudo update-glx --config glx
>> > Mmm...  Running this returns:
>> > There is only one alternative in link group glx (providing
> > /usr/lib/glx): /usr/lib/mesa-diverted
> > Nothing to configure.
> > Processing triggers for glx-alternative-mesa (0.7.4) ...
> > Processing triggers for libc-bin (2.24-9) ...
>> > I wonder what else I need.  Libg11-nvidia-legacy-304xx-glx is
> > installed (version 304.135)
> 
> The alternatives (and as a consequence the symlinks, the modprobe files
> etc) are set up by the nvidia-legacy-304xx-alternative maintainer
> scripts. If you still have the apt logs, could you please check if
> there was any error when installing/upgrading that package?

>From /var/log/apt/history.log.1.gz:

nvidia-legacy-304xx-alternative:i386 (304.131-1, 304-135-2)

One of possibly hundreds of packages upgraded on:

Start-Date: 2017-03-28 02:17:28
End-Date: 2017-03-28 05:12:29

Nothing else about this package in the log file.  No errors apparently.

> 
> Also to fix it please try:
> 
> dpkg-reconfigure nvidia-legacy-304xx-alternative

# dpkg-reconfigure nvidia-legacy-304xx-alternative
Processing triggers for nvidia-legacy-304xx-alternative (304.135-2) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia/legacy-304xx because link group nvidia is broken
update-alternatives: warning: not replacing /etc/nvidia/nvidia-modprobe.conf with a link
Processing triggers for glx-alternative-nvidia (0.7.4) ...
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
Processing triggers for libc-bin (2.24-9) ...
Processing triggers for initramfs-tools (0.127) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-2-686-pae

This seems to have fixed it.  Update-glx --config glx now returns 4
choices and /usr/lib/nvidia in auto mode is the current choice.

Thanks!

Augustine



More information about the pkg-nvidia-devel mailing list