Jump to content

PLEASE HELP!!! Second GPU cause VM not boot


dataminz

Recommended Posts

Hi, I having a problem passing second GPU to my second VM

My Hardware:

GPU1(address 0)

GPU2(address 49)

My Goal:

GPU1 passing to VM1

GPU2 passing to VM2

Current situation:

GPU1 passing to VM1 (Work fine)

GPU2 passing to VM2 (not boot and 1 core always 100% utilize)

Already try:

Swap GPU slot, second GPU always not work

PCIe ACS override, not work

Here is my passing parameter, IOMMU group of second device and 1 core 1 core always 100% utilize

my GPU1 use exactly the same passing parameter, except bus 

<hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x49' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x49' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
    </hostdev>

2.PNG

1.PNG

Link to comment

Hi, thank for the answer!

I don't know I understand it correctly or not, I have tried isolating the GPU as shown below, now 3080Ti IOMMU is now separated.

I am also added a vbios, but it still doesn't worked

<hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x49' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/vbios/RTX3080Ti.rom'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x49' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
    </hostdev>

Here is my boot configuration, where 10de:24b0,10de:228b is my A4000 and  10de:2208,10de:1aef is my 3080Ti

kernel /bzimage
append initrd=/bzroot vfio-pci.ids=10de:24b0,10de:228b,10de:2208,10de:1aef pcie_acs_override=multifunction video=efifb:off

 

3.PNG

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...