Add new parameter to nvidia config

This commit is contained in:
Manuel Thalmann 2024-03-09 00:18:55 +01:00
parent 1f8f088270
commit 4dd60227c9

View file

@ -1,5 +1,8 @@
#!/bin/bash
echo "options nvidia_drm modeset=1" | sudo tee /etc/modprobe.d/nvidia.conf > /dev/null;
{
echo "options nvidia_drm modeset=1";
echo "options nvidia_drm fbdev=1";
} | sudo tee /etc/modprobe.d/nvidia.conf > /dev/null;
{
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1";