FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-13-2008, 06:08 PM
"Paul Johnson"
 
Default What is the root of the "no sound" problem for some programs?

I'm running F8 with KDE. I upgraded from F7. system-config-soundcard
plays a sound.

When the system starts, I see this in a popup:

Informational- artsmessage

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (Connection refused)
The sound server will continue, using the null output device.

I am able to hear audio in flash movies played inside firefox and i
CAN play songs in Amarok. But if I try to view the same videos after
downloading them, mplayer says

*** PULSEAUDIO: Unable to connect: Connection refused
[AO_ALSA] Playback open error: Connection refused
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...

I've been searching the net and find about 1000 posts on this same
problem. It appears to be deep in the guts of Ubuntu and Fedora, users
in both lists are posting suggestions like crazy.

On the surface, the most logical approach is to look at this as a
console permission problem.

Permissions on /dev/dsp were 660, so maybe I need to follow the advice
Ubuntu users follow of making it 666 (either manually or by adding 2
lines in /etc/security/console.perms.d/50-default.perms. Note the new
sound lines at the end of each stanza:

<pilot>=/dev/pilot
<scanner>=/dev/scanner* /dev/usb/scanner*
<rio500>=/dev/usb/rio500
<fb>=/dev/fb /dev/fb[0-9]*
/dev/fb/*
<kbd>=/dev/kbd
<joystick>=/dev/js[0-9]*
<gpm>=/dev/gpmctl
<dri>=/dev/nvidia* /dev/3dfx* /dev/dri/card*
<mainboard>=/dev/apm_bios
<pmu>=/dev/pmu
<bluetooth>=/dev/rfcomm*
<irda>=/dev/ircomm*
<dvb>=/dev/dvb/adapter*/*
<sound>=/dev/dsp* /dev/snd/*

# permission definitions
<console> 0600 <pilot> 0660 root.uucp
<console> 0660 <scanner> 0660 root.lp
<console> 0600 <fb> 0600 root
<console> 0600 <kbd> 0600 root
<console> 0600 <joystick> 0600 root
<console> 0700 <gpm> 0700 root
<console> 0600 <mainboard> 0600 root
<console> 0600 <rio500> 0600 root
<console> 0600 <pmu> 0600 root
<console> 0600 <bluetooth> 0600 root
<console> 0600 <irda> 0600 root
<console> 0600 <dvb> 0600 root
<xconsole> 0600 /dev/console 0600 root.root
<console> 0600 <dri> 0600 root
<console> 0666 <sound> 0600 root

Still after that, sound signals were refused. I don't have a sound
group on my F8 system, perhaps I should change <sound> to <pulse> ???.
Changes like that did help about 3 years ago in Fedora 5, as I
recall, when I needed to allow users to play cdroms. But the pulse
audio problem is deeper, it appears to me.

Many people say "turn on services ConsoleKit and Avahi." I did have
ConsoleKit on already. I had turned off avahi. Its help information
says you should only turn it on if you are on a network using Zeroconf
service discovery, and I'm not. If avahi is really required, that
message about the module that appears in system-config-services
urgently needs fixing.

Some people say remove the rpm

alsa-plugins-pulseaudio

and another Fedora 8 person has urged me to install

kde-settings-pulse

One person told me that if I upgraded from FC7 to F8, then existing
users inherit some kind of configuration mistake/error and they can't
be put right unless you clear out some dot files, but nobody seems to
be quite sure what file that might be.

None of these are working for me yet, but I've followed down so many
blind alleys there's no telling what unneeded changes I made or what
mistakes I imposed.

Usually, when there is some widespread problem like this, there are
lots of little half-baked fixes floating about, and eventually
somebody who really understands the root of the problem fixes an RPM
in the distribution somewhere and the problem goes away. Problems
like "no video after suspend" or "ide cdrom not found" seem to end up
disappearing and it is not so easy to figure out why.

Concerning the sound problem, does anybody know what the real root of
the problem is?

PJ

ps: is this informative?

$ rpm -qa | grep pulse
pulseaudio-libs-glib2-0.9.8-5.fc8
pulseaudio-libs-zeroconf-0.9.8-5.fc8
pulseaudio-utils-0.9.8-5.fc8
pulseaudio-libs-0.9.8-5.fc8
alsa-plugins-pulseaudio-1.0.15-2.fc8
akode-pulseaudio-2.0.1-9.fc8
gstreamer-plugins-pulse-0.9.5-0.4.svn20070924.fc8
pulseaudio-core-libs-0.9.8-5.fc8
kde-settings-pulseaudio-3.5-36.fc8.1
pulseaudio-0.9.8-5.fc8
pulseaudio-module-x11-0.9.8-5.fc8
pulseaudio-libs-0.9.8-5.fc8

$ alsacard
*** PULSEAUDIO: Unable to connect: Connection refused
Open error: Connection refused
0


--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 02-13-2008, 07:57 PM
dexter
 
Default What is the root of the "no sound" problem for some programs?

On Wed February 13 2008 19:08:50 Paul Johnson wrote:
> Concerning the sound problem, does anybody know what the real root of
> the problem is?
>
> PJ
>
> ps: is this informative?
>
> $ rpm -qa | grep pulse
> pulseaudio-libs-glib2-0.9.8-5.fc8
> pulseaudio-libs-zeroconf-0.9.8-5.fc8
> pulseaudio-utils-0.9.8-5.fc8
> pulseaudio-libs-0.9.8-5.fc8
> alsa-plugins-pulseaudio-1.0.15-2.fc8
> akode-pulseaudio-2.0.1-9.fc8
> gstreamer-plugins-pulse-0.9.5-0.4.svn20070924.fc8
> pulseaudio-core-libs-0.9.8-5.fc8
> kde-settings-pulseaudio-3.5-36.fc8.1
> pulseaudio-0.9.8-5.fc8
> pulseaudio-module-x11-0.9.8-5.fc8
> pulseaudio-libs-0.9.8-5.fc8
>
> $ alsacard
> *** PULSEAUDIO: Unable to connect: Connection refused
> Open error: Connection refused
> 0

Sadly your kde system is infected with pulseaudio please try purging
or try $ mplayer -ao pulse <media-of-your-choice>

<rant>
pulseaudio was never designed with kde in mind and only as an after thought,
hence previously working out-the-box alsa hardware dies or performs badly in
all F8 kde systems I've installed until complete removal. YMMV
</rant>

...dex


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 02-14-2008, 09:33 PM
"Paul Johnson"
 
Default What is the root of the "no sound" problem for some programs?

On Wed, Feb 13, 2008 at 2:57 PM, dexter <dex.mbox@googlemail.com> wrote:
> On Wed February 13 2008 19:08:50 Paul Johnson wrote:
> > Concerning the sound problem, does anybody know what the real root of
> > the problem is?
> >
>
> Sadly your kde system is infected with pulseaudio please try purging
> or try $ mplayer -ao pulse <media-of-your-choice>
>
> <rant>
> pulseaudio was never designed with kde in mind and only as an after thought,
> hence previously working out-the-box alsa hardware dies or performs badly in
> all F8 kde systems I've installed until complete removal. YMMV
> </rant>
>
> ...dex

Well, I found that the "all of the above" approach, followed by a
reboot, seems to have fixed the problem. I'm guessing that the
installation of kde-settings-pulseaudio was the magic bullet. I
turned on avahi, removed But I did so many things before giving up in
frustration and going away. Only later to return and restart and then
it "just worked".

Here is a list of RPMs that I now have installed as a result of running

yum groupinstall sound-and-video

Feb 13 12:39:58 Installed: alsa-plugins-pulseaudio - 1.0.15-2.fc8.x86_64
Feb 13 12:39:58 Installed: pulseaudio-module-x11 - 0.9.8-5.fc8.x86_64
Feb 13 13:35:24 Installed: yum-fastestmirror - 1.1.11-1.fc8.noarch
Feb 13 13:38:45 Installed: compiz - 0.6.2-3.fc8.x86_64
Feb 13 13:38:56 Installed: libkipi - 0.1.5-2.fc8.x86_64
Feb 13 13:38:59 Installed: libkdcraw - 0.1.3-1.fc8.x86_64
Feb 13 13:39:01 Installed: openslp - 1.2.1-7.fc8.x86_64
Feb 13 13:39:02 Installed: qca-tls - 1.0-11.fc8.x86_64
Feb 13 13:39:02 Installed: exiv2-libs - 0.15-5.fc8.x86_64
Feb 13 13:39:03 Installed: libkexiv2 - 0.1.6-1.fc8.x86_64
Feb 13 13:39:04 Installed: libcompizconfig - 0.6.0-3.fc8.x86_64
Feb 13 13:39:16 Installed: kipi-plugins - 0.1.4-5.fc8.x86_64
Feb 13 13:39:24 Installed: digikam - 0.9.3-1.fc8.x86_64
Feb 13 13:39:26 Installed: kpowersave - 0.7.3-1.fc8.x86_64
Feb 13 13:39:32 Installed: scribus - 1.3.4-3.fc8.x86_64
Feb 13 13:39:35 Installed: konversation - 1.0.1-3.fc8.x86_64
Feb 13 13:39:39 Installed: ktorrent - 2.2.4-2.fc8.x86_64
Feb 13 13:39:40 Installed: xine-lib-arts - 1.1.10.1-1.fc8.x86_64
Feb 13 13:39:46 Installed: kdeaccessibility - 1:3.5.8-3.fc8.x86_64
Feb 13 13:39:47 Installed: kdmtheme - 1.2.2-1.fc8.x86_64
Feb 13 13:39:51 Installed: kftpgrabber - 0.8.1-3.fc8.x86_64
Feb 13 13:39:53 Installed: libkipi - 0.1.5-2.fc8.i386
Feb 13 13:39:53 Installed: sqlite - 3.4.2-3.fc8.i386
Feb 13 13:39:54 Installed: libkdcraw - 0.1.3-1.fc8.i386
Feb 13 13:39:56 Installed: glib - 1:1.2.10-28.fc8.i386
Feb 13 13:39:57 Installed: gtk+ - 1:1.2.10-59.fc8.i386
Feb 13 13:39:58 Installed: libopensync - 0.22-4.fc8.i386
Feb 13 13:39:59 Installed: libexif - 0.6.15-5.fc8.i386
Feb 13 13:39:59 Installed: mikmod - 3.2.2-2.fc7.i386
Feb 13 13:40:01 Installed: xmms-libs - 1:1.2.10-36.fc7.i386
Feb 13 13:40:01 Installed: exiv2-libs - 0.15-5.fc8.i386
Feb 13 13:40:02 Installed: libkexiv2 - 0.1.6-1.fc8.i386
Feb 13 13:40:02 Installed: pth - 2.0.7-3.i386
Feb 13 13:40:03 Installed: gpgme - 1.1.5-4.fc8.i386
Feb 13 13:40:04 Installed: kdepim-libs - 6:3.5.8-11.svn20080109.ent.fc8.i386
Feb 13 13:40:05 Installed: libtool-ltdl - 1.5.24-3.fc8.i386
Feb 13 13:40:07 Installed: gphoto2 - 2.4.0-4.fc8.i386
Feb 13 13:40:07 Installed: giflib - 4.1.3-8.i386
Feb 13 13:40:09 Installed: imlib2 - 1.4.0-3.fc8.i386
Feb 13 13:40:12 Installed: kipi-plugins - 0.1.4-5.fc8.i386
Feb 13 13:40:18 Installed: digikam - 0.9.3-1.fc8.i386
Feb 13 13:40:25 Installed: kdeutils - 6:3.5.8-3.fc8.i386
Feb 13 13:40:27 Installed: kftpgrabber - 0.8.1-3.fc8.i386
Feb 13 13:40:33 Installed: kdeaccessibility - 1:3.5.8-3.fc8.i386
Feb 13 13:40:36 Installed: compiz-manager - 0.6.0-4.fc8.noarch
Feb 13 13:40:36 Installed: compiz-kde - 0.6.2-3.fc8.x86_64
Feb 13 13:40:36 Installed: knetworkmanager - 0.2-0.7.fc8.x86_64
Feb 13 13:40:38 Installed: kdenetwork-libs - 7:3.5.8-9.fc8.x86_64
Feb 13 13:40:46 Installed: kdenetwork - 7:3.5.8-9.fc8.x86_64

--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 12:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org