mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Allocate VRAM for all display devices #211
This commit is contained in:
		
							parent
							
								
									9197e0c981
								
							
						
					
					
						commit
						cff40f8db0
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		
							
								
								
									
										9
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -682,9 +682,12 @@ function vm_boot() { | |||
|   fi | ||||
| 
 | ||||
|   # Allocate VRAM to VGA devices | ||||
|   if [ "${DISPLAY_DEVICE}" == "qxl-vga" ] || [ "${DISPLAY_DEVICE}" == "VGA" ]; then | ||||
|     VIDEO="${VIDEO},vgamem_mb=128" | ||||
|   fi | ||||
|   case ${DISPLAY_DEVICE} in | ||||
|     bochs-display) VIDEO="${VIDEO},vgamem=134217728";; | ||||
|     ati-vga,cirrus,cirrus-vga,qxl,qxl-vga,VGA) VIDEO="${VIDEO},vgamem_mb=128";; | ||||
|   esac | ||||
| 
 | ||||
|   # Add fullscreen options | ||||
|   VIDEO="${VIDEO} ${FULLSCREEN}" | ||||
| 
 | ||||
|   # Set the hostname of the VM | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue