RC3 r101470 - Audio Issue Linux Guests

Postings relating to old VirtualBox pre-releases
Post Reply
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

RC3 r101470 - Audio Issue Linux Guests

Post by loukingjr »

I don't know if the AC97 codec was changed but Installed a new copy of Ubuntu 14.04.2 and the volume level is extremely low. OSX 10.11 and 10.10.4 have audio issues.

Audio also breaks up on most Linux guests.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: RC3 r101470 - Audio Issue Linux Guests

Post by loukingjr »

Fedora 22 and OpenSUSE 13.2 audio seems fine.

On Lubuntu 15.04 Taylor Swift sounds like Minnie Mouse. :lol:
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: RC3 r101470 - Audio Issue Linux Guests

Post by loukingjr »

Fixed the Ubuntu 14.04.2 problem. Wasn't a VB issue. Still have the other audio problems.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: RC3 r101470 - Audio Issue Linux Guests

Post by Perryg »

loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: RC3 r101470 - Audio Issue Linux Guests

Post by loukingjr »

Not sure Perry. Could be part of the problem. Audio seems okay in some Linux guests. Wrong sample rate, either too high or too low in others. Then some now stutter. It's an adventure. :lol:
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
meiser79
Posts: 16
Joined: 24. Dec 2014, 09:41

Re: RC3 r101470 - Audio Issue Linux Guests

Post by meiser79 »

I can also reproduce the issue on VBox 5.0 final. I have a OSX 10.10 host and an Ubuntu 14.04 guest. The sound is too deep and stutters.

I upgraded to 5.0 and use my already available guests, no fresh install.
Last edited by meiser79 on 9. Jul 2015, 19:09, edited 2 times in total.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: RC3 r101470 - Audio Issue Linux Guests

Post by loukingjr »

meiser79 wrote:I can also reproduce the issue on VBox 5.0 final. I have a OSX 10.10 host and an Ubuntu 14.04 guest. The sound is too deep and stutters.

I upgraded to 5.0 and use my already available guests, no fresh install.
create a sound.conf file with these lines…

Code: Select all

options snd-intel8x0 ac97_clock=48000
options snd slots=snd-intel8x0
alias snd-card-0 snd-intel8x0
then add it to the /etc/modprobe.d folder in Ubuntu. Restart the guest.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
meiser79
Posts: 16
Joined: 24. Dec 2014, 09:41

Re: RC3 r101470 - Audio Issue Linux Guests

Post by meiser79 »

I read somewhere here that the devs added a different AC97 codec for linux, but that it's only used for new guests (?). How can it be used on existing guests?
birdie
Posts: 429
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: RC3 r101470 - Audio Issue Linux Guests

Post by birdie »

meiser79 wrote:I read somewhere here that the devs added a different AC97 codec for linux, but that it's only used for new guests (?). How can it be used on existing guests?
Edit XXXXXXXXXX.vbox and change

Code: Select all

      <AudioAdapter controller="AC97" driver="ALSA" enabled="true"/>
to

Code: Select all

      <AudioAdapter controller="AC97" codec="AD1980" driver="ALSA" enabled="true"/>
Perhaps there's a command for that, but I'm too lazy to figure it out.
meiser79
Posts: 16
Joined: 24. Dec 2014, 09:41

Re: RC3 r101470 - Audio Issue Linux Guests

Post by meiser79 »

Thanks! Here's the command.

Code: Select all

VBoxManage modifyvm "machinename" --audiocodec ad1980
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: RC3 r101470 - Audio Issue Linux Guests

Post by michaln »

Does it make a difference? It should, but only wide testing can say for certain :)
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: RC3 r101470 - Audio Issue Linux Guests

Post by loukingjr »

Yes it works. However, corrects the sampling rate but drops the volume to almost nothing. At least with Ubuntu based guests.

It seems to kill audio in Debian 8.1
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: RC3 r101470 - Audio Issue Linux Guests

Post by loukingjr »

I fixed Debian 8.1 by restoring a previous version and just installing the 5.0 GAs. Didn't run the "AD1980" command.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply