Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gpu_accelerated_vm_with_kvm [08.12.2018 08:21]
Pascal Suter [GPU Forwarding for KVM]
gpu_accelerated_vm_with_kvm [08.12.2018 08:27] (current)
Pascal Suter [using a vm with just the forwarded GPU]
Line 309: Line 309:
  
 to start a vm without a emulated graphics card, use ''​-nographic -vga none''​ in your command line.  to start a vm without a emulated graphics card, use ''​-nographic -vga none''​ in your command line. 
 +
 + ​qemu-system-x86_64 -enable-kvm -k de-ch -name windows -drive format=raw,​file=/​dev/​vms/​dcv,​if=virtio,​format=raw,​index=0 -m 9000 -device virtio-net-pci,​netdev=net0,​mac=52:​54:​00:​01:​00:​01 -netdev tap,id=net0 -cdrom Win10_1803_English_x64.iso -drive file=virtio-win.iso,​media=cdrom,​index=1 -monitor tcp:​127.0.0.1:​5801,​server,​nowait -boot once=d -cpu host,​kvm=off -smp cpus=8,​cores=8 -monitor vc -drive if=pflash,​format=raw,​readonly,​file=/​usr/​share/​OVMF/​OVMF_CODE.fd -drive if=pflash,​format=raw,​file=/​bulk/​vm/​OVMF_VARS.windows10.fd -rtc base=localtime -balloon none -serial none -parallel none -M q35 -vga none -nographic -device vfio-pci,​host=05:​00.0
 +
 +==== stability issues ====
 +i go to the point where whenever i booted my DCV VM the HOST system rebooted or rather reset! Finally I found a workaround that fixed this issue: I bought a little dummy hdmi display emulator which is basically an HDMI plug that you plug into the output of the graphics card and it emulates a display. Since i had no adapters readily available for my K1200 i switched to a GTX 1050Ti which i had in my other pc. So far it works the same as the K1200 did. DCV now starts and is usable same as RGS was before. However i Still have the issue, where after about a day or so, when i log back into my VM i get horizontal black lines across my remote desktop which move around as i re-size the window but stay stady "​above"​ the various windows of Windows. This happend with RGS as well as with DCV and even when I use windows RDP! Usually the vm also becomes increasingly unresponsive when i try to re-connect after having this issue. ​
 +
 +I have now updated my Bios hosts bios to the latest version (it was actually quite outdated already) and have also enabled Coherency support for the IOMMU stuff in the bios. I usually don't like changing two parameters at once to sovle an issue, but for now lets just try it as it takes at least a day to reproduce the problem.. i can then roll back the bios setting and see if it was the update alone that resolved the issue should my current trials be successful. ​