mirror of
				https://github.com/optim-enterprises-bv/secureblue.git
				synced 2025-11-03 03:48:22 +00:00 
			
		
		
		
	feat: nvidia-open images, major streamlining, bugfixes, and polish (#461)
This commit is contained in:
		
							
								
								
									
										16
									
								
								files/scripts/setdrmvariables.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								files/scripts/setdrmvariables.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
# Tell build process to exit if there are any errors.
 | 
			
		||||
set -oue pipefail
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
echo '
 | 
			
		||||
 | 
			
		||||
# Nvidia modesetting support. Set to 0 or comment to disable kernel modesetting
 | 
			
		||||
# support. This must be disabled in case of SLI Mosaic.
 | 
			
		||||
 | 
			
		||||
options nvidia-drm modeset=1 fbdev=1
 | 
			
		||||
 | 
			
		||||
' > /usr/lib/modprobe.d/nvidia-modeset.conf
 | 
			
		||||
 | 
			
		||||
cp /usr/lib/modprobe.d/nvidia-modeset.conf /etc/modprobe.d/nvidia-modeset.conf
 | 
			
		||||
		Reference in New Issue
	
	Block a user