-
Notifications
You must be signed in to change notification settings - Fork 96
Libvirt Fails to Use GVT-G Device (iommu_group: No such file or directory) #74
Comments
@CuriousTommy, We will have a look, do you means the vgpu be created successfully and the iommu_group cannot be found? |
@TerrenceXu When you say "created successfully", are you asking if the UUID device shows up in
|
I did a
Do you think this is the cause of my issue? Or is this unrelated? |
@CuriousTommy , i think this issue is not related to your highlight log, what is the full dmesg log? |
Is the full log dumped after the command to create vgpu mdev device? |
After I created the mdev device and try to start the VM on libvirt (from a fresh boot). |
@CuriousTommy pls add drm.debug=0xff in grub.cfg after NV gfx driver is disabled. |
@fred1gao I updated my grub file to add the debug command:
I also blacklisted nouveau in Here is the new output of dmesg: result2.txt |
@CuriousTommy |
Yup, still complains about iommu_group not existing.
I am going to ask around and find out how to do a full dmesg log dump. I will provide a full dump once I figure this out. Also,
|
@fred1gao I got the entire kernel log! Be warned that the file is kind of large (10Mb) |
@CuriousTommy the dmesg log looks fine, can you replace intel_iommu=on with intel_iommu=igfx_off in grub.cfg ? 578.101534] iommu: Adding device b323e53e-782f-41bb-a7b8-3538d76fc73a to group 0 |
Does Edit: Would I still be able to display stuff on my screen if I apply this option?
A while back I tried to use |
@fred1gao (Just in case you didn't see my edit) does having On a side note, I tried to compile the latest |
|
@fred1gao Here is the dmesg dump result4.txt. Here are the grub options I set, in case you want to see them:
|
@CuriousTommy I can not see the below expected log : |
@fred1gao That odd... I could have sworn that I used |
@fred1gao Here is the log and video showing that I did it. Edit: The messages don't appear, but you can see from the video I provided, I did typed the command. |
Is the vfio_mdev module loaded? It wasn't for me and I had what seemed to be pretty much the exact same issue. I loaded the module and iommu_group appeared in /sys/bus/mdev/devices/my-uuid/ immediately. I now have a different error but that's progress for you :-p |
@apnix-uk HELL YEAH!!! Thank you kind human creature! This was my issue.
Edit: If you want to apply this to dracut, make sure you apply both |
I have a more detailed post here.
To summarize, I use to be able to run GVT-g on my Fedora 29 machine. But for unrelated reasons, I had to reinstall it. I followed this guide to get GVT-g working on my machine.
Since I already did the steps, I re-imported my win10.xml file, edited my grub file to enable GVT-g and intel-iommu, and manually created the mdev device.
But now, no matter what I do, I always get this error...
While trying to find a solution, I noticed that the mdev device does exist, but
iommu_group
does not exist. The weird thing is that my laptop is able to show the IOMMU groups just fine.Does anyone know what I am doing wrong here?
The text was updated successfully, but these errors were encountered: