Windows 11 VM unable to boot


chis34
Go to solution Solved by chis34,

Recommended Posts

I have followed the tutorial advanced gpu techniques from spaceinvadersone. I have modified my xml file, updated the bios from nvidia deleting the header. Same result the graphic card is not visible under windows on peripherals list….

 

😭😭😭😭😭

Edited by chis34
Link to comment

Here are my settings.

 

1/  I boot on  Legacy

2/ I have corrected the XML file config of the VM setting multifunction='on'  and correct values for the graphic card and sound as well.

 <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/disk1/isos/vbios/gpu_vbios.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='0x01' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
    </hostdev>

 

3/ I have put video=efifb:off on syslinux

4/  The graphic card is connected with a HDMI to a screen

5/ I have not installed the NVIDIA drivers on Unraid as it is supposed to be used only on containers (but not VMs). But i think this has nothing to do with thiis.

6/ I have passed the VBIOS of the GC as parameter

 

=> The problem is still there no graphic card detected on Windows (see screenshoot).

Capture d’écran 2022-10-21 191719.png

Capture d’écran 2022-10-21 191034.png

Edited by chis34
Link to comment
10 hours ago, chis34 said:

I tried with or without  video=efifb:off and combinaison UEFI or Legacy same result…

Are you able to post a newer diagnostics

 

From the old one you have the nvidia drivers plugin which is not required if you passthru to a vm.

 

Are you using resizable BAR? maybe tried disabling in Bios?

Edited by SimonF
Link to comment

Installed Windows 11 i mean the first steps before rebooting then when it reboots it get stucked on the TinaCore screen ... cannot go further ...

 

I stop / restart VM same result ... sound i440 does not work well

 

The end fo the VM log :

-tpmdev emulator,id=tpm-tpm0,chardev=chrtpm \
-device '{"driver":"tpm-tis","tpmdev":"tpm-tpm0","id":"tpm0"}' \
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-vnc 0.0.0.0:0,websocket=5700,audiodev=audio1 \
-k fr \
-device '{"driver":"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 '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x6"}' \
-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

 

 

Capture d’écran 2022-10-22 121036.png

Edited by chis34
Link to comment
  • Solution

It works. Thank you so much to everyone for your help.

 

Some informations :

i440 is working for me Q35 does not allow me to see the graphics card

- I had forgotten on the previous installation to install virtio-win-gt-x64 and  virtio-win-guest-tools => Do you think this could have made the difference between this installation and the previous one with Q35 ? 

Capture d’écran 2022-10-22 123621.png

Edited by chis34
  • Like 1
Link to comment
2 hours ago, chis34 said:

It works. Thank you so much to everyone for your help.

 

Some informations :

i440 is working for me Q35 does not allow me to see the graphics card

- I had forgotten on the previous installation to install virtio-win-gt-x64 and  virtio-win-guest-tools => Do you think this could have made the difference between this installation and the previous one with Q35 ? 

Capture d’écran 2022-10-22 123621.png

Glad its working for you.

  • Thanks 1
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.