diff options
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/2926.toml')
| -rw-r--r-- | gitlab/issues/target_missing/host_missing/accel_missing/2926.toml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/2926.toml b/gitlab/issues/target_missing/host_missing/accel_missing/2926.toml new file mode 100644 index 00000000..117b2cd9 --- /dev/null +++ b/gitlab/issues/target_missing/host_missing/accel_missing/2926.toml @@ -0,0 +1,44 @@ +id = 2926 +title = "Excessive memory allocation on guest and host with gpu passthrough" +state = "opened" +created_at = "2025-04-19T09:47:05.519Z" +closed_at = "n/a" +labels = ["VFIO"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/2926" +host-os = "Linux Mint 22.1 Xia" +host-arch = "x86_64" +qemu-version = "8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.6)" +guest-os = "Windows 10 Pro 22H2" +guest-arch = "x86_64" +description = """While gpu passthrough is enabled, the maximum amount of ram is allocated on the host (64 GB), even if the guest only has 8 GB configured as "currently allocated". +If I disable the physical gpu, the guest only takes the 8 GB.""" +reproduce = """1. Install qemu-kvm virt-manager libvirt-daemon-system virtinst libvirt-clients and bridge-utils. +1. Create a Windows vm with virt-manager +1. Insert discrete GPU on a secondary pcie slot. +1. Add `intel_iommu=on iommu=pt vfio-pci.ids=10de:17c8,10de:0fb0` to the GRUB kernel parameters. +1. Add `options vfio-pci ids=10de:17c8,10de:0fb0` and `softdep nvidia pre: vfio-pci` to `/etc/modprobe.d/vfio.conf`. +1. Update initrmfs image. +1. Add pcie hardware on virt-manager. +1. Install virtio and nvidia drivers on guest.""" +additional = """I'm using an Nvidia gtx 980Ti on a secondary slot for the guest. +The first slot has an rtx 4090 used by the host. + +``` +OS: Linux Mint 22.1 x86_64 +Host: MS-7E07 2.0 +Kernel: 6.8.0-51-generic +Shell: bash 5.2.21 +Resolution: 3840x2160, 3840x2160 +DE: Cinnamon 6.4.8 +WM: Mutter (Muffin) +Terminal: gnome-terminal +CPU: Intel i9-14900K (32) @ 5.700GHz +GPU: NVIDIA GeForce GTX 980 Ti +GPU: NVIDIA GeForce RTX 4090 +GPU: Intel Raptor Lake-S GT1 [UHD Graphics 770] +Memory: 73717MiB / 96317MiB +``` + +[vWin.xml](/uploads/3fe8133f67577f8724b060908b390c32/vWin.xml) +[vWin.log](/uploads/efa029460a62b62cbcff464af7cdb72a/vWin.log) +""" |