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 i915 SR-IOV 插件

Featured Replies

写了一个支持11代12代intel GPU开启SR-IOV的插件,

GitHub地址:https://github.com/zhtengw/unraid-i915-sriov
在unraid插件安装页面,输入此链接https://raw.githubusercontent.com/zhtengw/unraid-i915-sriov/master/i915-sriov.plg安装插件,然后重启即可使用。
插件支持unRAID版本:6.11.0~6.11.5, 6.12.0-rc1, 6.12.0-rc2

  • Replies 76
  • Views 31.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • hanierming
    hanierming

    希望能出个详细的教程,安装完插件就不会搞了

  • 能不能贴一下 dmesg | grep i915的输出,还有你除了sriov还装了哪些有关核显的插件

  • 你好,Linux下的日志都是正常的。Windows里报43错误可能跟几个因素相关: 1、虚拟机不是只留一个直通VF作为主显卡 2、虚拟机Windows系统没有安装最新的Intel核显驱动 3、使用的是测试版的CPU 或者你可以切换虚拟机的机型和BIOS试一下。    

Posted Images

哇,支持下。下载安装试试

中文大佬你好,p750核显能用该插件吗?

希望能出个详细的教程,安装完插件就不会搞了

首先非常感谢大佬为12代写的插件,用新cpu做nas的用户还是太少了。

 

用上插件后,在显卡这里已经成功拆分成3个了。 但是选中后依旧会报一个“XML error: Attempted double use of PCI Address 0000:00:02.0”错误。

但其实我很确定没有其他docker或虚拟机在使用核显。

这种情况怎么排查呢

 

image.png.5c9d6ed8878e89dc7bcaebd6ce01a30e.png

image.png.55e5cd9beb497233a54d0e7db300d18e.png

安装插件后不需要其它如何设置,只需要在虚拟机中直通虚拟出的显卡就可以了吗?谢谢!

  • Author
16 hours ago, 277714865 said:

首先非常感谢大佬为12代写的插件,用新cpu做nas的用户还是太少了。

 

用上插件后,在显卡这里已经成功拆分成3个了。 但是选中后依旧会报一个“XML error: Attempted double use of PCI Address 0000:00:02.0”错误。

但其实我很确定没有其他docker或虚拟机在使用核显。

这种情况怎么排查呢

 

image.png.5c9d6ed8878e89dc7bcaebd6ce01a30e.png

image.png.55e5cd9beb497233a54d0e7db300d18e.png

这个可能是因为我给虚拟机设置页打的补丁过于简单了,有些情况没考虑到,今天更新了一下补丁,更新插件试试。

  • Author
1 minute ago, emuzi said:

安装插件后不需要其它如何设置,只需要在虚拟机中直通虚拟出的显卡就可以了吗?谢谢!

对,跟直通其他设备差不多,先在Tools->System Devices里面把虚拟显卡绑定到VFIO-PCI,重启后虚拟机主显卡选择虚拟显卡的地址就行了。虚拟机系统里也要安装驱动。

  • Author
17 hours ago, hanierming said:

希望能出个详细的教程,安装完插件就不会搞了

跟直通其他硬件差不多,也参考英文支持帖的这个帖子

 

后续有时间给插件加个页面,方便设置虚拟显卡数量和查看信息

40 minutes ago, zhtengw said:

对,跟直通其他设备差不多,先在Tools->System Devices里面把虚拟显卡绑定到VFIO-PCI,重启后虚拟机主显卡选择虚拟显卡的地址就行了。虚拟机系统里也要安装驱动。

谢谢,期待实现虚拟显卡输出到显示器的方案

请问可以支持n5105吗(代号jasperlaker。核显为uhd系列)

  • Author
2 minutes ago, yeweimei123 said:

请问可以支持n5105吗(代号jasperlaker。核显为uhd系列)

你好,这个我不清楚,可以安装插件,然后看看“cat /sys/devices/pci0000:00/0000:00:02.0/sriov_totalvfs” 和 “lspci -vs 00:02.0 ” 这两个命令的输出

10 hours ago, zhtengw said:

对,跟直通其他设备差不多,先在Tools->System Devices里面把虚拟显卡绑定到VFIO-PCI,重启后虚拟机主显卡选择虚拟显卡的地址就行了。虚拟机系统里也要安装驱动。

怎么绑定呢,我打开这个页面就只能看不能改,不过确实看到了有3个显卡。

00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)

[8086:4692]00:02.1 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)

[8086:4692]00:02.2 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)

 

编辑虚拟机也选不了

12 hours ago, hanierming said:

怎么绑定呢,我打开这个页面就只能看不能改,不过确实看到了有3个显卡。

00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)

[8086:4692]00:02.1 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)

[8086:4692]00:02.2 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)

 

编辑虚拟机也选不了

是不是因为主板没开虚拟化?用的铭瑄b660m

虚拟机选择00.02.0会提示重复使用,选择插件新增的00.02.1或00.02.2会提示“XML error: Invalid PCI address 0000:06:10.0. slot must be <= 0”,有佬知道怎么解决吗

  • Author
11 minutes ago, deyangchu said:

虚拟机选择00.02.0会提示重复使用,选择插件新增的00.02.1或00.02.2会提示“XML error: Invalid PCI address 0000:06:10.0. slot must be <= 0”,有佬知道怎么解决吗

q35会有问题,要把机型改成i440fx

  • Author
12 minutes ago, deyangchu said:

虚拟机选择00.02.0会提示重复使用,选择插件新增的00.02.1或00.02.2会提示“XML error: Invalid PCI address 0000:06:10.0. slot must be <= 0”,有佬知道怎么解决吗

下个版本看看能不能解决

2 hours ago, zhtengw said:

q35会有问题,要把机型改成i440fx

改了之后提示 

XML error: The PCI controller with index='0' must be model='pci-root' for this machine type, but model='pcie-root' was found instead

  • Author
42 minutes ago, hanierming said:

改了之后提示 

XML error: The PCI controller with index='0' must be model='pci-root' for this machine type, but model='pcie-root' was found instead

修改机型的问题算是libvirt的已知bug,你可以参考一下网上的解决方案

https://github.com/virt-manager/virt-manager/issues/398

  • Author
On 3/31/2023 at 11:27 AM, deyangchu said:

虚拟机选择00.02.0会提示重复使用,选择插件新增的00.02.1或00.02.2会提示“XML error: Invalid PCI address 0000:06:10.0. slot must be <= 0”,有佬知道怎么解决吗

你好,4月1日的版本可以加了机型判断,可以给q35机型分配了,试试能不能用

On 4/1/2023 at 10:53 PM, zhtengw said:

你好,4月1日的版本可以加了机型判断,可以给q35机型分配了,试试能不能用

可以了👍

大佬,碰到个问题,

unraid:6.11.5

image.thumb.png.d62f185ba0d8fb030fbd4f9a429b1c10.png

 

命令查看应该也支持,我记得刚开始装是可以虚拟出来的,后来不知道怎么突然没了,设备列表里只有一个核显。

设置虚拟数量,点应用日志里显示:

image.thumb.png.a95627c81074b914214ab55c660c1e1a.png

  • Author
4 hours ago, Tory said:

大佬,碰到个问题,

unraid:6.11.5

image.thumb.png.d62f185ba0d8fb030fbd4f9a429b1c10.png

 

命令查看应该也支持,我记得刚开始装是可以虚拟出来的,后来不知道怎么突然没了,设备列表里只有一个核显。

设置虚拟数量,点应用日志里显示:

image.thumb.png.a95627c81074b914214ab55c660c1e1a.png

能不能贴一下 dmesg | grep i915的输出,还有你除了sriov还装了哪些有关核显的插件

8 hours ago, zhtengw said:

能不能贴一下 dmesg | grep i915的输出,还有你除了sriov还装了哪些有关核显的插件

image.png.90b712d80d607786712e4b65b2838114.png

没有915相关的日志,我装了GPU Statistics和Intel GPU TOP,我昨天删掉了这个配置文件中gui相关的启动项,重启之后又可以调整vfs了,不确定是哪里导致的,

另外请教一下,12代C虚拟win10使用核显有什么办法可以外接显示器吗

image.thumb.png.08c62d9a529f5609ade1da31db2071ce.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.