qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* qemu no sound
@ 2022-12-15  7:36 andschlick
  2022-12-16  6:00 ` Helge Konetzka
  0 siblings, 1 reply; 2+ messages in thread
From: andschlick @ 2022-12-15  7:36 UTC (permalink / raw)
  To: qemu-devel

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


                        
                            .fr-emoticon.fr-emoticon-img {
                                background-repeat: no-repeat !important;
                                font-size: inherit;
                                height: 1em;
                                width: 1em;
                                min-height: 20px;
                                min-width: 20px;
                                display: inline-block;
                                margin: -0.1em 0.1em 0.1em;
                                line-height: 1;
                                vertical-align: middle;
                            }
                            .fr-emoticon {
                                font-weight: normal;
                                font-family: "Apple Color Emoji","Segoe UI Emoji","NotoColorEmoji","Segoe UI Symbol","Android Emoji","EmojiSymbols";
                                display: inline;
                                line-height: 0;
                            }
                        
Hello dear Qemu community,
I installed qemu under Windows 11 home and downloaded the following file. kali-linux-2022.4-qemu-amd64.qcow2 and started it with the following command. unfortunately without sound what kind of command do I have to add for sound support.
 C:\Users\andsc\Desktop\qemu\qemu-system-x86_64.exe -accel whpx -smp 4 -hda net nic,model=virtio -net user --vga qxl -boot strict=on -usbdevice tablet Thank you for your support 
Qemu starts Kali Linux quite well and Kali runs smoothly but I have no sound support. Already had me on the mailing list:
qemu-discuss@nongnu.org asked the question but got no more answers. What is the command to get sound support? 
Greetings 
Andreas Schlick  




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

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

* Re: qemu no sound
  2022-12-15  7:36 qemu no sound andschlick
@ 2022-12-16  6:00 ` Helge Konetzka
  0 siblings, 0 replies; 2+ messages in thread
From: Helge Konetzka @ 2022-12-16  6:00 UTC (permalink / raw)
  To: qemu-devel

Hello Andreas,

Am 15.12.22 um 08:36 schrieb andschlick@freenet.de:
> 
> Hello dear Qemu community,
> 
> I installed qemu under Windows 11 home and downloaded the following 
> file. kali-linux-2022.4-qemu-amd64.qcow2 and started it with the 
> following command. unfortunately without sound what kind of command do I 
> have to add for sound support.
> 
>   C:\Users\andsc\Desktop\qemu\qemu-system-x86_64.exe -accel whpx -smp 4 
> -hda net nic,model=virtio -net user --vga qxl -boot strict=on -usbdevice 
> tablet Thank you for your support
> 

I'm focussing on your sound problem, so I did not test with kali image. 
This command works for me on Windows 10 22H2 using a 
Msys2/Mingw64-Bash-Shell with Qemu 7.1.94:

qemu-system-x86_64 \
  -M q35 \
  -accel whpx,kernel-irqchip=off \
  -m 1536 \
  -audiodev id=audio0,driver=dsound \
  -device ich9-intel-hda -device hda-duplex,audiodev=audio0 \
  -cdrom openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso

"-audiodev id=audio0,driver=dsound" defines, how the host provides the sound
"-device ich9-intel-hda -device hda-duplex,audiodev=audio0" refers to 
the sound provider and creates sound devices for the guest.

Maybe the whole command can be a starting point, too.

I did not use "-vga qxl" here, because this implies spice usage which 
adds more complexity because the spice client needs to communicate with 
qemu.
"-M q35" defines a more current computer than leaving it out

Regards,
Helge.


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

end of thread, other threads:[~2022-12-16  6:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-15  7:36 qemu no sound andschlick
2022-12-16  6:00 ` Helge Konetzka

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