added fbdev=1 in /etc/modprobe.d/nvidia.conf

This commit is contained in:
JaKooLit 2024-07-05 11:00:59 +09:00
parent 9ed87db627
commit 74f2fc8916

View File

@ -78,7 +78,7 @@ printf "${YELLOW} nvidia-stuff to /etc/default/grub..."
# Define the configuration file and the line to add
config_file="/etc/modprobe.d/nvidia.conf"
line_to_add="""
options nvidia-drm modeset=1
options nvidia-drm modeset=1 fbdev=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1
"""