diff options
Diffstat (limited to 'results/classifier/118/graphic/1492649')
| -rw-r--r-- | results/classifier/118/graphic/1492649 | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/results/classifier/118/graphic/1492649 b/results/classifier/118/graphic/1492649 new file mode 100644 index 000000000..3f7409040 --- /dev/null +++ b/results/classifier/118/graphic/1492649 @@ -0,0 +1,75 @@ +graphic: 0.978 +mistranslation: 0.947 +x86: 0.943 +architecture: 0.942 +kernel: 0.941 +device: 0.916 +performance: 0.899 +peripherals: 0.854 +user-level: 0.808 +semantic: 0.749 +ppc: 0.713 +assembly: 0.634 +PID: 0.625 +permissions: 0.624 +arm: 0.568 +hypervisor: 0.537 +vnc: 0.502 +register: 0.498 +debug: 0.492 +socket: 0.482 +network: 0.452 +virtual: 0.439 +boot: 0.419 +risc-v: 0.388 +files: 0.357 +i386: 0.349 +VMM: 0.329 +TCG: 0.198 +KVM: 0.159 + +QEMU soundhw HDA huge microphone lag + +I use a Windows 7 x86_64 guest with VGA passthrough and -soundhw hda. The audio plays fine, but the microphone input is delayed by more than 20 seconds. + +-soundhw ac97 does not have this delay but it has choppy sound playback and input. + +System: +Arch linux +Kernel: 4.1.6-1-ARCH +Audio hardware: 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller +Audio system: Pulseaudio 6.0 + +I seem to have this issue too. Using latest 15.04 Ubuntu, qemu and -soundhw all. + +I can reproduce this on Windows 10 (64bit) with hda device. + +Host kernel is 4.1.13-rt15-1-rt, also tried with non-realtime kernel with same results. + +Output works without delay, given it is choppy from time to time. +Using the following env vars when starting QEMU: + +QEMU_AUDIO_DRV: pa +QEMU_PA_SAMPLE: 32 # also tried with 128, 256, 512 and 1024. Same results for input, output got less choppy but with notable latency +QEMU_PA_SERVER: unix:/run/user/1000/pulse/native # where user with uid is the user with Xorg and PA session, of course. + + + +I cannot figure out why - but, it would seem the input ringbuffer is not processed till the buffer is full. +As an ugly workaround, i tried to set the buffering attributes to the input section - which reduced the delay to less then a second. (important part here is ba.maxlength) + +I've got this issue too on windows 10 with QEMU emulator version 3.1.0 (Debian 1:3.1+dfsg-4). It seems to only occur when the device isn't used in the windows host for a while by any application. If an application opens the capture device, the delay slowly gets smaller until it's only a 4th of a second. + +My uneducated guess is that the pa/hda driver isn't dequeuing the buffer unless the device is opened and being used by an application. This should not be happening, it should move the read pointer to the sample length even if the device isn't being used. + +Proofread your comments, guys... oops + +So it's a debian HOST and windows GUEST, not windows host. :-l + +Sorry for the double post. + +The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. +If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience. + +[Expired for QEMU because there has been no activity for 60 days.] + |