Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unRAID plugin for iGPU SR-IOV support

Featured Replies

  • Author
5 hours ago, L1N said:

root@Tower:~# dmesg | grep i915 
[   56.896709] i915: loading out-of-tree module taints kernel.
[   56.998171] i915 0000:00:02.0: i915_virtualization_probe: entry
[   56.998185] i915 0000:00:02.0: i915_sriov_probe: entry
[   56.998186] i915 0000:00:02.0: i915_sriov_probe: I915_IOV_MODE_NONE
[   56.998186] i915 0000:00:02.0: i915_sriov_probe returns: 1
[   56.998574] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   56.998594] i915 0000:00:02.0: vgaarb: deactivate vga console
[   56.998626] i915 0000:00:02.0: [drm] Transparent Hugepage mode 'huge=within_size'
[   56.999641] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   57.003885] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/rkl_dmc_ver2_03.bin (v2.3)
[   57.114227] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.1.1.bin version 70.1
[   57.114231] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9
[   57.117799] i915 0000:00:02.0: [drm] HuC authenticated
[   57.117800] i915 0000:00:02.0: [drm] GuC submission disabled
[   57.117801] i915 0000:00:02.0: [drm] GuC SLPC disabled
[   57.118331] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   57.118924] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   57.134072] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   57.134148] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
root@Tower:~# ^C
root@Tower:~# echo 4 > /sys/devices/pci0000\:00/0000\:00\:02.0/sriov_numvfs
bash: /sys/devices/pci0000:00/0000:00:02.0/sriov_numvfs: Permission denied

为啥没有权限....

 

看dmesg的输出,你的核显不支持SR-IOV,应该尝试GVT-g。

  • Replies 399
  • Views 127.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I have now adapted the plugin so that users are able to install it on Unraid 6.12.4 without any workarounds and to make sure that packages for upcoming Unraid versions are available. The new plug

  • I want to thank you for providing this solution and information in this thread! Was reading for a while now and fully managed to get iGPU passthrouh working yesterday.   My used Hardwar

  • For all who are in need of a plugin package for Unraid 6.12.4 here it is: i915-sriov-6.1.49-Unraid.txz i915-sriov-6.1.49-Unraid.txz.md5   To install them do the following:

Posted Images

Hey, it's amazing that you have brought it so far!

 

I've the following problem. When I try to bind one of the VFs (02.1) to the VM (Win 11) the iGPU does not seem to work (Code 43 in the device manager)

 

I'm running a 12600k on 6.11.5.

VFs are created and visible in device overview. 

02.1 is bound to vfio at boot.

 

Any idea why it's not working?

 

    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='de'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <audio id='1' type='none'/>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x10' function='0x0'/>
    </hostdev>
Loading config from /boot/config/vfio-pci.cfg
BIND=0000:00:02.1|8086:4680
---
Processing 0000:00:02.1 8086:4680
Error: Device 0000:00:02.1 does not exist, unable to bind device
---
vfio-pci binding complete

Devices listed in /sys/bus/pci/drivers/vfio-pci:

Loading config from /boot/config/vfio-pci.cfg
BIND=0000:00:02.1|8086:4680
---
Processing 0000:00:02.1 8086:4680
Vendor:Device 8086:4680 found at 0000:00:02.1

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:00:02.1/iommu_group/devices/0000:00:02.1

Binding...
0000:00:02.1 already bound to vfio-pci
Successfully bound the device 8086:4680 at 0000:00:02.1 to vfio-pci
---
vfio-pci binding complete

Devices listed in /sys/bus/pci/drivers/vfio-pci:
lrwxrwxrwx 1 root root    0 Mar 28 16:01 0000:00:02.1 -> ../../../../devices/pci0000:00/0000:00:02.1

 

53 minutes ago, zhtengw said:

Your Rocketlake is not supported SR-IOV, please try GVT-g instead.

GVT-g not supported with INTEL-GVT-G plug in, i have an i5 11600K

2 hours ago, zhtengw said:

看dmesg的输出,你的核显不支持SR-IOV,应该尝试GVT-g。

不是啊,我的是i5 11400  GVt-g不支持的😂,昨晚弄了好久 设备那里就是不显示

  • Author
26 minutes ago, L1N said:

不是啊,我的是i5 11400  GVt-g不支持的😂,昨晚弄了好久 设备那里就是不显示

根据intel的支持文档,https://www.intel.com/content/www/us/en/products/sku/212270/intel-core-i511400-processor-12m-cache-up-to-4-40-ghz/specifications.html?wapkw=11400

i5-11400就是只支持GVT-g,https://www.intel.com/content/www/us/en/support/articles/000093216/graphics.html

只能等gvt-g的驱动更新了。

  • Author
2 hours ago, ptichalouf said:

GVT-g not supported with INTEL-GVT-G plug in, i have an i5 11600K

https://ark.intel.com/content/www/us/en/ark/products/212275/intel-core-i511600k-processor-12m-cache-up-to-4-90-ghz.html

https://www.intel.com/content/www/us/en/support/articles/000093216/graphics.html

According Intel's documents, i5-11600K is RocketLake which only supports gvt-g. Could ask the updating for intel-gvt-g plugin.

  • Community Expert

Even thou Intel have published this.

Product Family	Graphics Virtualization Technology Supported
Intel® Data Center GPU Flex Series discrete graphics family (Formerly Known as Arctic Sound)	Single Root IO Virtualization (SR-IOV)
Intel® Arc™ A-Series discrete graphics family (Formerly Known as Alchemist)	Not Supported
12th Gen Intel® Core™ processor family (Formerly Known as Alder Lake)	Single Root IO Virtualization (SR-IOV)
11th Gen Intel® Core™ processor family (Formerly Known as Tiger Lake)	Single Root IO Virtualization (SR-IOV)
11th Gen Intel® Core™ processor family (Formerly Known as Rocket Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
10th Gen Intel® Core™ processor family (Formerly Known as Ice Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
10th Gen Intel® Core™ processor family (Formerly Known as Comet Lake	Intel® Graphics Virtualization Technology –g (GVT-g)
9th Gen Intel® Core™ processor family (Formerly Known as Coffee Lake Refresh)	Intel® Graphics Virtualization Technology –g (GVT-g)
8th Gen Intel® Core™ processor family (Formerly Known as Amber Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
8th Gen Intel® Core™ processor family (Formerly Known as Coffee Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
7th Gen Intel® Core™ processor family (Formerly Known as Apollo Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
7th Gen Intel® Core™ processor family (Formerly Known as Kaby Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
6th Gen Intel® Core™ processor family (Formerly Known as Skylake)	Intel® Graphics Virtualization Technology –g (GVT-g)

 

There is also this article. So it looks like Rocket Lake does not have any  support.

 

Summary

Information about the support of GVT-g technology on 11th Generation Intel® Processors.

Description

Unable to find information regarding the support of GVT-g technology on 11th Generation Intel® Processors.

Resolution

NoteSR-IOV (Single Root IO Virtualization) is supported only on platforms with 11th Generation Intel® Core™ "G" Processors (products formerly known as Tiger Lake) or newer.

 

GVT-g technology is not supported.

The 11th Generation of Intel® Core Processors works with SR-IOV (Single Root IO Virtualization), that is a new virtualization feature supported in hardware starting from Intel® Iris® Xe and in some of our discrete cards.

Gen9 (i.e. Graphics powering 6th through 9th generation Intel processors) is the last generation of the software-based vGPU solution GVT-G (Intel® Graphics Virtualization Technology –g).

4 minutes ago, SimonF said:

Even thou Intel have published this.

Product Family	Graphics Virtualization Technology Supported
Intel® Data Center GPU Flex Series discrete graphics family (Formerly Known as Arctic Sound)	Single Root IO Virtualization (SR-IOV)
Intel® Arc™ A-Series discrete graphics family (Formerly Known as Alchemist)	Not Supported
12th Gen Intel® Core™ processor family (Formerly Known as Alder Lake)	Single Root IO Virtualization (SR-IOV)
11th Gen Intel® Core™ processor family (Formerly Known as Tiger Lake)	Single Root IO Virtualization (SR-IOV)
11th Gen Intel® Core™ processor family (Formerly Known as Rocket Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
10th Gen Intel® Core™ processor family (Formerly Known as Ice Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
10th Gen Intel® Core™ processor family (Formerly Known as Comet Lake	Intel® Graphics Virtualization Technology –g (GVT-g)
9th Gen Intel® Core™ processor family (Formerly Known as Coffee Lake Refresh)	Intel® Graphics Virtualization Technology –g (GVT-g)
8th Gen Intel® Core™ processor family (Formerly Known as Amber Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
8th Gen Intel® Core™ processor family (Formerly Known as Coffee Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
7th Gen Intel® Core™ processor family (Formerly Known as Apollo Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
7th Gen Intel® Core™ processor family (Formerly Known as Kaby Lake)	Intel® Graphics Virtualization Technology –g (GVT-g)
6th Gen Intel® Core™ processor family (Formerly Known as Skylake)	Intel® Graphics Virtualization Technology –g (GVT-g)

 

There is also this article. So it looks like Rocket Lake does not have any  support.

 

Summary

Information about the support of GVT-g technology on 11th Generation Intel® Processors.

Description

Unable to find information regarding the support of GVT-g technology on 11th Generation Intel® Processors.

Resolution

NoteSR-IOV (Single Root IO Virtualization) is supported only on platforms with 11th Generation Intel® Core™ "G" Processors (products formerly known as Tiger Lake) or newer.

 

GVT-g technology is not supported.

The 11th Generation of Intel® Core Processors works with SR-IOV (Single Root IO Virtualization), that is a new virtualization feature supported in hardware starting from Intel® Iris® Xe and in some of our discrete cards.

Gen9 (i.e. Graphics powering 6th through 9th generation Intel processors) is the last generation of the software-based vGPU solution GVT-G (Intel® Graphics Virtualization Technology –g).

So the 11th generation Rocket Lake cpu does not support GVT-G nor SR-IOV... This is incomprehensible😑

Will this method (usage of plugin) make it possible to get video on a physical screen directly attached to the laptop? 

I can attach a SR-IOV graphical adapter 02.1 to the VM, but other than a VNC (or other IP based remote screen viewer) I get no screen output on the laptop's screen, or to a HDMI output directly from/on the host. 

13th 13600k success
use virt-manager edit address
 

螢幕擷取畫面 2023-03-29 182252.png

螢幕擷取畫面 2023-03-29 182327.png

螢幕擷取畫面 2023-03-29 193618.png

Edited by BHWang

大佬,帮我看看,vfio-pci报错,也无法添加到虚拟机,报错"XML error: Invalid PCI address 0000:06:10.0. slot must be <= 0"

Processing 0000:00:02.1 8086:4626
Error: Device 0000:00:02.1 does not exist, unable to bind device
---
Processing 0000:00:02.2 8086:4626
Error: Device 0000:00:02.2 does not exist, unable to bind device
---
Processing 0000:00:02.3 8086:4626
Error: Device 0000:00:02.3 does not exist, unable to bind device
---
Processing 0000:00:02.4 8086:4626
Error: Device 0000:00:02.4 does not exist, unable to bind device

 

以下是dmesg |grep i915输出

root@unraid1:~# dmesg |grep i915
[   25.277684] i915: loading out-of-tree module taints kernel.
[   25.384907] i915 0000:00:02.0: i915_virtualization_probe: entry
[   25.384921] i915 0000:00:02.0: i915_sriov_probe: entry
[   25.384923] i915 0000:00:02.0: i915_sriov_probe: gen12_pci_capability_is_vf in
[   25.384927] i915 0000:00:02.0: i915_sriov_probe: dev_is_pf in
[   25.384928] i915 0000:00:02.0: pf_verify_readiness: entry
[   25.384929] i915 0000:00:02.0: pf_verify_readiness: pf_reduce_totalvfs
[   25.384931] i915 0000:00:02.0: i915_sriov_probe: I915_IOV_MODE_SRIOV_PF
[   25.384932] i915 0000:00:02.0: i915_sriov_probe returns: 3
[   25.384933] i915 0000:00:02.0: Running in SR-IOV PF mode
[   25.385377] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   25.385405] i915 0000:00:02.0: vgaarb: deactivate vga console
[   25.385436] i915 0000:00:02.0: [drm] Transparent Hugepage mode 'huge=within_size'
[   25.385829] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   25.390692] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[   26.056160] i915 0000:00:02.0: [drm] failed to retrieve link info, disabling eDP
[   26.181858] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.1.1.bin version 70.1
[   26.181863] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9
[   26.197325] i915 0000:00:02.0: [drm] HuC authenticated
[   26.198068] i915 0000:00:02.0: [drm] GuC submission enabled
[   26.198070] i915 0000:00:02.0: [drm] GuC SLPC enabled
[   26.198621] i915 0000:00:02.0: [drm] GuC RC: enabled
[   26.201815] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   26.203530] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   26.222520] i915 0000:00:02.0: 7 VFs could be associated with this PF
[   26.223823] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   26.224012] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   26.224178] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   27.104743] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[   40.784641] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   40.784737] i915 0000:00:02.1: enabling device (0000 -> 0002)
[   40.784755] i915 0000:00:02.1: i915_virtualization_probe: entry
[   40.784771] i915 0000:00:02.1: i915_sriov_probe: entry
[   40.784771] i915 0000:00:02.1: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.784774] i915 0000:00:02.1: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.784775] i915 0000:00:02.1: i915_sriov_probe returns: 4
[   40.784775] i915 0000:00:02.1: Running in SR-IOV VF mode
[   40.785630] i915 0000:00:02.1: GuC interface version 0.1.0.0
[   40.788734] i915 0000:00:02.1: [drm] VT-d active for gfx access
[   40.788738] i915 0000:00:02.1: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.790010] i915 0000:00:02.1: GuC interface version 0.1.0.0
[   40.790856] i915 0000:00:02.1: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.790858] i915 0000:00:02.1: HuC firmware PRELOADED
[   40.800293] i915 0000:00:02.1: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.800297] i915 0000:00:02.1: [drm] PMU not supported for this GPU.
[   40.800421] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.1 on minor 1
[   40.800566] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
[   40.800568] i915 0000:00:02.1: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.800600] i915 0000:00:02.2: enabling device (0000 -> 0002)
[   40.800608] i915 0000:00:02.2: i915_virtualization_probe: entry
[   40.800613] i915 0000:00:02.2: i915_sriov_probe: entry
[   40.800614] i915 0000:00:02.2: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.800617] i915 0000:00:02.2: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.800617] i915 0000:00:02.2: i915_sriov_probe returns: 4
[   40.800618] i915 0000:00:02.2: Running in SR-IOV VF mode
[   40.801401] i915 0000:00:02.2: GuC interface version 0.1.0.0
[   40.802615] i915 0000:00:02.2: [drm] VT-d active for gfx access
[   40.802617] i915 0000:00:02.2: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.803583] i915 0000:00:02.2: GuC interface version 0.1.0.0
[   40.804314] i915 0000:00:02.2: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.804316] i915 0000:00:02.2: HuC firmware PRELOADED
[   40.812264] i915 0000:00:02.2: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.812267] i915 0000:00:02.2: [drm] PMU not supported for this GPU.
[   40.812298] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.2 on minor 2
[   40.812462] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
[   40.812464] i915 0000:00:02.1: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   40.812467] i915 0000:00:02.2: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.812508] i915 0000:00:02.3: enabling device (0000 -> 0002)
[   40.812516] i915 0000:00:02.3: i915_virtualization_probe: entry
[   40.812521] i915 0000:00:02.3: i915_sriov_probe: entry
[   40.812522] i915 0000:00:02.3: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.812525] i915 0000:00:02.3: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.812525] i915 0000:00:02.3: i915_sriov_probe returns: 4
[   40.812526] i915 0000:00:02.3: Running in SR-IOV VF mode
[   40.813449] i915 0000:00:02.3: GuC interface version 0.1.0.0
[   40.814441] i915 0000:00:02.3: [drm] VT-d active for gfx access
[   40.814443] i915 0000:00:02.3: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.815408] i915 0000:00:02.3: GuC interface version 0.1.0.0
[   40.816083] i915 0000:00:02.3: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.816085] i915 0000:00:02.3: HuC firmware PRELOADED
[   40.823712] i915 0000:00:02.3: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.823735] i915 0000:00:02.3: [drm] PMU not supported for this GPU.
[   40.823763] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.3 on minor 3
[   40.823920] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
[   40.823923] i915 0000:00:02.1: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   40.823925] i915 0000:00:02.2: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   40.823928] i915 0000:00:02.3: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.823960] i915 0000:00:02.4: enabling device (0000 -> 0002)
[   40.823969] i915 0000:00:02.4: i915_virtualization_probe: entry
[   40.823974] i915 0000:00:02.4: i915_sriov_probe: entry
[   40.823974] i915 0000:00:02.4: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.823977] i915 0000:00:02.4: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.823977] i915 0000:00:02.4: i915_sriov_probe returns: 4
[   40.823978] i915 0000:00:02.4: Running in SR-IOV VF mode
[   40.824936] i915 0000:00:02.4: GuC interface version 0.1.0.0
[   40.825961] i915 0000:00:02.4: [drm] VT-d active for gfx access
[   40.825966] i915 0000:00:02.4: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.827198] i915 0000:00:02.4: GuC interface version 0.1.0.0
[   40.827936] i915 0000:00:02.4: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.827937] i915 0000:00:02.4: HuC firmware PRELOADED
[   40.836207] i915 0000:00:02.4: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.836210] i915 0000:00:02.4: [drm] PMU not supported for this GPU.
[   40.836273] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.4 on minor 4
[   40.836422] i915 0000:00:02.0: Enabled 4 VFs
[   44.141627] i915 0000:00:02.0: 4 VFs already enabled. Disable before enabling 2 VFs
 

Just now, king-unraid said:

大佬,帮我看看,CPU是12700H.vfio-pci报错,也无法添加到虚拟机,

报错"XML error: Invalid PCI address 0000:06:10.0. slot must be <= 0"

Processing 0000:00:02.1 8086:4626
Error: Device 0000:00:02.1 does not exist, unable to bind device
---
Processing 0000:00:02.2 8086:4626
Error: Device 0000:00:02.2 does not exist, unable to bind device
---
Processing 0000:00:02.3 8086:4626
Error: Device 0000:00:02.3 does not exist, unable to bind device
---
Processing 0000:00:02.4 8086:4626
Error: Device 0000:00:02.4 does not exist, unable to bind device

 

以下是dmesg |grep i915输出

root@unraid1:~# dmesg |grep i915
[   25.277684] i915: loading out-of-tree module taints kernel.
[   25.384907] i915 0000:00:02.0: i915_virtualization_probe: entry
[   25.384921] i915 0000:00:02.0: i915_sriov_probe: entry
[   25.384923] i915 0000:00:02.0: i915_sriov_probe: gen12_pci_capability_is_vf in
[   25.384927] i915 0000:00:02.0: i915_sriov_probe: dev_is_pf in
[   25.384928] i915 0000:00:02.0: pf_verify_readiness: entry
[   25.384929] i915 0000:00:02.0: pf_verify_readiness: pf_reduce_totalvfs
[   25.384931] i915 0000:00:02.0: i915_sriov_probe: I915_IOV_MODE_SRIOV_PF
[   25.384932] i915 0000:00:02.0: i915_sriov_probe returns: 3
[   25.384933] i915 0000:00:02.0: Running in SR-IOV PF mode
[   25.385377] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   25.385405] i915 0000:00:02.0: vgaarb: deactivate vga console
[   25.385436] i915 0000:00:02.0: [drm] Transparent Hugepage mode 'huge=within_size'
[   25.385829] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   25.390692] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[   26.056160] i915 0000:00:02.0: [drm] failed to retrieve link info, disabling eDP
[   26.181858] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.1.1.bin version 70.1
[   26.181863] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9
[   26.197325] i915 0000:00:02.0: [drm] HuC authenticated
[   26.198068] i915 0000:00:02.0: [drm] GuC submission enabled
[   26.198070] i915 0000:00:02.0: [drm] GuC SLPC enabled
[   26.198621] i915 0000:00:02.0: [drm] GuC RC: enabled
[   26.201815] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   26.203530] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   26.222520] i915 0000:00:02.0: 7 VFs could be associated with this PF
[   26.223823] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   26.224012] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   26.224178] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   27.104743] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[   40.784641] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   40.784737] i915 0000:00:02.1: enabling device (0000 -> 0002)
[   40.784755] i915 0000:00:02.1: i915_virtualization_probe: entry
[   40.784771] i915 0000:00:02.1: i915_sriov_probe: entry
[   40.784771] i915 0000:00:02.1: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.784774] i915 0000:00:02.1: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.784775] i915 0000:00:02.1: i915_sriov_probe returns: 4
[   40.784775] i915 0000:00:02.1: Running in SR-IOV VF mode
[   40.785630] i915 0000:00:02.1: GuC interface version 0.1.0.0
[   40.788734] i915 0000:00:02.1: [drm] VT-d active for gfx access
[   40.788738] i915 0000:00:02.1: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.790010] i915 0000:00:02.1: GuC interface version 0.1.0.0
[   40.790856] i915 0000:00:02.1: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.790858] i915 0000:00:02.1: HuC firmware PRELOADED
[   40.800293] i915 0000:00:02.1: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.800297] i915 0000:00:02.1: [drm] PMU not supported for this GPU.
[   40.800421] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.1 on minor 1
[   40.800566] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
[   40.800568] i915 0000:00:02.1: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.800600] i915 0000:00:02.2: enabling device (0000 -> 0002)
[   40.800608] i915 0000:00:02.2: i915_virtualization_probe: entry
[   40.800613] i915 0000:00:02.2: i915_sriov_probe: entry
[   40.800614] i915 0000:00:02.2: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.800617] i915 0000:00:02.2: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.800617] i915 0000:00:02.2: i915_sriov_probe returns: 4
[   40.800618] i915 0000:00:02.2: Running in SR-IOV VF mode
[   40.801401] i915 0000:00:02.2: GuC interface version 0.1.0.0
[   40.802615] i915 0000:00:02.2: [drm] VT-d active for gfx access
[   40.802617] i915 0000:00:02.2: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.803583] i915 0000:00:02.2: GuC interface version 0.1.0.0
[   40.804314] i915 0000:00:02.2: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.804316] i915 0000:00:02.2: HuC firmware PRELOADED
[   40.812264] i915 0000:00:02.2: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.812267] i915 0000:00:02.2: [drm] PMU not supported for this GPU.
[   40.812298] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.2 on minor 2
[   40.812462] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
[   40.812464] i915 0000:00:02.1: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   40.812467] i915 0000:00:02.2: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.812508] i915 0000:00:02.3: enabling device (0000 -> 0002)
[   40.812516] i915 0000:00:02.3: i915_virtualization_probe: entry
[   40.812521] i915 0000:00:02.3: i915_sriov_probe: entry
[   40.812522] i915 0000:00:02.3: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.812525] i915 0000:00:02.3: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.812525] i915 0000:00:02.3: i915_sriov_probe returns: 4
[   40.812526] i915 0000:00:02.3: Running in SR-IOV VF mode
[   40.813449] i915 0000:00:02.3: GuC interface version 0.1.0.0
[   40.814441] i915 0000:00:02.3: [drm] VT-d active for gfx access
[   40.814443] i915 0000:00:02.3: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.815408] i915 0000:00:02.3: GuC interface version 0.1.0.0
[   40.816083] i915 0000:00:02.3: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.816085] i915 0000:00:02.3: HuC firmware PRELOADED
[   40.823712] i915 0000:00:02.3: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.823735] i915 0000:00:02.3: [drm] PMU not supported for this GPU.
[   40.823763] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.3 on minor 3
[   40.823920] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
[   40.823923] i915 0000:00:02.1: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   40.823925] i915 0000:00:02.2: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   40.823928] i915 0000:00:02.3: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.823960] i915 0000:00:02.4: enabling device (0000 -> 0002)
[   40.823969] i915 0000:00:02.4: i915_virtualization_probe: entry
[   40.823974] i915 0000:00:02.4: i915_sriov_probe: entry
[   40.823974] i915 0000:00:02.4: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.823977] i915 0000:00:02.4: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.823977] i915 0000:00:02.4: i915_sriov_probe returns: 4
[   40.823978] i915 0000:00:02.4: Running in SR-IOV VF mode
[   40.824936] i915 0000:00:02.4: GuC interface version 0.1.0.0
[   40.825961] i915 0000:00:02.4: [drm] VT-d active for gfx access
[   40.825966] i915 0000:00:02.4: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.827198] i915 0000:00:02.4: GuC interface version 0.1.0.0
[   40.827936] i915 0000:00:02.4: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.827937] i915 0000:00:02.4: HuC firmware PRELOADED
[   40.836207] i915 0000:00:02.4: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.836210] i915 0000:00:02.4: [drm] PMU not supported for this GPU.
[   40.836273] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.4 on minor 4
[   40.836422] i915 0000:00:02.0: Enabled 4 VFs
[   44.141627] i915 0000:00:02.0: 4 VFs already enabled. Disable before enabling 2 VFs
 

 

1 hour ago, king-unraid said:

大佬,帮我看看,vfio-pci报错,也无法添加到虚拟机,报错"XML error: Invalid PCI address 0000:06:10.0. slot must be <= 0"

Processing 0000:00:02.1 8086:4626
Error: Device 0000:00:02.1 does not exist, unable to bind device
---
Processing 0000:00:02.2 8086:4626
Error: Device 0000:00:02.2 does not exist, unable to bind device
---
Processing 0000:00:02.3 8086:4626
Error: Device 0000:00:02.3 does not exist, unable to bind device
---
Processing 0000:00:02.4 8086:4626
Error: Device 0000:00:02.4 does not exist, unable to bind device

 

以下是dmesg |grep i915输出

root@unraid1:~# dmesg |grep i915
[   25.277684] i915: loading out-of-tree module taints kernel.
[   25.384907] i915 0000:00:02.0: i915_virtualization_probe: entry
[   25.384921] i915 0000:00:02.0: i915_sriov_probe: entry
[   25.384923] i915 0000:00:02.0: i915_sriov_probe: gen12_pci_capability_is_vf in
[   25.384927] i915 0000:00:02.0: i915_sriov_probe: dev_is_pf in
[   25.384928] i915 0000:00:02.0: pf_verify_readiness: entry
[   25.384929] i915 0000:00:02.0: pf_verify_readiness: pf_reduce_totalvfs
[   25.384931] i915 0000:00:02.0: i915_sriov_probe: I915_IOV_MODE_SRIOV_PF
[   25.384932] i915 0000:00:02.0: i915_sriov_probe returns: 3
[   25.384933] i915 0000:00:02.0: Running in SR-IOV PF mode
[   25.385377] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   25.385405] i915 0000:00:02.0: vgaarb: deactivate vga console
[   25.385436] i915 0000:00:02.0: [drm] Transparent Hugepage mode 'huge=within_size'
[   25.385829] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   25.390692] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[   26.056160] i915 0000:00:02.0: [drm] failed to retrieve link info, disabling eDP
[   26.181858] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.1.1.bin version 70.1
[   26.181863] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9
[   26.197325] i915 0000:00:02.0: [drm] HuC authenticated
[   26.198068] i915 0000:00:02.0: [drm] GuC submission enabled
[   26.198070] i915 0000:00:02.0: [drm] GuC SLPC enabled
[   26.198621] i915 0000:00:02.0: [drm] GuC RC: enabled
[   26.201815] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   26.203530] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   26.222520] i915 0000:00:02.0: 7 VFs could be associated with this PF
[   26.223823] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   26.224012] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   26.224178] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   27.104743] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[   40.784641] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   40.784737] i915 0000:00:02.1: enabling device (0000 -> 0002)
[   40.784755] i915 0000:00:02.1: i915_virtualization_probe: entry
[   40.784771] i915 0000:00:02.1: i915_sriov_probe: entry
[   40.784771] i915 0000:00:02.1: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.784774] i915 0000:00:02.1: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.784775] i915 0000:00:02.1: i915_sriov_probe returns: 4
[   40.784775] i915 0000:00:02.1: Running in SR-IOV VF mode
[   40.785630] i915 0000:00:02.1: GuC interface version 0.1.0.0
[   40.788734] i915 0000:00:02.1: [drm] VT-d active for gfx access
[   40.788738] i915 0000:00:02.1: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.790010] i915 0000:00:02.1: GuC interface version 0.1.0.0
[   40.790856] i915 0000:00:02.1: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.790858] i915 0000:00:02.1: HuC firmware PRELOADED
[   40.800293] i915 0000:00:02.1: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.800297] i915 0000:00:02.1: [drm] PMU not supported for this GPU.
[   40.800421] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.1 on minor 1
[   40.800566] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
[   40.800568] i915 0000:00:02.1: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.800600] i915 0000:00:02.2: enabling device (0000 -> 0002)
[   40.800608] i915 0000:00:02.2: i915_virtualization_probe: entry
[   40.800613] i915 0000:00:02.2: i915_sriov_probe: entry
[   40.800614] i915 0000:00:02.2: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.800617] i915 0000:00:02.2: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.800617] i915 0000:00:02.2: i915_sriov_probe returns: 4
[   40.800618] i915 0000:00:02.2: Running in SR-IOV VF mode
[   40.801401] i915 0000:00:02.2: GuC interface version 0.1.0.0
[   40.802615] i915 0000:00:02.2: [drm] VT-d active for gfx access
[   40.802617] i915 0000:00:02.2: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.803583] i915 0000:00:02.2: GuC interface version 0.1.0.0
[   40.804314] i915 0000:00:02.2: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.804316] i915 0000:00:02.2: HuC firmware PRELOADED
[   40.812264] i915 0000:00:02.2: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.812267] i915 0000:00:02.2: [drm] PMU not supported for this GPU.
[   40.812298] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.2 on minor 2
[   40.812462] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
[   40.812464] i915 0000:00:02.1: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   40.812467] i915 0000:00:02.2: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.812508] i915 0000:00:02.3: enabling device (0000 -> 0002)
[   40.812516] i915 0000:00:02.3: i915_virtualization_probe: entry
[   40.812521] i915 0000:00:02.3: i915_sriov_probe: entry
[   40.812522] i915 0000:00:02.3: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.812525] i915 0000:00:02.3: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.812525] i915 0000:00:02.3: i915_sriov_probe returns: 4
[   40.812526] i915 0000:00:02.3: Running in SR-IOV VF mode
[   40.813449] i915 0000:00:02.3: GuC interface version 0.1.0.0
[   40.814441] i915 0000:00:02.3: [drm] VT-d active for gfx access
[   40.814443] i915 0000:00:02.3: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.815408] i915 0000:00:02.3: GuC interface version 0.1.0.0
[   40.816083] i915 0000:00:02.3: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.816085] i915 0000:00:02.3: HuC firmware PRELOADED
[   40.823712] i915 0000:00:02.3: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.823735] i915 0000:00:02.3: [drm] PMU not supported for this GPU.
[   40.823763] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.3 on minor 3
[   40.823920] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=io+mem
[   40.823923] i915 0000:00:02.1: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   40.823925] i915 0000:00:02.2: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   40.823928] i915 0000:00:02.3: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.823960] i915 0000:00:02.4: enabling device (0000 -> 0002)
[   40.823969] i915 0000:00:02.4: i915_virtualization_probe: entry
[   40.823974] i915 0000:00:02.4: i915_sriov_probe: entry
[   40.823974] i915 0000:00:02.4: i915_sriov_probe: gen12_pci_capability_is_vf in
[   40.823977] i915 0000:00:02.4: i915_sriov_probe: I915_IOV_MODE_SRIOV_VF
[   40.823977] i915 0000:00:02.4: i915_sriov_probe returns: 4
[   40.823978] i915 0000:00:02.4: Running in SR-IOV VF mode
[   40.824936] i915 0000:00:02.4: GuC interface version 0.1.0.0
[   40.825961] i915 0000:00:02.4: [drm] VT-d active for gfx access
[   40.825966] i915 0000:00:02.4: [drm] Transparent Hugepage mode 'huge=within_size'
[   40.827198] i915 0000:00:02.4: GuC interface version 0.1.0.0
[   40.827936] i915 0000:00:02.4: GuC firmware PRELOADED version 1.0 submission:SR-IOV VF
[   40.827937] i915 0000:00:02.4: HuC firmware PRELOADED
[   40.836207] i915 0000:00:02.4: [drm] Protected Xe Path (PXP) protected content support initialized
[   40.836210] i915 0000:00:02.4: [drm] PMU not supported for this GPU.
[   40.836273] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.4 on minor 4
[   40.836422] i915 0000:00:02.0: Enabled 4 VFs
[   44.141627] i915 0000:00:02.0: 4 VFs already enabled. Disable before enabling 2 VFs
 

+1

22 hours ago, Acidcliff said:

Hey, it's amazing that you have brought it so far!

 

I've the following problem. When I try to bind one of the VFs (02.1) to the VM (Win 11) the iGPU does not seem to work (Code 43 in the device manager)

 

I'm running a 12600k on 6.11.5.

VFs are created and visible in device overview. 

02.1 is bound to vfio at boot.

 

Any idea why it's not working?

 

    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='de'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <audio id='1' type='none'/>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x10' function='0x0'/>
    </hostdev>
Loading config from /boot/config/vfio-pci.cfg
BIND=0000:00:02.1|8086:4680
---
Processing 0000:00:02.1 8086:4680
Error: Device 0000:00:02.1 does not exist, unable to bind device
---
vfio-pci binding complete

Devices listed in /sys/bus/pci/drivers/vfio-pci:

Loading config from /boot/config/vfio-pci.cfg
BIND=0000:00:02.1|8086:4680
---
Processing 0000:00:02.1 8086:4680
Vendor:Device 8086:4680 found at 0000:00:02.1

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:00:02.1/iommu_group/devices/0000:00:02.1

Binding...
0000:00:02.1 already bound to vfio-pci
Successfully bound the device 8086:4680 at 0000:00:02.1 to vfio-pci
---
vfio-pci binding complete

Devices listed in /sys/bus/pci/drivers/vfio-pci:
lrwxrwxrwx 1 root root    0 Mar 28 16:01 0000:00:02.1 -> ../../../../devices/pci0000:00/0000:00:02.1

 

 

Yay I finally got it working!!!

 

Tried everything: Reinstalling the plugin, intel_gpu_top, using the modified kernel instead of the addon...

But the error 43 always remained.

 

The solution was the following:

Although I already had the intel GPU driver installed, I had to reinstall it with the option for "clean install" marked (otherwise it didnt't work). After the reinstall everything worked as a charm

 

I'm finally able to run my Win11 VM on VF 2.1 with Parsec (using the Virtual Display Driver) (don't forget to remove the Red Hat Display Driver)

does anyone have transcoding issues with Plex, when enabled the VFs?

 

25 minutes ago, zhtengw said:

I just fix this issue in unRaid 6.11.5, remove /boot/config/plugins/i915-sriov/5.19.17 and reboot will update the module 

 

ok i test it rigth away.

 

*edit* Yes your Patch works like Charm! Thank you. *edit*

Edited by domrockt

I installed the plugin earlier this week, just before is appeared on CA

 

Since then, my Plex and Fileflows containers can't use quicksync anymore, any flows that need transcoding are failing with:
 

[WARN] -> Cant process '/usr/local/bin/ffmpeg -loglevel error -f lavfi -i color=black:s=1080x1080 -vframes 1 -an -c:v hevc_nvenc -f null -': [hevc_nvenc @ 0x55702636efc0] Cannot load libcuda.so.1

Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height



And Plex is now hammering my CPU directly for any HW transcode streams.

Is there anything I need to change in the params or individual configs for plex/fileflows so they're using the correct device(s)?

 

They both currently have --device=/dev/dri in the extra params which was working before I split out the device.

(I'm on an i5-12600K)


*EDIT* - Just saw the post about someone with the plex issue and they 6.11.5 fix. I'll try it this evening and see if it fixed file flows as well. Would it be worth swapping to the CA version, or do they pull from the same place? I did update it a couple of days ago but not sure if they're in sync or not.

Edited by Lyraad

12 minutes ago, Lyraad said:

I installed the plugin earlier this week, just before is appeared on CA

 

Since then, my Plex and Fileflows containers can't use quicksync anymore, any flows that need transcoding are failing with:
 

[WARN] -> Cant process '/usr/local/bin/ffmpeg -loglevel error -f lavfi -i color=black:s=1080x1080 -vframes 1 -an -c:v hevc_nvenc -f null -': [hevc_nvenc @ 0x55702636efc0] Cannot load libcuda.so.1

Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height



And Plex is now hammering my CPU directly for any HW transcode streams.

Is there anything I need to change in the params or individual configs for plex/fileflows so they're using the correct device(s)?

 

They both currently have --device=/dev/dri in the extra params which was working before I split out the device.

(I'm on an i5-12600K)


*EDIT* - Just saw the post about someone with the plex issue and they 6.11.5 fix. I'll try it this evening and see if it fixed file flows as well. Would it be worth swapping to the CA version, or do they pull from the same place? I did update it a couple of days ago but not sure if they're in sync or not.

 i just reeinstalled the plugin, since i went back to stock to check if the problem comes from sriov. 

Thanks for working on this plugin! Was just asking the Unraid Discord about this issue a few weeks ago...

 

I've followed all of the steps and believe that I have the plugin working as intended, but I think my motherboard is causing it not to be usable for me yet. This is new for me, so I'm wondering if anyone can confirm my suspicions. Do I need to have an 'SR-IOV' setting enabled in my BIOS for this to work? I have IOMMU enabled and virtualization works fine, but I haven't found an option for enabling 'SR-IOV' specifically.

 

Motherboard: Gigabyte Technology Co., Ltd. Z790 UD AC (updated to the latest BIOS Version F4 Dated 03/07/2023)

CPU: 12th Gen Intel® Core™ i5-12600K @ 3700 MHz

33 minutes ago, balvras said:

Thanks for working on this plugin! Was just asking the Unraid Discord about this issue a few weeks ago...

 

I've followed all of the steps and believe that I have the plugin working as intended, but I think my motherboard is causing it not to be usable for me yet. This is new for me, so I'm wondering if anyone can confirm my suspicions. Do I need to have an 'SR-IOV' setting enabled in my BIOS for this to work? I have IOMMU enabled and virtualization works fine, but I haven't found an option for enabling 'SR-IOV' specifically.

 

Motherboard: Gigabyte Technology Co., Ltd. Z790 UD AC (updated to the latest BIOS Version F4 Dated 03/07/2023)

CPU: 12th Gen Intel® Core™ i5-12600K @ 3700 MHz

 i checked your Bios Manual and cannot find any sr-iov setting either, iam afraid there is none and your suspicions are right. 

plugin: installing: i915-sriov.plg
Executing hook script: pre_plugin_checks
plugin: downloading: i915-sriov.plg ... done

Executing hook script: pre_plugin_checks

+==============================================================================
| Skipping package unraid-i915-sriov-2023.03.30 (already installed)
+==============================================================================

patching file usr/local/emhttp/plugins/dynamix.vm.manager/include/libvirt.php
Hunk #1 FAILED at 780.
1 out of 1 hunk FAILED -- saving rejects to file usr/local/emhttp/plugins/dynamix.vm.manager/include/libvirt.php.rej
plugin: run failed: /bin/bash
Executing hook script: post_plugin_checks

 

getting this error, when trying to update the plugin to the latest version

  • Author
3 hours ago, Acidcliff said:
plugin: installing: i915-sriov.plg
Executing hook script: pre_plugin_checks
plugin: downloading: i915-sriov.plg ... done

Executing hook script: pre_plugin_checks

+==============================================================================
| Skipping package unraid-i915-sriov-2023.03.30 (already installed)
+==============================================================================

patching file usr/local/emhttp/plugins/dynamix.vm.manager/include/libvirt.php
Hunk #1 FAILED at 780.
1 out of 1 hunk FAILED -- saving rejects to file usr/local/emhttp/plugins/dynamix.vm.manager/include/libvirt.php.rej
plugin: run failed: /bin/bash
Executing hook script: post_plugin_checks

 

getting this error, when trying to update the plugin to the latest version

Sorry, it's the first version with web setting page. May cause some file conflicts. Could you please try remove the old plugin then install the new one?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.