unRAID plugin for iGPU SR-IOV support


Recommended Posts

7 minutes ago, always67 said:

首先是位中文大佬?

我刚刚把系统升级到了6.12 rc2,安装了插件,也显示安装成功并重启了,但是并没有看到vf设备呢?

铭瑄h610itx+12100

ls/dev/dri好像是能看到三个显卡,但是设备里看不到105BC5D9-164F-4DF5-A644-7285DFFE5449.thumb.png.8ee551b548c54a812cd7cfd86cf73ac9.png01F6F7BC-44AB-49BB-A108-B71F1F54CA45.thumb.png.17bcac7092cb7d8d50891743e376d706.png

Link to comment

i tryed the new version but no luck, iam near i can smell it.... its close to working.. i make some sort of mistake on my behalve..

 

steps i did

 

1) in Bios enable sriov

2) install i915-sriov Plugin from the link (for now) you provide

3) i checked modprobe.D there is a file called i915-sriov.conf inside that file this is generated

# disable autoload old i915 module on boot
  blacklist i915 
  options i915 enable_guc=7
 

4) i checked my go file and as far i see the Plugin created all entries, right?

 

#!/bin/bash

# Start the Management Utility
/usr/local/sbin/emhttp & 
echo 12.884.901.888 >>
#p8 state nvidia
nvidia-persistenced
# -------------------------------------------------
# disable haveged as we trust /dev/random
# https://forums.unraid.net/topic/79616-haveged-daemon/?tab=comments#comment-903452
# -------------------------------------------------
/etc/rc.d/rc.haveged stop
#Adjusting ARC memory usage (limit 32GB)
echo 17179869184 >> /sys/module/zfs/parameters/zfs_arc_max
/usr/local/sbin/vfio-pci >>/var/log/vfio-pcimodprobe i915 && sleep 3
echo 4 > /sys/devices/pci0000:00/0000:00:02.0/sriov_numvfs && /usr/local/sbin/vfio-pci

 

5) reboot ---> still no VF's but with dmesg | grep i915 i find this now

 

[ 1167.953182] i915 0000:00:02.0: Running in SR-IOV PF mode
[ 1167.953842] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 1167.953844] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 1167.953875] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[ 1167.954525] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 1167.956813] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[ 1167.957104] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 1168.065160] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[ 1168.065164] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[ 1168.066266] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[ 1168.066267] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[ 1168.066668] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.bin version 70.5.1
[ 1168.066669] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[ 1168.067168] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[ 1168.067170] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[ 1168.069199] i915 0000:00:02.0: [drm] HuC authenticated
[ 1168.069660] i915 0000:00:02.0: [drm] GuC submission enabled
[ 1168.069661] i915 0000:00:02.0: [drm] GuC SLPC enabled
[ 1168.070107] i915 0000:00:02.0: [drm] GuC RC: enabled
[ 1168.070958] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[ 1168.071031] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[ 1168.096061] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 1168.109162] i915 0000:00:02.0: 7 VFs could be associated with this PF
[ 1168.136649] fbcon: i915drmfb (fb0) is primary device
[ 1168.197292] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device

 

 

6) The PF (00:02.0) could be used by Unraid host. And the VFs(00:02.x) are only used for passthrough to VMs

7) instal IGPU Intel driber in guestsystem win/linux

 

 

Edited by domrockt
Link to comment
2 hours ago, zhtengw said:

I update the plugin, add sleep 3 after modprobe i915 to ensure it is fully loaded. And add /usr/local/sbin/vfio-pci. You may reinstall the plugin and have a try.

 

I am very grateful that you can help me to test my first plugin.

 

is "add sleep 3 after modprobe i915" a typo? or could you be more specific what is needed here?

Link to comment
7 hours ago, domrockt said:

i tryed the new version but no luck, iam near i can smell it.... its close to working.. i make some sort of mistake on my behalve..

 

steps i did

 

1) in Bios enable sriov

2) install i915-sriov Plugin from the link (for now) you provide

3) i checked modprobe.D there is a file called i915-sriov.conf inside that file this is generated

# disable autoload old i915 module on boot
  blacklist i915 
  options i915 enable_guc=7
 

4) i checked my go file and as far i see the Plugin created all entries, right?

 

#!/bin/bash

# Start the Management Utility
/usr/local/sbin/emhttp & 
echo 12.884.901.888 >>
#p8 state nvidia
nvidia-persistenced
# -------------------------------------------------
# disable haveged as we trust /dev/random
# https://forums.unraid.net/topic/79616-haveged-daemon/?tab=comments#comment-903452
# -------------------------------------------------
/etc/rc.d/rc.haveged stop
#Adjusting ARC memory usage (limit 32GB)
echo 17179869184 >> /sys/module/zfs/parameters/zfs_arc_max
/usr/local/sbin/vfio-pci >>/var/log/vfio-pcimodprobe i915 && sleep 3
echo 4 > /sys/devices/pci0000:00/0000:00:02.0/sriov_numvfs && /usr/local/sbin/vfio-pci

 

5) reboot ---> still no VF's but with dmesg | grep i915 i find this now

 

[ 1167.953182] i915 0000:00:02.0: Running in SR-IOV PF mode
[ 1167.953842] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 1167.953844] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 1167.953875] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[ 1167.954525] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 1167.956813] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[ 1167.957104] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 1168.065160] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[ 1168.065164] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[ 1168.066266] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[ 1168.066267] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[ 1168.066668] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.bin version 70.5.1
[ 1168.066669] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[ 1168.067168] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[ 1168.067170] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[ 1168.069199] i915 0000:00:02.0: [drm] HuC authenticated
[ 1168.069660] i915 0000:00:02.0: [drm] GuC submission enabled
[ 1168.069661] i915 0000:00:02.0: [drm] GuC SLPC enabled
[ 1168.070107] i915 0000:00:02.0: [drm] GuC RC: enabled
[ 1168.070958] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[ 1168.071031] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[ 1168.096061] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 1168.109162] i915 0000:00:02.0: 7 VFs could be associated with this PF
[ 1168.136649] fbcon: i915drmfb (fb0) is primary device
[ 1168.197292] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device

 

 

6) The PF (00:02.0) could be used by Unraid host. And the VFs(00:02.x) are only used for passthrough to VMs

7) instal IGPU Intel driber in guestsystem win/linux

 

 

The PF is worked. What the output of "cat /sys/devices/pci0000\:00/0000\:00\:02.0/sriov_numvfs". And have you tried running "echo 4 > /sys/devices/pci0000\:00/0000\:00\:02.0/sriov_numvfs" manually?

Link to comment
6 hours ago, domrockt said:

 

is "add sleep 3 after modprobe i915" a typo? or could you be more specific what is needed here?

During my multi reboot test, the terminal complain that sriov_numvfs not found several times when run to "echo 4 > /sys/devices/pci0000\:00/0000\:00\:02.0/sriov_numvfs" in go script. Then I found out that it is because of i915 sriov module not fully loaded. So I add "sleep 3" after "modprode i915" to wait 3 seconds. Then I have no "sriov_numvfs not found" issues in my reboot tests.

Link to comment
4 hours ago, zhtengw said:

The PF is worked. What the output of "cat /sys/devices/pci0000\:00/0000\:00\:02.0/sriov_numvfs". And have you tried running "echo 4 > /sys/devices/pci0000\:00/0000\:00\:02.0/sriov_numvfs" manually?

 

 

no waaaay...... it works....  iam pre clearing a  disk right now... but i will try the sleep command to. i cant freaking believe it :D awsome, 

the sleep command could be used as alternative branch as Plugin.

unraid.thumb.jpg.c9ff54d04fe666104efa49830ea7db69.jpg

 

Link to comment
1 hour ago, XuJiaxing said:

大佬,能否通过vbios实现虚拟机输出画面?这样就完美了呀

目前SR-IOV没有帧缓冲区,无法输出显示。我们只是Intel驱动的搬运工,没有能力做到更多,还得看Intel的后续开发更新。

Link to comment
6 hours ago, domrockt said:

 

 

no waaaay...... it works....  iam pre clearing a  disk right now... but i will try the sleep command to. i cant freaking believe it :D awsome, 

the sleep command could be used as alternative branch as Plugin.

unraid.thumb.jpg.c9ff54d04fe666104efa49830ea7db69.jpg

 

 

so i  tested some more... i cant get it to work on boot.. idk why. could there be something wrong  with my go file? 

when i add "echo 4 > /sys/devices/pci0000\:00/0000\:00\:02.0/sriov_numvfs" manually i have my 4 FVs when stubbed already to use.

But when i reboot they are gone and i need to put in "echo 4 > /sys/devices/pci0000\:00/0000\:00\:02.0/sriov_numvfs" manually.

 

i mean a cron on startup will do the job but strange enough.

 

 

So i spun up an test VM win 10

 

I did 

 

1) in Bios enable sriov

2) Intel GPU TOP

3) install i915-sriov Plugin from the link (for now) you provide

4) add the ammount of FVs in the go file , echo 4 > /sys/devices/pci0000:00/0000:00:02.0/sriov_numvfs 

5) I need to make an userscript cron on first boot array "echo 4 > /sys/devices/pci0000\:00/0000\:00\:02.0/sriov_numvfs"

5) reboot

 

6) The PF (00:02.0) could be used by Unraid host. And the VFs(00:02.x) are only used for passthrough to VMs

7) install any VM 

8 ) install the intel driver (Linux) or gibe the VM some time Windows update gets the driver on its own.

 

 

 

unraid.thumb.jpg.85a8a132cce35f34c58c90847bc450c2.jpg

 

 

 

 

 

 

 

 

 

 

 

Edited by domrockt
Link to comment

The plugin made it possible to have a working GPU without code 43 in a Windows 11 VM. 

 

Previously, when I selected 00:02.0 video card, the screen on the laptop went from Unraid Console output to black, and I could RDP into Windows. But no screen output on the laptop. This gave me the Code 43 and a message in the log stating that it couldn't find a ROM.

 

image.png.0dbe430716857aa89eeb08b9c0f18742.png

 

When I select 00:02.1 the laptop's screen remains to outputs the Unraid console output.  Within Windows 11 (via RDP) I can see that video card is working (no more Code 43). 

 

What about getting output on a physical connection on the (in my case) laptop or on the screen of the laptop?

Link to comment

G6900,UHD710,铭瑄H610M,插件版本2023.03.28

# dmesg | grep i915
[   51.865531] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   51.865556] i915 0000:00:02.0: vgaarb: deactivate vga console
[   51.865592] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[   51.866176] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   51.869710] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[   51.997243] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[   51.997247] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[   51.998655] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[   51.998657] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[   51.999016] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.bin version 70.5.1
[   51.999018] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[   51.999454] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[   51.999455] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[   52.002178] i915 0000:00:02.0: [drm] HuC authenticated
[   52.002665] i915 0000:00:02.0: [drm] GuC submission enabled
[   52.002665] i915 0000:00:02.0: [drm] GuC SLPC enabled
[   52.002974] i915 0000:00:02.0: [drm] GuC RC: enabled
[   52.003523] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   52.004197] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   52.011018] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   52.011092] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
# cat /sys/devices/pci0000:00/0000:00:02.0/sriov_numvfs
0

手动执行 echo 2 > /sys/devices/pci0000:00/0000:00:02.0/sriov_numvfs,提示 -bash: echo: write error: Numerical result out of range

可以帮我看看问题出在哪里吗。

image.thumb.png.2ba29554650a585dc0a52192e44c918c.png

Link to comment
4 minutes ago, 涼風桜雨 said:

G6900,UHD710,铭瑄H610M,插件版本2023.03.28

# dmesg | grep i915
[   51.865531] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   51.865556] i915 0000:00:02.0: vgaarb: deactivate vga console
[   51.865592] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[   51.866176] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   51.869710] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[   51.997243] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[   51.997247] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[   51.998655] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[   51.998657] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[   51.999016] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.bin version 70.5.1
[   51.999018] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[   51.999454] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Class(1):Compute(4)!
[   51.999455] i915 0000:00:02.0: [drm] Missing GuC-Err-Cap reglist Instance(2):Compute(4)!
[   52.002178] i915 0000:00:02.0: [drm] HuC authenticated
[   52.002665] i915 0000:00:02.0: [drm] GuC submission enabled
[   52.002665] i915 0000:00:02.0: [drm] GuC SLPC enabled
[   52.002974] i915 0000:00:02.0: [drm] GuC RC: enabled
[   52.003523] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   52.004197] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   52.011018] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   52.011092] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
# cat /sys/devices/pci0000:00/0000:00:02.0/sriov_numvfs
0

手动执行 echo 2 > /sys/devices/pci0000:00/0000:00:02.0/sriov_numvfs,提示 -bash: echo: write error: Numerical result out of range

可以帮我看看问题出在哪里吗。

 

你好,可以看看“cat /sys/devices/pci0000:00/0000:00:02.0/sriov_totalvfs” 和 “lspci -vs 00:02.0 ” 这两个命令的输出吗?

Link to comment
4 minutes ago, zhtengw said:

你好,可以看看“cat /sys/devices/pci0000:00/0000:00:02.0/sriov_totalvfs” 和 “lspci -vs 00:02.0 ” 这两个命令的输出吗?

# cat /sys/devices/pci0000:00/0000:00:02.0/sriov_totalvfs
0

# lspci -vs 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 710] (rev 0c) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Flags: bus master, fast devsel, latency 0, IRQ 138, IOMMU group 0
        Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 80000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 5000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
        Kernel driver in use: i915
        Kernel modules: i915

 

Link to comment
Just now, 涼風桜雨 said:
# cat /sys/devices/pci0000:00/0000:00:02.0/sriov_totalvfs
0

# lspci -vs 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 710] (rev 0c) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Flags: bus master, fast devsel, latency 0, IRQ 138, IOMMU group 0
        Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 80000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 5000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
        Kernel driver in use: i915
        Kernel modules: i915

 

很遗憾,totalvfs显示是0,赛扬这个U虽然支持SR-IOV功能,但可用的vf是0,分配不出来虚拟显卡。

Link to comment

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

为啥没有权限....

 

Link to comment
2 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

为啥没有权限....

 

same here no permission :(

 

 

lspci -vs 00:02.0
00:02.0 VGA compatible controller: Intel Corporation RocketLake-S GT1 [UHD Graphics 750] (rev 04) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Subsystem: ASUSTeK Computer Inc. RocketLake-S GT1 [UHD Graphics 750]
        Flags: bus master, fast devsel, latency 0, IRQ 154, IOMMU group 0
        Memory at 6202000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4000000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 7000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Kernel driver in use: i915
        Kernel modules: i915

root@backup:~# dmesg | grep i915 
[   31.534332] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   31.534368] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[   31.535380] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   31.537291] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[   31.537573] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/rkl_dmc_ver2_03.bin (v2.3)
[   31.648602] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.1.1.bin version 70.1.1
[   31.648605] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9.3
[   31.650840] i915 0000:00:02.0: [drm] HuC authenticated
[   31.651376] i915 0000:00:02.0: [drm] GuC submission enabled
[   31.651376] i915 0000:00:02.0: [drm] GuC SLPC enabled
[   31.651704] i915 0000:00:02.0: [drm] GuC RC: enabled
[   31.652810] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[   31.652877] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   31.653528] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   31.668480] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   31.668564] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

 

Edited by ptichalouf
Link to comment

same here.

 

lspci -vs 00:02.0:

00:02.0 VGA compatible controller: Intel Corporation RocketLake-S [UHD Graphics] (rev 04) (prog-if 00 [VGA controller])
        Subsystem: Super Micro Computer Inc RocketLake-S [UHD Graphics]
        Flags: bus master, fast devsel, latency 0, IRQ 200, IOMMU group 0
        Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4000000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Kernel driver in use: i915
        Kernel modules: i915

 

dmesg | grep i915

[   56.966261] i915: loading out-of-tree module taints kernel.
[   57.087072] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   57.087121] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[   57.088040] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   57.090762] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/rkl_dmc_ver2_03.bin (v2.3)
[   57.757911] i915 0000:00:02.0: [drm] failed to retrieve link info, disabling eDP
[   57.866605] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.1.1.bin version 70.1.1
[   57.866607] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9.3
[   57.869083] i915 0000:00:02.0: [drm] HuC authenticated
[   57.869580] i915 0000:00:02.0: [drm] GuC submission enabled
[   57.869580] i915 0000:00:02.0: [drm] GuC SLPC enabled
[   57.869902] i915 0000:00:02.0: [drm] GuC RC: enabled
[   57.870356] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   57.871036] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[   57.882256] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   57.882376] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

 

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

 

I have a Intel® Xeon® E-2356G

 

Link to comment
1 minute ago, DjSni said:

same here.

 

lspci -vs 00:02.0:

00:02.0 VGA compatible controller: Intel Corporation RocketLake-S [UHD Graphics] (rev 04) (prog-if 00 [VGA controller])
        Subsystem: Super Micro Computer Inc RocketLake-S [UHD Graphics]
        Flags: bus master, fast devsel, latency 0, IRQ 200, IOMMU group 0
        Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4000000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Kernel driver in use: i915
        Kernel modules: i915

 

dmesg | grep i915

[   56.966261] i915: loading out-of-tree module taints kernel.
[   57.087072] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   57.087121] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[   57.088040] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   57.090762] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/rkl_dmc_ver2_03.bin (v2.3)
[   57.757911] i915 0000:00:02.0: [drm] failed to retrieve link info, disabling eDP
[   57.866605] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.1.1.bin version 70.1.1
[   57.866607] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9.3
[   57.869083] i915 0000:00:02.0: [drm] HuC authenticated
[   57.869580] i915 0000:00:02.0: [drm] GuC submission enabled
[   57.869580] i915 0000:00:02.0: [drm] GuC SLPC enabled
[   57.869902] i915 0000:00:02.0: [drm] GuC RC: enabled
[   57.870356] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   57.871036] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[   57.882256] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   57.882376] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

 

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

 

I have a Intel® Xeon® E-2356G

 

Rocket lake is gvt-g. sriov starts with tigerlake.https://www.intel.co.uk/content/www/uk/en/support/articles/000093216/graphics.html

Link to comment
2 hours ago, ptichalouf said:

same here no permission :(

 

 

lspci -vs 00:02.0
00:02.0 VGA compatible controller: Intel Corporation RocketLake-S GT1 [UHD Graphics 750] (rev 04) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Subsystem: ASUSTeK Computer Inc. RocketLake-S GT1 [UHD Graphics 750]
        Flags: bus master, fast devsel, latency 0, IRQ 154, IOMMU group 0
        Memory at 6202000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4000000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 7000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Kernel driver in use: i915
        Kernel modules: i915

root@backup:~# dmesg | grep i915 
[   31.534332] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   31.534368] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[   31.535380] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   31.537291] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[   31.537573] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/rkl_dmc_ver2_03.bin (v2.3)
[   31.648602] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.1.1.bin version 70.1.1
[   31.648605] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9.3
[   31.650840] i915 0000:00:02.0: [drm] HuC authenticated
[   31.651376] i915 0000:00:02.0: [drm] GuC submission enabled
[   31.651376] i915 0000:00:02.0: [drm] GuC SLPC enabled
[   31.651704] i915 0000:00:02.0: [drm] GuC RC: enabled
[   31.652810] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[   31.652877] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[   31.653528] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   31.668480] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[   31.668564] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

 

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

Link to comment
  • zhtengw changed the title to unRAID plugin for iGPU SR-IOV support
  • ich777 locked this topic
Guest
This topic is now closed to further replies.