Linux Pulse Audio on Ubuntu.Working Fine for you?

Status
Not open for further replies.

cool_cat

Explorer
please stay away ,if you want to crap this thread with window$ stuff

___________________________________________________________

Has your Ubuntu's Pulseaudio setup works fine?Is there any problems you observed?

For me, with a intel azalia(HD) onboard audio(ICH7) it is working fine.few tweaks I had done on Ubuntu are:

1) In Menu>System>Preferences>Sound ,I selected Pulseaudio for all options.

2)made a /etc/asound.conf file with below content:

Code:
pcm.pulse {

    type pulse

}

ctl.pulse {

    type pulse

}

pcm.!default {

    type pulse

}

ctl.!default {

    type pulse

}

3)installed libao-pulse ;edited /etc/libao.conf and added:

Code:
default_driver=pulse

4) make sure /etc/default/pulseaudio contains:

Code:
PULSEAUDIO_SYSTEM_START=1

5) added to ~/.bashrc

Code:
if [ ! -e /tmp/.esd-${UID} ]; then

        ln -s /tmp/.esd /tmp/.esd-${UID}

fi

This itself was enough for my system with pulse to work good.
icon7.gif


--

To tweak:

PerfectSetup ? PulseAudio

HOWTO: PulseAudio Fixes & System-Wide Equalizer Support - Ubuntu Forums
 
i disabled the damn thing. Linux audio really didnt have many problems ( at least not for me ) , until pulse audio came along :|
 
well ,esd(enlightened sound daemon) was working perfect for me too.but pulseaudio really is much more advanced if you see its technological merits.Pulse audio works fine here.

--

before ,in kde there is this aRTS daemon(Really a worst thing!) which is used as sound daemon.but with pulse audio both Gnome,kde,xfce or anything else comes to a common platform :)
 
i see the merits and they are all well and good, but the damn thing has to work :@

It cannot run two audio applications at the same time! At least it woudlnt when i upgraded to intrepid. I mean how lame is that ?

Adding better and new features is well and good. but please , no half baked ones. They ought to think twice before putting crap on a stable release. Just because we're not enterprise users doesnt mean we dont want it to be stable. else make it optional, like they've done with compiz
 
Which Distro?Ubuntu?You need to enable Pulse audio server in sound Preferences.(menu System>Preferences>Sound).For me ,its a asus p5gc-mx/1333 with ICH7 HDA(Azalia) which works great.actually for many ,pulseaudio solved the problem of not able to have multiple instances of audio.

What is your audio card?is it onboard or deadlock like some expensive cards-auzentec,creative etc?

--

If no multiple instances of sound is working ,as told above ,enable pulse sound server. 0.9.10 is working fine.

you can also add this repo for latest pulseaudio:

Code:
#pulseaudio

deb [url]http://ppa.launchpad.net/khashayar/ppa/ubuntu[/url] intrepid main

deb-src [url]http://ppa.launchpad.net/khashayar/ppa/ubuntu[/url] intrepid main

it is documented elsewhere :

HOWTO: PulseAudio Fixes & System-Wide Equalizer Support - Ubuntu Forums

install from apt.

PerfectSetup ? PulseAudio

and to your first sentence:

Ans:

Q. PulseAudio? Bleh! I don't want it on my system.

A. Well... tough! PulseAudio is already installed and active on Hardy and Intrepid by default; it replaces ESD (ESound Daemon) for system sounds, and most of Ubuntu's default applications already use it (Totem, Rhythmbox, and any other applications using the GStreamer framework). Although some high-profile applications support PulseAudio natively (such as VLC and mplayer), most applications use plain ALSA or OSS output, and thus don't have native PulseAudio support.

HOWTO: PulseAudio Fixes & System-Wide Equalizer Support - Ubuntu Forums
 
Never had problem .. Just can't get my front Audio port working in Linux !!! any idea how to get it fixed ? Its working in Windows :P
 
Is it a 6 channel one?

did you tried " alsamixer -Dhw" use up-down arrow to shift to 6 channel.also ,install gnome-alsa-mixer -tinker with the settings.

--

what is the card?
 
Its a 7.1 channel Realteak Alc88 I guess comes with 790 GX Jetway HA07 !

Tried every possible setting in alsamixer and gnome mixer !!! Can't get it working :@ Will try modprobing to it :P
 
Code:
aplay -L
^what does it says?what chipset( lspci -v ) OK got it.
Realtek ALC888 Azalia ??
Matrix:Module-hda-intel - AlsaProject
--
Download http://www.alsa-project.org/alsa-info.sh
save as .sh ,do a chmod +x alsa-info.sh .run the script as below:
Code:
alsa-info.sh --no-upload
collect the /tmp/alsa-info.txt and please attach in the post.
You need pulse audio proper configuration to work the 8 channel o/p ,I Think.
--
install :
Code:
sudo apt-get update && 
sudo apt- get install libasound2-plugins padevchooser libao-pulse libsdl1.2debian-pulseaudio libao-pulse
,check /etc/pulse/daemon.conf and edit the line default-sample-channels = 8 if it shows some other value(2). remove ";" before the line.
do this "gedit ~/.asoundrc" add below values:
Code:
pcm.hda-intel {
          type hw
          card 0
       }
       
       ctl.hda-intel {
          type hw
          card 0
       }
--
"gksudo gedit /etc/asound.conf "
add below lines:
Code:
pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}
pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}
Follow My First Post.make the changes.
save and reboot the system.
also ,try (GNOME) volume control and in volume menu ,select preferences and enable all available options like LFE,Surround etc.increase the volume and try.
--
 
lspci -v

Code:
shashwat@Dream Linux:~$ lspci -v

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge

	Subsystem: Advanced Micro Devices [AMD] RS780 Host Bridge

	Flags: bus master, 66MHz, medium devsel, latency 64

	Memory at <ignored> (64-bit, non-prefetchable)

	Capabilities: <access denied>

00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx) (prog-if 00 [Normal decode])

	Flags: bus master, 66MHz, medium devsel, latency 99

	Bus: primary=00, secondary=01, subordinate=01, sec-latency=68

	I/O behind bridge: 0000e000-0000efff

	Memory behind bridge: fde00000-fdffffff

	Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff

	Capabilities: <access denied>

	Kernel modules: shpchp

00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0) (prog-if 00 [Normal decode])

	Flags: bus master, fast devsel, latency 0

	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0

	I/O behind bridge: 0000d000-0000dfff

	Memory behind bridge: fdd00000-fddfffff

	Prefetchable memory behind bridge: 00000000fda00000-00000000fdafffff

	Capabilities: <access denied>

	Kernel driver in use: pcieport-driver

	Kernel modules: shpchp

00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode] (prog-if 01 [AHCI 1.0])

	Subsystem: Jetway Information Co., Ltd. Device 7001

	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22

	I/O ports at ff00 [size=8]

	I/O ports at fe00 [size=4]

	I/O ports at fd00 [size=8]

	I/O ports at fc00 [size=4]

	I/O ports at fb00 [size=16]

	Memory at fe02f000 (32-bit, non-prefetchable) [size=1K]

	Capabilities: <access denied>

	Kernel driver in use: ahci

	Kernel modules: ahci

00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10 [OHCI])

	Subsystem: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller

	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16

	Memory at fe02e000 (32-bit, non-prefetchable) [size=4K]

	Kernel driver in use: ohci_hcd

00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10 [OHCI])

	Subsystem: ATI Technologies Inc SB700 USB OHCI1 Controller

	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16

	Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]

	Kernel driver in use: ohci_hcd

00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20 [EHCI])

	Subsystem: ATI Technologies Inc SB700/SB800 USB EHCI Controller

	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17

	Memory at fe02c000 (32-bit, non-prefetchable) [size=256]

	Capabilities: <access denied>

	Kernel driver in use: ehci_hcd

00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10 [OHCI])

	Subsystem: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller

	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18

	Memory at fe02b000 (32-bit, non-prefetchable) [size=4K]

	Kernel driver in use: ohci_hcd

00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10 [OHCI])

	Subsystem: ATI Technologies Inc SB700 USB OHCI1 Controller

	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18

	Memory at fe02a000 (32-bit, non-prefetchable) [size=4K]

	Kernel driver in use: ohci_hcd

00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20 [EHCI])

	Subsystem: ATI Technologies Inc SB700/SB800 USB EHCI Controller

	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19

	Memory at fe029000 (32-bit, non-prefetchable) [size=256]

	Capabilities: <access denied>

	Kernel driver in use: ehci_hcd

00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)

	Subsystem: ATI Technologies Inc SBx00 SMBus Controller

	Flags: 66MHz, medium devsel

	Capabilities: <access denied>

	Kernel driver in use: piix4_smbus

	Kernel modules: i2c-piix4

00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller (prog-if 8a [Master SecP PriP])

	Subsystem: ATI Technologies Inc SB700/SB800 IDE Controller

	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16

	I/O ports at 01f0 [size=8]

	I/O ports at 03f4 [size=1]

	I/O ports at 0170 [size=8]

	I/O ports at 0374 [size=1]

	I/O ports at fa00 [size=16]

	Capabilities: <access denied>

	Kernel driver in use: ATIIXP_IDE

	Kernel modules: atiixp

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)

	Subsystem: Jetway Information Co., Ltd. Device 888f

	Flags: bus master, slow devsel, latency 64, IRQ 16

	Memory at fe024000 (64-bit, non-prefetchable) [size=16K]

	Capabilities: <access denied>

	Kernel driver in use: HDA Intel

	Kernel modules: snd-hda-intel

00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller

	Subsystem: ATI Technologies Inc SB700/SB800 LPC host controller

	Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (prog-if 01 [Subtractive decode])

	Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 64

	Bus: primary=00, secondary=03, subordinate=03, sec-latency=64

	I/O behind bridge: 0000c000-0000cfff

	Memory behind bridge: fdc00000-fdcfffff

	Prefetchable memory behind bridge: fdb00000-fdbfffff

00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller (prog-if 10 [OHCI])

	Subsystem: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller

	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18

	Memory at fe028000 (32-bit, non-prefetchable) [size=4K]

	Kernel driver in use: ohci_hcd

00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] HyperTransport Configuration

	Flags: fast devsel

	Capabilities: <access denied>

00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Address Map

	Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] DRAM Controller

	Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Miscellaneous Control

	Flags: fast devsel

	Capabilities: <access denied>

00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Link Control

	Flags: fast devsel

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3300 Graphics (prog-if 00 [VGA controller])

	Subsystem: ATI Technologies Inc Device 0000

	Flags: bus master, fast devsel, latency 0, IRQ 5

	Memory at d0000000 (32-bit, prefetchable) [size=256M]

	I/O ports at ee00 [size=256]

	Memory at fdff0000 (32-bit, non-prefetchable) [size=64K]

	Memory at fde00000 (32-bit, non-prefetchable) [size=1M]

	Capabilities: <access denied>

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

	Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller

	Flags: bus master, fast devsel, latency 0, IRQ 509

	I/O ports at de00 [size=256]

	Memory at fddff000 (64-bit, non-prefetchable) [size=4K]

	Memory at fdaf0000 (64-bit, prefetchable) [size=64K]

	[virtual] Expansion ROM at fda00000 [disabled] [size=128K]

	Capabilities: <access denied>

	Kernel driver in use: r8169

	Kernel modules: r8169

shashwat@Dream Linux:~$

aplay -L

Code:
shashwat@Dream Linux:~$ aplay -L

default:CARD=SB

    HDA ATI SB, ALC888 Analog

    Default Audio Device

front:CARD=SB,DEV=0

    HDA ATI SB, ALC888 Analog

    Front speakers

surround40:CARD=SB,DEV=0

    HDA ATI SB, ALC888 Analog

    4.0 Surround output to Front and Rear speakers

surround41:CARD=SB,DEV=0

    HDA ATI SB, ALC888 Analog

    4.1 Surround output to Front, Rear and Subwoofer speakers

surround50:CARD=SB,DEV=0

    HDA ATI SB, ALC888 Analog

    5.0 Surround output to Front, Center and Rear speakers

surround51:CARD=SB,DEV=0

    HDA ATI SB, ALC888 Analog

    5.1 Surround output to Front, Center, Rear and Subwoofer speakers

surround71:CARD=SB,DEV=0

    HDA ATI SB, ALC888 Analog

    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

iec958:CARD=SB,DEV=0

    HDA ATI SB, ALC888 Digital

    IEC958 (S/PDIF) Digital Audio Output

null

    Discard all samples (playback) or generate zero samples (capture)

shashwat@Dream Linux:~$
 
I have edited my post #9 .try to follow.

Forgot to tell-

In Gnome ,go to System>Preferences>Sound-enable pulse where ever available.
 
IIRC i could enable my laptop's "front" headphone ports from the GNOME volume control (ubuntu) just need to keep clicking buttons (properties etc) in the volume control applet till you find a window with a list of items with checkboxes where you select extra "input/output source" or something like that...

and pulseaudio works fine on my desktop intel mobo but glitches on my laptop.

heh, in the forums they say "glitch-free" ? no its "glitch, free" :D
 
^^I enabled evething but couldn't get it working in any distro !!! Time for Alsa 1.0.19 I guess :P Mandriva on my request pushed in mainline :P
 
@DarkStar:well,well ..Azalia HDA ALC662 is the One on my Mobo.You can enable surround.Ubuntu Intrepid came with fcuked up Pulseaudio setup.and snd-hda-intel got a low volume issue too. :|

try below one atleast :

press ALT+F2 and run gksudo gedit /etc/pulse/daemon.conf

add this line to the end and save.

Code:
[B]default-sample-channels = 8[/B]

Enable Pulse audio :

Look at Below pic of System>Preferences>Sound<=>Device :

screenshotsoundpreferen.png
 
I have WINDOWS and it works fine straightaway. No need to waste time with this kind of crap! Yay! Windows ROCKS!
 
Nikhil said:
I have WINDOWS and it works fine straightaway. No need to waste time with this kind of crap! Yay! Windows ROCKS!

why don't you get out of this thread?window$ got its own 1000s of issues including virus,rootkits etc.go...grow some maturity before jumping on technical threads.can I do it on another gazillion threads on how window$ sucks?dim444t!!:@

@darkstar:==
 
Somehow I never figured out much about Linux and its sound system. Simply put, there are just too many output managers for me to tweak with and get the best out of. And me not having patience doesn't help the cause.

But then again, pulseaudio doesn't work for me on Linux Mint 6 (based on Ubuntu 8.10) The output volume is real low, and even when maxed out, is just audible.
 
Status
Not open for further replies.