tips:gpu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:gpu [2016/11/21 22:23] scipiotips:gpu [2022/11/04 08:13] (current) – [nvidia and wayland] sscipioni
Line 1: Line 1:
 ====== GPU ====== ====== GPU ======
  
-===== Prereq =====+===== nvidia and wayland =====
  
-  Install ovfm+add **nvidia_drm.modeset=1** to grub settings ///etc/default/grub//
  
-<file txt /etc/modules> +/etc/modprobe.d/nvidia-power-management.conf 
-vfio +<code> 
-vfio_iommu_type1 +options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
-vfio_pci +
-vfio_virqfd +
-</file> +
- +
-<code bash+
-update-initramfs -u+
 </code> </code>
  
-Create VM and customize configuration before start: +enable these services 
-  * In the "Overview" section, set your firmware to "UEFI" +<code> 
-  * In the "Processor" section write CPU model to "host-passthrough"+systemctl enable nvidia-hibernate 
 +systemctl enable nvidia-resume 
 +systemctl enable nvidia-suspend 
 + 
 +</code>
  
-<file> 
-<features> 
- <hyperv> 
- ... 
- <vendor_id state='on' value='whatever'/> 
- ... 
- </hyperv> 
- ... 
- <kvm> 
- <hidden state='on'/> 
- </kvm> 
-</features> 
-</file> 
  • tips/gpu.1479763423.txt.gz
  • Last modified: 2016/11/21 22:23
  • by scipio