qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Re: Fwd: qemu no sound


From: andschlick
Subject: Re:Re: Fwd: qemu no sound
Date: Mon, 12 Dec 2022 10:41:37 GMT
User-agent: freenet-api2


Hello Community,

Thanks for your answers. But I just can't get any further and I can successfully start the VM unfortunately without sound. The command did not work and brings the following error message. 

qemu-system-x86_64.exe -accel whpx -smp 4 -hda C:\Users\andsc\Desktop\kali-linux-2022.4-qemu-amd64.qcow2 net nic,model=virtio -net user --vga qxl -boot strict=on -usbdevice tablet -audio driver=dsound 

qemu-system-x86_64.exe: -audio driver=dsound: Parameter 'model' is missing 

Best Regards 

Andreas Schlick




-----ursprüngliche Nachricht-----
 Von: voltagex@voltagex.org
 Gesendet: 11.12.2022 14:06 Uhr
 An: qemu-discuss@nongnu.org
 Betreff: Fwd: qemu no sound


Forwarding this back to the list


Begin forwarded message:
From: andschlick@freenet.de
Date: 11 December 2022 at 21:44:41 AEDT
To: Adam Baxter <voltagex@voltagex.org>
Subject: Re: RE: Re: qemu no sound
Reply-To: andschlick@freenet.de

Hello,

I have tried the following commands but unfortunately still no sound and dummy output in pulse audio control. Here are the various commands that I have tested.

C:\Users\andsc\Desktop\qemu\qemu-system-x86_64.exe -audiodev dsound,id=example,in.frequency=44110,out.frequency=8000 -accel whpx -smp 4 -hda C:\Users\ andsc\Desktop\kali-linux-2022.4-qemu-amd64.qcow2 -m 3000 -net nic,model=virtio -net user --vga qxl -boot strict=on -usbdevice tablet

C:\Users\andsc\Desktop\qemu\qemu-system-x86_64.exe -audio dsound,model=sb16 -accel whpx -smp 4 -hda amd64.qcow2 -m 3000 -net nic,model=virtio -net user --vga qxl -boot strict=on -usbdevice tablet

I am now using the following version QEMU emulator version 7.1.94 (v7.2.0-rc4-11947-g2dabd50cfb-dirty)
Windows 11 Home
This is the output of audio-help
C:\Users\andsc\Desktop\qemu\qemu-system-x86_64.exe -audio-help
Environment variable based configuration deprecated.
Please use the new -audiodev option.

Equivalent -audioev to your current environment variables:
(Since you didn't specify QEMU_AUDIO_DRV, I'll list all possibilities)
-audioev id=dsound,driver=dsound
-audiodev id=sdl,driver=sdl
-audiodev id=none,driver=none

Regards

Andreas Schlick

-----ursprüngliche Nachricht-----
 Von: voltagex@voltagex.org
 Gesendet: 10.12.2022 13:13 Uhr
 An: andschlick@freenet.de, qemu-discuss@nongnu.org
 Betreff: Re: qemu no sound

Hi Andreas,

On Sat, 10 Dec 2022, at 20:40, andschlick@freenet.de wrote:

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 

The manual at https://www.qemu.org/docs/master/system/qemu-manpage.html#options suggests the -audio option is what you need (QEMU devs: It'd be helpful if each category of option could be under a H2 or H3 tag with an ID & anchor so I could easily link to the right section)

You did not specify what version of QEMU, I've grabbed https://qemu.weilnetz.de/w64/2022/qemu-w64-setup-20221208.exe

qemu-system-x86_64.exe -audio driver=help
Available audio drivers:
none
dsound
jack
sdl
spice
wav

Therefore I'd try

qemu-system-x86_64.exe -accel whpx -smp 4 -hda net nic,model=virtio -net user --vga qxl -boot strict=on -usbdevice tablet -audio driver=dsound

 although I don't know if you need to specify guest audio devices too. (again, it'd be very helpful if I could directly link to parts of the manual)

--Adam




reply via email to

[Prev in Thread] Current Thread [Next in Thread]