alsa + Nforce2(Realtek ALC650) + 5.1 surround question
Hey everyone,
This is kind of a generic question regarding my audio setup since I don't have access to my system ATM. I have a Shuttle SN41G2 that has onboard Nvidia Nforce2 audio that uses the Realtek ALC650 chipset. I have compiled and installed the latest alsa drivers (1.0.14rc3). The installation was successful and I am able to get sound from all 6 speakers. The problem I am having is when I am trying to play a 5.1 test file that should produce a test sound from each speaker... here are the ones I used: http://wiki.hydrogenaudio.org/index....e=Multichannel I'm not sure where the problem lies... I've tried various .asoundrc files that claim to have working 5.1 that I've found around the net to no avail. When I play the file through mplayer, I specify alsa and to use 6 channels. The output reports 6 channels, but the output from the speakers is incorrect. For example, the file plays the sound "Left Rear", but the audio comes out of the right front... yes, I've checked that the speakers are plugged in properly ;) Another problem comes up when I play 2 channel audio... the audio comes out of all speakers except the center. I am very familiar with linux, but don't have too much experience with configuring sounds card since most of the time it just works... so -Can anyone recommend where I should begin to troubleshoot the configuration problem? -Does anyone have a working 5.1 /etc/asound.conf and/or /etc/asound.state file for the ALC650 chipset? I'm sorry if this sounds vague, but I am away from my computer. I can post any info that might be relevant when I get home. Any insight would be appreciated. Thanks, Dave |
Have you tried speaker-test, included in alsa-utilities?
|
Thanks for your reply. Based on you suggestion, I stumbled upon my answer. I used this from the alsa wiki: http://alsa.opensrc.org/SurroundSound and followed the directions on how to use surround with jack...
On Fedora 6 with 2.6.20-1.2944.fc6 kernel Here is what I did based on the guide: Installed Jack: Code:
yum install jack-audio-connection-kit Code:
ctl.jack51 { Code:
Code:
jackd -d alsa --device jack51 -C -r 44100 -p 128 -n 2 -d hw Hope that helps someone... |
People these days do not know surround sound. Also they do not know that surround sound can color sound too much making it horrible. Copying a two channel source to all channels is not surround sound. I recommend do not use surround sound for two channel sources. If you insist converting two channel sources to multiple channels to simulate surround sound, read the following links.
http://www.linuxquestions.org/questi...d.php?t=471139 http://www.linuxquestions.org/questi...ad.php?t=55236 I made created 5.1 file named surround51test.ac3. Run it in mplayer and use the channels option to tell it to output six channels. Soon I will take a stab at using ladspa plugins for each individual channel to produce better surround sound. You do not need jack to play surround sound. Also you should not edit asound.state because it changes every time you adjust the volume through alsamixer or amixer. ALSA version 1.0.14 is still experimental. I suggest downgrading to 1.0.13. |
Electro, thanks for the reply (albeit somewhat condescending). A few notes on what you said:
-I can't install alsa version 1.0.13 due to a bug when compiling -I posted the asound.state more so people would know what boxes I checked. I would love to have surround sound working in the correct way, but at this point, I would be happy just to have sound coming out of all of the speakers... and the correct speakers. I've tried various .asoundrc files with mixed results. My biggest problem now is when I play the sample file Electro posted I get sound coming out the incorrect speakers. I play the sample file with the command: "mplayer -channels 6 surround51test.ac3" I get the following output from my speakers: FL coming out of FL FR coming out of FL C coming out of center RL coming out of RL & RR RR coming out of RL & RR LFE coming out of LFE How do I modify this behavior? I've tried several .asoundrc files and I get the same results. Thanks in advance... |
What results, if any, did you get using speaker-test?
|
The utility speaker-test does not work for all sound cards.
Put "3D Control", "3D Center", and "3D Depth" to 0 or false. Also change "Surround Jack" to independent might work better than shared. For recording or listening from MIC or Line in or CD enable External Amplifier. Please post the print out that amixer outputs instead what /etc/asound.state contains. If you can or you have an open PCI slot, buy a PCI sound card like Turtle Beach Santa Cruz or any sound card based on VIA Envy 1724. These are the easiest to setup multiple channel output. Also they are very easy to setup to record. On-board sound cards that shares their connectors to be either an output or an input are very hard to configure and control. I do not have any trouble compiling ALSA 1.0.13, so I do not know what bug you are complaining about. If you post this error too, I or someone else could give you hints. |
Hey guys. Thanks for the replies and suggestions. I've been trying to get this sound card to work with surround sound ever since I got the computer so I'm pretty much fed up with it at this point. I'm going to take Electros advice and get a new sound card. Unfortunately, the Shuttle SN41G2 only has one PCI slot which I'm using for a tv capture card, so I think I will have to go the USB route.
-Does anyone have any recommendations for an inexpensive 5.1 USB sound card? |
USB for a sound card does not work well because it is not designed to handle constant throughput which multimedia needs. I suggest go with IEEE-1394 (aka Firewire or i.Link). Firewire is meant for multimedia. If you have a Firewire support, take out the video capture card and place a PCI sound card. Use Canopus ADVC110 as a video capture device.
You could get something like the following link. http://www.cyberresearch.com/store/c...600_3227.2.htm |
I've done some research on the options I have. Adding a PCI expansion seems a bit pricey... $800+ was the cheapest I found. I also looked into a USB or Firewire sound card interface. The firewire interfaces were fairly expensive as well... $100+. Finally, it seems from what little info I found that the USB sound cards were complicated to configure and people were having problems getting the 5.1 output from them... that would put me back at square one ;) Anyway, one last option I am looking into is getting a surround receiver from ebay and hooking it up to the SPDIF out. I found this .asoundrc on: http://alsa-project.org/alsa-doc/doc...odule=intel8x0
Code:
pcm.nforce-hw { |
Fooling around getting SPDIF working with every program will be hard and time consuming. I suggest take out the video capture card and use a sound card like M-Audio Revolution 7.1 in its place. Then use Canopus ADVC110 as your video capture device. I think mplayer will be able to playback from Canopus ADVC110.
IMHO, eBay is good for non-electronics but buying electronics may not work as it should be. I like buying electronics as brand new instead of used. Look at ubid (I saw in a TV commercial). They may provide better warranty and better package/shipping. |
I'm trying to get this done as inexpensively as possible, so I'm trying to get the most for my money.
The TV capture card is essential to this system. It is a dedicated front end MythTv(http://www.mythtv.org) system. The 5.1 surround sound is a nice thing to have, but without the tuner card... I think I am going to go the surround receiver route since there is only 2 programs that would need to be configured for spdif... mplayer and xine. From my research, configuring them for spdif for those programs seems pretty straight forward... With a surround receiver, I will also be able to get surround from my DirecTv box and my DVD player as well. |
All times are GMT -5. The time now is 12:37 AM. |