Page 12 of 18 FirstFirst ... 21011121314 ... LastLast
Results 111 to 120 of 180

Thread: HOWTO: Surround sound in pulseaudio

  1. #111
    Join Date
    Jan 2006
    Location
    Bristol, UK
    Beans
    275
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Surround sound in pulseaudio

    I didn't read through the whole of that link I sent you, it was just a guy that had exactly the same issue that posted a fix.

    If his method didn't work for you it's probably a better idea to pm the original author or post in the other thread.

    Sam

  2. #112
    Join Date
    Jan 2006
    Location
    Bristol, UK
    Beans
    275
    Distro
    Ubuntu 9.10 Karmic Koala

  3. #113
    Join Date
    Oct 2008
    Beans
    25

    Angry Re: HOWTO: Surround sound in pulseaudio

    Follow the howto, but I still can not sound 5.1. Any idea?

    daemon.conf
    # $Id: daemon.conf.in 2175 2008-03-27 23:39:10Z lennart $
    #
    # This file is part of PulseAudio.
    #
    # PulseAudio is free software; you can redistribute it and/or modify
    # it under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # PulseAudio is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    # General Public License for more details.
    #
    # You should have received a copy of the GNU Lesser General Public License
    # along with PulseAudio; if not, write to the Free Software
    # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
    # USA.

    ## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
    ## more information. Default values a commented out. Use either ; or # for
    ## commenting.

    ; daemonize = no
    ; fail = yes
    ; disallow-module-loading = no
    ; use-pid-file = yes
    ; system-instance = no
    ; disable-shm = no

    ; high-priority = yes
    ; nice-level = -11

    ; realtime-scheduling = no
    ; realtime-priority = 5

    ; exit-idle-time = -1
    ; module-idle-time = 20
    ; scache-idle-time = 20

    ; dl-search-path = (depends on architecture)

    ; default-script-file =

    ; log-target = auto
    ; log-level = notice

    ; resample-method = speex-float-3
    ; disable-remixing = no

    ; no-cpu-limit = no

    ; rlimit-as = -1
    ; rlimit-core = -1
    ; rlimit-data = -1
    ; rlimit-fsize = -1
    ; rlimit-nofile = 256
    ; rlimit-stack = -1
    ; rlimit-nproc = -1
    ; rlimit-memlock = -1
    ; rlimit-nice = 31
    ; rlimit-rtprio = 9

    ; default-sample-format = s16le
    ; default-sample-rate = 44100
    default-sample-channels = 6

    ; default-fragments = 4
    ; default-fragment-size-msec = 25
    default.code

    #!/usr/bin/pulseaudio -nF
    #
    # This file is part of PulseAudio.
    #
    # PulseAudio is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # PulseAudio is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    # General Public License for more details.
    #
    # You should have received a copy of the GNU Lesser General Public License
    # along with PulseAudio; if not, write to the Free Software Foundation,
    # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

    .nofail

    ### Load something into the sample cache
    #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
    load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
    #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
    #load-sample-lazy pulse-access /usr/share/sounds/generic.wav

    .fail

    ### Load audio drivers statically (it's probably better to not load
    ### these drivers manually, but instead use module-hal-detect --
    ### see below -- for doing this automatically)

    ### Manual config for configuring surround sound. Comment out line below to revert to defaults.
    load-module module-alsa-sink device_id=0 channels=6 channel_map=front-left,front-right,center,rear-left,rear-right,lfe

    #load-module module-alsa-source device=hw:1,0
    .endif
    #load-module module-oss device="/dev/dsp" sink_name=output source_name=input
    #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
    #load-module module-null-sink
    #load-module module-pipe-sink

    ### Automatically load driver modules depending on the hardware available
    .ifexists module-hal-detect.so
    load-module module-hal-detect
    .else
    ### Alternatively use the static hardware detection module (for systems that
    ### lack HAL support)
    load-module module-detect
    .endif

    ### Load several protocols
    .ifexists module-esound-protocol-unix.so
    load-module module-esound-protocol-unix
    .endif
    load-module module-native-protocol-unix

    ### Network access (may be configured with paprefs, so leave this commented
    ### here if you plan to use paprefs)
    #load-module module-esound-protocol-tcp
    #load-module module-native-protocol-tcp
    #load-module module-zeroconf-publish

    ### Load the RTP reciever module (also configured via paprefs, see above)
    #load-module module-rtp-recv

    ### Load the RTP sender module (also configured via paprefs, see above)
    #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
    #load-module module-rtp-send source=rtp.monitor

    ### Automatically restore the volume of playback streams
    load-module module-volume-restore

    ### Automatically restore the default sink/source when changed by the user during runtime
    load-module module-default-device-restore

    ### Automatically move streams to the default sink if the sink they are
    ### connected to dies, similar for sources
    load-module module-rescue-streams

    ### Automatically suspend sinks/sources that become idle for too long
    load-module module-suspend-on-idle

    ### Load X11 bell module
    #load-module module-x11-bell sample=x11-bell

    ### Register ourselves in the X11 session manager
    # Deactivated by default, to avoid deadlock when PA is started as esd from gnome-session
    # Instead we load this via /etc/xdg/autostart/ and "pactl load-module" now
    # load-module module-x11-xsmp

    ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
    ### Please keep in mind that the modules configured by paprefs might conflict with manually
    ### loaded modules.
    .ifexists module-gconf.so
    .nofail
    load-module module-gconf
    .fail
    .endif

    ### Publish connection data in the X11 root window
    .ifexists module-x11-publish.so
    .nofail
    load-module module-x11-publish
    .fail
    .endif

    ### Make some devices default
    #set-default-sink output
    #set-default-source input
    lspci
    00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
    00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx)
    00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
    00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode]
    00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
    00:12.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1 Controller
    00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
    00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
    00:13.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1 Controller
    00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
    00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
    00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
    00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
    00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
    00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
    00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
    00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
    00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
    00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200 Graphics
    01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

  4. #114
    Join Date
    Oct 2007
    Location
    Titletown, USA
    Beans
    136
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Surround sound in pulseaudio

    How many channels do I input for 2.1? I tried three and the computer thinks pulse is working cuz my audio shows oscilloscope activity, but when i try to use alsamixer it doesn't work and when i try the test it tells me it can't connect.

  5. #115
    Join Date
    Jun 2008
    Location
    Montevideo, Uruguay
    Beans
    14
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Talking Re: HOWTO: Surround sound in pulseaudio

    Thanks a lot sammy, you helped me fix my swapped channels on ALC888

  6. #116
    Join Date
    Jan 2006
    Location
    Bristol, UK
    Beans
    275
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Surround sound in pulseaudio

    Quote Originally Posted by Evil Wayz View Post
    How many channels do I input for 2.1? I tried three and the computer thinks pulse is working cuz my audio shows oscilloscope activity, but when i try to use alsamixer it doesn't work and when i try the test it tells me it can't connect.
    Read the guide carefully, you CANNOT specify 3 channels to pulseaudio doing it "the easy way".

    Also make sure you actually have three channels, most 2.1 systems take only a stereo input and extract low frequency information internally.

    Sam

  7. #117
    Join Date
    Jan 2006
    Location
    Bristol, UK
    Beans
    275
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Surround sound in pulseaudio

    Quote Originally Posted by ponchomx View Post
    Follow the howto, but I still can not sound 5.1. Any idea?

    daemon.conf


    default.code



    lspci


    pulseaudio -vv output please.

    Sam

  8. #118
    Join Date
    Dec 2007
    Beans
    80

    Re: HOWTO: Surround sound in pulseaudio

    This shows on my sys log
    Code:
    ov  4 00:37:03 skynet pulseaudio[5941]: ltdl-bind-now.c: Failed to find original dlopen loader.
    Nov  4 00:37:03 skynet pulseaudio[5941]: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
    Nov  4 00:37:03 skynet pulseaudio[5941]: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
    Nov  4 00:37:03 skynet pulseaudio[5941]: alsa-util.c: Device surround51:0 doesn't support 44100 Hz, changed to 48000 Hz.
    Nov  4 00:37:04 skynet pulseaudio[5941]: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
    Nov  4 00:37:04 skynet pulseaudio[5941]: alsa-util.c: Device hw:1 doesn't support 44100 Hz, changed to 16000 Hz.
    Nov  4 00:37:04 skynet pulseaudio[5941]: alsa-util.c: Device hw:1 doesn't support 6 channels, changed to 1.
    Nov  4 00:41:46 skynet anacron[5548]: Job `cron.daily' started
    Nov  4 00:41:47 skynet anacron[6299]: Updated timestamp for job `cron.daily' to 2008-11-04
    Nov  4 00:55:04 skynet pulseaudio[5941]: module-alsa-sink.c: Error opening PCM device surround51:0: Device or resource busy
    Any ideas whats going wrong?

    Code:
    vinno@skynet:~$ lspci
    00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
    00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
    00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
    00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
    00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
    00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
    00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
    00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
    00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
    00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
    00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
    00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
    00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
    00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
    00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
    00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
    00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
    00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
    00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    01:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 80)
    05:00.0 VGA compatible controller: nVidia Corporation G71 [GeForce 7900 GS] (rev a1)
    www.Vinno.net Linux Desktops / Server Guides / Application & Security Articles

  9. #119
    Join Date
    Nov 2008
    Beans
    10

    Re: HOWTO: Surround sound in pulseaudio

    Hi i have tried to change this:

    ; default-sample-format = s16le
    default-sample-rate = 48000
    default-sample-channels = 5

    in daemon.conf and works very well with 4.1 SOUND BLASTER LIVE! 1024 PLAYER WITH CREATIVE CSW FOUR POINT SURROUND 4.1 also for voices from movies, while the method

    load-module module-alsa-sink device_id=0 sink_name=SBLive1024 channels=5 channel_map=front-left,front-right,rear-left,rear-right,lfe
    (also with device=hw:0)
    in default.pa DOESN'T WORK!!!!! ONLY THE 2 FRONT SPEAKERS WORKS even selecting SBLive1024 from default server -> other -> SBLive1024
    why did you write those 8Ull5H1T??!!

    moreover i need help for setup flash 9 ,it crashes browsers also with libflashsupport-pulse
    i have 9,0,48,0 flash version and the version 10 is worse..
    please help
    i have xubuntu hardy
    Last edited by hhh81; November 9th, 2008 at 02:46 PM.

  10. #120
    Join Date
    Jan 2006
    Location
    Bristol, UK
    Beans
    275
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Surround sound in pulseaudio

    Quote Originally Posted by hhh81 View Post
    Hi i have tried to change this:

    ; default-sample-format = s16le
    default-sample-rate = 48000
    default-sample-channels = 5

    in daemon.conf and works very well with 4.1 SOUND BLASTER LIVE! 1024 PLAYER WITH CREATIVE CSW FOUR POINT SURROUND 4.1 also for voices from movies, while the method
    This method gives you 5.0 surround, not 4.1. Please read the pulseaudio documentation or ask on IRC if you don't believe me on this point.

    load-module module-alsa-sink device_id=0 sink_name=SBLive1024 channels=5 channel_map=front-left,front-right,rear-left,rear-right,lfe
    (also with device=hw:0)
    in default.pa DOESN'T WORK!!!!! ONLY THE 2 FRONT SPEAKERS WORKS even selecting SBLive1024 from default server -> other -> SBLive1024
    why did you write those 8Ull5H1T??!!
    Excuse me? I'd like to just make a point here. I am not paid to post on these forums, I am not a developer and it certainly isn't my fault that your setup isn't working. I posted this guide in the hope that it might help someone, and reading the comments in this thread it seems as if it has helped a lot of people.

    moreover i need help for setup flash 9 ,it crashes browsers also with libflashsupport-pulse
    i have 9,0,48,0 flash version and the version 10 is worse..
    please help
    i have xubuntu hardy
    Firstly, this problem is totally unrelated to surround sound and doesn't belong in this thread, use the search function, there are multiple threads around explaining how to deal with this problem.

    Secondly, I'm not sure how you can expect help from me after you've just insulted me saying my post is ********. Please post in this thread again with your problem when you're less inclined to throw my offer of help back in my face.

    Sam

Page 12 of 18 FirstFirst ... 21011121314 ... LastLast

Bookmarks

Posting Permissions

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