igpu passthrough on a linux guest

Snuupy

Member
Sep 8, 2021
22
4
23
Hi,

I'm on a 7840HS and I wanted to passthrough my igpu to a linux guest. I had it working on a windows guest with the same conf (but gpu accel didn't seem to work, I didn't test it thoroughly), but for some reason it does not work on a linux guest. The errors are in the github discussion link below.

https://github.com/isc30/ryzen-7000-series-proxmox/discussions/27

I followed the instructions in the main repo.

Does anyone have any ideas on how to get this working? I have the vbios in the vm conf and it does show up in lspci but at a different address compared to the host. I tried searching for the errors that came up but nothing useful showed up on search engines.

lspci showed c4:00.0 and c4:00.1 for the igpu but once it's passed through the VM it shows up at address 01:00.0 to 03:00.0. Is this the cause of the problem? How might I fix it? Is the problem something else?

Thanks.