Jump to content

No sound Flash player with Slackware 10.2 and Firefox


sloppyslacker

Recommended Posts

Hi SLSlacker . . . could you link us to some of them ? It is hard to judge if we do not know what the choices are ;)B) Bruno

Link to comment
Share on other sites

sloppyslacker

Hi Bruno,To start with, this ---> artsdsp /usr/bin/firefox <---- works. :) The sound lags behind the video so it doesn't work well but is usable. I don't know why, but it works.A lot of the threads suggest printing lsmod to see if the oss drivers are being loaded.

bash-3.00$ lsmodModule				  Size  Used by	Not taintedsnd-seq				35056   0 (autoclean)snd-seq-device		  3812   0 (autoclean) [snd-seq]snd-pcm-oss			36736   0 (unused)snd-mixer-oss		  12376   1 [snd-pcm-oss]usb-storage			62432   0 (unused)i810_rng				2528   0 (unused)uhci				   24284   0 (unused)usbcore				59148   1 [usb-storage uhci]snd-intel8x0		   18304   1snd-ac97-codec		 58556   0 [snd-intel8x0]snd-pcm				54344   0 [snd-pcm-oss snd-intel8x0 snd-ac97-codec]snd-timer			  13764   0 [snd-seq snd-pcm]snd					32772   0 [snd-seq snd-seq-device snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm s		   nd-timer]soundcore			   3396   4 [snd]snd-page-alloc		  4712   0 [snd-seq snd-seq-device snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]eepro100			   18836   1mii					 2272   0 [eepro100]pcmcia_core			39172   0ide-scsi				9392   0agpgart				45508   0 (unused)

Sure looks like they are.Others suggest going into kde control center >>> sound and multimedia >>>> sound system and set auto suspend to 2 seconds. This did not work and I'm not sure what it means to do so.All three of the above are listed here.

I recommend going to the KDE Control Centre and disabling the KDE sound server. Then you won't have to use artsdsp to route Firefox's audio through arts, and you'll be able to use ALSA (much faster) instead.
This comes from a thread that uses the artsdsp solution also. This guy seems to think that disabling KDE sound is a good idea. :w00t: He also mentions using ALSA instead of arts but I think I read somewhere that Flash uses oss by default. :w00t: I'm so confused.He also seems to think that >>> aoss firefox <<< would work. Bottom post.The post below deals with some of the same proposed solutions in more depth. They go to the extreme of killing the sound system in KDE and killing all instances of artsd.There is also mention of modprobe snd-pcm-ossLike I said, the >>> artsdsp /usr/bin/firefox <<< works for me. I could just edit the shortcut. Is there a better way, though?Thanks again. Edited by sloppyslacker
Link to comment
Share on other sites

sloppyslacker

There is also this from the KDE help center.

If you often use non-aRts aware applications, and you have a soundcard that supports it, try setting aRts to use a different device than /dev/dsp. This way, other applications will be able to use the default device, while aRts is still running, without giving any error messages.
Not sure how to do this or how to figure out if my sound card (onboard) supports it. Edited by sloppyslacker
Link to comment
Share on other sites

This guy seems to think that disabling KDE sound is a good idea. :hmm: He also mentions using ALSA instead of arts but I think I read somewhere that Flash uses oss by default. :hysterical: I'm so confused.
Well, basically this is not a bad idea . . . . it only disables "aRts" . . and aRts is only used for the systemsounds. Once you have it disabled you can make your computer use alsa for the systemsounds ( I can explain you how ) . . . But you first have to make sure that disabling aRts does solve the flash-sound issue.:w00t: Bruno
Link to comment
Share on other sites

sloppyslacker

Alas, it doesn't work. :hmm: 'Course, I'm the type that doesn't use system sounds much. I have a nasty habit of turning them off.

Link to comment
Share on other sites

I'm sorry it does not work . . . . :hysterical: . . . . ( me too I have no time for systemsounds, I find them annoying :hmm: )

Like I said, the >>> artsdsp /usr/bin/firefox <<< works for me. I could just edit the shortcut.
Well if that does the trick just edit the shortcut and it will use the "artsdsp /usr/bin/firefox" every time you start FFB) Bruno
Link to comment
Share on other sites

sloppyslacker

Got a chance to do some surfing today and found that using >>>artsdsp /usr/bin/firefox<<< makes for an unstable firefox with lots o'crashes.How about this:Deleted code.From here.Okay. Nevermind that one. Just thought to check and there is no asound.conf in Slackware.I'll keep reading the other solutions in there.

Edited by sloppyslacker
Link to comment
Share on other sites

sloppyslacker

Hi Bruno,I think I did this right. :) Me and the command line still need a lot of practice.

bash-3.00$ ls -al /dev/dsplrwxrwxrwx  1 root root 4 2006-08-03 18:38 /dev/dsp -> dsp0

Link to comment
Share on other sites

I think I did this right. :) Me and the command line still need a lot of practice.
Hi Slacker . . . bravo . . . that is indeed the command to show me that output . . . . :thumbsup:Still, to get a more complete view try these:
$ ls -l /dev | egrep -i dsp\|sound$ ls -l /dev | egrep -i dsp\|mixer$ cat /etc/group

;):) Bruno

Link to comment
Share on other sites

sloppyslacker

Here ya go. ;)

bash-3.00$ ls -l /dev | egrep -i dsp\|soundlrwxrwxrwx   1 root	  root		  5 2006-08-03 18:38 adsp -> adsp0crw-rw--w-   1 root	  sys	 14,  12 2003-08-29 03:47 adsp0crw-rw--w-   1 root	  sys	 14,  28 2003-08-29 03:47 adsp1crw-rw--w-   1 root	  sys	 14,  44 2003-08-29 03:47 adsp2crw-rw--w-   1 root	  sys	 14,  60 2003-08-29 03:47 adsp3lrwxrwxrwx   1 root	  root		  4 2006-08-03 18:38 dsp -> dsp0crw-rw--w-   1 root	  audio   14,   3 2003-08-29 03:47 dsp0crw-rw--w-   1 root	  audio   14,  19 2003-08-29 03:47 dsp1crw-rw--w-   1 root	  audio   14,  35 2003-08-29 03:47 dsp2crw-rw--w-   1 root	  audio   14,  51 2003-08-29 03:47 dsp3

bash-3.00$ ls -l /dev | egrep -i dsp\|mixerlrwxrwxrwx   1 root	  root		  5 2006-08-03 18:38 adsp -> adsp0crw-rw--w-   1 root	  sys	 14,  12 2003-08-29 03:47 adsp0crw-rw--w-   1 root	  sys	 14,  28 2003-08-29 03:47 adsp1crw-rw--w-   1 root	  sys	 14,  44 2003-08-29 03:47 adsp2crw-rw--w-   1 root	  sys	 14,  60 2003-08-29 03:47 adsp3crw-rw-rw-   1 root	  sys	 14,  11 2003-08-29 03:47 amixer0crw-rw-rw-   1 root	  sys	 14,  27 2003-08-29 03:47 amixer1crw-rw-rw-   1 root	  sys	 14,  43 2003-08-29 03:47 amixer2crw-rw-rw-   1 root	  sys	 14,  59 2003-08-29 03:47 amixer3lrwxrwxrwx   1 root	  root		  4 2006-08-03 18:38 dsp -> dsp0crw-rw--w-   1 root	  audio   14,   3 2003-08-29 03:47 dsp0crw-rw--w-   1 root	  audio   14,  19 2003-08-29 03:47 dsp1crw-rw--w-   1 root	  audio   14,  35 2003-08-29 03:47 dsp2crw-rw--w-   1 root	  audio   14,  51 2003-08-29 03:47 dsp3lrwxrwxrwx   1 root	  root		  6 2006-08-03 18:38 mixer -> mixer0crw-rw-rw-   1 root	  audio   14,   0 2003-08-29 03:47 mixer0crw-rw-rw-   1 root	  audio   14,  16 2003-08-29 03:47 mixer1crw-rw-rw-   1 root	  audio   14,  32 2003-08-29 03:47 mixer2crw-rw-rw-   1 root	  audio   14,  48 2003-08-29 03:47 mixer3crw-r--r--   1 root	  root	13,   0 1997-04-29 19:04 pcmixer

bash-3.00$ cat /etc/grouproot::0:rootbin::1:root,bin,daemondaemon::2:root,bin,daemonsys::3:root,bin,admadm::4:root,adm,daemontty::5:disk::6:root,admlp::7:lpmem::8:kmem::9:wheel::10:rootfloppy::11:rootmail::12:mailnews::13:newsuucp::14:uucpman::15:audio::17:video::18:cdrom::19:games::20:slocate::21:utmp::22:smmsp::25:smmspmysql::27:rpc::32:sshd::33:sshdgdm::42:shadow::43:ftp::50:pop::90:popscanner::93:nobody::98:nobodynogroup::99:users::100:console::101:

Link to comment
Share on other sites

Hi SLSlackerOn first sight the output looks okay . . . but 'cause I am not home at the moment ( babysitting my granddaughter ) I am unable to check/compare the info you posted right now. I will be back at my own computer in a few hours and will then post again.;) Bruno

Link to comment
Share on other sites

Hi SLSlackerBack on basecamp . . . :) . . . . . I checked the output, indeed the permissions look okay . . . but there is one last thing you can try:Open up the /etc/group file in and editor ( as root ) and add your username ( login name ) to the audio group . . . so that line looks like:

audio::17:bruno
( just replace the "bruno" with your username )I don't think a reboot is actually needed . . . but it won't hurt either . . . . after that try if the flashplayer does give sound. ( crossing fingers );) Bruno
Link to comment
Share on other sites

sloppyslacker

You Sir, are remarkable! B) Have gone through several videos from YouTube and Google without a crash and without using artsdsp /usr/bin/firefox. Including this one.As easy as adding myself to the audio group... who would've thunk? Well, except you, that is. :thumbsup:Thank you, very much.

Edited by sloppyslacker
Link to comment
Share on other sites

HURRRAY !! Congrats SLacker . . . . glad we found an easy way around the problem ! B)( If you like to know more, here is a Tip about the groups command ):o Bruno

Link to comment
Share on other sites

sloppyslacker
glad we found an easy way around the problem !
I like your liberal use of the work "we". B) I do have one question, though. What use is the "nobody" group if nobody belongs to it?
Link to comment
Share on other sites

I like your liberal use of the work "we". B)
B) . . .
I do have one question, though. What use is the "nobody" group if nobody belongs to it?
LOL . . . and what about the "nogroup" group ?? I don't know who came up with these names but it must indeed have been a pretty wacky guy . . . Anyway, all I can additionally tell you is that the groups with a GID ( group ID number ) of below 100 ( in Mandrake below 500 ) are "system accounts" all groups above 100 are for user accounts. If my memory is correct there is "slocate" ( a command to search files on your harddisk ) that belongs to the "nobody" group . . . . or has to be added if the command does not work . . . Permissions, groups, users . . . it's a complicated system but it does keep a multi-user OS like Linux pretty safe :thumbsup::hmm: Bruno
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...