Results 1 to 8 of 8

Thread: Surround Sound Issues

  1. #1

    Default Surround Sound Issues

    I finally (I think) have sound working. The issue now is that surround sound is nonexistent. I did change the settings in the PulseAudio configuration for 6 channels (5.1) and made sure mixer levels were turned up. Running 'speaker-test -c6 -twav' as root gives me output on the front left and right channels, but nothing else. Running it as a regular user (I am in the audio group) gives me this error:
    Code:
    E: socket-client.c: socket(): Address family not supported by protocol
    *** PULSEAUDIO: Unable to connect: Connection refused
    Playback open error: -111,Connection refused
    I also get that error trying to run alsamixer as a regular user. I do have sound from Banshee, Flash, etc., but the command line stuff gives me that error. I already tried just getting rid of PulseAudio and installing esound, but then I couldn't get any sound. Any ideas? According to ALSA, my card is an NVidia CK804 Realtek ALC850 rev 0, using the intel8x0 driver.

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Surround Sound Issues

    Quote Originally Posted by dmbrown00 View Post
    Running 'speaker-test -c6 -twav' as root gives me output on the front left and right channels, but nothing else. Running it as a regular user (I am in the audio group) gives me this error:
    To start, you could add your regular user to group "audio". I think there may also be a "pulse" or "pulseaudio" group (you should be able to check which groups you have setup). Also add your regular user to that group.

    Note you have to log out and log back in for this to take effect.

    This won't solve your problem completely, but it should hopefully remove the permissions hiccups.

  3. #3

    Default Re: Surround Sound Issues

    I was already in the audio group and adding me to the pulse* groups had no effect. I finally got PulseAudio successfully uninstalled (there are a lot more than the obvious packages). Now with esound I have (stereo) sound working fine. I still can't get any surround sound, though.

  4. #4

    Default Re: Surround Sound Issues

    OK, if I specify -Dsurround51 (Can I change the default device choice?) I get the following (closer to correct) mapping:
    Code:
    Front Left -> Front Left
    Center -> Center
    Front Right -> Front Right
    Rear Left -> ???
    Rear Right -> ???
    LFE -> Center
    I'd imagine there is some file in /etc where I can fix this, but I don't know which one or the syntax.

  5. #5
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Surround Sound Issues

    A good series of speaker tests (that I like) for surround sound are the following:

    7.1 channel surround:
    speaker-test -Dplug:surround71 -c8 -l5 -twav

    5.1 channel surround:
    speaker-test -Dplug:surround51 -c6 -l5 -twav

    4 channel surround:
    speaker-test -Dplug:surround40 -c4 -l5 -twav

    2 channel:
    speaker-test -Dplug:front -c2 -l5 -twav

    Quote Originally Posted by dmbrown00 View Post
    I'd imagine there is some file in /etc where I can fix this, but I don't know which one or the syntax.
    Note, I don't the speakers to support surround sound, nor have I ever set up surround sound, so any advice you get from me on this will be theoretical.

    Having stated that, my understanding is the way to get surround sound, is to implement a custom /home/your-username/.asoundrc file. ie The ".asoundrc" file contents are key.

    I'm not at my home PC, and don't have my links (to various .asoundrc file examples) handy, but you can read up on it here:
    .asoundrc - ALSA wiki
    and here
    Asoundrc - AlsaProject

    If you are looking for 5.1 surround sound (and not 7.1 nor 4 channel) then you need to find a .asoundrc sound that is specifically setup for 5.1 sound.

    There is more surround sound reading here:
    SurroundSound - ALSA wiki

    There is a thread here on this subject (on our forum) that you might find of interest, especially in the later posts.
    5.1 sounds on OpenSUSE 11.0 RC - openSUSE Forums

  6. #6

    Default Re: Surround Sound Issues

    OK, fixed it. My motherboard was mislabeled for the rear speakers; they needed to be plugged into the side jack. To change the default device, I made a /etc/asound.conf file and put in "pcm.!default surround51".

  7. #7

    Default Re: Surround Sound Issues

    Turns out I didn't fix it. speaker-test worked fine, but playback in Banshee was incredibly choppy.

  8. #8
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Surround Sound Issues

    Quote Originally Posted by dmbrown00 View Post
    Turns out I didn't fix it. speaker-test worked fine, but playback in Banshee was incredibly choppy.
    Did you try creating a custom .asoundrc file? Here are some URLs giving you guidance on this:
    How To - Playing stereo on surround sound setup

    asoundrc file examples

    Surround sound in Linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •