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/25 20:02] – scipio | tips:gpu [2022/11/04 08:13] (current) – [nvidia and wayland] sscipioni | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== GPU ====== | ====== GPU ====== | ||
| - | * [[https:// | + | ===== nvidia and wayland ===== |
| - | * [[https:// | + | |
| - | ===== Prereq ===== | + | add **nvidia_drm.modeset=1** to grub settings /// |
| - | + | ||
| - | Two graphic cards: A as best card and B card. | + | |
| - | * To extract ROM from best card mount B card in first slot (16x BOOT card) and A card in second slot | + | |
| - | * boot and | + | |
| + | / | ||
| < | < | ||
| - | 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 | + | |
| </ | </ | ||
| - | < | + | enable these services |
| - | echo " | + | < |
| - | cd / | + | systemctl enable nvidia-hibernate |
| - | echo 1 > rom | + | systemctl enable nvidia-resume |
| - | cat rom > / | + | systemctl enable nvidia-suspend |
| - | echo 0 > rom | + | |
| - | </ | + | |
| - | </ | + | |
| - | |||
| - | * Install ovfm | ||
| - | * https:// | ||
| - | |||
| - | <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=' | ||
| - | ... | ||
| - | |||
| - | |||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | < | ||
| - | <hidden state=' | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | <hostdev mode=' | ||
| - | < | ||
| - | <address domain=' | ||
| - | </ | ||
| - | <rom file='/ | ||
| - | <address type=' | ||
| - | </ | ||
| - | <hostdev mode=' | ||
| - | < | ||
| - | <address domain=' | ||
| - | </ | ||
| - | <address type=' | ||
| - | </ | ||
| - | |||
| - | ... | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | </ | ||