From nobody Tue Jun 06 09:54:35 2023 X-Original-To: freebsd-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 4Qb5Rf06CWz4ZqrQ for ; Tue, 6 Jun 2023 09:54:38 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qb5Rd6gQjz4GVY; Tue, 6 Jun 2023 09:54:37 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686045277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eUg8gCD1IPUgxZhk83t68DOOrkzvDhPD9XISfV9lSR0=; b=iJ6gfN4pIKcjCwn+0gXT//pbOig4vAYEAwTM8ywJceE6wwybD+DWAF83GSeYvb/M9htKsR 10PZck/eU8dqxoGtwaPXlGSL0Gk7sbpU6bnI8rypQj+aewobWSf3UdrQvKq2Nl+2+GKwl6 qrHYgGSz307zNsD/n1CNrynGQVmkGWY5vMLjvsy1LtE011uivKlXNuCOJHDqJHoL0caGZA 0pXCUt6aHo1p4qXkXE++vEuAokEgjqK/dZ1AO0BELQJ9f7xzhbn8IRhlQk+RjxqcQIi73k SdbWgboU9gJC9pq20k+ETChxtrwYMsdBvRrvTERS93PYwHPaJx2nPeoKhi56tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686045277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eUg8gCD1IPUgxZhk83t68DOOrkzvDhPD9XISfV9lSR0=; b=jmcE4HMSFAaevROgDfmB3FnZN5M115Afi2iabgdkD+kwU6hb+ElMoWTWjcAE9uxBPR0g5d jPisEVDLlodghRAK+FRnBKaC+G7wGUZAbFAVbV0p8i1Y6I985JkH4g/JyZIbSEtXvdSmJJ 1sLlEDWoOeMrtuFxEFWfJ9dItshP8UmU3F52pESe+eSPWz/fhmuQm4pzzDdFWcJPSgtm2n nhf9ijN14og11ZTGwZSOYJdj9Zk7s5QELP/DyRcU0qwR06F3I6QAyNurtYEbb7MGkzAZa5 hZMqix4w9/XXhgHV8cKkNZdRXBQd0KFODiN+4AT/I10LJ5E3xSQjkcyQF4dh+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686045277; a=rsa-sha256; cv=none; b=urnrznFYcd8VflUUnlz/I+x2ioQPAIvU1Vo/woMxl7R9p1wRuOfLzS2NduvVCF1sqhvCOJ Iyl5bHkFsPLysy10DRYZlXqElbz648fQ9b41fbFYRhsC9tA57h3OXdtpMlrg0psbi1hmfi zx4ehyhIVgwcWj2cErQjLShFhBdWWqA9/hWbwRikjcEWqL/SzWEqTV/C3+KKunHsYvVhtA 8MsTesUGbl7U7rtfUFyQVf0W/eLSpDUbyy+6ESJgpS27RYPjC6ejSSOOb+OwQW7NsdjCuE mahXcrjLHHx5aUYU/0QLdNZz1SmxuupxMHY3eNwVfo5mhT2a6v5pMqm5bNtn7w== Received: from [IPv6:2001:9e8:da59:8e00:1c7e:7163:67b2:a7d8] (unknown [IPv6:2001:9e8:da59:8e00:1c7e:7163:67b2:a7d8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: corvink) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qb5Rd2Q8RzgmV; Tue, 6 Jun 2023 09:54:37 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Message-ID: <0bd78c097b26ab3435486735b77f0bb4314feb5d.camel@FreeBSD.org> Subject: Re: bhyve HEVC/H.265 encoding support in ubuntu vm From: Corvin =?ISO-8859-1?Q?K=F6hne?= To: Pete Wright , "elk-wetznet.de" Cc: freebsd-virtualization@freebsd.org Date: Tue, 06 Jun 2023 11:54:35 +0200 In-Reply-To: References: <3c1de1f44be2bb9bc1fab961e8a34722@wetznet.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-cOHNWvngNvEPyqOj5cXS" User-Agent: Evolution 3.46.4 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N --=-cOHNWvngNvEPyqOj5cXS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2023-05-24 at 16:12 -0700, Pete Wright wrote: > On Wed, May 24, 2023 at 09:12:15AM +0200, elk-wetznet.de wrote: > >=20 > > HI, > >=20 > > I run bhyve at Freebsd on a AMD Pro Ryzen 5 and still dont know a > > way to get > > the encoding support of the GPU inside the VM. > >=20 > > Any hints ? >=20 > i suspect you'd need to passthrough a GPU PCI device to the gues VM. >=20 > this presentation may, or may-not, be helpful: > https://papers.freebsd.org/2019/eurobsdcon/chiu-bhyve_guests_with_hardwar= e_accelerated_graphics/ >=20 > -p >=20 Hi, At the moment, GPU passthrough is not fully supported by bhyve. I'm working on it. The current situation for dedicated AMD GPUs (on 13.2 and 14-CURRENT): * Windows * It should work * Linux * Requires a VBIOS * You have to use UEFI boot with a patched OVMF I had some issues when using an integrated AMD GPU. I was using a CPU of the Ryzen Embedded V1000 series. Maybe you have more luck with your AMD Pro series. --=20 Kind regards, Corvin --=-cOHNWvngNvEPyqOj5cXS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmR/AlsACgkQ2FTaVjFe AmrMcA//eRpV+u1AXSWqpn5qOY0qffsxO1snU8bUf9om7YuvqZjmMvEA9x9yyCFX 3s4eYNa5MG6NPXMShd3vxMsreTEJuCdceV2ZKW1oj10RGxhaYp852Lpnw79pwlye q+b/tzlqiS/CVS6r5evC7dbgYvDqdbek490CbayFU/nR/09FC+G7o+PNhKFXTIjC PQr06KrI7PrDsvEFGAYmx2x5OJKbklMyFjWol6K69qIk8Nfz1nWCptQY4h1jCLCg Uw+/miIxEHWuqDYCdvEs4tWQjUE1e2EYGaiowLKGAkE4gUm0Dh3SrKT1NWFHlTLc +jCqsTKu97XUULkRNHpdRHMaR/YsAOfazlsL0zC8+DgE4NC4+igJvAZ8m/9MMbc+ vo6xJpG+Z319u3FgIPYqZQrJycE9Vx0hLc3MwHEVw+9+SSoSMYiPhKC+k0mbihKL rKCrwki8a2/PhbxRimkzAnUvT6UK/7Kx2+mLng7JJxfXdDeU7zcM+NaeQc6OAfh8 hrnGQZ4vE0Tjr5r4kcgSCH/qr0tlnrhCtQKzfyisbiyFZF8fd2BhtasuIuTiGdke WbfhLLLOg3zoW1CFJTFCkyFfC3eXrHnZeMqSTgsw8jsbUKXxkFyeGt/TrM8mKDuK 0epWKSQwcUT63AUDZTkytc9Dr34CqyLtF0FNkBhfOsqZLUR3Yng= =8x3X -----END PGP SIGNATURE----- --=-cOHNWvngNvEPyqOj5cXS--