mirror of
https://github.com/Frogging-Family/nvidia-all
synced 2024-10-30 15:20:10 +00:00
Enforce loading nvidia-uvm through module-load.d for now. This seems to work for the vk/vkd3d-proton issue at hand, so let's do that for now - 7c0bbf61a7 (commitcomment-57590421)
Thanks to @jeisom
This commit is contained in:
parent
56e25a251c
commit
d621f9d527
10
PKGBUILD
10
PKGBUILD
@ -226,7 +226,7 @@ fi
|
||||
|
||||
pkgname=("${_pkgname_array[@]}")
|
||||
pkgver=$_driver_version
|
||||
pkgrel=178
|
||||
pkgrel=180
|
||||
arch=('x86_64')
|
||||
url="http://www.nvidia.com/"
|
||||
license=('custom:NVIDIA')
|
||||
@ -1334,8 +1334,10 @@ if [ "$_dkms" = "false" ] || [ "$_dkms" = "full" ]; then
|
||||
find "$pkgdir" -name '*.ko' -exec gzip -n {} +
|
||||
done
|
||||
|
||||
echo "blacklist nouveau" |
|
||||
echo -e "blacklist nouveau\nblacklist lbm-nouveau" |
|
||||
install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
|
||||
echo "nvidia-uvm" |
|
||||
install -Dm644 /dev/stdin "${pkgdir}/etc/modules-load.d/${pkgname}.conf"
|
||||
}
|
||||
package_nvidia-tkg() {
|
||||
nvidia-tkg
|
||||
@ -1449,8 +1451,10 @@ if [ "$_dkms" = "true" ] || [ "$_dkms" = "full" ]; then
|
||||
install -dm 755 "${pkgdir}"/usr/{lib/modprobe.d,src}
|
||||
cp -dr --no-preserve='ownership' kernel-dkms "${pkgdir}/usr/src/nvidia-${pkgver}"
|
||||
|
||||
echo "blacklist nouveau" |
|
||||
echo -e "blacklist nouveau\nblacklist lbm-nouveau" |
|
||||
install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
|
||||
echo "nvidia-uvm" |
|
||||
install -Dm644 /dev/stdin "${pkgdir}/etc/modules-load.d/${pkgname}.conf"
|
||||
|
||||
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user