* Re: [Qemu-devel] assigned EHCI USB headset not working
[not found] ` <4DF07182.3060003@web.de>
@ 2011-06-09 7:11 ` Jan Kiszka
2011-06-09 15:13 ` malc
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2011-06-09 7:11 UTC (permalink / raw)
To: André Weidemann; +Cc: Gerd Hoffmann, kvm@vger.kernel.org, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1601 bytes --]
On 2011-06-09 09:08, André Weidemann wrote:
> Hi Jan,
>
> On 09.06.2011 08:53, Jan Kiszka wrote:
>> On 2011-06-09 08:19, André Weidemann wrote:
>>> Hi Gerd,
>>>
>>> On 08.06.2011 14:49, Gerd Hoffmann wrote:
>>>> Hi,
>>>>
>>>>> The sound device shows up under Windows7 and drivers are installed
>>>>> automatically. Unfortunately it does not work. All the players I
>>>>> tried,
>>>>> did not even start playing the sound file, although they detected the
>>>>> DirectSound Device.
>>>>
>>>> iso xfer's from usb-linux via ehci are flaky for reasons not yet
>>>> tracked
>>>> down.
>>>>
>>>> Any reason why you don't just plug in a virtual sound card? The HDA
>>>> emulation should work fine with win7.
>>>
>>> Using the hda driver was my first attempt. But the result was not very
>>> convincing. When playing mp3s inside the VM, I could hear music coming
>>> from the speakers, but the sound was very choppy and too slow. It was no
>>> joy listening to it.
>>
>> Does "export QEMU_AUDIO_DAC_TRY_POLL=0" before invoking qemu helps? It
>> depends on your host-side interface. Using ALSA here, it is generally
>> required.
>>
>> Note that this discussion rather belongs on qemu-devel.
>
> Thank you very much. Setting the variable did the trick.
> Could this perhaps be included in the man page? I am sure there will be
> others who will eventually run into the same problem as I did.
It is a long-standing issue of QEMU that I always wanted to understand
but never found the time for. CC'ing malc, maybe he has a good idea how
to finally attack this.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] assigned EHCI USB headset not working
2011-06-09 7:11 ` [Qemu-devel] assigned EHCI USB headset not working Jan Kiszka
@ 2011-06-09 15:13 ` malc
2011-06-09 15:24 ` Jan Kiszka
0 siblings, 1 reply; 6+ messages in thread
From: malc @ 2011-06-09 15:13 UTC (permalink / raw)
To: Jan Kiszka
Cc: André Weidemann, Gerd Hoffmann, kvm@vger.kernel.org,
qemu-devel
On Thu, 9 Jun 2011, Jan Kiszka wrote:
> On 2011-06-09 09:08, Andr? Weidemann wrote:
> > Hi Jan,
> >
> > On 09.06.2011 08:53, Jan Kiszka wrote:
> >> On 2011-06-09 08:19, Andr? Weidemann wrote:
> >>> Hi Gerd,
> >>>
> >>> On 08.06.2011 14:49, Gerd Hoffmann wrote:
> >>>> Hi,
> >>>>
> >>>>> The sound device shows up under Windows7 and drivers are installed
> >>>>> automatically. Unfortunately it does not work. All the players I
> >>>>> tried,
> >>>>> did not even start playing the sound file, although they detected the
> >>>>> DirectSound Device.
> >>>>
> >>>> iso xfer's from usb-linux via ehci are flaky for reasons not yet
> >>>> tracked
> >>>> down.
> >>>>
> >>>> Any reason why you don't just plug in a virtual sound card? The HDA
> >>>> emulation should work fine with win7.
> >>>
> >>> Using the hda driver was my first attempt. But the result was not very
> >>> convincing. When playing mp3s inside the VM, I could hear music coming
> >>> from the speakers, but the sound was very choppy and too slow. It was no
> >>> joy listening to it.
> >>
> >> Does "export QEMU_AUDIO_DAC_TRY_POLL=0" before invoking qemu helps? It
> >> depends on your host-side interface. Using ALSA here, it is generally
> >> required.
> >>
> >> Note that this discussion rather belongs on qemu-devel.
> >
> > Thank you very much. Setting the variable did the trick.
> > Could this perhaps be included in the man page? I am sure there will be
> > others who will eventually run into the same problem as I did.
>
> It is a long-standing issue of QEMU that I always wanted to understand
> but never found the time for. CC'ing malc, maybe he has a good idea how
> to finally attack this.
>
Attack what exactly?
--
mailto:av1474@comtv.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] assigned EHCI USB headset not working
2011-06-09 15:13 ` malc
@ 2011-06-09 15:24 ` Jan Kiszka
2011-06-09 16:09 ` malc
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2011-06-09 15:24 UTC (permalink / raw)
To: malc; +Cc: André Weidemann, Gerd Hoffmann, kvm@vger.kernel.org,
qemu-devel
On 2011-06-09 17:13, malc wrote:
> On Thu, 9 Jun 2011, Jan Kiszka wrote:
>
>> On 2011-06-09 09:08, Andr? Weidemann wrote:
>>> Hi Jan,
>>>
>>> On 09.06.2011 08:53, Jan Kiszka wrote:
>>>> On 2011-06-09 08:19, Andr? Weidemann wrote:
>>>>> Hi Gerd,
>>>>>
>>>>> On 08.06.2011 14:49, Gerd Hoffmann wrote:
>>>>>> Hi,
>>>>>>
>>>>>>> The sound device shows up under Windows7 and drivers are installed
>>>>>>> automatically. Unfortunately it does not work. All the players I
>>>>>>> tried,
>>>>>>> did not even start playing the sound file, although they detected the
>>>>>>> DirectSound Device.
>>>>>>
>>>>>> iso xfer's from usb-linux via ehci are flaky for reasons not yet
>>>>>> tracked
>>>>>> down.
>>>>>>
>>>>>> Any reason why you don't just plug in a virtual sound card? The HDA
>>>>>> emulation should work fine with win7.
>>>>>
>>>>> Using the hda driver was my first attempt. But the result was not very
>>>>> convincing. When playing mp3s inside the VM, I could hear music coming
>>>>> from the speakers, but the sound was very choppy and too slow. It was no
>>>>> joy listening to it.
>>>>
>>>> Does "export QEMU_AUDIO_DAC_TRY_POLL=0" before invoking qemu helps? It
>>>> depends on your host-side interface. Using ALSA here, it is generally
>>>> required.
>>>>
>>>> Note that this discussion rather belongs on qemu-devel.
>>>
>>> Thank you very much. Setting the variable did the trick.
>>> Could this perhaps be included in the man page? I am sure there will be
>>> others who will eventually run into the same problem as I did.
>>
>> It is a long-standing issue of QEMU that I always wanted to understand
>> but never found the time for. CC'ing malc, maybe he has a good idea how
>> to finally attack this.
>>
>
> Attack what exactly?
Sound output over (at least) ALSA is not smoothly working in polled
mode. It's similar to [1], which is yet unsolved.
Jan
[1] http://thread.gmane.org/gmane.comp.emulators.qemu/52365
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] assigned EHCI USB headset not working
2011-06-09 15:24 ` Jan Kiszka
@ 2011-06-09 16:09 ` malc
2011-06-09 17:11 ` Jan Kiszka
0 siblings, 1 reply; 6+ messages in thread
From: malc @ 2011-06-09 16:09 UTC (permalink / raw)
To: Jan Kiszka
Cc: André Weidemann, Gerd Hoffmann, kvm@vger.kernel.org,
qemu-devel
On Thu, 9 Jun 2011, Jan Kiszka wrote:
> On 2011-06-09 17:13, malc wrote:
> > On Thu, 9 Jun 2011, Jan Kiszka wrote:
> >
[..snip..]
>
> Sound output over (at least) ALSA is not smoothly working in polled
> mode. It's similar to [1], which is yet unsolved.
>
> Jan
>
> [1] http://thread.gmane.org/gmane.comp.emulators.qemu/52365
>
I've lost the mail from that period, have you sent me the info i've
requested? In any case, please do provide detailed information on how
to reproduce this (not involving windows guests though, i don't have
those)
--
mailto:av1474@comtv.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] assigned EHCI USB headset not working
2011-06-09 16:09 ` malc
@ 2011-06-09 17:11 ` Jan Kiszka
2011-06-10 6:23 ` Gerd Hoffmann
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2011-06-09 17:11 UTC (permalink / raw)
To: malc; +Cc: André Weidemann, Gerd Hoffmann, kvm@vger.kernel.org,
qemu-devel
On 2011-06-09 18:09, malc wrote:
> On Thu, 9 Jun 2011, Jan Kiszka wrote:
>
>> On 2011-06-09 17:13, malc wrote:
>>> On Thu, 9 Jun 2011, Jan Kiszka wrote:
>>>
>
> [..snip..]
>
>>
>> Sound output over (at least) ALSA is not smoothly working in polled
>> mode. It's similar to [1], which is yet unsolved.
>>
>> Jan
>>
>> [1] http://thread.gmane.org/gmane.comp.emulators.qemu/52365
>>
>
> I've lost the mail from that period, have you sent me the info i've
> requested?
Just reposted it privately.
> In any case, please do provide detailed information on how
> to reproduce this (not involving windows guests though, i don't have
> those)
I've two scenarios at hand now: one involves a Windows 7 guest with
-soundhw hda, the other is my Musicpal (do you still have a firmware
image at hand?). Some Linux guest here with identical configuration like
Win7 does not show any problems in polling mode.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] assigned EHCI USB headset not working
2011-06-09 17:11 ` Jan Kiszka
@ 2011-06-10 6:23 ` Gerd Hoffmann
0 siblings, 0 replies; 6+ messages in thread
From: Gerd Hoffmann @ 2011-06-10 6:23 UTC (permalink / raw)
To: Jan Kiszka; +Cc: André Weidemann, qemu-devel, kvm@vger.kernel.org
Hi,
> I've two scenarios at hand now: one involves a Windows 7 guest with
> -soundhw hda, the other is my Musicpal (do you still have a firmware
> image at hand?). Some Linux guest here with identical configuration like
> Win7 does not show any problems in polling mode.
Noteworthy difference between linux and windows 7: Windows 7 uses a
pretty small ring buffer (~ one page, where 20ms sound data fit in)
whereas linux uses *alot* more, 128k or so.
That makes win7 guests quite sensitive to latency issues, be it in the
audio subsystem or elsewhere. For example bulky screen updates with the
non-threaded vnc server are enougth to cause audible glitches in audio
playback.
HTH,
Gerd
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-06-10 6:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4DEF17C1.7000805@web.de>
[not found] ` <4DEF6FC9.8040209@redhat.com>
[not found] ` <4DF065E9.4070605@web.de>
[not found] ` <4DF06DED.7030604@web.de>
[not found] ` <4DF07182.3060003@web.de>
2011-06-09 7:11 ` [Qemu-devel] assigned EHCI USB headset not working Jan Kiszka
2011-06-09 15:13 ` malc
2011-06-09 15:24 ` Jan Kiszka
2011-06-09 16:09 ` malc
2011-06-09 17:11 ` Jan Kiszka
2011-06-10 6:23 ` Gerd Hoffmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).