Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tips:gpu [2016/11/21 22:23] – scipio | tips:gpu [2022/11/04 08:13] (current) – [nvidia and wayland] sscipioni | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== GPU ====== | ====== GPU ====== | ||
| - | ===== Prereq | + | ===== nvidia and wayland |
| - | | + | add **nvidia_drm.modeset=1** to grub settings /// |
| - | <file txt /etc/modules> | + | /etc/modprobe.d/nvidia-power-management.conf |
| - | vfio | + | < |
| - | vfio_iommu_type1 | + | options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/ |
| - | vfio_pci | + | |
| - | vfio_virqfd | + | |
| - | </file> | + | |
| - | + | ||
| - | < | + | |
| - | update-initramfs -u | + | |
| </ | </ | ||
| - | Create VM and customize configuration before start: | + | enable these services |
| - | * In the " | + | < |
| - | * In the " | + | systemctl enable nvidia-hibernate |
| + | systemctl enable nvidia-resume | ||
| + | systemctl enable nvidia-suspend | ||
| + | |||
| + | </ | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | ... | ||
| - | < | ||
| - | ... | ||
| - | </ | ||
| - | ... | ||
| - | < | ||
| - | <hidden state=' | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||