LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2016, 12:21 AM   #1
TarFile
Member
 
Registered: Mar 2003
Posts: 344

Rep: Reputation: 31
Sound not working in virt-manager guests


I get no sound when running a guest under virt-manager using KVM, virtlib, and QEMU.

Sound works with guests using AQEMU.

Any ideas where to look.

If I pick the es1370 the drivers get loaded and everything appears to work but no sound. I have check to make sure the volume is set.
 
Old 04-12-2016, 12:17 PM   #2
TarFile
Member
 
Registered: Mar 2003
Posts: 344

Original Poster
Rep: Reputation: 31
If I start the guest with AQEMU using the same qcow2 file as is being used in virt-manager sound works.

This means that there is something configured wrong in virt-manager at least that would seem to hold true.

I have dug around and it seems this is a fairly common problem.
 
Old 04-12-2016, 08:45 PM   #3
TarFile
Member
 
Registered: Mar 2003
Posts: 344

Original Poster
Rep: Reputation: 31
I am going to mark this one as solved, with a few caveats.

Basically the sound is off by design on the assumption that you would not want several different VM's running at the same time making sound.

So OK that makes sense but it is possible to get sound to work with virt-manager.

The easiest way is to use AC97 sound as the sound device in virt-manager and if your client supports AC97 it should work.

There are other ways to get it to work depending on what your doing.

I did not try the other methods so I am not going to go over them.

Suffice to say this shows up as a bug report every so often on the assorted virt-manager bug reporting sites here is an example.

https://bugs.launchpad.net/ubuntu/+s...rt/+bug/591489

So I consider this a limitation of virt-manager which may or may not concern the individual user. For me it again depends virt-manager has some nice features but for certain applications it will not work. I have experienced this with both VIrtualBox and AQEMU. So far the most flexible seems to be KVM/libvirt/QEMU and the command line or scripts. That is still a bit of a pain. Hopefully the AQEMU maintainer will update at some time but it seems to be a dead project. It is open source and written in QT4 so maybe it will get picked up by someone. I noticed that someone at RedHat has fixed a bug as recently as this year.

On a side note I was having problems with the icons in virt-manager but an install of kde-gtk-config and selecting GNOME as the Icon Theme fixed that.
 
Old 04-13-2016, 11:08 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,483

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Glad you got it working!
Interesting that switching from '-soundhw es1370' to '-soundhw ac97' is still a solution. http://www.linuxquestions.org/questi...5/#post4633614
 
Old 04-13-2016, 02:00 PM   #5
Gerardo Zamudio
Member
 
Registered: Jan 2011
Distribution: Slackware
Posts: 119

Rep: Reputation: 100Reputation: 100
Is es1370 supposed to be the default? I've never messed with the sound devices on the desktop virtual machines I've installed (Slackware 14.1 and Windows 7 included), always leaving the default, and sound works for me. I just checked my latest install and it's using ich6. I'm on Slackware64 14.1 host. Glad it's working for you now though.
 
Old 04-13-2016, 04:07 PM   #6
TarFile
Member
 
Registered: Mar 2003
Posts: 344

Original Poster
Rep: Reputation: 31
ich6 is the default.

Not sure why it did not work.

Both of my test VM's are really old Slackware versions 7.0 and 9.1.

No particular reason but that is the real test if the manager can run old and weird stuff.

I have found that newer releases of software tend to work better as they have better hardware support.

I guess I'll try Skackware current or whatever is current for some other distro and see if that is less fussy.
 
Old 04-14-2016, 12:43 PM   #7
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, OpenBSD
Posts: 1,464

Rep: Reputation: 827Reputation: 827Reputation: 827Reputation: 827Reputation: 827Reputation: 827Reputation: 827
Quote:
Originally Posted by TarFile View Post

I guess I'll try Skackware current or whatever is current for some other distro and see if that is less fussy.
Debian Unstable or the newest Fedora Core should be a good test for hardware support. You might even want to try FreeBSD and if that has trouble, NetBSD.
 
Old 04-14-2016, 12:50 PM   #8
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, OpenBSD
Posts: 1,464

Rep: Reputation: 827Reputation: 827Reputation: 827Reputation: 827Reputation: 827Reputation: 827Reputation: 827
Quote:
Originally Posted by mralk3 View Post
Debian Unstable or the newest Fedora Core should be a good test for hardware support. You might even want to try FreeBSD and if that has trouble, NetBSD.
I can confirm that sound works with spice on Slackware-current. I just tested it.
 
Old 04-14-2016, 01:11 PM   #9
TarFile
Member
 
Registered: Mar 2003
Posts: 344

Original Poster
Rep: Reputation: 31
You know I think FreeBSD current sounds interesting I have not messed with that for a while.
 
1 members found this post helpful.
Old 04-14-2016, 06:48 PM   #10
TarFile
Member
 
Registered: Mar 2003
Posts: 344

Original Poster
Rep: Reputation: 31
I installed FreeBSD 10.3 and am installing xorg and cinnamon desktop whatever that is

I should have probably grabbed 11 current

I used FreeBSD for a while but went back to slack.
 
Old 04-14-2016, 11:20 PM   #11
TarFile
Member
 
Registered: Mar 2003
Posts: 344

Original Poster
Rep: Reputation: 31
I installed Slackware 14.1 and sound worked right away. I guess the old stuff is more than a little twitchy

I am still waiting on cinnamon to install on FreeBSD if I knew it would take this long I would have picked something smaller
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue setting up a static public IP in kvm guests+virt-manager h.safe Linux - Networking 1 06-03-2015 02:30 PM
Guests missing from virt-manager. How do I restore them? uhcafigdc Linux - Virtualization and Cloud 1 02-20-2012 05:33 PM
[SOLVED] Virt-Manager: Guests not able to ping each other sohny Linux - Virtualization and Cloud 4 01-31-2012 12:49 PM
LXer: Hackery Virt-manager on OpenSuse 11.3 to perform PV Guests installs via Apache Mirrors LXer Syndicated Linux News 0 09-27-2010 04:30 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration