GPU passthrough - stuck at startup on live cd

creyssonbr

New Member
Oct 24, 2023
1
2
3
Hello everyone,

I’m trying to use GPU passthrough for my Intel N100 (i915) integrated graphics card on Proxmox VE. I want to run a Linux guest VM with hardware acceleration, but I’m having some issues with the mouse input. I’ve tried different Linux distributions (Manjaro KDE, Manjaro GNOME, and Ubuntu), but none of them work properly. When I boot from the live CD, the mouse cursor either doesn’t respond to clicks, or it’s misplaced on the screen.

Does anyone have any suggestions on how to troubleshoot this problem?
I appreciate any help.


root@pve:~# cat /etc/modprobe.d/blacklist.conf
blacklist i915
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi


root@pve:~# dmesg | grep -E "DMAR|IOMMU"
[ 0.400885] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[ 0.519681] DMAR: No ATSR found
[ 0.519681] DMAR: No SATC found
[ 0.519683] DMAR: IOMMU feature fl1gp_support inconsistent
[ 0.519684] DMAR: IOMMU feature pgsel_inv inconsistent
[ 0.519684] DMAR: IOMMU feature nwfs inconsistent
[ 0.519685] DMAR: IOMMU feature dit inconsistent
[ 0.519686] DMAR: IOMMU feature sc_support inconsistent
[ 0.519687] DMAR: IOMMU feature dev_iotlb_support inconsistent
[ 0.519687] DMAR: dmar0: Using Queued invalidation
[ 0.519690] DMAR: dmar1: Using Queued invalidation
[ 0.520267] DMAR: Intel(R) Virtualization Technology for Directed I/O


root@pve:~# dmesg | grep -i vfio
[ 3.140296] VFIO - User Level meta-driver version: 0.3
[ 3.172677] vfio-pci 0000:00:02.0: vgaarb: deactivate vga console
[ 3.172683] vfio-pci 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:eek:wns=io+mem
[ 3.172816] vfio_pci: add [8086:46d1[ffffffff:ffffffff]] class 0x000000/00000000
[ 14.360038] vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x1f@0x1f0
[ 14.360048] vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x1e@0x1e0
[ 14.496030] vfio-pci 0000:04:00.0: vfio_ecap_init: hiding ecap 0x1f@0x1f0
[ 14.496039] vfio-pci 0000:04:00.0: vfio_ecap_init: hiding ecap 0x1e@0x1e0
[ 632.831555] vfio-pci 0000:00:02.0: vfio_ecap_init: hiding ecap 0x1b@0x100


root@pve:~# lspci -nn | grep 'Intel'
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:461c]
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-N [UHD Graphics] [8086:46d1]

root@pve:~# cat /etc/default/grub | grep DEFAULT
GRUB_DEFAULT=0
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"


root@pve:~# qm config 101
acpi: 0
agent: 1
audio0: device=ich9-intel-hda,driver=spice
balloon: 0
bios: ovmf
boot: order=ide2;scsi0
cores: 2
cpu: kvm64
hostpci0: 0000:00:02,pcie=1,x-vga=1
ide2: local:iso/Endeavouros_Cassini_Nova-03-2023_R3.iso,media=cdrom,size=1992844K
machine: q35
memory: 8192
meta: creation-qemu=8.0.2,ctime=1697066058
name: Manjaro
net0: virtio=0E:95:73:5F:67:54,bridge=vmbr2
numa: 0
ostype: l26
scsi0: local-lvm:vm-101-disk-0,iothread=1,size=128G
scsihw: virtio-scsi-single
smbios1: uuid=3a180c17-6320-405a-9a65-abfac9cdb9b0
sockets: 1
spice_enhancements: foldersharing=1,videostreaming=all
usb0: spice
vga: qxl,memory=32
vmgenid: b74ec54d-f8ed-4daa-a32b-cb99164c822f
 

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!