All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1492649] [NEW] QEMU soundhw HDA huge microphone lag
@ 2015-09-05 23:02 Nek
  2015-09-27 11:20 ` [Qemu-devel] [Bug 1492649] " Andrew Collett
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Nek @ 2015-09-05 23:02 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1492649

Title:
  QEMU soundhw HDA huge microphone lag

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1492649/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1492649] Re: QEMU soundhw HDA huge microphone lag
  2015-09-05 23:02 [Qemu-devel] [Bug 1492649] [NEW] QEMU soundhw HDA huge microphone lag Nek
@ 2015-09-27 11:20 ` Andrew Collett
  2015-11-27 23:16 ` tinyhitman
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Andrew Collett @ 2015-09-27 11:20 UTC (permalink / raw)
  To: qemu-devel

I seem to have this issue too. Using latest 15.04 Ubuntu, qemu and
-soundhw all.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1492649

Title:
  QEMU soundhw HDA huge microphone lag

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1492649/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1492649] Re: QEMU soundhw HDA huge microphone lag
  2015-09-05 23:02 [Qemu-devel] [Bug 1492649] [NEW] QEMU soundhw HDA huge microphone lag Nek
  2015-09-27 11:20 ` [Qemu-devel] [Bug 1492649] " Andrew Collett
@ 2015-11-27 23:16 ` tinyhitman
  2016-09-02 17:33 ` Glenn Sommer
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tinyhitman @ 2015-11-27 23:16 UTC (permalink / raw)
  To: qemu-devel

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.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1492649

Title:
  QEMU soundhw HDA huge microphone lag

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1492649/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1492649] Re: QEMU soundhw HDA huge microphone lag
  2015-09-05 23:02 [Qemu-devel] [Bug 1492649] [NEW] QEMU soundhw HDA huge microphone lag Nek
  2015-09-27 11:20 ` [Qemu-devel] [Bug 1492649] " Andrew Collett
  2015-11-27 23:16 ` tinyhitman
@ 2016-09-02 17:33 ` Glenn Sommer
  2019-03-02  3:03 ` Jonathan Rubenstein
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Glenn Sommer @ 2016-09-02 17:33 UTC (permalink / raw)
  To: qemu-devel

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)

** Patch added: "pulseaudio-microphone-workaround.patch"
   https://bugs.launchpad.net/qemu/+bug/1492649/+attachment/4733098/+files/pulseaudio-microphone-workaround.patch

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1492649

Title:
  QEMU soundhw HDA huge microphone lag

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1492649/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1492649] Re: QEMU soundhw HDA huge microphone lag
  2015-09-05 23:02 [Qemu-devel] [Bug 1492649] [NEW] QEMU soundhw HDA huge microphone lag Nek
                   ` (2 preceding siblings ...)
  2016-09-02 17:33 ` Glenn Sommer
@ 2019-03-02  3:03 ` Jonathan Rubenstein
  2019-03-02  3:06 ` Jonathan Rubenstein
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Jonathan Rubenstein @ 2019-03-02  3:03 UTC (permalink / raw)
  To: qemu-devel

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.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1492649

Title:
  QEMU soundhw HDA huge microphone lag

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1492649/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1492649] Re: QEMU soundhw HDA huge microphone lag
  2015-09-05 23:02 [Qemu-devel] [Bug 1492649] [NEW] QEMU soundhw HDA huge microphone lag Nek
                   ` (3 preceding siblings ...)
  2019-03-02  3:03 ` Jonathan Rubenstein
@ 2019-03-02  3:06 ` Jonathan Rubenstein
  2020-11-16  9:02 ` Thomas Huth
  2021-01-16  4:17 ` Launchpad Bug Tracker
  6 siblings, 0 replies; 8+ messages in thread
From: Jonathan Rubenstein @ 2019-03-02  3:06 UTC (permalink / raw)
  To: qemu-devel

Proofread your comments, guys... oops

So it's a debian HOST and windows GUEST, not windows host. :-l

Sorry for the double post.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1492649

Title:
  QEMU soundhw HDA huge microphone lag

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1492649/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 1492649] Re: QEMU soundhw HDA huge microphone lag
  2015-09-05 23:02 [Qemu-devel] [Bug 1492649] [NEW] QEMU soundhw HDA huge microphone lag Nek
                   ` (4 preceding siblings ...)
  2019-03-02  3:06 ` Jonathan Rubenstein
@ 2020-11-16  9:02 ` Thomas Huth
  2021-01-16  4:17 ` Launchpad Bug Tracker
  6 siblings, 0 replies; 8+ messages in thread
From: Thomas Huth @ 2020-11-16  9:02 UTC (permalink / raw)
  To: qemu-devel

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.

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1492649

Title:
  QEMU soundhw HDA huge microphone lag

Status in QEMU:
  Incomplete

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1492649/+subscriptions


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 1492649] Re: QEMU soundhw HDA huge microphone lag
  2015-09-05 23:02 [Qemu-devel] [Bug 1492649] [NEW] QEMU soundhw HDA huge microphone lag Nek
                   ` (5 preceding siblings ...)
  2020-11-16  9:02 ` Thomas Huth
@ 2021-01-16  4:17 ` Launchpad Bug Tracker
  6 siblings, 0 replies; 8+ messages in thread
From: Launchpad Bug Tracker @ 2021-01-16  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1492649

Title:
  QEMU soundhw HDA huge microphone lag

Status in QEMU:
  Expired

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1492649/+subscriptions


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-01-16  4:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-05 23:02 [Qemu-devel] [Bug 1492649] [NEW] QEMU soundhw HDA huge microphone lag Nek
2015-09-27 11:20 ` [Qemu-devel] [Bug 1492649] " Andrew Collett
2015-11-27 23:16 ` tinyhitman
2016-09-02 17:33 ` Glenn Sommer
2019-03-02  3:03 ` Jonathan Rubenstein
2019-03-02  3:06 ` Jonathan Rubenstein
2020-11-16  9:02 ` Thomas Huth
2021-01-16  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.