"QEMU exited with code 1" after PCI Passthrough of GPU

silent24

New Member
Sep 13, 2024
1
0
1
Hello,
I am trying to set up my first Proxmox VM, which has worked fine. However, as soon as I try to add the GPU via PCI Passthrough, the whole VM does not Boot up anymore and I am getting: "TASK ERROR: start failed: QEMU exited with code 1". Even starting the VM through the shell with qm start 100 does not give me more information about why it is not working.
Screenshot 2024-09-27 at 17.01.55.png
The Components of the System are:
  • CPU: Ryzen 5 2600X
  • GPU: Nvidia GTX 1070
  • Mainboard: Aorus X470
  • SSD: Corsair Force MP510 500GB
  • RAM: 32 GB 2133 Mhz
I have tried multiple tutorials which all resulted in the same problem.
I made sure that the drivers are blacklisted and not in use:

0a:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. GP104 [GeForce GTX 1070]
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
The GPU is its own IMMO Group, I have amd_iommu=on iommu=pt in the grub file:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt"
GRUB_CMDLINE_LINUX=""
The configuration of the VM is as follows:
Screenshot 2024-09-27 at 16.46.22.png
I have tried it without specifying the device-id and sub-device-id.

The only clue I have, that something internal might not be working properly is that when I try to run: update-initramfs -u -k allScreenshot 2024-09-27 at 16.56.44.png
Other than that I am out of Ideas and could not find a similar problem anywhere online, so I have come here for help.

Thank you in advance, I hope I have provided sufficient information so far.
Kind regards from a beginner.
 

Attachments

  • Screenshot 2024-09-27 at 17.01.40.png
    Screenshot 2024-09-27 at 17.01.40.png
    5.6 KB · Views: 1

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!