You are not logged in.

#1 2023-03-06 19:22:46

Quentolosse
Member
Registered: 2023-03-01
Posts: 5

PCI passthrough : vfio error : cannot allocate memory

Hi,
I am tying to make a Windows 10 VM with PCI passthrough, I followed the arch wiki page on this subject, but I have a problem.

First, here is my setup :

  • Laptop : IdeaPad Gaming 3 15ARH05

  • CPU : AMD Ryzen 5 4600H

  • GPU : Integrated radeon graphics ; nvidia GTX 1650

  • Monitors : 1 integrated in the laptop and 1 external monitor plugged with HDMI

Logicial part :

  • Operating system : Arch linux

  • Desktop environment : Kde plasma

  • Display server : X11

My problem is that when I start the vm, the external screen (plugged to the nvidia GPU) turn on but show nothing (just a black screen). It seems to be a memory problem with vfio because the logs in /var/log/libvirt/qemu/win11.log are full of lines like this one :

2023-03-06T19:16:22.118256Z qemu-system-x86_64: vfio_region_write(0000:01:00.0:region1+0x5c90a0, 0x0,8) failed: Cannot allocate memory

Here is the full /var/log/libvirt/qemu/win11.log file : https://controlc.com/2e7980a0
Here is the xml file of my vm : https://controlc.com/226bd358

I read all the troubleshooting section of the wiki, but I found nothing that solves my problem. Can anyone help me ?

Last edited by Quentolosse (2023-03-07 10:10:38)

Offline

Board footer

Powered by FluxBB