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

This commit is contained in:
JaKooLit 2024-07-05 11:00:58 +09:00
parent 9fcdcbc5ee
commit 293886ce82

View File

@ -83,7 +83,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
"""