<div dir="ltr">I'm still solving sound issue either, but for FPS problem, I saw your scripts.<div>Seems like you didn't add Hyper-V functions on -cpu signs.</div><div><br></div><div>It's necessary to delete Hyper-V functions if using NVIDIA GPU, but you're using AMD, so you can add Hyper-V functions on your -cpu sign. </div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-05 6:04 GMT+08:00 Janusz <span dir="ltr"><<a href="mailto:januszmk6@gmail.com" target="_blank">januszmk6@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">W dniu 04.11.2015 o 22:41, Tomasz Jan Góralczyk pisze:<br>
<div><div class="h5">><br>
> On 04/11/15 20:15, Janusz wrote:<br>
>> Hi,<br>
>> I have two questions,<br>
>> Sometimes I have some short freezes and fps drops in GTA 5, so I wanted<br>
>> to try hugepages if it would give me better perfornance, but in fact it<br>
>> gave me -10 fps and drops to 20-30 fps (while without it I have 60 with<br>
>> drops to 40). Did anyone experiecned worst performance with hugepages?<br>
>> maybe I am doing something wrong?<br>
>> my script: <a href="https://bpaste.net/show/9089719cbef8" rel="noreferrer" target="_blank">https://bpaste.net/show/9089719cbef8</a><br>
>><br>
>> Second question, I know this is vfio group but I don't know where else<br>
>> would be better to ask, becauseeverywhere where I asked, no one know how<br>
>> to fix it. I am using pulseaudio and I have some audio glitches, some<br>
>> crackles, don't know exactly how to describe it... It looks like VM is<br>
>> affecting my audio even before OVMF loads (starting VM) and it happens<br>
>> the whole time when I get some sound from VM. anyone know what can cause<br>
>> this? I tried different soundhw, sometimes I didn't get any disortion in<br>
>> the sound, but then the sound was behind something like 1 second. I have<br>
>> the same frequency in pulsaudio set like in windows settings. I even<br>
>> bought usb sound card, to passthrough it and redirect this sound from VM<br>
>> into my main sound card - poor quality. also tried streaming from<br>
>> windows by linco, ssh and pacat - got some delays, port of pulseaudio<br>
>> for windows - didn't managed to make it work... I know there is one more<br>
>> alternative - Jackd, but maybe someone have idea how to fix it before I<br>
>> start looking in jackd configuration...<br>
>> I also tried without pulseaudio on host, just alsa, and didn't helped<br>
> I also had the same problem with audio and the only way I could fix it<br>
> was by passing through my onboard sound card via vfio. I had to `rmmod`<br>
> the snd_hda_intel module before binding the sound card's vfio group to<br>
> make it work. Obviously, it's not ideal since the card can't be shared<br>
> between the host and the guest, but you already have an USB soundcard,<br>
> so why not use that on the host? After I'm done with the guest, I shut<br>
> it down, unbind the sound card's vfio group and `modprobe` the<br>
> snd_hda_intel module to get audio back up on the host. Note that<br>
> Pulseaudio won't let you unload your sound card's kernel module, while<br>
> it's running.<br>
><br>
> I have an ASUS Z97 board and a 4790k, so ymmv.<br>
><br>
><br>
</div></div>this is some kind of way of solving this, but I only want to get sound<br>
from games in VM, and I want sometimes listen some music on host, have<br>
TeamSpeak running, or watch some movie without turning off VM. If this<br>
is common issue, I wonder why still no one was able to fix this<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
</div></div></blockquote></div><br></div>