From nobody Tue Sep 16 22:20:16 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 4cRGYr0LCJz68BCt for ; Tue, 16 Sep 2025 22:20:32 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cRGYq5SLvz3jDZ for ; Tue, 16 Sep 2025 22:20:31 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-71d5fe46572so4019977b3.1 for ; Tue, 16 Sep 2025 15:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1758061230; x=1758666030; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=siOWjd9CM9E62TF64u59X2hA/TLQv+oJFWQIuI5wZHo=; b=SPOjnQVEnrUfFqfrMoEl1VHjZE1xXG1pscG5IwLzIOIkQ6r5xo9NfppgtLNNjQJV5O sl1O4g/M4YeYiH60eEzdszD+6ES4Vi2cGI0aHkvfsw8+O18lQVNR9cJpZL+WAiYyjnQK jn0z9L0CD0Wm2uPMwe9t4WdWWD13T1SXwvhojrLcCh2xsKO2v98Cxj0o2zOw/pfQtogQ zfNFzTexAEW1SDoEGdjIxcTk/kIs/OOp444pOln7fIKUmjOacQUZNGMK76NOcwq4yQXx Wk67AznMKGblUqAXwrxm3CwG3XZDd/qHR0NGjm2Y0zUIwwXXzV6sOfBR1sKwV/4KQkhr rayw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758061230; x=1758666030; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=siOWjd9CM9E62TF64u59X2hA/TLQv+oJFWQIuI5wZHo=; b=uH6B7iDxQB8Gi/ZlqOMVrmNx7Lz7gBFZo45JPMuhdcutdIYdBUSXo7dXGrPnIq5Bve AADce4OvyLAVSjSj9vErnuuYLFa7f4lLOHCvjjqcO6Iz8jsViDdGvTxgayKikEDKK8Lt /Ka/4qg3X22EoYoCNuumwcvNqHUvDmI76b2neRjInVshlHYXfdMjW3b1UxxpoBSOYo+c in86G9nVnV9zNZkyP2VlasgjwzxRq0OXmhxyofEQct2jhNslJt9sNoi33jJu+egzdISC +4HhC4WpOZMUTxNdOFA+2h/BszBkcHlxsIpQ9RtYm4pd5k+UN9UpKhRABl74R16E1Lgg G/rQ== X-Gm-Message-State: AOJu0Yzb1ZXT34ScxXcQrGyj82W/n9boYj4aHkHhfkyOLK84nRsSXJzh zR6kMEGOBb7KEkdmv8godBwAHvZ93fMgCIzNMjtFrAfzKbn9dtBpx5UM5ZL8NhkAS/qD97L7dJl iQgO34A== X-Gm-Gg: ASbGncuYEObJA7eMIZvNzKL1jQeoss7UYbVd4tet0UPhSuIs1HOmyY1pPvFTG1leu5p F3pw4mPREW413h8SiA73sKcp9H/bThGz1JRoiLcHUHrBRgnVuVwDTOqdLkW575tduY8N46lZawr 5HbxhhD/NIIl09SvyxvDPpQsoM+GaO0GUgzxriwR70axasQnF0G5dvpdFdbNLpCz7N4yHKnVnTy k+MkJTUJN5hMQD9cUPIpmP/joRPTDvlDWgkq9yZ4q5F1RD0E1R0hs69C3LbhnPzDBaagzJZKv+Z CkFhiQjjdSmtIZwvfTwtFK7niD/48LMVGds0BLlfI8uJphkj1wTOZ/xNM7ntHZZycckOQyqekrI kW//dsSWxKhnhiwYYbFIw81suEXMEmCYLm77h8/eGrx4zKBzmS3MZpZXTw6mOkU/MSrXCKQ== X-Google-Smtp-Source: AGHT+IFmww5ciglenjmV7slaxxTaa+C9BVOx/sZWiH3eMIy9g0b6S/XEIkr59jBJzDaG8V0vtydx9Q== X-Received: by 2002:a05:690c:350e:b0:721:b47:e22a with SMTP id 00721157ae682-7372178eebcmr39229597b3.25.1758061229723; Tue, 16 Sep 2025 15:20:29 -0700 (PDT) Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com. [209.85.219.169]) by smtp.gmail.com with ESMTPSA id 00721157ae682-73088a76fabsm38966727b3.26.2025.09.16.15.20.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Sep 2025 15:20:29 -0700 (PDT) Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-e970e624b7cso342945276.0 for ; Tue, 16 Sep 2025 15:20:28 -0700 (PDT) X-Received: by 2002:a05:690e:400a:b0:628:9b73:4b16 with SMTP id 956f58d0204a3-633a3253238mr3196470d50.12.1758061228560; Tue, 16 Sep 2025 15:20:28 -0700 (PDT) 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 References: <6CV-OY6BcErrWRit9jSpi6fWsYBG3E_Z3u6eTLPcz6foPAZV1gQpZYaZTR7JA_1ot5RQVqrWQaLxJFySXjspIhSbBJGxmckcDQyzxhALNus=@xyinn.org> <8e7f6904-8188-4941-827b-c874d5da586d@Duedinghausen.eu> <09-JQGKdIKMMp4u22KT_U_n7lXzFRKrK3mODyLvhee7a7pYyagqdi1mbgVTeq5QIe_ZrbGfkM4I03ocsBCj6ogh04hKyCcDdY65EtlrysuI=@xyinn.org> In-Reply-To: From: Tomek CEDRO Date: Wed, 17 Sep 2025 00:20:16 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: AS18NWCU3kgc8mf2pPAIrsNwsJ0WECRrWH68Wx90xeXbGpvv6i7j7MLQtSY2P40 Message-ID: Subject: Re: GPU Passthrough on FreeBSD 14.3 (AMD Radeon RX 6900 XT and Windows 10 Pro) To: Jonathan Vasquez Cc: "virtualization@freebsd.org" , "corvink@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cRGYq5SLvz3jDZ On Tue, Sep 16, 2025 at 10:29=E2=80=AFPM Jonathan Vasquez w= rote: > I wanted to update you on my progress on this. After some discussion with= Corvin, I was able to use some of his insights to finally get it working := ). There was only one thing that was off with my configuration that was cau= sing it not to work at all, and that's that the "Resize BAR Support" option= was enabled in my UEFI. Apparently FreeBSD doesn't support Resizable BAR a= nd if this is enabled, then we won't know what will happen exactly if the h= ost or the bhyve VM decides to resize the bar. After I turned that off, eve= rything worked! I've done a full update of my instructions on how to get th= is working and I've also generated a new set of screenshots of multiple dif= ferent games and benchmarks. Let me know your thoughts. I'm not familiar wi= th Resize BAR, but my BIOS mentioned that it's to allow you "take full adva= ntage of the GPUs memory", I'm guessing that there may be a significant per= formance drop due to this being disabled, but the performance is already pr= etty good. I was getting 40 fps pretty much consistently in Cyberpunk 2077 = on Ray Tracing Low on 2560x1440p. The Heaven Benchmarks were getting 100-30= 0 fps depending on the scene on DX11, Ultra Quality, Extreme Tessellation. = Furmark also yielded 194-208 (avg: 201) fps for its 1440p benchmark test. T= his was all through RDP. > (..) Sounds really great! Would it be possible Jonathan that you put all the instructions and hints into the Handbook so it is all on one place info and up to date? :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info