qemu-discuss
[Top][All Lists]
Advanced

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

Re: ALSA errors?


From: Rostislav Svoboda
Subject: Re: ALSA errors?
Date: Sun, 3 Mar 2024 01:43:05 +0100

I cracked it.

;;; The 'addr' values for '-audiodev' and '-device virtio-serial-pci' must be
;;; different. See also:
;;; https://www.kraxel.org/blog/2020/01/qemu-sound-audiodev/
;;; https://github.com/quickemu-project/quickemu/blob/master/quickemu#L415
;;; https://www.reddit.com/r/kvm/comments/kmz3bu/audiodev_with_alsa/
;;;
;;; However the 'spice' has something to do with remote-viewer. Hmm.
;;; Useful commands:
;;;   hwinfo --sound
;;;   speaker-test -c2 -l5 -twav
;;; The 'speaker-test ...' works only after(!) connected with remote-viewer
        "-audiodev spice,id=snd0"
        "-device intel-hda,addr=0x6"
        "-device hda-duplex,audiodev=snd0"

;;; No need to use remote-viewer spice://localhost:5930 if '-display gtk' is
;;; added, however with '-display gtk' the sound doesn't work. Hmm.
        ;; "-display" "gtk"

See 
https://github.com/Bost/dotfiles/commit/e667f7a37d9a544bab94f17c2a91b6a7aeb821fb

Cheers
Bost



reply via email to

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