i just got ahold of a Intel ARC A310 to use for encoding and i need to get Rebar working (wouldnt mind getting it working on my Tesla P4 too if possible but not sure the vbios supports it)
found this about enabling it for an AMD gpu:
VFIO: How to enable Resizeable BAR (ReBAR) in your VFIO Virtual Machine
LSPCI output for nvidia too if there is any way to get it working
Motherboard is a Gigabyte X299 UD4 (cpu is i7-7820x) with 4G decoding & Rebar support, full VRAM sizes listed
if i set display to none or set arc as primary GPU it displays error 43, otherwise it works just without rebar and i seem to be getting encoding performance drops because of it (or so it i found it on github in QSVENC issues that other users solved the encoding fps drop by enabling rebar and the drop is massive like 30-60fps instead of 200-300+ because clocks lock into idle )
would prefer the most simple or permanent fix possible, if possible anyways, i have seen many things online about people getting it working but i cannot seem to get it.
GPU-Z in the VM lists rebar is supported, 4G decoding is enabled, but GPU-Z shows rebar is disabled in the bios despite it being enabled
Code:
lspci -n -s b5:00.0 -v
b5:00.0 0300: 8086:56a6 (rev 05) (prog-if 00 [VGA controller])
Subsystem: 1849:6007
Flags: bus master, fast devsel, latency 0, IRQ 66, NUMA node 0, IOMMU group 4
Memory at fa000000 (64-bit, non-prefetchable) [size=16M]
Memory at 383fe0000000 (64-bit, prefetchable) [size=256M]
Expansion ROM at fb000000 [disabled] [size=2M]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+
Capabilities: [d0] Power Management version 3
Capabilities: [100] Alternative Routing-ID Interpretation (ARI)
Capabilities: [420] Physical Resizable BAR
Capabilities: [400] Latency Tolerance Reporting
Kernel driver in use: vfio-pci
Kernel modules: i915
Code:
lspci -vvvs b5:00.0 | grep BAR
Capabilities: [420 v1] Physical Resizable BAR
BAR 2: current size: 256MB, supported: 256MB 512MB 1GB 2GB 4GB
found this about enabling it for an AMD gpu:
VFIO: How to enable Resizeable BAR (ReBAR) in your VFIO Virtual Machine
LSPCI output for nvidia too if there is any way to get it working
Code:
lspci -n -s 02:00.0 -v
02:00.0 0302: 10de:1bb3 (rev a1)
Subsystem: 10de:11d8
Flags: bus master, fast devsel, latency 0, IRQ 77, NUMA node 0, IOMMU group 34
Memory at 91000000 (32-bit, non-prefetchable) [size=16M]
Memory at 380fe0000000 (64-bit, prefetchable) [size=256M]
Memory at 380ff0000000 (64-bit, prefetchable) [size=32M]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] Secondary PCI Express
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia_vgpu_vfio, nvidia
Motherboard is a Gigabyte X299 UD4 (cpu is i7-7820x) with 4G decoding & Rebar support, full VRAM sizes listed
if i set display to none or set arc as primary GPU it displays error 43, otherwise it works just without rebar and i seem to be getting encoding performance drops because of it (or so it i found it on github in QSVENC issues that other users solved the encoding fps drop by enabling rebar and the drop is massive like 30-60fps instead of 200-300+ because clocks lock into idle )
would prefer the most simple or permanent fix possible, if possible anyways, i have seen many things online about people getting it working but i cannot seem to get it.
GPU-Z in the VM lists rebar is supported, 4G decoding is enabled, but GPU-Z shows rebar is disabled in the bios despite it being enabled