![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Quad Shot of Ubuntu
![]() Join Date: Feb 2007
Beans: 434
Ubuntu 8.10 Intrepid Ibex
|
HOWTO: Set up 5.1 sound for movies with an analog surround sound card (ALSA)
I know there are alot of people trying to get 5.1 surround sound to work in Ubuntu. It's actually pretty easy, but took me a long time to figure it out. Here are the specs for this guide.
1.) Your sound card has analog output 2.) It actually has a plug for front, rear, center/woof speakers (5.1 not 7.1 or anything else) 3.) You're using ALSA **EDIT** I have confirmed that this method works in Hardy heron as well, so PulseAudio doesn't seem to cause any trouble with this method. 4.) You can get sound out of the card, just not surround sound *********************The Hopeful Result************************************** You'll have surround sound for your movies and any audio program that uses ALSA will out put stereo sound through all of your speakers with the woofer handling bass appropriately I did read somewhere that ALSA can be made to output through pulse audio, but this is a straight up ALSA guide. So, from a fresh install of 7.10, you'll have ALSA already installed. You just need to configure it. Open a terminal and check if your sound card is detected Code:
asoundconf list Then, set your sound card to be the default card for ALSA Code:
asoundconf set-default-card cardname Now, enter this to edit your ALSA config file Code:
sudo gedit ~/.asoundrc Quote:
Enjoy!
__________________
check out linuxmce! It's the future of home media centers. It is flat out the most amazing piece of linux software I've ever seen. http://www.linuxmce.com Last edited by Afkpuz; July 12th, 2008 at 10:16 PM.. |
|
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() |
Re: HOWTO: Set up 5.1 sound for movies with an analog surround sound card (ALSA)
Well, it most definitely not work with me
No sound at all on the other channels, but is ok, I kind of expected it, it was my last resort. Now is off to get a 5.1 card as it seems that Ubuntu wont be able to use my onboard 5.1 audio. ELP |
|
|
|
|
|
#3 |
|
Quad Shot of Ubuntu
![]() Join Date: Feb 2007
Beans: 434
Ubuntu 8.10 Intrepid Ibex
|
Re: HOWTO: Set up 5.1 sound for movies with an analog surround sound card (ALSA)
I'm sorry to hear that. If you're in the market for analog 5.1, I can recommend the card I use.
http://www.newegg.com/Product/Produc...82E16829126101 It's small, usb, has 2 line ins, and is only $20!! I know for sure that this card will work with the above steps. If you're not looking for digital sound, you might give this one a try.
__________________
check out linuxmce! It's the future of home media centers. It is flat out the most amazing piece of linux software I've ever seen. http://www.linuxmce.com |
|
|
|
|
|
#4 |
|
A Carafe of Ubuntu
![]() |
Re: HOWTO: Set up 5.1 sound for movies with an analog surround sound card (ALSA)
Yeah, I read about that USB option some days ago, I think it was you who posted about it. Im looking for something more professional though not too expensive, I've heard wonders about the M-Audio Revolution and just want to confirm them.
At $20 though, the GWC is a nice option which I will consider. ELP |
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2008
Beans: 48
|
Re: HOWTO: Set up 5.1 sound for movies with an analog surround sound card (ALSA)
I have Asus M2NPV-VM mobo with integrated 5.1 surround. i'm using dell 5.1 surround speakers
i tried your method and when i listed my devices, it lised NVidia and UART i did your method for NVidia but it did not work for me. When I do the speaker-test, it works perfectly fine. all the speakers are called out properly from their respective speaker. But i can't for the life of me get the surround to work with mp3's or movies. any other ideas? i've tried it many different software including vlc and audacious but no luck
__________________
Gateway C140-X Tablet PC: Ubuntu 9.10 Karmic Koala Dual Boot with Windows XP Pro AMD Athlon 64 X2 3800+ w/Asus M2NPV-VM Mobo & ATI x1950: Ubuntu 9.10 Karmic Koala |
|
|
|
|
|
#6 | ||
|
Gee! These Aren't Roasted!
![]() Join Date: Jun 2007
Location: USA
Beans: 167
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Set up 5.1 sound for movies with an analog surround sound card (ALSA)
I have that EXACT GWC usb sound card. It worked fine with tweaking in fiesty and gutsy, but I CANNOT make it work in Hardy, even with your instructions. Setting everything to in sound preferences in VLC and Ubuntu and with the computer only detecting the 1 USB sound card:
Code:
aplay -l Quote:
Quote:
|
||
|
|
|
|
|
#7 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jun 2007
Location: USA
Beans: 167
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Set up 5.1 sound for movies with an analog surround sound card (ALSA)
Oh and Im running Hardy 64bit and I had it import my setting and files, etc when I installed it. I have since recompiled alsa and alsa utils to no avail.
|
|
|
|
|
|
#8 | ||
|
Gee! These Aren't Roasted!
![]() Join Date: Jun 2007
Location: USA
Beans: 167
Ubuntu 8.04 Hardy Heron
|
UPDATE- ALSA has been subdued
I finally have sound coming out of my 4 speaker sets!!
1. Clean install of Hardy64 with nothing imported 2. In sys==>prefs==>sessions uncheck pulse audio manager 3. in sys==>admin==>services check alsa-utils 4. in gnome volume applet change device to USB audio 5. In sys==>prefs==> sound In devices tab: set all to auto-detect, set device to USB audio, select PCM in the box below the device selector In sounds tab UNCHECK ESD 6. Code:
sudo gedit /etc/modprobe.d/alsa-base Quote:
Instead I blacklisted my onboard audio with Quote:
Code:
sudo module-assistant a-i alsa-source 9. Reboot and enjoy sound! |
||
|
|
|
|
|
#9 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2008
Beans: 48
|
Re: UPDATE- ALSA has been subdued
thank you Afkpuz and victorgreen...
i now have sound out of all of my speakers! which is great... but not what i was looking for I first followed Afkpuz's post to the letter and i still wasn't getting any sound. victorgreen's post was for the usb sound card but it worked for my onboard sound. i didn't have to do step 1. in step 4, i changed the device to HDA Nvidia (Alsa mixer). I didn't have to do step 6 and 7. after a reboot, sound is now coming out of all 4 speakers. now the problem is that it does not decode surround. i have videos that have surround sound decoded into them but the "surround" doesn't work... but sound comes out of all 4 speakers. VLC: now when i try to play the file in vlc it's all choppy and eventually vlc crashes. also, 5.1 surround does not show up under audio>audio devices... it's only mono or stereo. same file works fine in Mplayer but still no proper surround i wonder if there is a fix for that. thanks!
__________________
Gateway C140-X Tablet PC: Ubuntu 9.10 Karmic Koala Dual Boot with Windows XP Pro AMD Athlon 64 X2 3800+ w/Asus M2NPV-VM Mobo & ATI x1950: Ubuntu 9.10 Karmic Koala Last edited by dublued; May 5th, 2008 at 04:03 PM.. |
|
|
|
|
|
#10 |
|
Quad Shot of Ubuntu
![]() Join Date: Feb 2007
Beans: 434
Ubuntu 8.10 Intrepid Ibex
|
Re: HOWTO: Set up 5.1 sound for movies with an analog surround sound card (ALSA)
I should mention that I'm running hardy 32 bit. It looks like my method doesn't work for the 64 bit version.
__________________
check out linuxmce! It's the future of home media centers. It is flat out the most amazing piece of linux software I've ever seen. http://www.linuxmce.com |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|