VirtualBox (windowsxp guest) sound problem
For those that use Virtualbox on their slackware host and have a windows (xp) guest running.
I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. Any ideas why I can't get sound working? |
Try the OSS setting. It works for me.
|
See this thread where this same issue is discussed.
http://www.linuxquestions.org/questi...sound.-754662/ No one answered my question about how recompiling SDL would fix the issue, and it didn't fix it for me. I just upgraded my system to the latest -current64, and sound now works when using ALSA. You can also try compiling pulseaudio and using it. |
Here's my setup
My computer is using its on-motherboard HDA Intel audio, and I have sound working for guests in VirtualBox with PulseAudio. I have GSB 2.26 installed on my box, and I am using its PulseAudio packages (v0.9.15)... shouldn't matter whether you use GSB or roll your own packages from SBo. VirtualBox is PUEL for USB support, version 3.1.4.
my /etc/asound.conf Code:
pcm.pulse { Code:
groupadd -g 216 pulse Code:
Click on the Simultaneous Output tab Code:
Host Audio Driver: PulseAudio My only real beef with PulseAudio at the moment is that it seems to lower you output levels... need to crank up the decibels. |
Thanks for your help.
I hadn't installed PulseAudio, let's do that first:). Prior to building I installed libtool and removed the previous version. But after running the PulseAudio configure script, it is not able to find it while it is correctly installed in /usr/local/bin/libtool checking for lt_dladvise_init in -lltdl... no configure: error: Unable to find libltdl version 2. Makes sure you have libtool 2.2 or later installed. What's wrong now? if test "x$LIBLTDL" = "x"; then : as_fn_error "Unable to find libltdl version 2. Makes sure you have libtool 2.2 or later installed. " "$LINENO" 5 fi in the configure script. LIBLTDL is somehow not defined while $ libtool --version ltmain.sh (GNU libtool) 2.2.6b |
Quote:
You can also review my other thread on the proper setup and configuration of pulseaudio under -current64. http://www.linuxquestions.org/questi...=1#post3882766 To Cheesesteak's comments above about modifying the pulseaudio preferences, I gave up on pulseaudio under Slackware because I don't use gnome, and many of the support tools for pulseaudio have gnome library dependencies. Like I said in my other post, my recent upgrade to the latest version of -current seemed to fix my ALSA problems. Have you tried upgrading to -current? |
I haven't had any luck using VirtualBox with a pure ALSA setup. On my host, I have no trouble concurrently playing an mp3 in Audacious, watching a video with audio on Youtube and getting sound effects through Pidgin. Should I be doing any of those, then choose to start a VBox guest, it complains that it can't access the specified audio device. If I'm not doing anything on the host when I fire up a VBox guest, it will have sound. Of course, the reverse then happens that I can't do anything on the host with audio until I shut the guest down.
Going a little further, I tried a few versions of VMware Workstation (6.5 and 7.0). On a stock Slackware64 13.0 setup, sound works between the host and guest(s) without any monkey-business. No Pulse, just pure ALSA. Aside from the painless audio, I don't have a compelling reason to use VMware over VirtualBox. |
@rmjohnso
Well I removed the libtool from Slackware and replaced it with the 2.2 version, and I downloaded the latest sources of PulseAudio (0.9.21). That's is why I don't understand the error. libtool is properly installed in /usr/local I do not have the 64 bit Slackware version. |
Quote:
|
Reinstalling is not what I would like to do, I would rather wait for Slackware 14 or 15 for that, and honestly I don't see why that would solve the problem. There seems to be something the trouble with the configure script. I have to pinpoint the problem why the configuration doesn't see the newest libtool version. Change something in the script perhaps. Then I can install PulseAudio and see if that solves the sound problem.
|
What I meant was to re-install the current version of the libtool Slackware package (not a full system re-install).
|
The version of Libtool distributed with Slackware is 1.5.26, while the latest PulseAudio requires 2.2 which is the Libtool version I replaced it with. I will have to see I can make some changes in the configure script to make it work.
|
libtool-2.2.6b is a part of -current. You might try that.
|
PulseAudio is now installed, I forgot to remove the old libltdl files in /usr/lib which were still used instead of the newest ones in /usr/local/lib, oh well.
I made the changes in /etc/asound.conf, but no sound yet. Will continue tomorrow. |
All times are GMT -5. The time now is 04:37 AM. |