Bug#685617: Allow co-installation of nvidia-kernel-dkms and nvidia-kernel-legacy-173xx-dkms

Andreas Beckmann debian at abeckmann.de
Wed Aug 22 21:41:13 UTC 2012


On 2012-08-22 17:51, Gaudenz Steinlin wrote:
> If you want to use the full range of nvidia proprietry drivers on live
> systems the kernel dkms packages must both be installed at the same time
> and the correct module to use selected at runtime. While co-installation
> is possible for the GLX and xorg parts, this is currently not possible
> for the dkms packages.

Thanks for your patches. That could finally solve the missing
co-installability of the kernel modules.

Switching between current and legacy is done by reconfiguring the nvidia
alternative (/usr/lib/nvidia/nvidia) - can't that be used by the module
load script to select the "right" module? And "right" is here not what
fits the hardware best ... but what was configured.

The initial selection of the right driver (and setting the nvidia and
glx alternatives) is a different problem to be solved by the live system
boot process ... nvidia-detect should be able help with this, it looks
at PCI IDs and checks the lists. If you need machine readable output -
patches are welcome.

> The attached patches modify the dkms packages to allow coinstallation.
> The legacy packages dkms config is modified to name the module
> nvidia-legacy-173xx instead of just nvidia.

Needs to be done for -source, too.

If I have a card requiring legacy-173xx - do
  modprobe nvidia
and
  rmmod nvidia
still work afterwards?

Anyway, this looks like stuff for wheezy+1.


Andreas



More information about the pkg-nvidia-devel mailing list