Skip to content

qemu error: cannot support legacy mode due to existing devices at address 1f.0 #17

@K1ngjulien

Description

@K1ngjulien

Hi! Awesome work you've done here. I just tried running this on my Thinkpad E590 running Fedora 34. The steps setup check configure and iso all worked fine but when I ran ./mbpt start I got the following error :

qemu-system-x86_64: -device vfio-pci,bus=pcie.0,addr=02.0,sysfsdev=/sys/bus/pci/devices/0000:00:02.0/1205058e-1fd4-11ec-840b-e86a64ff767e,x-igd-opregion=on,rombar=0,display=on: IGD device 1205058e-1fd4-11ec-840b-e86a64ff767e cannot support legacy mode due to existing devices at address 1f.0
qemu-system-x86_64: vfio_err_notifier_handler(0000:03:00.0) Unrecoverable error detected. Please collect any data possible and then kill the guest

Running spicy -h localhost -p 5900 opened up two black windows with no content.

During setup I used all the default values except for the amdgpu driver for the dGPU and setting the right PCIe addresses from lspci (00:02.0 for the Intel iGPU and 03:00.0 for the AMD dGPU)

Have you run into this issue before? Sorry if this is something simple I missed.

Some more system info:

[~/opt/MobilePassThrough (master)]: uname -r
5.13.19-200.fc34.x86_64
[~/opt/MobilePassThrough (master)]: ./mbpt.sh check
lspci: -s: Invalid slot number
[OK] VT-X / AMD-V virtualization is enabled in the UEFI.
[OK] VT-D / IOMMU is enabled in the UEFI.
[OK] The IOMMU kernel parameters are set.
[Success] GPU with ID '00:02.0' could be passed through to a virtual machine!
[Success] GPU with ID '03:00.0' could be passed through to a virtual machine!
[Success] There are 2 GPU(s) in this system that could be passed through to a VM!

Is Compatible?  Name                                                    IOMMU_GROUP  PCI Address
Yes             WhiskeyLake-U GT2 [UHD Graphics 620]                    19           pci@0000:00:02.0
Yes             Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]  15           pci@0000:03:00.0

[OK] You have GPUs that are not in the same IOMMU group. At least one of these could be passed through to a VM and at least one of the remaining ones could be used for the host system.
[Info] Device name: 20NB0029GE
[Info] BIOS version: R0YET42W (1.25 )
[Info] This system is probably MUX-less. (The connection between the GPU(s) and the [internal display]/[display outputs] is not multiplexed.)
[OK] Logs have been created in /home/julian/opt/MobilePassThrough/logs/20NB0029GE/R0YET42W (1.25 )
If you found a notebook that appears to be GPU passthrough compatible, please open an issue on Github and let me know.
You may now proceed and run './mbpt.sh configure' as mentioned in the README.

the lspci -s: invalid slot number in the first line here seems suspicious to me.

I'd be happy to provide more details and can send you the full check logs if you want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions