Being able to update the system
The system update fails with the error mentioned above. I manually updated all nvidia340-* packages to the current revision.
If I manually remove the nvidia340 package and try to update, xbps wants to remove nvidia340-libs and install libglvnd instead. Since nvidia340 does not support glvnd, I don't want that. libnvidia-ml.so.1 is in fact listed in the shlib_provides of the nvidia340-libs package so xbps should be able to resolve it.
I think we should add replaces="libglvnd" in the template (nvidia340-libs_package).
also I don't know why nvidia340 doesn't currently install its own libEGL and libGLES, it should.
so it can be a provider of all three.
are you sure? I checked and the files were there.
-rwxr-xr-x 1 stefano stefano 965K May 25 2018 libEGL.so.340.107
-rw-r--r-- 1 stefano stefano 654 May 25 2018 libGL.la
-rwxr-xr-x 1 stefano stefano 1.3M May 25 2018 libGL.so.340.107
-rwxr-xr-x 1 stefano stefano 47K May 25 2018 libGLESv1_CM.so.340.107
-rwxr-xr-x 1 stefano stefano 61K May 25 2018 libGLESv2.so.340.107
We need to put it in another folder and override ModulePath as in nvidia390
@Hoshpak the kernel driver's exact name is just "nvidia", right?
Yes