Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

qemu-system-x86_64: vfio: Unable to power on device, stuck in D3

Featured Replies

I have a windows 11 vm that was working fine.  Not sure when, but now whenever I try to play a game, all my screens go blank.  

I search this problem. I updated my bios, changed the power settings (which worked for 10minutes). not sure what to try next.

here is my vm logs and diagnstics

 

 


2023-08-26 00:50:54.938+0000: Starting external device: TPM Emulator
/usr/bin/swtpm socket --ctrl 'type=unixio,path=/run/libvirt/qemu/swtpm/1-Windows 11-swtpm.sock,mode=0600' --tpmstate dir=/var/lib/libvirt/swtpm/20e51a8f-6a13-30f2-7917-43702d4600ae/tpm2,mode=0600 --log 'file=/var/log/swtpm/libvirt/qemu/Windows 11-swtpm.log' --terminate --tpm2
2023-08-26 00:50:54.957+0000: starting up libvirt version: 8.7.0, qemu version: 7.1.0, kernel: 5.19.17-Unraid, hostname: impact
LC_ALL=C \
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
HOME='/var/lib/libvirt/qemu/domain-1-Windows 11' \
XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-1-Windows 11/.local/share' \
XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-1-Windows 11/.cache' \
XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-1-Windows 11/.config' \
/usr/local/sbin/qemu \
-name 'guest=Windows 11,debug-threads=on' \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-Windows 11/master-key.aes"}' \
-blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
-blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/20e51a8f-6a13-30f2-7917-43702d4600ae_VARS-pure-efi-tpm.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
-machine pc-i440fx-7.1,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \
-accel kvm \
-cpu host,migratable=on,topoext=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \
-m 24576 \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":25769803776}' \
-overcommit mem-lock=off \
-smp 16,sockets=1,dies=1,cores=8,threads=2 \
-uuid 20e51a8f-6a13-30f2-7917-43702d4600ae \
-display none \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=36,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime \
-no-hpet \
-no-shutdown \
-boot strict=on \
-device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pci.0","addr":"0x7.0x7"}' \
-device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pci.0","multifunction":true,"addr":"0x7"}' \
-device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pci.0","addr":"0x7.0x1"}' \
-device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pci.0","addr":"0x7.0x2"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x3"}' \
-device '{"driver":"usb-hub","id":"hub0","bus":"usb.0","port":"1"}' \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.229-1.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
-device '{"driver":"ide-cd","bus":"ide.0","unit":1,"drive":"libvirt-1-format","id":"ide0-0-1"}' \
-netdev tap,fd=37,id=hostnet0 \
-device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:08:7d:1a","bus":"pci.0","addr":"0x2"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev socket,id=charchannel0,fd=35,server=on,wait=off \
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \
-chardev 'socket,id=chrtpm,path=/run/libvirt/qemu/swtpm/1-Windows 11-swtpm.sock' \
-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.7"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.0","id":"hostdev0","bus":"pci.0","multifunction":true,"addr":"0x4"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.1","id":"hostdev1","bus":"pci.0","addr":"0x4.0x1"}' \
-device '{"driver":"vfio-pci","host":"0000:01:00.0","id":"hostdev2","bus":"pci.0","addr":"0x6"}' \
-device '{"driver":"vfio-pci","host":"0000:05:00.0","id":"hostdev3","bus":"pci.0","addr":"0x8"}' \
-device '{"driver":"vfio-pci","host":"0000:06:00.0","id":"hostdev4","bus":"pci.0","addr":"0x9"}' \
-device '{"driver":"vfio-pci","host":"0000:08:00.0","id":"hostdev5","bus":"pci.0","addr":"0xa"}' \
-device '{"driver":"vfio-pci","host":"0000:09:00.0","id":"hostdev6","bus":"pci.0","addr":"0xb"}' \
-device '{"driver":"vfio-pci","host":"0000:09:00.1","id":"hostdev7","bus":"pci.0","addr":"0xc"}' \
-device '{"driver":"vfio-pci","host":"0000:09:00.3","id":"hostdev8","bus":"pci.0","addr":"0xd"}' \
-device '{"driver":"vfio-pci","host":"0000:0f:00.0","id":"hostdev9","bus":"pci.0","addr":"0xe"}' \
-device '{"driver":"vfio-pci","host":"0000:0f:00.1","id":"hostdev10","bus":"pci.0","addr":"0xf"}' \
-device '{"driver":"usb-host","hostdevice":"/dev/bus/usb/005/002","id":"hostdev11","bus":"usb.0","port":"2"}' \
-device '{"driver":"usb-host","hostdevice":"/dev/bus/usb/005/003","id":"hostdev12","bus":"usb.0","port":"3"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/0 (label charserial0)
2023-08-26T00:54:29.224977Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2023-08-26T00:54:29.225958Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2023-08-26T00:54:31.158951Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2023-08-26T00:55:42.439357Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2023-08-26T00:55:42.439486Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
 

 

impact-diagnostics-20230825-2143.zip

  • Author

problem solved.

 

The only thing I did was update my Unraid.

removed my 1030 from slot one, and moved my 3090 back to slot one

deleted my old VM and rebuilt it over. 

everything is working fine so far.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.