[vfio-users] problem with hugepages and sound

Janusz januszmk6 at gmail.com
Sat Nov 7 01:00:27 UTC 2015


W dniu 06.11.2015 o 23:01, Tomasz Jan Góralczyk pisze:
> This is purely an audio issue. When I was trying to get audio out of
> qemu, the entire VM would block (hang) when audio slowed down and went
> out of sync. Audio in qemu is *not* asynchronous. This is likely the
> reason why you're experiencing FPS drops.
>
> I'm guessing the synchronous audio issue might be exaggerated by GPU
> passthrough, since QEMU has no idea about A/V sync with "-nographic"
> enabled and can't figure out audio buffer sizes on its own.
>
> On 06/11/15 21:01, Janusz wrote:
>> W dniu 05.11.2015 o 01:14, Eddie Yen pisze:
>>> 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. 
>>>
>> I just tried with Hyper-V, (its now: -enable-kvm -m 8000 -cpu
>> host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time  -smp
>> 8,cores=4,threads=2,sockets=1) but I don't see any performance boost.
>> But I found that problem with sound is causing fps drops (its every 5-10
>> seconds) - turned off sound completely and don't get any fps drops. so
>> definitely will have to try Jack2 on VM  and host as I don't see any
>> other alternative to it now, and I read that it can run without such
>> delays over network.
>>
I setup jack servers, with ASIO4ALL and VB-Audio Hi-Fi Cable and without
any -soundhw option. The sound is much cleaner now, don't have any
delay, but still when I started a game, I got some kind of distortion
but not as many as with emulating sound by qemu. Any idea how to debug
this issue?




More information about the vfio-users mailing list