bhyve Setting pptdevs in loader.conf not working

My first question would be if I'm able to do this to the onboard video?

I have a video card AMD for graphics, and also have onboard video.

Looking to pass the onboard video to a VM via pci passthru.
Code:
pciconf -vl

vgapci1@pci0:13:0:0:    class=0x030000 rev=0xc8 hdr=0x00 vendor=0x1002 device=0x1636 subvendor=0x103c subdevice=0x87d6
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Renoir [Radeon Vega Series / Radeon Vega Mobile Series]'
    class      = display
    subclass   = VGA
hdac1@pci0:13:0:1:    class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002 device=0x1637 subvendor=0x103c subdevice=0x87d6
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Renoir/Cezanne HDMI/DP Audio Controller'
    class      = multimedia
    subclass   = HDA
loader.conf:
Code:
pptdevs="13/0/0 13/0/1"
hw.vmm.amdvi.enable=1
 
I know this only pertains to INTEL integrated GPU but there is special instruction set for passthru "GVT-d" that might give you some ideas.


I cannot tell you if you can just "passthru" an onboard GPU PCI Bus Address just like a regular video card on AMD/ATI

Being a guesser and looking at gop.rom usage from the above link I would say it has to do with integrated GPU using 'vBIOS/GOP' in the BIOS.
Where an external video card uses OPTION ROM arrangement and vBIOS is on card..
Good footnotes there.
You have to option to use GPU passthrough:


  1. Running a VM with GOP driver
    1. Add a GOP driver as ROM file to your GPU
    2. Enjoy GPU passthrough
  2. Running a VM without GOP driver
    1. Install your VM on the "old" way with GVT-d disabled
    2. Boot into your VM with GVT-d enabled and install the graphics driver
    3. Boot your VM with GVT-d enabled
    4. Enjoy GPU passthrough
 
Back
Top