SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello!
I've installed Virtualbox 3.06 in Slackware64 13.Everything is going fine except sound.
How can I make VirtualBox recognize and play sound? Sound works fine in Slackware. So the problem has to be with virtualbox. I've tried any of the virtualbox possibilities (alsa, oss, etc) but no results.
I having the same problem with VirtualBox PUEL in Slackware64-13.
When I created a virtual machine it listed the audio as
"Host Driver: ALSA Audio Driver"
and
"Controller: ICH AC97"
When I went to install the operating system, XP-SP2, it returned this error message:
"No audio devices could be opened. Selecting Null audio backend with the consequences that no sound is audible."
Anyone know of a fix?
Thanks.
Edit in: OK, I tried the OSS setting as recommended above and it worked. Now I have sound in XP running in VirtualBox, but no sound in Slackware, but that is another problem in another thread.
Thanks.
Last edited by cwizardone; 10-04-2009 at 09:24 PM.
I had the same problem with the PUEL version, could not get ALSA to work...
But the OSE Version works completly fine for me with ALSA output!
I posted in the VirtualBox forum, but that wasn't really helpful and I still suspect
that this is some kind of bug, but I was too lazy to make a real bugreport... http://forums.virtualbox.org/viewtopic.php?f=7&t=22847
If you can live without:
Code:
* Remote Desktop Protocol (RDP) control of VM
* USB support, with remote devices over RDP
* iSCSI support
* Open Virtualization Format (OVF) support (import/export)
Then try the OSE VirtualBox.
You can find slackbuilds for it at slackbuilds.org
@cwizardone
Do you have a soundcard that uses the intel-hda driver?
I do and my sound is also blocked if something uses OSS.
But its also the other way around, if ALSA is in use /dev/dsp is "busy".
As long as everything uses ALSA I'm fine...
Thanks, but USB support is the reason for using the PUEL version. The OSE is of no use for my purposes.
Didn't have these problems using an older version of VirtualBox, but it won't work with the newer kernels.
Cheers.
Hello guys,
on that subject i found this.
In order to use ALSA for VirtualBox on Slackware64 13 you need to disable esound from libSDL. So you can uninstall the package. Compile your own version with disabled esound. You can use that command.
./configure --prefix=/usr/local --libdir=/usr/local/lib64 --enable-shared --disable-static --disable-esd --disable-x11-shared
Of course you can play with ./configure as you wish. Then install it and voila ALSA works for VBox.
I found that elsewhere on the net Give credit to unknown buddy.
That is how i did it.
Actually, I had the same problem with Slackware64. I compiled a new kernel (2.6.31.1), and sound now works again in vbox using oss - plus sound still works in Slackware!
Did you try 3.1.2 (or whatever the latest version is)? I had this same problem and with 3.1.2 it's gone (alsa output works). I should also add that I changed the guest system after upgrade (from Slack 12.2 to Pardus), but I don't think that it is the reason.
I'm having the same problem. I'm running VirtualBox 3.1.4 r57640 on the -current kernel 2.6.32.7. I can't get any sound in an XP VM with alsa, but I can with OSS.
Quote:
Originally Posted by Domine
In order to use ALSA for VirtualBox on Slackware64 13 you need to disable esound from libSDL. So you can uninstall the package. Compile your own version with disabled esound. You can use that command.
./configure --prefix=/usr/local --libdir=/usr/local/lib64 --enable-shared --disable-static --disable-esd --disable-x11-shared
In looking at the SlackBuild script for -current, --disable-esd is used, so I'm confused how rebuilding libSDL helps.
I tried a recompile and a reinstall of libSDL last night from -current just to see if anything would change. I still don't have sound in VirtualBox when using ALSA.
Recently I did a fresh install of Slackware64-13, "upgraded" it to current, and then installed the latest version of VirtualBox.
Sound works in VB with both OSS and PulseAudio, but not with ALSA. However, as before, when VB is running there is no sound in KDE.
Does one have to be using ALSA in VirtualBox, if they can get it to work, to have sound in both KDE and VirtualBox at the same time?
Last edited by cwizardone; 02-21-2010 at 07:06 AM.
Recently I did a fresh install of Slackware64-13, "upgraded" it to current, and then installed the latest version of VirtualBox.
Sound works in VB with both OSS and PulseAudio, but not with ALSA. However, as before, when VB is running there is no sound in KDE.
Does one have to be using ALSA in VirtualBox, if they can get it to work, to have sound in both KDE and VirtualBox at the same time?
I use XFCE instead of KDE. I can get sound to work in VirtualBox via OSS, but then sound does not work for any other applications.
Recently I did a fresh install of Slackware64-13, "upgraded" it to current, and then installed the latest version of VirtualBox.
Sound works in VB with both OSS and PulseAudio, but not with ALSA. However, as before, when VB is running there is no sound in KDE.
Does one have to be using ALSA in VirtualBox, if they can get it to work, to have sound in both KDE and VirtualBox at the same time?
I just tried compiling PulseAudio with the dependencies that slackbuilds.org has, and it wouldn't compile for me.
I've Googled around more, and I still can't find a solution to this problem. Does anyone have any additional thoughts?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.