Bug#976056: nvidia-legacy-340xx-driver: requires DRM_LEGACY, disabled from Linux 5.9.11 onwards

Andreas Beckmann anbe at debian.org
Tue Dec 8 19:14:11 GMT 2020


On 12/7/20 4:24 PM, jim_p wrote:
> About the "nvidia-blacklists-nouveau.conf". I had to use nouveau some months
> ago too (for like 1 hour at most, thankfully) and that file was removed when I
> purged some nvidia package. I have no idea why it is not removed anymore. A
> file with the same name but under a different path exists in nvidia-
> legacy-340xx-kernel-support.

Is nvidia-blacklists-nouveau.conf a symlink (managed by the package) or
a real file (managed by the local admin)?

Disabling the nvidia driver can be done with
  update-glx --config glx
and then selecting mesa-diverted. That should disable all the modprobe
configuration bits that are managed by the packaging.

> However, the patch does not work, probably because it conflicts with another
> patch. It does work with no issues on another distro that uses the same kernel
> version and the has the same kernel parameter disabled. It also works when it
> is applied to the "source" of the driver (tested on a virtual machine by a
> friend of mine).

The magic from archlinux is not the kernel-5.9 patch (a similar patch is
already part of the Debian package) but the recently added
kernel-5.7.patch. That essentially copies some bits of kernel source
into the driver to bring back the two missing functions (and their
dependencies).


Andreas



More information about the pkg-nvidia-devel mailing list