LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-27-2006, 09:44 PM   #1
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
no swf sound in mozilla ( seamonkey source build )


I have read all the many threads on this problem but none seemed to apply. Here is what I found on the web.

1. alsa is working correctly and snd_pcm_oss module is loaded.
2. I am part of the audio group
3. kde system sound has been disabled
4. changed plugin ownership 'chown drkstr.users /usr/local/lib/seamonkey-1.0.1/plugins/*'

Everything else I found on the web were just variations of these four things, so please let me know if I missed anything.

I just built seamonkey-1.0.1 from the mozilla source. Since I needed stuff that the installer package builder didn't create, I a made a Slackware package manually (which was a huge pain in the ass, thank you mozilla for all the damn sim-links)

Let me go over the package structure real quick in case it is relevant to the problem. (note: I left out irelivent files, docs, pixmap, etc.)

usr/lib/pkgconfig:
contains the pkgconfig files from the 'obj*/build/unix' directory

usr/local/bin:
'seamonkey' binary

usr/local/include:
copied 'include' directory from the 'obj*/dist' build directory, which was nothing but thousands of simlinks. In order to resolve the symlinks I used 'makepkg' on the 'include' dir to generate a doinst.sh, and then did a find/replace in a text editor with ' ln ' -> ' cp ' and ' -sf ' -> ' -rf ' which worked pretty nicely.

usr/local/share/aclocal:
'nspr.m4' copied from 'build/autoconf' (I'm not sure if that was the right one since there were a couple different versions of the file in different locations, but that one seemed the most relevant to put in the build.

usr/local/share/idl:
copied from 'obj*/dist' and resolved sim-links the same way as above.

usr/local/lib/seamonkey-1.0.1:
contains the files from the mozilla package creator minus the binary

usr/local/lib/seamonkey-1.0.1/plugins:
copied plugins from previous 'mozilla' install
Default Plugin
The demo print plugin for unix.
Java(TM) Plug-in 1.5.0_06
Shockwave Flash 7.0 r63
mplayerplug-in 3.25 (this one a built after seamonkey install)
are all listed in my help->about plug-ins

I then built this all into a slackware pkg and installed. ( sorry if this had nothing to do with the problem, I have no idea so thought it best to include the info )


Thank you all for takeing the time read and respond. I hope this is not just a case of "retarded user", but most likely is. I will be looking forward to your response.

thanks!
...drkstr

Last edited by drkstr; 05-27-2006 at 09:58 PM.
 
Old 05-28-2006, 04:10 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
did you try the official seamonkey.SlackBuild??

ftp://ftp.slackware.com/pub/slackwar...xap/seamonkey/

as for the sound, did you try the:
Code:
chmod 666 /dev/dsp0
 
Old 05-28-2006, 04:54 PM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
Thanks for the reply.

Quote:
did you try the official seamonkey.SlackBuild??
I didn't try the Seamonkey slackbuild since I wanted the latest version which has a few secuirity bugs fixed. I hate giving up on things but I might end up giving it a try if I can't get it figured out. I don't see why my build should have any problems though, It seems to be working fine in all other regards.

Quote:
as for the sound, did you try the:
I'm actually using udev so my audio dev is /dev/sound/dsp which has rw for the audio group (which I added my user to with 'gpasswd -a drkstr audio'). Do you think maybe swf is trying to use the /dev/dsp0 dev which doesn't exist? I don't know a lot about how udev works but I turned it on for easy device support with my mobile phone.

Let me know what you think.

thanks again!
...drkstr

Last edited by drkstr; 05-28-2006 at 04:55 PM.
 
Old 05-28-2006, 04:59 PM   #4
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by drkstr
Thanks for the reply.

I didn't try the Seamonkey slackbuild since I wanted the latest version which has a few secuirity bugs fixed. I hate giving up on things but I might end up giving it a try if I can't get it figured out. I don't see why my build should have any problems though, It seems to be working fine in all other regards.
you said you were building 1.0.1... that's the same version the current build script builds (unless i'm missing something)...

Quote:
I'm actually using udev so my audio dev is /dev/sound/dsp which has rw for the audio group (which I added my user to with 'gpasswd -a drkstr audio'). Do you think maybe swf is trying to use the /dev/dsp0 dev which doesn't exist? I don't know a lot about how udev works but I turned it on for easy device support with my mobile phone.

Let me know what you think.
i'm not sure how udev works, as i've never used it (i'm still basically in the 2.4 stone age)... but i do believe that the flash plugin needs your alsa to have oss emulation enabled and stuff... perhaps you don't have alsa-oss?? it's just a thought...
 
Old 05-28-2006, 05:16 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
Quote:
you said you were building 1.0.1... that's the same version the current build script builds (unless i'm missing something).
The one listed on the packages site in SLack-current is just 'Seaminkey-1.0'. Not a big diffrence but I read the reason for the added .1 in the current source relase was to fix a few security bugs.

Quote:
i'm not sure how udev works, as i've never used it (i'm still basically in the 2.4 stone age)... but i do believe that the flash plugin needs your alsa to have oss emulation enabled and stuff... perhaps you don't have alsa-oss?? it's just a thought...
I enabled alsa-oss emulation support in the kernel. 'snd_pcm_oss' and 'snd_mixer_oss' are both loaded per 'lsmod'. Is this all I need for oss emulation or did I leave something out of the kernel? I also wonder about 'snd_mixer_oss'. Is there a separate utility to change the sound levels for oss or will 'alsamixer' do it?

I also just tried creating a simlink to my sound device
Code:
ln -s /dev/sound/dsp /dev/dsp0
but it didn't seem to work.

thanks for all your help!
...drkstr
 
Old 05-28-2006, 06:24 PM   #6
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,766

Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
Quote:
The one listed on the packages site in SLack-current is just 'Seaminkey-1.0'. Not a big diffrence but I read the reason for the added .1 in the current source relase was to fix a few security bugs.
You could just edit the slackbuild file, change the version number, and compile Seamonkey 1.0.1 like that. It's what I'd do.

Last edited by dugan; 05-29-2006 at 08:44 AM.
 
Old 05-28-2006, 06:52 PM   #7
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by drkstr
The one listed on the packages site in SLack-current is just 'Seaminkey-1.0'. Not a big diffrence but I read the reason for the added .1 in the current source relase was to fix a few security bugs.
Quote:
Originally Posted by dugan
You [em]could[/em] just edit the slackbuild file, change the version number, and compile Seamonkey 1.0.1 like that. It's what I'd do.
guys, i'm still not sure what's going on here... slackware-current is currently using seamonkey-1.0.1... in fact, just to check if i was going nuts i downloaded the source package from here (slackware official ftp server) and i compared it with the one from here (official mozilla ftp server) and the MD5SUMs match... so i'm dazed and confused about the seamonkey in current not being the latest...

Quote:
Originally Posted by drkstr
I enabled alsa-oss emulation support in the kernel. 'snd_pcm_oss' and 'snd_mixer_oss' are both loaded per 'lsmod'. Is this all I need for oss emulation or did I leave something out of the kernel? I also wonder about 'snd_mixer_oss'. Is there a separate utility to change the sound levels for oss or will 'alsamixer' do it?
as for the loaded oss modules, this is what i look like (granted i'm on kernel 2.4):
Code:
bash-3.00$ /sbin/lsmod | grep oss
snd-seq-oss            23808   0 (unused)
snd-seq-midi-event      3040   0 [snd-seq-oss]
snd-seq                34992   2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            36832   0
snd-mixer-oss          12344   2 [snd-pcm-oss]
snd-pcm                53960   1 [snd-pcm-oss snd-cmipci]
snd-seq-device          3828   0 [snd-seq-oss snd-seq snd-opl3-lib snd-rawmidi]
snd                    32740   2 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-cmipci snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc          5172   0 [snd-seq-oss snd-seq snd-mixer-oss snd-pcm snd-hwdep snd-timer snd-rawmidi snd-seq-device snd]
as for if it's all you need, well, i think you'd need a package called "alsa-oss" installed, no?? i mean, even if we forget about my stone age 2.4 system, i did have to install the alsa-oss package in the ubuntu dapper live cd i tried a few days ago in order to get sound from flash... and ubuntu dapper is 2.6-based so my guess is that you definitely need to have the alsa oss emulation package installed...

about the mixer, i've only used alsamixer and have never needed any other so my guess is that you wouldn't either...
 
Old 05-28-2006, 09:28 PM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
Quote:
slackware-current is currently using seamonkey-1.0.1... in fact, just to check if i was going nuts i downloaded the source package from here (slackware official ftp server) and i compared it with the one from here (official mozilla ftp server) and the MD5SUMs match
I see what you mean. The seamonkey build on that miror is 1.0.1; I was looking here to get the package from slackware and it was only returning 1.0 when I seached for it. I wonder why 1.0.1 doesn't show up on the slack-packages site. Maybe they haven't updated it? Well anyways, I wish I would have browsed though the mirror to begin with becasue I would have saved myself a lot of effort. Sorry for the confusion.

Quote:
did have to install the alsa-oss package in the ubuntu dapper live cd i tried a few days ago in order to get sound from flash... and ubuntu dapper is 2.6-based so my guess is that you definitely need to have the alsa oss emulation package installed.
I have just been using the kernel alsa/oss implementation instead of the slackware packages since I am using a diffrent kernel version then the packages were compiled for. I do see you have some extra modules that I don't so I will go though my kernel config again and see if I left anything out.

I just downloaded the seamonkey-1.0.1 from the mirror win32sux posted. I will install try using the official slackware build to see if it's an issue with my build or not.

Quote:
You [em]could[/em] just edit the slackbuild file, change the version number, and compile Seamonkey 1.0.1 like that. It's what I'd do.
That is a good suggestion, but I was wanting to build it myself since there were a few things I customized for my own use. It probably would have saved me a lot of work if used the slackbuild file to start with and then add my customization from there. Oh well, live and learn.

Thank you all for your replies. I have some work to do so I will post back with what I find out.

regards,
...drkstr
 
Old 05-28-2006, 10:12 PM   #9
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
Ok well here is what I found out.

1. It's not a problem with the browser.
I installed firefox and put the swf, java, and mplayer plugins in it's plugin directory. no sound.

2. It's not a problem with oss (unless swf uses some strange part of oss)
I opened up MPlayer and set the configuration to use OSS for audio. I was able to play an mp3 just find with OSS.

It looks like sound is working just fine on my system, it apears to be a problem specific to the swf plugin. Any other ideas?

Thanks again!
...drkstr

Last edited by drkstr; 05-28-2006 at 10:14 PM.
 
Old 05-29-2006, 01:07 AM   #10
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Did you look at this thread? http://www.linuxquestions.org/questi...ighlight=flash

I understand your fustration: I can't get it to work yet either. I'll try it myself, see what's what.
 
Old 05-29-2006, 01:37 AM   #11
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
I just added myself to the 'audio' group, reran 'alsaconf' and have sound in flash now.

Checked it out here
 
Old 05-29-2006, 09:18 AM   #12
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
Some of you guys already found the right location, in xap. But the search engine on Slackware package browser points to /testing and none of the http or ftp sites have it in that directory.
 
Old 05-29-2006, 11:47 AM   #13
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
Thanks for the replies. I have read the threads mentioning these solutions prior to posting my question and it still doesn't seem to be working.

Let me recap what I have verified.
1. My user is part of audio group per the '/etc/group' file
2. Doesn't seem to be a problem with alsa or oss. I re-ran 'aslaconf' to be sure and tested oss by using it as sound ouput in MPlayer
3. it doesn't appear to be a problem with the browser since I get the same problem with firefox
4. It is not a problem with KDE sound system since I have disabled it.
5. I don;t think it's a problem with plugin permissions since I changed ownership to the user (though I'm not sure why I should have to do this, I would rather not have my user be able to write to system files)

I'm not sure why this isn't working on my system. I haven't really done anything strange and it seems most people get it working once the sound in general is configured correctly. The only thing I can think of that would be different is the fact that I am using the kernel modules for alsa/oss-emulation instead of the slack-package. I rechecked my kernel config and it looks like everything is ok. LIke I said, sound is working just fine on my system, just not swf.

Oh yeah, one other thing ...I'm going to feel like a retard if this is the problem, but do I have the wrong plugin? On the mozilla site there are two different flash plugins. One is "Flash Player" which is the one I am using, the other is "Shockwave" which says it's unavailable for Linux.

Here is the info form my "about plug-ins" in the mozilla help
Shockwave Flash
Quote:
File name: libflashplayer.so
Shockwave Flash 7.0 r63

MIME Type Description Suffixes Enabled
application/x-shockwave-flash Shockwave Flash swf Yes
application/futuresplash FutureSplash Player spl Yes
Does anyone have any other suggestions?

Thanks for all your help!
...drkstr
 
Old 05-29-2006, 12:03 PM   #14
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by drkstr
I see what you mean. The seamonkey build on that miror is 1.0.1; I was looking here to get the package from slackware and it was only returning 1.0 when I seached for it.
Quote:
Originally Posted by Randux
Some of you guys already found the right location, in xap. But the search engine on Slackware package browser points to /testing and none of the http or ftp sites have it in that directory.
for the record, the first ftp link i posted was the official/master ftp server, NOT a mirror... so it would always have the very latest files, direct from patrick volkerding... the downside is that downloads are limited to around 8KB/s there... also, whenever new packages are released, it is very difficult to get a connection due to the limited amount of available bandwidth... so using a mirror is a good idea... the best slackware mirror i've found so far is the one provided by oregon state university:

ftp://ftp.oregonstate.edu/pub/slackware/

it's updated very quickly and it gives decent download speeds...

Quote:
Originally Posted by drkstr
I wonder why 1.0.1 doesn't show up on the slack-packages site.
i'm not sure, but i believe the slackware package browser thing is still quite experimental, and it's not managed by patrick, so that might explain some of it... i think it's still very under construction behind the scenes...

Quote:
Originally Posted by drkstr
I have just been using the kernel alsa/oss implementation instead of the slackware packages since I am using a diffrent kernel version then the packages were compiled for. I do see you have some extra modules that I don't so I will go though my kernel config again and see if I left anything out.
perhaps you should use the alsa-oss build script and build yourself an alsa-oss package to install and try?? like i said earlier, on ubuntu dapper all i needed to do to get sound from flash was install the alsa-oss package... here's the source and build script:

ftp://ftp.oregonstate.edu/pub/slackw...ce/l/alsa-oss/

oh, i just remembered... one thing i had to do after installing alsa-oss in ubuntu dapper was that i had to start firefox with the "aoss" command... it's like the wrapper or something... like so:
Code:
aoss firefox
that would make firefox use alsa-oss... once i had confirmed it worked fine with that, i just edited the icons and shortcuts so that the aoss would be called automatically whenever i clicked the shortcut...

Quote:
Originally Posted by drkstr
Here is the info form my "about plug-ins" in the mozilla help
Shockwave Flash
File name: libflashplayer.so
Shockwave Flash 7.0 r63

MIME Type Description Suffixes Enabled
application/x-shockwave-flash Shockwave Flash swf Yes
application/futuresplash FutureSplash Player spl Yes
yeah, mine looks just like that...

Last edited by win32sux; 05-29-2006 at 12:08 PM.
 
Old 05-29-2006, 12:06 PM   #15
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 30
Quote:
Originally Posted by drkstr
5. I don;t think it's a problem with plugin permissions since I changed ownership to the user (though I'm not sure why I should have to do this, I would rather not have my user be able to write to system files)
I wouldn't be doing that, either. It's been working fine on my system without ever having to do that.

Quote:
I'm not sure why this isn't working on my system. I haven't really done anything strange and it seems most people get it working once the sound in general is configured correctly. The only thing I can think of that would be different is the fact that I am using the kernel modules for alsa/oss-emulation instead of the slack-package. I rechecked my kernel config and it looks like everything is ok. LIke I said, sound is working just fine on my system, just not swf.
I'm using the kernel modules for alsa, but sound works properly in Flash animations/videos.

Quote:
Oh yeah, one other thing ...I'm going to feel like a retard if this is the problem, but do I have the wrong plugin? On the mozilla site there are two different flash plugins. One is "Flash Player" which is the one I am using, the other is "Shockwave" which says it's unavailable for Linux.

Here is the info form my "about plug-ins" in the mozilla help
Shockwave Flash
File name: libflashplayer.so
Shockwave Flash 7.0 r63

MIME Type Description Suffixes Enabled
application/x-shockwave-flash Shockwave Flash swf Yes
application/futuresplash FutureSplash Player spl Yes
My SeaMonkey (1.0.1) shows exactly the same version, so I guess that is not the problem.

I'd say go to the desesperate solution way: removepkg mozilla/firefox (and make sure to remove the flash plugin, it will remain there after you removepkg) and installpkg again mozilla and firefox, then reinstall flash.

... sorry I don't know what could be possibly wrong...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mozilla Reborn: SeaMonkey 1.0 Is Released LXer Syndicated Linux News 0 02-01-2006 12:31 AM
LXer: Seamonkey Project to replace Mozilla Suite LXer Syndicated Linux News 0 01-12-2006 02:46 PM
LXer: SeaMonkey Project picks up where halted Mozilla Suite left off LXer Syndicated Linux News 0 01-12-2006 10:02 AM
LXer: Seamonkey beta improves on Mozilla legacy LXer Syndicated Linux News 0 12-31-2005 04:16 PM
LXer: Mozilla SeaMonkey 1.0 Beta out LXer Syndicated Linux News 0 12-19-2005 11:03 PM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration