merge-requests/1/head
Yuri Alek 6 years ago
parent c5290b8f51
commit 31ec16e713

@ -75,7 +75,7 @@ wget -o virtio-win.iso "https://fedorapeople.org/groups/virt/virtio-win/direct-d
1. Boot the host into Windows.
2. [Download and install GPU-Z](https://www.techpowerup.com/gpuz/).
3. [Download and install a HEX editor](https://github.com/bwrsandman/Bless).
3. Open GPU-Z and backup the GPU BIOS. Right next to the `Bios Version`; in my case `80.04.C3.00.0F`, there is an icon for backup. A file named `GK104.rom` will be created. [There is also a way of doing it in Linux]() but it did not work for me.
3. [Open GPU-Z and backup the GPU BIOS](/Screenshots/vBIOS.png). Right next to the `Bios Version`; in my case `80.04.C3.00.0F`, there is an icon for backup. A file named `GK104.rom` will be created. [There is also a way of doing it in Linux]() but it did not work for me.
4. Open the ROM (`GK104.rom`) in the HEX editor.
5. After a bunch of `00` there is a `55` or `U` in HEX, delete everything before the `55`, and save. I strongly recommend not to overwrite the original ROM.

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

@ -0,0 +1,10 @@
#!/bin/bash
## Outputs the IOMMU groups and the devices inside them
## Source [https://wiki.installgentoo.com/index.php/PCI_passthrough#Step_2:_Find_out_your_IOMMU_groups]
for iommu_group in \
$(find /sys/kernel/iommu_groups/ -maxdepth 1 -mindepth 1 -type d); do \
echo "IOMMU group $(basename "$iommu_group")"; \
for device in $(ls -1 "$iommu_group"/devices/); do \
echo -n $'\t'; lspci -nns "$device"; \
done; \
done
Loading…
Cancel
Save