Jump to content

No VGA Output (Nvidia)


Recommended Posts

Hi Guys,

 

I am completely stumped. Had 3 VMs running flawlessly on Unraid 6.9. Did a clean install to 6.10.2 with the exception of copying super.dat and plus.key to my config folder. Created a VM like I have a million times before ....and................nuttin, nudda, ziploa. I have:

Used the previous vdisks with a Windoze 10 installed
vbios with the nvidia header removed
Added multifunction='on' after the vbios line in the xml
Changed all functions 0,1,2,& 3 to the same PCI slot

 

The VMs work when I set them up VNC. Also I note that one core is constantly pegged at 100% 

What have I forgotten?

TIA

 

Peter 

Link to comment
46 minutes ago, Squid said:

Did you also remember to isolate the GPU from the OS via Tools - System Devices?

I bind to the vfio if that's what you mean?

 

 

 

I found this error in the VM log

 

-device usb-tablet,id=input0,bus=usb.0,port=6 \
-audiodev '{"id":"audio1","driver":"none"}' \
-vnc 0.0.0.0:0,websocket=5700,audiodev=audio1 \
-k en-us \
-device qxl-vga,id=video0,max_outputs=1,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,bus=pci.0,addr=0x2 \
-device vfio-pci,host=0000:65:00.0,id=hostdev0,bus=pci.0,multifunction=on,addr=0x6 \
-device vfio-pci,host=0000:65:00.1,id=hostdev1,bus=pci.0,addr=0x6.0x1 \
-device vfio-pci,host=0000:07:00.0,id=hostdev2,bus=pci.0,addr=0x9 \
-device vfio-pci,host=0000:65:00.2,id=hostdev3,bus=pci.0,addr=0x6.0x2 \
-device vfio-pci,host=0000:65:00.3,id=hostdev4,bus=pci.0,addr=0x6.0x3 \
-device usb-host,hostdevice=/dev/bus/usb/001/011,id=hostdev5,bus=usb.0,port=1 \
-device usb-host,hostdevice=/dev/bus/usb/001/004,id=hostdev6,bus=usb.0,port=2 \
-device usb-host,hostdevice=/dev/bus/usb/001/007,id=hostdev7,bus=usb.0,port=3 \
-device usb-host,hostdevice=/dev/bus/usb/001/006,id=hostdev8,bus=usb.0,port=4 \
-device usb-host,hostdevice=/dev/bus/usb/001/008,id=hostdev9,bus=usb.0,port=5 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/0 (label charserial0)
qxl_send_events: spice-server bug: guest stopped, ignoring
2022-06-05T11:22:17.183342Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2022-06-05T11:22:17.183393Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2022-06-05T11:22:18.221871Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2022-06-05T11:22:18.222028Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3

Link to comment

Try to add also the other components of the gpu to the vm, replace this:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x65' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x65' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
    </hostdev>

with this:

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x65' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x65' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x65' slot='0x00' function='0x2'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x65' slot='0x00' function='0x3'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x3'/>
    </hostdev>

 

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