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/26 09:15] – [Prereq] scipio | tips:gpu [2022/11/04 08:13] (current) – [nvidia and wayland] sscipioni | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== GPU ====== | ====== GPU ====== | ||
- | * [[https:// | + | ===== nvidia and wayland ===== |
- | * [[https:// | + | |
- | | + | add **nvidia_drm.modeset=1** to grub settings |
- | + | ||
- | ===== Prereq ===== | + | |
- | + | ||
- | * NVIDIA card in second PCIE slot | + | |
+ | / | ||
< | < | ||
- | cat / | + | options |
- | Model: GeForce GTX 750 Ti | + | |
- | IRQ: 38 | + | |
- | GPU UUID: GPU-1a843395-eac3-0f8f-11f4-7edbb2a0e088 | + | |
- | Video BIOS: 82.07.55.00.1b | + | |
- | Bus Type: PCIe | + | |
- | DMA Size: 40 bits | + | |
- | DMA Mask: 0xffffffffff | + | |
- | Bus Location: 0000: | + | |
- | Device Minor: 0 | + | |
</ | </ | ||
- | * Install ovfm | + | enable these services |
+ | < | ||
+ | systemctl enable nvidia-hibernate | ||
+ | systemctl enable nvidia-resume | ||
+ | systemctl enable nvidia-suspend | ||
- | <file txt / | ||
- | vfio | ||
- | vfio_iommu_type1 | ||
- | vfio_pci | ||
- | vfio_virqfd | ||
- | </ | ||
- | |||
- | <code bash> | ||
- | update-initramfs -u | ||
</ | </ | ||
- | Create VM and customize configuration before start: | ||
- | * In the " | ||
- | * In the " | ||
- | |||
- | < | ||
- | <domain type=' | ||
- | < | ||
- | < | ||
- | <memory unit=' | ||
- | < | ||
- | <vcpu placement=' | ||
- | < | ||
- | <vcpupin vcpu=' | ||
- | <vcpupin vcpu=' | ||
- | <vcpupin vcpu=' | ||
- | <vcpupin vcpu=' | ||
- | <vcpupin vcpu=' | ||
- | <vcpupin vcpu=' | ||
- | </ | ||
- | <os> | ||
- | <type arch=' | ||
- | <loader readonly=' | ||
- | < | ||
- | < | ||
- | </os> | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | <relaxed state=' | ||
- | <vapic state=' | ||
- | < | ||
- | < | ||
- | </ | ||
- | <kvm> | ||
- | <hidden state=' | ||
- | </ | ||
- | </ | ||
- | <cpu mode=' | ||
- | < | ||
- | </ | ||
- | <clock offset=' | ||
- | <timer name=' | ||
- | <timer name=' | ||
- | <timer name=' | ||
- | <timer name=' | ||
- | </ | ||
- | < | ||
- | < | ||
- | < | ||
- | <pm> | ||
- | < | ||
- | < | ||
- | </pm> | ||
- | < | ||
- | < | ||
- | <disk type=' | ||
- | <driver name=' | ||
- | <source dev='/ | ||
- | <target dev=' | ||
- | <boot order=' | ||
- | <address type=' | ||
- | </ | ||
- | <disk type=' | ||
- | <driver name=' | ||
- | <source file='/ | ||
- | <target dev=' | ||
- | < | ||
- | <address type=' | ||
- | </ | ||
- | <disk type=' | ||
- | <driver name=' | ||
- | <source file='/ | ||
- | <target dev=' | ||
- | < | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <master startport=' | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <master startport=' | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <master startport=' | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | < | ||
- | <model name=' | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <model name=' | ||
- | <target chassisNr=' | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <mac address=' | ||
- | <source bridge=' | ||
- | <model type=' | ||
- | <address type=' | ||
- | </ | ||
- | <serial type=' | ||
- | <target port=' | ||
- | </ | ||
- | <console type=' | ||
- | <target type=' | ||
- | </ | ||
- | <channel type=' | ||
- | <target type=' | ||
- | <address type=' | ||
- | </ | ||
- | <input type=' | ||
- | <address type=' | ||
- | </ | ||
- | <input type=' | ||
- | <input type=' | ||
- | < | ||
- | <listen type=' | ||
- | </ | ||
- | <sound model=' | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <model type=' | ||
- | <address type=' | ||
- | </ | ||
- | <hostdev mode=' | ||
- | < | ||
- | <vendor id=' | ||
- | <product id=' | ||
- | </ | ||
- | <address type=' | ||
- | </ | ||
- | <hostdev mode=' | ||
- | < | ||
- | <address domain=' | ||
- | </ | ||
- | <address type=' | ||
- | </ | ||
- | <hostdev mode=' | ||
- | < | ||
- | <address domain=' | ||
- | </ | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | <address type=' | ||
- | </ | ||
- | < | ||
- | </ | ||
- | </ | ||
- | </ |