Re: [vfio-users] Win10 Guest, stability is horrible and freeze quickly

2016-10-12 Thread Berillions
I resolved my problem with both Nvidia GPU. Use Q35 instead of i440fx
helped me. :D

2016-10-08 15:16 GMT+02:00 Berillions <berilli...@gmail.com>:

> I don't understand what could eats the RAM of the host because i have 32GB
> Memory RAM. I have 16GB for the Host and 16GB (with Hugepages) for the
> Guest. My Windows_10.img is in an Ext2 partition.
>
> I try actually to use the IGD (Intel graphic card) to the Host and the
> GTX970 to the Guest and i have no problems. How is it possible to have
> conflict between both Nvidia card.
> I have only two solutions :
>
> 1- Use both Nvidia cards but only 2GB Memory RAM in virt-manager and i
> don't know if with 10GB of Memory swap in Win10 is enough to play at AAA
> games
>
> 2- Use IGD for Linux and the Nvidia for the Host.
>
> 2016-10-08 14:36 GMT+02:00 Bronek Kozicki <b...@spamcop.net>:
>
>> Perhaps you have something eating into RAM of the host. I had my host
>> freezing when I forgot to limit memory utilization in the ZFS. It does not
>> matter what eats into your host RAM - since qemu is just a regular
>> userspace process, it's memory needs (ie those of the guest system) are not
>> "prioritized" as more essential than any other userspace process. If your
>> host does not have enough memory, then the more you allocate in qemu (or
>> libvirt) to the guest system, the more probability that qemu will run out
>> of RAM, effectively freezing the guest OS. At least, this is what it would
>> appear to be (it might be simply swapping, but that slows down guest
>> execution speed by orders of magnitude, so it is effectively frozen)
>>
>>
>> B.
>>
>> *From: *Berillions
>> *Sent: *Friday, 7 October 2016 20:00
>> *To: *Jayme Howard
>> *Cc: *mar...@schrodt.org; vfio-users
>> *Subject: *Re: [vfio-users] Win10 Guest, stability is horrible and
>> freeze quickly
>>
>> Very very very things. If i set more than 2GB Memory Ram in Virt-Manager
>> for the Guest, i have artefacts and freeze. If I set 2GB like actually, the
>> guest works perfectly.
>>
>> So i don't know if it will be good for gaming even if i set Windows swap
>> to 10GB ...
>>
>> 2016-10-07 19:43 GMT+02:00 Jayme Howard <g.pr...@gmail.com>:
>>
>>> Put the 960 into the one that goes 4x if you're that worried about it,
>>> but it shouldn't be a huge deal.  I don't know if the 960 can even saturate
>>> a 4x.  It might be able to, but since it's a lower performance card anyway,
>>> it shouldn't really matter.
>>>
>>> On Fri, Oct 7, 2016 at 12:36 PM, Berillions <berilli...@gmail.com>
>>> wrote:
>>>
>>>> I have two PCI-E 3.0 16x slot,
>>>>
>>>> The first with the 960 and the second for the 970. if the second slot
>>>> is used, his bandwidth will not be 16x but 4x.
>>>> The others slots are only PCI-E 3.0 1x ...
>>>>
>>>> ___
>>>> vfio-users mailing list
>>>> vfio-users@redhat.com
>>>> https://www.redhat.com/mailman/listinfo/vfio-users
>>>>
>>>>
>>>
>>
>>
>
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Win10 Guest, stability is horrible and freeze quickly

2016-10-11 Thread LOMBARD Maxime
There is an other thing that i don't understand. 

Like i said, if i set 2gb or <, the VM Word perfectly without problems.

I can set more memory ram only when i disable the internet function in 
virt-manager...




Envoyé de mon iPhone

> Le 8 oct. 2016 à 15:16, Berillions <berilli...@gmail.com> a écrit :
> 
> I don't understand what could eats the RAM of the host because i have 32GB 
> Memory RAM. I have 16GB for the Host and 16GB (with Hugepages) for the Guest. 
> My Windows_10.img is in an Ext2 partition.
> 
> I try actually to use the IGD (Intel graphic card) to the Host and the GTX970 
> to the Guest and i have no problems. How is it possible to have conflict 
> between both Nvidia card.
> I have only two solutions :
> 
> 1- Use both Nvidia cards but only 2GB Memory RAM in virt-manager and i don't 
> know if with 10GB of Memory swap in Win10 is enough to play at AAA games
> 
> 2- Use IGD for Linux and the Nvidia for the Host. 
> 
> 2016-10-08 14:36 GMT+02:00 Bronek Kozicki <b...@spamcop.net>:
>> Perhaps you have something eating into RAM of the host. I had my host 
>> freezing when I forgot to limit memory utilization in the ZFS. It does not 
>> matter what eats into your host RAM - since qemu is just a regular userspace 
>> process, it's memory needs (ie those of the guest system) are not 
>> "prioritized" as more essential than any other userspace process. If your 
>> host does not have enough memory, then the more you allocate in qemu (or 
>> libvirt) to the guest system, the more probability that qemu will run out of 
>> RAM, effectively freezing the guest OS. At least, this is what it would 
>> appear to be (it might be simply swapping, but that slows down guest 
>> execution speed by orders of magnitude, so it is effectively frozen)
>> 
>> 
>> B.
>> 
>> From: Berillions
>> Sent: Friday, 7 October 2016 20:00
>> To: Jayme Howard
>> Cc: mar...@schrodt.org; vfio-users
>> Subject: Re: [vfio-users] Win10 Guest,   stability is horrible and 
>> freeze quickly
>> 
>> Very very very things. If i set more than 2GB Memory Ram in Virt-Manager for 
>> the Guest, i have artefacts and freeze. If I set 2GB like actually, the 
>> guest works perfectly.
>> 
>> So i don't know if it will be good for gaming even if i set Windows swap to 
>> 10GB ...
>> 
>> 2016-10-07 19:43 GMT+02:00 Jayme Howard <g.pr...@gmail.com>:
>>> Put the 960 into the one that goes 4x if you're that worried about it, but 
>>> it shouldn't be a huge deal.  I don't know if the 960 can even saturate a 
>>> 4x.  It might be able to, but since it's a lower performance card anyway, 
>>> it shouldn't really matter.
>>> 
>>>> On Fri, Oct 7, 2016 at 12:36 PM, Berillions <berilli...@gmail.com> wrote:
>>>> I have two PCI-E 3.0 16x slot,
>>>> 
>>>> The first with the 960 and the second for the 970. if the second slot is 
>>>> used, his bandwidth will not be 16x but 4x.
>>>> The others slots are only PCI-E 3.0 1x ...
>>>> 
>>>> ___
>>>> vfio-users mailing list
>>>> vfio-users@redhat.com
>>>> https://www.redhat.com/mailman/listinfo/vfio-users
>>>> 
>>> 
>> 
>> 
> 
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Win10 Guest, stability is horrible and freeze quickly

2016-10-08 Thread Berillions
I don't understand what could eats the RAM of the host because i have 32GB
Memory RAM. I have 16GB for the Host and 16GB (with Hugepages) for the
Guest. My Windows_10.img is in an Ext2 partition.

I try actually to use the IGD (Intel graphic card) to the Host and the
GTX970 to the Guest and i have no problems. How is it possible to have
conflict between both Nvidia card.
I have only two solutions :

1- Use both Nvidia cards but only 2GB Memory RAM in virt-manager and i
don't know if with 10GB of Memory swap in Win10 is enough to play at AAA
games

2- Use IGD for Linux and the Nvidia for the Host.

2016-10-08 14:36 GMT+02:00 Bronek Kozicki <b...@spamcop.net>:

> Perhaps you have something eating into RAM of the host. I had my host
> freezing when I forgot to limit memory utilization in the ZFS. It does not
> matter what eats into your host RAM - since qemu is just a regular
> userspace process, it's memory needs (ie those of the guest system) are not
> "prioritized" as more essential than any other userspace process. If your
> host does not have enough memory, then the more you allocate in qemu (or
> libvirt) to the guest system, the more probability that qemu will run out
> of RAM, effectively freezing the guest OS. At least, this is what it would
> appear to be (it might be simply swapping, but that slows down guest
> execution speed by orders of magnitude, so it is effectively frozen)
>
>
> B.
>
> *From: *Berillions
> *Sent: *Friday, 7 October 2016 20:00
> *To: *Jayme Howard
> *Cc: *mar...@schrodt.org; vfio-users
> *Subject: *Re: [vfio-users] Win10 Guest, stability is horrible and freeze
> quickly
>
> Very very very things. If i set more than 2GB Memory Ram in Virt-Manager
> for the Guest, i have artefacts and freeze. If I set 2GB like actually, the
> guest works perfectly.
>
> So i don't know if it will be good for gaming even if i set Windows swap
> to 10GB ...
>
> 2016-10-07 19:43 GMT+02:00 Jayme Howard <g.pr...@gmail.com>:
>
>> Put the 960 into the one that goes 4x if you're that worried about it,
>> but it shouldn't be a huge deal.  I don't know if the 960 can even saturate
>> a 4x.  It might be able to, but since it's a lower performance card anyway,
>> it shouldn't really matter.
>>
>> On Fri, Oct 7, 2016 at 12:36 PM, Berillions <berilli...@gmail.com> wrote:
>>
>>> I have two PCI-E 3.0 16x slot,
>>>
>>> The first with the 960 and the second for the 970. if the second slot is
>>> used, his bandwidth will not be 16x but 4x.
>>> The others slots are only PCI-E 3.0 1x ...
>>>
>>> ___
>>> vfio-users mailing list
>>> vfio-users@redhat.com
>>> https://www.redhat.com/mailman/listinfo/vfio-users
>>>
>>>
>>
>
>
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Win10 Guest, stability is horrible and freeze quickly

2016-10-08 Thread Bronek Kozicki
  Perhaps you have something eating into RAM of the host. I had my host freezing when I forgot to limit memory utilization in the ZFS. It does not matter what eats into your host RAM - since qemu is just a regular userspace process, it's memory needs (ie those of the guest system) are not "prioritized" as more essential than any other userspace process. If your host does not have enough memory, then the more you allocate in qemu (or libvirt) to the guest system, the more probability that qemu will run out of RAM, effectively freezing the guest OS. At least, this is what it would appear to be (it might be simply swapping, but that slows down guest execution speed by orders of magnitude, so it is effectively frozen)B. From: BerillionsSent: Friday, 7 October 2016 20:00To: Jayme HowardCc: mar...@schrodt.org; vfio-usersSubject: Re: [vfio-users] Win10 Guest,	stability is horrible and freeze quicklyVery very very things. If i set more than 2GB Memory Ram in Virt-Manager for the Guest, i have artefacts and freeze. If I set 2GB like actually, the guest works perfectly.So i don't know if it will be good for gaming even if i set Windows swap to 10GB ...2016-10-07 19:43 GMT+02:00 Jayme Howard :Put the 960 into the one that goes 4x if you're that worried about it, but it shouldn't be a huge deal.  I don't know if the 960 can even saturate a 4x.  It might be able to, but since it's a lower performance card anyway, it shouldn't really matter.On Fri, Oct 7, 2016 at 12:36 PM, Berillions  wrote:I have two PCI-E 3.0 16x slot,The first with the 960 and the second for the 970. if the second slot is used, his bandwidth will not be 16x but 4x.The others slots are only PCI-E 3.0 1x ...
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users




___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Win10 Guest, stability is horrible and freeze quickly

2016-10-07 Thread Berillions
Very very very things. If i set more than 2GB Memory Ram in Virt-Manager
for the Guest, i have artefacts and freeze. If I set 2GB like actually, the
guest works perfectly.

So i don't know if it will be good for gaming even if i set Windows swap to
10GB ...

2016-10-07 19:43 GMT+02:00 Jayme Howard :

> Put the 960 into the one that goes 4x if you're that worried about it, but
> it shouldn't be a huge deal.  I don't know if the 960 can even saturate a
> 4x.  It might be able to, but since it's a lower performance card anyway,
> it shouldn't really matter.
>
> On Fri, Oct 7, 2016 at 12:36 PM, Berillions  wrote:
>
>> I have two PCI-E 3.0 16x slot,
>>
>> The first with the 960 and the second for the 970. if the second slot is
>> used, his bandwidth will not be 16x but 4x.
>> The others slots are only PCI-E 3.0 1x ...
>>
>> ___
>> vfio-users mailing list
>> vfio-users@redhat.com
>> https://www.redhat.com/mailman/listinfo/vfio-users
>>
>>
>
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Win10 Guest, stability is horrible and freeze quickly

2016-10-07 Thread Jayme Howard
Put the 960 into the one that goes 4x if you're that worried about it, but
it shouldn't be a huge deal.  I don't know if the 960 can even saturate a
4x.  It might be able to, but since it's a lower performance card anyway,
it shouldn't really matter.

On Fri, Oct 7, 2016 at 12:36 PM, Berillions  wrote:

> I have two PCI-E 3.0 16x slot,
>
> The first with the 960 and the second for the 970. if the second slot is
> used, his bandwidth will not be 16x but 4x.
> The others slots are only PCI-E 3.0 1x ...
>
> ___
> vfio-users mailing list
> vfio-users@redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
>
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Win10 Guest, stability is horrible and freeze quickly

2016-10-07 Thread Martin Schrodt
Hey,

On 10/07/2016 06:51 PM, Berillions wrote:
> My PC Configuration :
> - Debian Jessie 64-bits
> - Proc : Intel i7-6700
> - MB : MSI B150 PC MATE
> - 32G Memory RAM
> 
> IOMMU-Groups :
> 
> /sys/kernel/iommu_groups/1/devices/:01:00.0 ---> Nvidia GTX960
> /sys/kernel/iommu_groups/1/devices/:01:00.1 ---> Nvidia GTX960 Audio
> /sys/kernel/iommu_groups/13/devices/:02:00.0 ---> Nvidia GTX970
> /sys/kernel/iommu_groups/13/devices/:02:00.1 ---> Nvidia GTX970 Audio

looks like the same problem like discussed here:

https://www.reddit.com/r/VFIO/comments/55gv5e/horrible_graphical_glitches_set_in_a_few_minutes/d8cptom

Your guest GPU is probably connected via the 4 PCH PCIe-Lanes, which
causes this.

I think that can be solved by moving the gues GPU to the CPU lanes (Slot
1 and 2), if that's possible with your board.

Cheers!

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Win10 Guest, stability is horrible and freeze quickly

2016-10-07 Thread Martin Schrodt
Hey,

> I have a big problem (still the same) with my Win10 guest.
> Linux use is own Nvidia graphic card (Gtx960) and the Guest a Nvidia Gtx970.
> I use Debian Jessie with Qemu 2.5, libvirt 1.0.1 and virt-manager 1.4.0

What CPU and motherboard?
Could you list the IOMMU-groups your host and gues GPU are in?

Cheers!

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users