You are not logged in.

#1 2008-03-27 22:34:29

azleifel
Member
Registered: 2007-10-28
Posts: 486

[RESOLVED] No sound in flashplayer...

in Firefox using nspluginwrapper or from the GDM Greeter (Gnome 2.20) and general sound quality degraded on Arch64 since today's update to alsa-lib 1.0.16-1 and alsa-utils 1.0.16-1.

Regarding the Firefox/Flash, console output when playing a flash video is:

ALSA lib pcm.c:6618:(snd_pcm_slave_conf) unknown format unchanged

repeated endlessly while the video is playing.

I found a relevant bug report in Debian's bug tracker (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469641) and downloaded and installed the latest alsa-lib Hg snapshot, compiled with a hacked version of the Arch alsa-lib PKGBUILD.  That fixed the general sound quality problem but I still have no sound from flashplayer or the GDM Greeter (gdmsetup won't play sounds either).  Everything else that I've tested so far works (Kaffeine, Rhythmbox, Mplayer etc.)

hwdetect --show-sound gets:

SOUND  : snd-mixer-oss snd-pcm-oss snd-hwdep snd snd-page-alloc snd-pcm snd-timer snd-hda-intel soundcore

Any suggestion for what to do next gratefully received!

EDIT: I regained sound in the GDM Greeter by changing from "SoundProgram=/usr/bin/aplay" to "SoundProgram=/usr/bin/play" in /etc/gdm/custom.conf.  Though this only worked after I had upgraded to sox 14.0.1 from the Arch 14.0.0-1 package because the 14.0.0 version of play just whinged about not being able to find /usr/lib/libltdl.so.3 (because it wasn't there any more!)

EDIT1: Is this the bleeding edge that everyone keeps talking about? big_smile

EDIT2: And it turns out that the way to get sound working in flashplayer is to downgrade to alsa-lib 1.0.15 but I cannot be bothered and have gone for gnash 0.8.2.

Last edited by azleifel (2008-03-29 23:36:35)

Offline

#2 2008-03-28 21:11:32

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [RESOLVED] No sound in flashplayer...

I have no sound in GDM either -- but my Flash stuff works fine.  This happened since the upgrade today --new alsa, etc.


Matt

"It is very difficult to educate the educated."

Offline

#3 2008-03-28 22:26:40

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: [RESOLVED] No sound in flashplayer...

If that's the GDM Greeter, e.g. there is no login screen ready sound, and you didn't change the default then it's probably the problem with /usr/bin/play and nothing to do with the alsa update.  Play is part of the sox package and rebuilding sox should get the greeter sounds working again.  I bumped sox up a version when I did this because it seemed at the time to be easier than finding the amr.h file that the sox 14.0.0 PKGBUILD needs (I now know that it's in the cvs for the testing package).

Offline

#4 2008-03-29 14:51:10

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [RESOLVED] No sound in flashplayer...

Yeah, it's the greeter.  But it just quit after I updated Thursday.  That's why I assumed ALSA as that's the only "sound-ish" update it appears I got.

Anyway, sound works fine once logged in AND I can record again from my mic, so I am happy.  Hopefully GDM Greeter will start working again, but that's cool if it doesn't.


Matt

"It is very difficult to educate the educated."

Offline

#5 2008-03-29 14:57:36

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [RESOLVED] No sound in flashplayer...

Oh, and FWIW, I had nothing explicit set up to play sound (the line for "/usr/bin/play" was commented out).  When I run "play" from the command line on my startup sound I get:

[mrunion@highvoltage ~]$ play /usr/share/sounds/KDE_Startup_1.wav 
play: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory

I changed the setting in /etc/gdm/custom.conf to use "aplay" and I'll see if that works.


Matt

"It is very difficult to educate the educated."

Offline

#6 2008-03-29 21:03:07

tobiash
Member
Registered: 2008-03-29
Posts: 8

Re: [RESOLVED] No sound in flashplayer...

I solved with

# Contributor: tobiash <emaildotobias@yahoo.com.br>
pkgname=lib32-alsa-lib
pkgname32=alsa-lib
pkgver=1.0.16
pkgrel=1
pkgrel32=1
pkgdesc="alsa-lib compatibility library"
arch=('x86_64')
url="http://www.alsa-project.org"
license=('GPL')
#depends=('')
install=()
source=("ftp://ftp.archlinux.org/extra/os/i686/$pkgname32-$pkgver-$pkgrel32-i686.pkg.tar.gz")
md5sums=('104ec8c646c67d49e83740bed20aeb8d')

build() {
  mkdir -p $startdir/pkg/opt/lib32/usr/lib
  cp -rPfp $startdir/src/usr/lib $startdir/pkg/opt/lib32/usr
}



Save as PKGBUILD and do the rest as usual.

I've tried to post it in AUR with no success.

Ps. my very first PKGBUILD, work for me, but, use with care. Feel free to change an post it.

Offline

#7 2008-03-29 23:36:06

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: [RESOLVED] No sound in flashplayer...

tobiash wrote:

I solved with
...

Thank you tobiash!!!  Works for me as well cool

Actually, there ought to be a PKGBUILD for some version of lib32-alsa-lib in AUR already because lib32-alsa-oss depends on it but searching for lib32-alsa-lib just returns a page not found!  Anyway, I built my own i686 alsa-lib package first using the same mercurial snapshot that I had to use for the x86_64 package in order to resolve the poor sound quality problem and then used your PKGBUILD to make the lib32-alsa-lib package.

So that's everything done:
1. Sound quality back as it was with alsa 1.0.15
2. Flash player in firefox has sound
3. GDM Greeter sounds working again after updating sox to work with libtool 2.2-2 (libltdl.so.7)
4. Rebuilt alsa-utils, so aplay now works as well
5. Oh, and alsa-driver updated to 1.0.16 so that the kernel modules have the same version as alsa-lib

What fun hmm

EDIT: The only significant change that I made to the PKGBUILD was to add a dependency on lib32-glibc.

Last edited by azleifel (2008-03-30 00:53:03)

Offline

#8 2008-03-31 16:49:16

phoinix
Member
From: Greece, Crete
Registered: 2005-08-27
Posts: 20

Re: [RESOLVED] No sound in flashplayer...

Thanks tobiash, That worked for me too big_smile
I had problems with Skype after the update.

tobiash wrote:

I solved with

.....

Last edited by phoinix (2008-03-31 16:49:49)

Offline

#9 2008-04-01 20:34:31

metalfan
Member
Registered: 2007-11-22
Posts: 99

Re: [RESOLVED] No sound in flashplayer...

Ive tried alot, today ive used your PKGUILD and it works. maybe thats all what was needed.

Julius


Someone should make this sticky for the next week or so.

Last edited by metalfan (2008-04-01 20:34:53)

Offline

Board footer

Powered by FluxBB