-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux fails to boot after adding Kernel Flags #23
Comments
iommu can be a pain to configure, perhaps have a look here https://github.com/RadeonOpenCompute/ROCm_Documentation/blob/master/ROCm_Virtualization_Containers/ROCm-Virtualization-%26-Containers.rst Here's a sample QEMU launch too RadeonOpenCompute/ROCm_Documentation#15 this helped me |
@dekken I get to the point where I'm adding the PCI devices with |
I think if you do this with only one GPU you make it impossible to use it outside the guest I have had a similar experience when I set two GPUs in a two GPU system to use iommu. |
@dekken That's unfortunate to hear. Is there anything I can do to improve performance inside the VM with graphics? |
I can't say, however I did have issues with Windows 10 in virtual box, and apparently the fixes for Meltdown and Specter really slow things down - so adding grub flags to disable the fixes helped, no that I suggest you do that of course |
@dekken Performance isn't really the issue, it's more like graphics are slow and Hardware Acceleration is non-existent. |
The only way to increase graphics performance –at least for now, is to pass through a compatible card. On laptops look for a dedicate mode to separate igpu from dgpu into different iommu groups, there's a chance to make it work when that option is available, tbc thought. Otherwise, I think it won't be possible. |
Distro: Xubuntu 19.04
Graphics: Intel UHD 620 (ASUS Zenbook UX330UAR)
After following the Guide Passthrough, adding the following to my kernel flags
iommu=pt intel_iommu=on vfio-pci.ids=8086:5917,1=8086:9d71
results in my kernel freezing around 3 seconds in. I'm not sure what debug files you need.
5917: GPU, 9d71: Sound Card
Getting rid of the kernel flags allowed the kernel to boot, but am I doing something wrong?
Might want to add the
vfio-pci
Module is loaded.Could it be a missing kernel module or an incorrect one @foxlet ? Or an incompatibility with kernel 5.0?
The text was updated successfully, but these errors were encountered: