[vfio-users] problem with hugepages and sound

Francesco Dicarlo evilsephiroth at gmail.com
Thu Nov 5 09:15:09 UTC 2015


Specifying a fake hv_vendor_id hyperv are also available on nvidia

Sent from my iPhone

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


More information about the vfio-users mailing list