<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Intel Data Center GPU Flex 140 SR-IOV Virtualization IOMMU Group Problem in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/Intel-Data-Center-GPU-Flex-140-SR-IOV-Virtualization-IOMMU-Group/m-p/1567845#M127889</link>
    <description>&lt;P&gt;I found the solution. In the BIOS "PCIe ARI Support" and "ACS Enable" had to be enabled. Now all the devices are in seperate IOMMU Groups and I can pass a&amp;nbsp;&lt;SPAN&gt;virtual instance gpu instance to the vm.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 10:50:36 GMT</pubDate>
    <dc:creator>z0Kng</dc:creator>
    <dc:date>2024-01-31T10:50:36Z</dc:date>
    <item>
      <title>Intel Data Center GPU Flex 140 SR-IOV Virtualization IOMMU Group Problem</title>
      <link>https://community.intel.com/t5/Graphics/Intel-Data-Center-GPU-Flex-140-SR-IOV-Virtualization-IOMMU-Group/m-p/1566956#M127772</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am currently setting up a VM with GPU SR-IOV Virtualisation. My setup is:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Ubuntu 22.04.3 LTS&lt;BR /&gt;AMD EPYC 7742&lt;BR /&gt;G242-Z11-00&lt;BR /&gt;Intel Data Centre Flex 140&lt;/P&gt;&lt;P&gt;I followed these instructions: &lt;A href="https://github.com/intel/media-delivery/blob/master/doc/virtualization.rst#id8" target="_blank"&gt;https://github.com/intel/media-delivery/blob/master/doc/virtualization.rst#id8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I was able to successfully create a virtual instance (07:00.1) as you can see here:&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;$ lspci -nnk | grep -A 3 -i 56c1
07:00.0 Display controller [0380]: Intel Corporation Device [8086:56c1] (rev 05)
Subsystem: Intel Corporation Device [8086:4905]
Kernel driver in use: i915
Kernel modules: intel_vsec, i915
07:00.1 Display controller [0380]: Intel Corporation Device [8086:56c1] (rev 05)
Subsystem: Intel Corporation Device [8086:4905]
Kernel driver in use: vfio-pci
Kernel modules: intel_vsec, i915
--
0a:00.0 Display controller [0380]: Intel Corporation Device [8086:56c1] (rev 05)
Subsystem: Intel Corporation Device [8086:4905]
Kernel driver in use: i915
Kernel modules: intel_vsec, i915&lt;/LI-CODE&gt;&lt;P&gt;However, the problem is as soon as I pass the virtual instance as described in the instructions using&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;-device vfio-pci,host=07:00.1&lt;/LI-CODE&gt;&lt;P&gt;to a VM in QEMU I get the following error message:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;vfio 0000:07:00.1: group 0 is not viable
Please ensure all devices within the iommu_group are bound to their vfio bus driver.&lt;/LI-CODE&gt;&lt;P&gt;The IOMMU group of the GPU is as follows:&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;IOMMU Group 0:
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
01:00.0 PCI bridge [0604]: Broadcom / LSI PEX88048 50 lane, 50 port, PCI Express Gen 4.0 ExpressFabric Platform [1000:c010] (rev b0)
02:00.0 PCI bridge [0604]: Broadcom / LSI PEX88048 50 lane, 50 port, PCI Express Gen 4.0 ExpressFabric Platform [1000:c010] (rev b0)
03:00.0 PCI bridge [0604]: Broadcom / LSI PEX88048 50 lane, 50 port, PCI Express Gen 4.0 ExpressFabric Platform [1000:c010] (rev b0)
04:08.0 PCI bridge [0604]: Broadcom / LSI PEX88048 50 lane, 50 port, PCI Express Gen 4.0 ExpressFabric Platform [1000:c010] (rev b0)
04:18.0 PCI bridge [0604]: Broadcom / LSI PEX88048 50 lane, 50 port, PCI Express Gen 4.0 ExpressFabric Platform [1000:c010] (rev b0)
05:00.0 PCI bridge [0604]: Intel Corporation Device [8086:4fa1] (rev 01)
06:01.0 PCI bridge [0604]: Intel Corporation Device [8086:4fa4]
07:00.0 Display controller [0380]: Intel Corporation Device [8086:56c1] (rev 05)
07:00.1 Display controller [0380]: Intel Corporation Device [8086:56c1] (rev 05)
08:00.0 PCI bridge [0604]: Intel Corporation Device [8086:4fa1] (rev 01)
09:01.0 PCI bridge [0604]: Intel Corporation Device [8086:4fa4]
0a:00.0 Display controller [0380]: Intel Corporation Device [8086:56c1] (rev 05)&lt;/LI-CODE&gt;&lt;P&gt;I have already tried swapping the PCIE slot, but all the devices mentioned remain togehter in one group. One question now is, should all these devices be in a different IOMMU group, including the real GPU and the PCI bridges? Do the Broadcom / LSI PEX88048 belong to the GPU?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be very grateful if you could help me to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 08:35:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-Data-Center-GPU-Flex-140-SR-IOV-Virtualization-IOMMU-Group/m-p/1566956#M127772</guid>
      <dc:creator>z0Kng</dc:creator>
      <dc:date>2024-01-29T08:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Data Center GPU Flex 140 SR-IOV Virtualization IOMMU Group Problem</title>
      <link>https://community.intel.com/t5/Graphics/Intel-Data-Center-GPU-Flex-140-SR-IOV-Virtualization-IOMMU-Group/m-p/1567845#M127889</link>
      <description>&lt;P&gt;I found the solution. In the BIOS "PCIe ARI Support" and "ACS Enable" had to be enabled. Now all the devices are in seperate IOMMU Groups and I can pass a&amp;nbsp;&lt;SPAN&gt;virtual instance gpu instance to the vm.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 10:50:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-Data-Center-GPU-Flex-140-SR-IOV-Virtualization-IOMMU-Group/m-p/1567845#M127889</guid>
      <dc:creator>z0Kng</dc:creator>
      <dc:date>2024-01-31T10:50:36Z</dc:date>
    </item>
  </channel>
</rss>

