Reorder nvidia-dkms
installation steps
This commit is contained in:
parent
4dc3e1fd6c
commit
118cdbfbcd
1 changed files with 5 additions and 5 deletions
|
@ -4,11 +4,6 @@
|
|||
echo "options nvidia_drm fbdev=1";
|
||||
} | sudo tee /etc/modprobe.d/nvidia.conf > /dev/null;
|
||||
|
||||
{
|
||||
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1";
|
||||
echo "options nvidia NVreg_TemporaryFilePath=/var/tmp";
|
||||
} | sudo tee /etc/modprobe.d/nvidia-power-management.conf > /dev/null;
|
||||
|
||||
sudo sed -i \
|
||||
-e "/^HOOKS=(.* kms /{" \
|
||||
-e "h; s/^/#/; p;" \
|
||||
|
@ -18,6 +13,11 @@ sudo sed -i \
|
|||
|
||||
sudo mkinitcpio -P;
|
||||
|
||||
{
|
||||
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1";
|
||||
echo "options nvidia NVreg_TemporaryFilePath=/var/tmp";
|
||||
} | sudo tee /etc/modprobe.d/nvidia-power-management.conf > /dev/null;
|
||||
|
||||
sudo systemctl enable \
|
||||
nvidia-suspend.service \
|
||||
nvidia-hibernate.service \
|
||||
|
|
Loading…
Reference in a new issue