From nobody Wed Aug 13 18:01:51 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 4c2GR31sg0z64HPv for ; Wed, 13 Aug 2025 18:01:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2GR317Dpz42bC for ; Wed, 13 Aug 2025 18:01:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755108111; 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; bh=CDouc/7oPZfpBpIX0BJkUPM4p6IRaxbbcB5KVBmLWJU=; b=yvkIF7X5COFkTiDtoLLzznORtxt6ZRnaK75q0Tjjhf8tH6W98tR9w4H8nv30Pic7mXahaB p7rCFZcCr79krAJbVO3L9hECci9KBKaY/Kfe5H0Qsgzy0BTSbZUQCEFKGA8H3WbujarXWM EoXjFzQmgl22DpkESX2uFoBYUvSedQ/rH29NUEwCKgahcN0zmSMSReZjCcf+TYUXNWJnDW kiGoeVRBcv+pDZDjJNMroPwHV82GhmyJEawlqRtnaC94rT1l0FqNTdvFFn8Ly09NBdC0A5 NtiwS31q9PUELs6NkTMU961TjIe1JGjXvPBbaY5gEdOJiZOJVRsAJpX6/wIQow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755108111; 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; bh=CDouc/7oPZfpBpIX0BJkUPM4p6IRaxbbcB5KVBmLWJU=; b=C02eaY+7ej2YoXdj/1z98vPhmZZkKBezm0z7pOtuVcpTHIc75v4BzMvtqJ07ot1Xtd2gKx D5yrZGLviE6MpTmtag+vK07y1bRdw8ijMa3lWi2H/M354bFCKNOiBbr4yE8yFjlmko0zVb 5pPHv5FLid6QW6JdpIFgbsU1W9FKRfUGEAqN0gHDMEgtYphhVMPq5tn/84a8whugbWG+bJ UFVvwboemin0mN1ACPA1qLYym8W9102PicBxDD0/JAjUP40nMbB3LR2vE2EE7t9TNfSINA PYpLvaCujOlv7PVOAzq+zbMBtRxqwAvsj2syCE1lCpyZ9b9gPqfO+dVFKylgQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755108111; a=rsa-sha256; cv=none; b=LsfcMo3b+IYWQZPU8XEuDaitxQyF+W8ncX6jFfpYYH2112zQR5hZjk8xIifC6Jxoe6C91w U7zNhB0mthncyjKwFajmokU3QvwuGgteRigzbwDunVFSXUmTIXYyGGdT5n0WpFCS4EwkMs lAMEGhbgAKK7trd3afUyjZofcM7NJROHere8k1WU8IvbWcfHg1cIvSqB7erRQVVmuVM8sN KoU6mshMvC8U6bkmjYBGDlJbTCnGLAY2eOsSqESPbZbY5QnNQrAu3KtaCyP5WmEwNpEAZE YWjL6yfnnIljC9wLYffD8U4rIgwb48cGmYETM0ZWp5tiVibJV+ZPSL0UjSSfJA== 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 4c2GR30YVsz3Zl for ; Wed, 13 Aug 2025 18:01:51 +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 57DI1p1J032037 for ; Wed, 13 Aug 2025 18:01:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57DI1pK3032012 for virtualization@FreeBSD.org; Wed, 13 Aug 2025 18:01:51 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 288848] bhyve GPU passthru for NVIDIA not working Date: Wed, 13 Aug 2025 18:01:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vincent@landgrafx.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=3D288848 Bug ID: 288848 Summary: bhyve GPU passthru for NVIDIA not working Product: Base System Version: 14.3-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: vincent@landgrafx.de Dear freebsd dev community, currently, it is not possible to pass-thru a NVIDIA GPU using bhyve. One is presented with the following error in the dmesg of e.g. linux: [ 77.208984] NVRM: Can't find an IRQ for your NVIDIA card! [ 77.212697] NVRM: Please check your BIOS settings. [ 77.212699] NVRM: [Plug & Play OS] should be set to NO [ 77.212700] NVRM: [Assign IRQ to VGA] should be set to YES [ 77.212702] nvidia: probe of 0000:00:07.0 failed with error -1 This issue was discussed in the forums and a solution found with a set of patches to bhyve: # cd /usr/ # rm -rf /usr/src # git clone https://github.com/beckhoff/freebsd-src /usr/src # cd /usr/src # git checkout -f origin/phab/corvink/14.2/nvidia-wip # cd /usr/src/usr.sbin/bhyve # make && make install I can confirm this works for my (AMD Ryzen 9 7900X / NVIDIA GA104 [GeForce = RTX 3060]). But also others in the forums reported that it works. This is a kind request to maybe checkout the changes in the PR and check if they can be included in a next release of bhyve. Thanks a lot for this amazing system. Links: * Forums discussion: https://forums.freebsd.org/threads/current-state-of-bhyve-nvidia-passthroug= h.88244/page-5) * Related Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277627 --=20 You are receiving this mail because: You are the assignee for the bug.=