9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] qemu sound, only one side/speaker working
@ 2021-02-28 11:27 nydldmcd2
  2021-02-28 12:22 ` cinap_lenrek
  0 siblings, 1 reply; 2+ messages in thread
From: nydldmcd2 @ 2021-02-28 11:27 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

So last year a patch was submitted to fix 9front's sound under qemu as a guest (using intel hda)

But it's semi broken again.

With a linux host using pulse audio, audio in qemu with a 9front guest only plays on one side/one speaker.

here's my startup cmd

qemu-system-x86_64 -cpu host -enable-kvm -m 4024 -net nic,model=virtio,macaddr=52:54:00:00:EE:03 -net user -device virtio-scsi-pci,id=scsi -hda 9front.qcow2.img  -boot d -vga virtio -display sdl,gl=on -device intel-hda -device hda-duplex

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T17c9d28c18e0a4cf-M863a0b6d1389afddb20fe122
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1374 bytes --]

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

* Re: [9fans] qemu sound, only one side/speaker working
  2021-02-28 11:27 [9fans] qemu sound, only one side/speaker working nydldmcd2
@ 2021-02-28 12:22 ` cinap_lenrek
  0 siblings, 0 replies; 2+ messages in thread
From: cinap_lenrek @ 2021-02-28 12:22 UTC (permalink / raw)
  To: 9fans

just tested with QEMU 5.1.0 (v5.1.0-11824-g8699890d91-dirty) under windows 10.

it works just fine for me.

i doubt this is a bug in the hda driver. the left and right channels are submitted
as one stream. the fix of last year was about command completions requiering the
interrupt driven method in qemu, while the driver was just implementing a simple
polling scheme.

so i suspect it to be a problem with your specific qemu version or pulseaudio.

--
cinap

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T17c9d28c18e0a4cf-M0d40be11db52d63990a00a81
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

end of thread, other threads:[~2021-02-28 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-28 11:27 [9fans] qemu sound, only one side/speaker working nydldmcd2
2021-02-28 12:22 ` cinap_lenrek

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).