Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AC97 virtual sound in unraid KVM

Featured Replies

Has anybody done this? Having a virtual sound card is useful on a headless system. I've been using virtualbox and the sound works great over RDP, but I haven't been able to figure what all I need to do to get the same type system up and working on KVM. Would it be easier just to plug in a cheap usb sound card and pass it through? Seems like a waste since I wouldn't be plugging anything into it.

You can add <sound model='ich6'/> right before </devices>.  You can try other things for "model" than ich6:  'es1370', 'sb16', 'ac97', 'ich6' and 'usb'.

 

Depending on the guest you're using, some may work better than others.

  • Author

You can add <sound model='ich6'/> right before </devices>.  You can try other things for "model" than ich6:  'es1370', 'sb16', 'ac97', 'ich6' and 'usb'.

 

Depending on the guest you're using, some may work better than others.

Cool! I'll play around with that.

 

What is the accepted way of editing the xml so that changes stick if you later change something via the vm manager webgui? I must be doing something wrong, because it seems like my changes get wiped out if I use the gui.

You can add <sound model='ich6'/> right before </devices>.  You can try other things for "model" than ich6:  'es1370', 'sb16', 'ac97', 'ich6' and 'usb'.

 

Depending on the guest you're using, some may work better than others.

Cool! I'll play around with that.

 

What is the accepted way of editing the xml so that changes stick if you later change something via the vm manager webgui? I must be doing something wrong, because it seems like my changes get wiped out if I use the gui.

 

The accepted way is to not edit using the webGui once you've committed custom XML edits, or else they will be lost ;-).  We need to add a warning.  If you edit XML, then later edit the normal webGui way, your XML edits will be lost.  Making those persist is a bit of a nightmare.  Instead, we want to just bake support for these use cases into the UI editor directly.  The XML editor is only for advanced users / use cases right now.

  • Author

What is the accepted way of editing the xml so that changes stick if you later change something via the vm manager webgui? I must be doing something wrong, because it seems like my changes get wiped out if I use the gui.

 

The accepted way is to not edit using the webGui once you've committed custom XML edits, or else they will be lost ;-).  We need to add a warning.  If you edit XML, then later edit the normal webGui way, your XML edits will be lost.  Making those persist is a bit of a nightmare.  Instead, we want to just bake support for these use cases into the UI editor directly.  The XML editor is only for advanced users / use cases right now.

So, is there a running list of UI editor options to be added?

 

Would you consider making a lockable UI editor option that automatically toggled when you manually edited the XML to inhibit further UI editor changes without unsetting the toggle so that forgetful types like me don't accidently undo changes we've made and wonder what happened?

 

How about the ability to revert to a previous XML version, where every time a change is made, the old version is backed up, like Joe's unmenu config/system file editor? Keeping a copy of the last 5 revisions would probably be more than plenty.

  • 1 year later...

Replying to myself here for posterity. I installed the driver found here.

http://vb-audio.pagesperso-orange.fr/Cable/index.htm

It works just fine for the purposes described in the OP, when I connect to the VM through RDP, I get audio just fine.

 

Thanks for this input (or for linking for yourself  ;) ).  I was really struggling with my audio on a headless server w/ no sound card.  I had effective sound with the "ich6" sound card XML addition (win 10), but it was crappy.  When I removed all sound cards from VM XML, and installed your "VB-Audio Virtual Cable" software it's night and day better.  It's perfect.  I'm sending audio to my Steam Link over ethernet.

 

THANKS SO MUCH!  This saved me from buying another computer essentially.

  • 6 months later...

Hmm, i have tried todays W98SE, sound card emulation, only working driver i have found for AC97, but not sound from speakers, i have tested Windows 7 with HD audio and again same problem, but through Teamviewer i can check that sound is working, so maybe whole Unraid sound emulation is not wokring, only sound pass through is working.

  • 2 years later...
On 8/22/2015 at 7:13 AM, jonp said:

You can add <sound model='ich6'/> right before </devices>.  You can try other things for "model" than ich6:  'es1370', 'sb16', 'ac97', 'ich6' and 'usb'.

 

Depending on the guest you're using, some may work better than others.

 

@jonp  this is VERY useful info (I have some OS to virtualise that only will work with these options) but please, do share where you got this info from? I am looking for the same on networking - I know we have vmxnet3 as an option but where is the list of what we could use??

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.