@freewee, xorg-modulepath-fix package is not require for installing nvidia-340 package. xorg-modulepath-fix package is only automatically modify xorg.conf file for adding module-path fixes. If you do not need to create xorg.conf file or you have already added module-path fix by manually to xorg.conf file, you do not need to install the xorg-modulepath-fix package.
Note: I updated xorg-modulepath-fix package to use nvidia-xconfig command options.
Nvidia-340 package in the PPA repository has supports up to kernel 5.15 and also supports bionic, focal, hirsute and impish bases.
@freewee, xorg-modulepath-fix package is not require for installing nvidia-340 package. xorg-modulepath-fix package is only automatically modify xorg.conf file for adding module-path fixes. If you do not need to create xorg.conf file or you have already added module-path fix by manually to xorg.conf file, you do not need to install the xorg-modulepath-fix package.
Note: I updated xorg-modulepath-fix package to use nvidia-xconfig command options.
Nvidia-340 package in the PPA repository has supports up to kernel 5.15 and also supports bionic, focal, hirsute and impish bases.
https:/ /launchpad. net/~kelebek333 /+archive/ ubuntu/ nvidia- legacy
------- ------- ------- ---
Edit: I added kernel 5.16 build patch to nvidia-340 package.