Re: [vfio-users] Preventing host from going into sleep

2016-06-22 Thread Nicolas Roy-Renaud
The thing is that I want my computer to be able to go to sleep at the press of a button *unless* I'm running a VM. Systemd-inhibit does exactly what a want here, complete with a warning and an override prompt, but I haven't managed to get it to communicate properly with the system dbus when it'

Re: [vfio-users] Preventing host from going into sleep

2016-06-22 Thread Laszlo Ersek
On 06/22/16 07:01, Nicolas Roy-Renaud wrote: > I've had my fair share of lockups because I forgot to turn off my VM > before putting my host to sleep, and I've started looking into some sort > of lock to prevent that kind of mistake. Normally, I'd use something > like `systemd-inhibit >

Re: [vfio-users] Preventing host from going into sleep

2016-06-22 Thread Will Marler
Colin, mind posting a pastebin/github link to your script? I want your functionality without doing any work :-D On Wed, Jun 22, 2016 at 8:01 AM, Colin Godsey wrote: > I eventually just set up a script that looks for active qemu/kvm instances > every 15 minutes. I set up the guests to hibernate,

Re: [vfio-users] Radeon 5770 Passthrough works in Chipset 440FX but not in Q35

2016-06-22 Thread Zir Blazer
Allright, I have a lot more info since I spend several hours gathering logs. At the end, my logging style became ridiculous messy since I couldn't keep track of several variables and settings in each case plus some edge cases, so isn't 100% scientific, but I got general info about what happens a

Re: [vfio-users] Preventing host from going into sleep

2016-06-22 Thread Colin Godsey
I eventually just set up a script that looks for active qemu/kvm instances every 15 minutes. I set up the guests to hibernate, because for some reason the… ‘double sleeping’ of the guest and host seem to put the GPUs in a weird state when it wakes. After this, I just have a systemd hook for suspend

Re: [vfio-users] Nvidia glitches on Windows 10 guest

2016-06-22 Thread Berillions
I forgot to explain something which is maybe important for my issue. I have this problem ONLY when i use both NVIDIA cards. My 960 card is for Linux and the 970 for Win10 Guest. If i use only the 970 for the Guest and the IGP Intel for the Host (and disable the 960), i can allocate without problem

Re: [vfio-users] Nvidia glitches on Windows 10 guest

2016-06-22 Thread Berillions
I did a bootable memtest and i have not errors with my RAM ... I install actually Win7 to see if this issue appears with it too. 2016-06-22 7:47 GMT+02:00 Milos Kaurin : > Would you be able to run a Bootable memtest just to make sure you dort > have faulty ram? > On Jun 21, 2016 8:15 PM, "Berilli