How to repackage NVIDIA .run drivers into .deb with DKMS
Question
At present, Ubuntu offers the 195.36.24 drivers as nvidia-current
in their repository. This packaged driver is pretty cool as it uses DKMS so you don't have to keep reinstalling the driver after a new kernel version.
The NVIDIA .run package drivers are at version 257 (beta) but they don't use DKMS so the graphics screws up every time a new kernel is installed and you don't reinstall the driver.
How can I modify the .run to use DKMS and even better, package it as a deb package?
Solution
Try to use this PPA, it seems they have updated drivers: NVIDIA-VDPAU Maybe it supports DKMS.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow