filmov
tv
[GUIDE] Perfect GPU Passthrough - Say your prayers, Dual-Booters! [READ DESCRIPTION, IMPORTANT INFO]

Показать описание
XMR wallet: 488tbuUeic42bRd2XL8vv47HVp1R2N7PEUabtSjVVNyVBQb8jJ3Cw7fH2N4b8drZLud5Zn3pdjawaFe8Y9aEb5zbN5oEPTV
[READ THIS SECTION, VERY IMPORTANT]
PLEASE do not go to looking-glass for support. This is not a supported method and while it works perfectly fine, there are methods used that they do not agree with (they are pissed). If you have any issues, please either write it in the comments or go to my github. I check my comments very frequently so you do not have to worry about waiting very long.
[END SECTION]
Demonstration + Let's Play:
YOU WILL NEED: virt-manager, gpu-passthrough-manager, dkms, jack example tools, wget, looking-glass, looking-glass source code, the IddSampleDriver, and the looking glass host binary for windows
LOOKING GLASS HOST BINARY:
LOOKING GLASS SOURCE CODE:
IddSampleDriver:
gpu-passthrough-manager:
SPECIAL COMMANDS USED IN VIDEO:
Check IOMMU status:
sudo dmesg | grep -i -e DMAR -e IOMMU
Download the hook helper:
Copy the scripts (IF USING ANOTHER NAME, REPLACE EVERY INSTANCE OF NAME IN SCRIPTS AS WELL, OTHERWISE JUST CALL YOUR VM "name")
sudo cp -r name-files/ /etc/libvirt/hooks/qemu.d/name
Setting up shmem:
sudo modprobe kvmfr static_size_mb=128
sudo chown (yourusername):kvm /dev/kvmfr0
EQUATION TO FIGURE OUT SHMEM SIZE
ROUND TO A POWER OF 2. 8MB, 16MB, 32MB, ETC.
w = width, h = height
w * h * 4 * 2 = total bytes
total bytes / 1024 / 1024 = total MiB + 10
Arch wiki:
Gentoo wiki:
ASUS-Linux:
Комментарии