Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


virtual audio in proxmox
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

virtual audio in proxmox

jvnadrjvnadr Member
edited November 2016 in Help

Hey guys, does anyone can help me on how to add virtual soundcard (ac97 etc.) to a proxmox kvm guest (for a win machine)?

Comments

  • WilliamWilliam Member
    edited November 2016

    Run to confirm your kvm build HAS ac97 support:

    kvm -soundhw ?

    Then add to the qemu config file for the VMs ID (add to existing args line, if any):

    args: -soundhw ac97

    Can also use this to bind all available, if it still works nowadays (not a good idea unless you manually kick them out in device manager/PCIe blacklist config OS side later):

    args: -soundhw

    Thanked by 1jvnadr
  • @William Thanks for the reply!

    I did that but i still getting errors in starting the node:

    ()
    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
    alsa: Could not initialize ADC
    alsa: Failed to open `default':
    

    Those cards seem to be installed:

     kvm -soundhw ?
    Valid sound card names (comma separated):
    sb16        Creative Sound Blaster 16
    es1370      ENSONIQ AudioPCI ES1370
    ac97        Intel 82801AA AC97 Audio
    adlib       Yamaha YM3812 (OPL2)
    gus         Gravis Ultrasound GF1
    cs4231a     CS4231A
    hda         Intel HD Audio
    pcspk       PC speaker
    
    -soundhw all will enable all of the above
    

    Any idea?

  • SOLVED:
    For some weird reason, the default qemu config for sound card does not work in many installations of proxmox.
    This worked, in case someone has the same issue with me:

    args: -device AC97,addr=0x18

Sign In or Register to comment.