lance1982 Posted January 31, 2022 Share Posted January 31, 2022 hi can anyone help me get windows vms working please. has worked in past about 6 months ago but now no display. even tried vnc and linux too.. windows 10 gpu pass through log says -overcommit mem-lock=off \ -smp 1,sockets=1,dies=1,cores=1,threads=1 \ -uuid b397d062-ac69-42d8-d10d-d4473ddbf2a3 \ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=34,server=on,wait=off \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=localtime \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x7.0x7 \ -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x7 \ -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x7.0x1 \ -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x7.0x2 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \ -blockdev '{"driver":"file","filename":"/mnt/user/domains/Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=libvirt-3-format,id=virtio-disk2,bootindex=1,write-cache=on \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/Windows/Win10_2004_English_x64.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \ -device ide-cd,bus=ide.0,unit=0,drive=libvirt-2-format,id=ide0-0-0,bootindex=2 \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.208-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 ide-cd,bus=ide.0,unit=1,drive=libvirt-1-format,id=ide0-0-1 \ -netdev tap,fd=36,id=hostnet0 \ -device virtio-net,netdev=hostnet0,id=net0,mac=52:54:00:15:4e:9d,bus=pci.0,addr=0x2 \ -chardev pty,id=charserial0 \ -device isa-serial,chardev=charserial0,id=serial0 \ -chardev socket,id=charchannel0,fd=37,server=on,wait=off \ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \ -audiodev id=audio1,driver=none \ -device vfio-pci,host=0000:03:00.0,id=hostdev0,bus=pci.0,addr=0x5 \ -device vfio-pci,host=0000:03:00.1,id=hostdev1,bus=pci.0,addr=0x6 \ -device usb-host,hostdevice=/dev/bus/usb/003/004,id=hostdev2,bus=usb.0,port=1 \ -device usb-host,hostdevice=/dev/bus/usb/003/005,id=hostdev3,bus=usb.0,port=2 \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) many thanks lance Quote Link to comment
ghost82 Posted February 1, 2022 Share Posted February 1, 2022 diagnostics may help, this log says nothing. 1 Quote Link to comment
lance1982 Posted February 2, 2022 Author Share Posted February 2, 2022 thank you for your reply. this is my diagnostics many thanks lance tower-diagnostics-20220202-1826.zip Quote Link to comment
ghost82 Posted February 3, 2022 Share Posted February 3, 2022 On 1/31/2022 at 10:37 PM, lance1982 said: even tried vnc So, it doesn't work with qxl/vnc graphics? Is the vm booting to bios?Where it hangs? For gpu passthrough, since you have the nvidia driver plugin, try to isolate (attach to vfio) at boot the gpu, iommu groups 90 and 91, reboot and try. Attach new diagnostics if it wont work. But first you need to make it work with qxl+vnc. About "Windows 10vnc" vm, what's the output of: fdisk -l "/mnt/user/domains/Windows 10vnc/vdisk1.img" Quote Link to comment
lance1982 Posted February 3, 2022 Author Share Posted February 3, 2022 Thank you for your reply. not sure why but vnc is now working. ive isolated 90 and 91 and restarted but still cant get vms working on gpu. windows 10vnc was just one id tried to see if i try different settings to see if i could get it to work. i just want to have at end 1x windows and 1x linux setup and ill delete the others this is my diagnostics many thanks lance tower-diagnostics-20220203-1843.zip Quote Link to comment
lance1982 Posted February 3, 2022 Author Share Posted February 3, 2022 been playing around and tried isolating the gtx1050 ti and tried that with vm. that work perfectly. so the problem some think to do with the gtx1070. any ideas?? many thanks lance Quote Link to comment
lance1982 Posted February 3, 2022 Author Share Posted February 3, 2022 and the problem with vnc was i was using firefox. tried different browser and that worked.. im slowly getting there lol i did notice on boot up it holds for very long time when it gets too the gtx 1070.. not sure if thats related Quote Link to comment
Recommended Posts
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.