You are not logged in.
Hello all,
I am trying to set GPU passthrough work on Archlinux with libvirt.
In fact I already did it work without libvirt. I was using plane qemu-headless. It was awesome for several months. I made script ( pasted at the end ) to start and stop my VM. It was working. I was gaming as normal. All drivers are up-to-date... no problems at all.
I decided to try libvirt, and it broke my passtrough. I had converted my qemu command from my script to libvirt xml, and edited it a bit. But now, I cannot start my VM. When I start it, I have no video to my monitor. However VNC works perfecty. I can see my drivers installed, I can see that the Nvidia video card is working, there is no error 43 ( the famous nvidia error ), but there is no picture on the monitor. My script cannot start the vm too. It is like libvirt broke some core functionallity of qemu, or I am missing something.
My video card is gtx 1060.
I have updated microcode ( there is no updated for my CPU ( x5650 ) )
My script to start/stop VM
Libvirt XML that starts my VM with virsh
/etc/libvirt/qemu.conf ( actually only lines 6,7 and 8 are uncommented here. )
I am stuck here for several days and I need a fresh look on the topic. Can someone help me please.
If You need any information, please, write me back.
Best reagards.
Last edited by Gruntz (2018-04-01 18:20:18)
Offline
pascal cards (10XX) needs pass the vrom in the libvirt xml config
you need extract (or download) the vrom of your card and load througth libvirt something like:
<rom bar='on' file='/etc/vfio/asmedia-sata_v097.bin'/>
before '</source>', in the GPU hostdev section
EDIT: https://www.reddit.com/r/VFIO/comments/ … ia_pascal/
Last edited by sl1pkn07 (2018-03-31 17:52:07)
Offline
Hello.
Thank you for the suggestion.
After all nothing worked.
I re-installed the host OS, and it seems to work for now. The same script, same device... it just works.
Best regards.
Offline