From nobody Tue Nov 18 14:03:42 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4d9mYT6kH2z6HC0H for ; Tue, 18 Nov 2025 14:03:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d9mYT6GHvz3tX6 for ; Tue, 18 Nov 2025 14:03:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763474621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q7lWYGtQkB7GzAKE+BKS4h0rZFVbEkTlhizYb2PggAE=; b=asc0D78l7d3zo5emL3hueIJnxxELOjE3kj2MaG2Zvsht9OZRx7+77gEYObyKeOREmJZYzA LW1aUG2KQ/UX1hJpUImwars3tWsQiBCBtDPq5HluLjTU0lHiT8kFDA5RGX/USMmrKZ7ZTH IrjNhbkgwxAeiP/in3iDTkZ2OBM74ccMmpEGIenugjyobKPHKSEOaHdN5xY9ay+5CiNVsd o/gnz92/FU28TwQ7yw91nDFPXeDVGFFARHoCpu4BGr7vmX2KR/Pwyq7Lj9JYU5GXpWR0T8 qxpPHXaVKP+IrRokIA5txyz4mFnDbPh5cONVtY0j/JSOseXy1xy/svcqMUhjGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763474621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q7lWYGtQkB7GzAKE+BKS4h0rZFVbEkTlhizYb2PggAE=; b=uEXnwj27x0k12VxdvzpIMGkRUQJ6y+7OVeq5oCsBraUPrdMaZUUhKx4wbOEljB61Bh3XN5 +dVoBVp6ezqE0irKVPt1Th7TP1/p/JYCw/QFWz8HbiWw3IcuyEn8MS+IW+zhDg1k66580K 0ubKHy+ZotyD60wcxv8OKELZyxvLGW+aBMvXUBNcD/9gRul5SjUFPExX7/2TyO8UP75kue CDyqoL4YIEkMdZZvwoAmTII9ljZT/xK+VdF3To3LFtSAZio1X39nn8rk+PkE+/PzJLZ0fv nLDsN0VOcqXKzU7/g1np0kYmlofrxn4JHmz9frDsIhrVKWPmyzGegJA8U1UqLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763474621; a=rsa-sha256; cv=none; b=jslPnCw/dXrL2Ufl6A7h4/NlP6APdGEBmkrDmJ59omlheusCrVOJTZ0vfgdbsC3QumSDEy w8Se5cKTw1lwflNzkhUN0ALGyiBMu4Mz3rXxb6NSiNMyP3Ig/NcVCElUvFijHgBe0z93pO lYahV1Jf5ZFTX8T8ujQB/sGxzT0jldkPTzT6c2Ku6HMbVGT9aZXBZy2tR5smYx6MLDwX27 59Egmv/5KgUmOk6M+n8lybfoZkMzou/KM74jl3I+UpgJZn14e89E/k0rRsv/w76TfVA6EW PfD8TBjuV/AY7iWpZO/cRZ9PaH1tycYAg5ofNzerFFONkFw0O1WTtuwgEa47cA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d9mYT5hcLzxDf for ; Tue, 18 Nov 2025 14:03:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5AIE3fxe043890 for ; Tue, 18 Nov 2025 14:03:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5AIE3fR1043889 for virtualization@FreeBSD.org; Tue, 18 Nov 2025 14:03:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290997] [vmm]: PCI passthrough on AMD Ryzen 8700G not supported yet? (Variable size IVHD type 0xf0 not supported) Date: Tue, 18 Nov 2025 14:03:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nbe@vkf-renzel.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290997 --- Comment #4 from Nils Beyer --- (In reply to Mark Johnston from comment #3) dmesg shows nothing extraordinary: ----------------------------- SNIP ----------------------------- AMD-Vi: IVRS Info VAsize =3D 64 PAsize =3D 48 GVAsize =3D 2 flags:0 ivhd: ivhd0 already exists; skipping it ivhd0: on acpi0 ivhd0: Unknown dev entry:0xf0 Variable size IVHD type 0xf0 not supported ivhd0: Flag:30 ivhd0: Features(type:0x40) MsiNumPPR =3D 0 PNBanks=3D 2 PNCounters=3D 4 ivhd0: Extended features[31:0]:a2254afa,IASup,GASup,PCSup> HATS =3D= 0x2 GATS =3D 0x0 GLXSup =3D 0x1 SmiFSup =3D 0x1 SmiFRC =3D 0x1 GAMSup =3D 0x1 D= ualPortLogSup =3D 0x2 DualEventLogSup =3D 0x2 ivhd0: Extended features[62:32]:246577ef Max PASID: 0x2f DevTblSegSup =3D 0x3 MarcSup =3D 0x1 ivhd0: supported paging level:7, will use only: 4 ivhd0: device [0x3 - 0xfffe] config:0 ivhd0: device [0xff00 - 0xffff] config:0 ivhd0: PCI cap 0x190b640f@0x40 feature:19 amdviiommu0: attempting to allocate 1 MSI vectors (4 supported) msi: routing MSI IRQ 75 to local APIC 4 vector 51 amdviiommu0: using IRQ 75 for MSI vgapci0: detached ppt0 mem 0xf4000000-0xf4ffffff,0xf800000000-0xfbffffffff at device 0.0 on p= ci3 ppt0: attached Nov 18 14:54:12 asbach pulseaudio[5512]: [] module-x11-xsmp.c: Failed to op= en connection to session manager: None of the authentication protocols specifi= ed are supported Nov 18 14:54:12 asbach pulseaudio[5512]: [] module.c: Failed to load module "module-x11-xsmp" (argument: "display=3D:1 xauthority=3D/tmp/xauth_VdxVIG session_manager=3Dlocal/asbach.renzel.net:/tmp/.ICE-unix/5501"): initializa= tion failed. Nov 18 14:54:36 asbach su[5816]: nbe to root on /dev/pts/12 tap0: bpf attached tap0: Ethernet address: 58:9c:fc:10:7a:30 tap0: promiscuous mode enabled tap0: link state changed to UP tap0: link state changed to DOWN Nov 18 14:55:26 asbach su[6741]: nbe to root on /dev/pts/9 tap0: bpf attached tap0: Ethernet address: 58:9c:fc:10:7a:30 tap0: promiscuous mode enabled tap0: link state changed to UP tap0: link state changed to DOWN tap0: bpf attached tap0: Ethernet address: 58:9c:fc:10:7a:30 tap0: promiscuous mode enabled tap0: link state changed to UP tap0: link state changed to DOWN ----------------------------- SNIP ----------------------------- pciconf looks good, too: ----------------------------- SNIP ----------------------------- #pciconf -l | grep ppt ppt0@pci0:3:0:0: class=3D0x030000 rev=3D0x00 hdr=3D0x00 vendor=3D0x8= 086 device=3D0xe20b subvendor=3D0x172f subdevice=3D0x0100 ----------------------------- SNIP ----------------------------- But bhyve.log indeed says: ----------------------------- SNIP ----------------------------- bhyve: Warning: Unable to reuse host address of Graphics Stolen Memory. GPU passthrough might not work properly. bhyve: gvt_d_setup_gsm: Unknown IGD device. It's not supported yet!: No such file or directory bhyve: gvt_d_init: Unable to setup Graphics Stolen Memory Device emulation initialization error: No such file or directory ----------------------------- SNIP ----------------------------- Resizable BAR is activated in UEFI - this Intel ARC GPU card needs it. SRV-= IO is activated as well. As a counter example: when I passthrough my onboard-= NIC, bhyve works as expected. So it probably has something to do because of a strange way the Intel GPU w= orks with PCIe and its memory access... --=20 You are receiving this mail because: You are the assignee for the bug.=