Re: bhyve HEVC/H.265 encoding support in ubuntu vm

From: Corvin Köhne <corvink_at_FreeBSD.org>
Date: Tue, 06 Jun 2023 09:54:35 UTC
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:
> > 
> > HI,
> > 
> > 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.
> > 
> > Any hints ?
> 
> i suspect you'd need to passthrough a GPU PCI device to the gues VM.
> 
> this presentation may, or may-not, be helpful:
> https://papers.freebsd.org/2019/eurobsdcon/chiu-bhyve_guests_with_hardware_accelerated_graphics/
> 
> -p
> 

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.


-- 
Kind regards,
Corvin