Or you could use the Forum's recommended system-info script in my signature line to gather and make information on your hardware and system setup, securely available to people here trying to assist you, instead of them having to go through several posts asking you for those details. Why, because your original post did not contain any details of what your system was, nor what you actually did.
The title of that YT video is "Single GPU passthrough in Ubuntu AMD CPU/GPU", which is hard enough to do a GPU passthorugh when you have two GPU's so you can dedicate the passthrough to a single GPU, while using the other GPU for your host system.
That video starts out by stating that your CPU needs to be AMD, where you have to setup the BIOS for both IOMMU and SVM enabled in the BIOS. (What he didn't mention before jumping into other details, is that for most systems to do passthroughs for AMD CPUs, is that usually you need to use an "amd_iommu=on" boot paramter in grub's Linux kernel boot line.) Then he mentioned that for Intel CPU's that your needed to configure the BIOS for vt-d and vt-x enabled... The linux kernel boot parameters intel_iommu=on nor intel_iommu=pt were not mentioned. Explained in this article:
https://community.mellanox.com/s/art...-configuration
This might help to see if your AMD hardware is capable so you are not chasing ghosts:
https://en.wikipedia.org/wiki/List_o...ware#AMD_based
He also explained that you needed "An official MS Windows" installation ISO, not a copy of elsewhere, that only the official ISO worked. That you had to have the (proprietary third party) graphics driver installed (for the AMD GPU). He didn't explain those at that time, but just went on to make edits to the grub defualt file to add those edit for IOMMU. What he didn't explain was that the AMD CPU must have be SR-IOV capable with SR_IOV installed... as documented here:
https://www.asus.com/support/FAQ/1038245
https://us.informatiweb.net/tutorial...html#amd-iommu
https://community.amd.com/t5/knowled...ct/ta-p/484601
He goes into the grub loader default file edits... which he has as his kernel boot parameters:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=on iommu=pt iommu=1 video=efifb:off quiet splash"
The first is documented
https://access.redhat.com/documentat...ci_passthrough
As with the above referenced article, the boot options "iommu=1" and "iommu=1" does not work on all hardware...
http://lkml.iu.edu/hypermail/linux/k...4.0/00315.html
And this artical has steps to verify if that is actually working:
https://community.mellanox.com/s/art...-configuration
*** I am not going to transcribe the whole video, word for word, to locate your problems, but that is where I see it starts out being a bit vague... A good start is to see what your system details are, and what you have done.
EDIT:
What others were not aware of, is that you are not just learning Linux, and KVM... The this was not a basic install of a basic KVM Guest VM... Rather... You dove straight into a commandline install of a very complex, vfio hardware passthrough... You dove in headfirst into a very complex situation, without any familiarization or understanding of the hardware you have, and the toolsets that you are using. I would say very ambitious and entertaining. I do respect and applaud your ambition.
Bookmarks