LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 06-16-2007, 03:16 PM   #1
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 93

Rep: Reputation: 15
No Audio with Flash Player


I've just freshly installed ubuntu 7.04 (Feisty Fawn) - did all updates and then went to install the flash player by Adobe. However, I get the following problem: just picture no sound, i.e. for instance on youtube.com, I can see all videos, but I don't get any sound.

My sound is set to ALSA (as it should) - MP3 playback and system sounds are fine (I can hear them).
aboutlugins in firefox tells me that flash is there (Shockwave Flash 9.0 r60).

I would be very grateful for any hint (posts in Italian and German ubuntu forums had no reaction yet ).
 
Old 06-16-2007, 07:25 PM   #2
SteveSch
Member
 
Registered: Jul 2003
Distribution: Debian
Posts: 102

Rep: Reputation: 15
Hi,

You might run alsamixer and turn up the PCM volume. I hope that helps.

Steve
 
Old 06-16-2007, 10:45 PM   #3
dinojerm
Member
 
Registered: Apr 2004
Location: NJ,US
Distribution: Debian Sid
Posts: 33

Rep: Reputation: 15
Another thing to check is your /etc/iceweasel/iceweaselrc file. It should contain the following line
Code:
ICEWEASEL_DSP="none"
 
Old 06-17-2007, 02:23 AM   #4
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 93

Original Poster
Rep: Reputation: 15
I do not have iceweasel, but firefox, hence /etc/firefox/firefoxrc. But it contains:
Code:
FIREFOX_DSP="none"
Still no sound when playing flash videos. PCM is up of course. Another strange thing happens: Whenever I have played back some flash video, I must close that instance of Firefox, because it won't let me go to any other URL - it will just pretend to be loading for some short second, but pages are white. If I restart Firefox, I can surf the web again.

It seems I am the only one around with that problem...

Last edited by netjack; 06-17-2007 at 02:28 AM.
 
Old 06-17-2007, 02:41 AM   #5
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 30
Lightbulb From my experience.

I had much the same problem with Slackware. What I found that cured the problem completely was compiling and upgrading to a 2.6.x version of the kernel. Since I don't work with Ubuntu, I don't know what kernel version comes with it.

There are numerous articles on the 'net about how to compile a kernel. However, Ubuntu is going to require special techniques due to its lack of a root user account. I STRONGLY suggest that you check with the Ubuntu forums for their method of kernel compilation.

Give that a try.

Hope it works. It did for me on three different machines.

Blessed be!
Pappy
 
Old 06-17-2007, 04:25 AM   #6
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 93

Original Poster
Rep: Reputation: 15
Whew, compiling the kernel is not one of the task I would expect a beginner would be comfortable with. After all, we're talking about "humanity" and "easyness" (ubuntu principles) here.

Anywhere, I tried to figure out the technical reasons behind the lack of sound. Googling around, it seems that the Adobe Flash Player audio I/O works through ALSA and that would mean that everytime the user does something else with audio *and* is watching a flash movie with sound, the flash audio won't be available. In an other forum they were complaining that the ALSA choice would make 90% of user complaint "I have no audio".

In my case however I am not listening to anything else - just the flash audio does not work.

This is my first approach to ubuntu. Up to now I have tried fedora and openSuSE and I must say ubuntu has way to go if it really wants to be that "human". I prefer both over ubuntu. Although I really liked snayptic install management.

Last edited by netjack; 06-17-2007 at 09:27 AM.
 
Old 06-17-2007, 07:22 AM   #7
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Desktop- Debian Lenny, Laptops- Ubuntu 8.10, Debian Lenny UMPC- Ubuntu 8.10
Posts: 1,297

Rep: Reputation: 55
Are you on a laptop by chance?(I know it shouldn't matter, but I'm curious).

I have zero problems with Flash on my desktop, but my laptop does this on occasion. One time, I was trying to use Flash(on youtube I believe), and sound wasn't working. Thinking something had happened to my sound, I inadvertently left the webpage open, and went to my music folder in /home, and double clicked an mp3. Oddly, as soon as it opened up in Audacious, the Flash video's sound immediately began to play. It worked from that point on for quite some time. Then mysteriously did it again, so I clicked an mp3, and immediately the flash video's sound worked again.

I know it makes no sense, and I have no explanation for why it does this, but it does every so often. I'm not really experienced with Laptops, and I thought maybe by default my laptop was booting with the sound muted(although all of my mixers show sound all the way up). It usually seems to work fine, until I restart. Sometimes it will still work fine after I restart. Also, I installed Debian Etch on my laptop the other day, and the first time I booted Youtube, it did the same thing, so I don't think its Ubuntu related(and another reason I think its starting with the sound hardware disabled for some reason).

Anyone know why this might be?

IGF

Last edited by IndyGunFreak; 06-17-2007 at 07:24 AM.
 
Old 06-17-2007, 12:05 PM   #8
Caballero del norte
Member
 
Registered: Apr 2007
Location: Sonoran Desert, USA
Distribution: Ubuntu 8.04
Posts: 30

Rep: Reputation: 16
no audio ć flash

I have noticed at times after "upgrading" that I have completely lost sound.

Amazingly enough, the answer for me twice was simply to go into the Volume Applet (you may have it installed on your Gnome panel), open Volume Control, and make sure that everything is turned on and that the volumes are turned up.

It seems that some installations/upgrades will default these settings back to "off" or "zero".

Good luck.
 
Old 06-17-2007, 12:48 PM   #9
billdevlp
LQ Newbie
 
Registered: May 2005
Location: Elk Grove Village IL
Distribution: Mandrake, Xandros
Posts: 1

Rep: Reputation: 0
No sound in Flashplayer9

hello: I have AMD64 version of UBUNTU 7.04 and MEPIS 6.5 installed and had no sound in the Flashplayer9 either when I used the Wheel in Comcast cable connection. Now I described my setup I do not know it will help but this what I did : down loaded the 32bit support libraries using the command "apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2".
I think the last part of this command is important "linux32 lib32asound2" for the sound. I got this from the UBUNTU Discussion forum. I hope it will help somebody.

Best Regards
 
Old 06-17-2007, 03:29 PM   #10
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 93

Original Poster
Rep: Reputation: 15
I tried
Code:
apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
but it won't find any one of them ("Impossible to find xxxxx", where xxxx is any of the proposed libs).
 
Old 06-17-2007, 04:25 PM   #11
tboerner
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
Hi,

actually the solution is very simple: You have to tell firefox what audio system to use and this is done via /etc/firefox/firefoxrc where it should *not* read "none" but "FIREFOX_DSP="aoss" (or artsd if you prefer) when alsa is used as with feisty is the case. aoss works perfectly with me without changing anything else.

Hope that helps.
TB
 
Old 06-18-2007, 12:05 AM   #12
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 93

Original Poster
Rep: Reputation: 15
tboerner,

neither of the two suggestions worked for me. I also have frequent Firefox crashes (just kills itself and closes abruptly).

I have enough of this. Switching to openSuSE now. Thanks to all!
 
Old 06-18-2007, 12:59 AM   #13
pappy_mcfae
Member
 
Registered: Feb 2007
Location: Dallas
Distribution: Gentoo x86 & x86_64
Posts: 190

Rep: Reputation: 30
Post

Quote:
Originally Posted by netjack
Whew, compiling the kernel is not one of the task I would expect a beginner would be comfortable with. After all, we're talking about "humanity" and "easyness" (ubuntu principles) here.
Be that as it may, sometimes we have to do things we don't want to do. As I said, from my experience, Flash simply wouldn't work under my 2.4.x kernel. Once I set up and compiled a 2.6.x kernel, it was as if by magic...suddenly, I had sound coming from Flash applications, both those at Youtube, and music from Myspace.

Plus, compiling a kernel isn't the most difficult thing one can do under Linux. As a matter of fact, you may not even have to do anything other than just compile the default kernel set up for your 2.6.x version. Getting my wireless networking to operate properly took much more time to do than compiling the kernel. As a matter of fact, I needed to move up to 2.6.x in order for my wireless networking to work at all. That is how I stumbled upon the fact that the 2.6.x kernel made Flash work properly.

There may be other means to get things rolling, but you shouldn't shrink from kernel compilation just because of fear. The truth of the matter is, in the world of Linux, many times, one has to do seemingly complex things in order to get things working properly. That's the nature of Linux.

Blessed be!
Pappy
 
Old 06-18-2007, 05:27 AM   #14
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Desktop- Debian Lenny, Laptops- Ubuntu 8.10, Debian Lenny UMPC- Ubuntu 8.10
Posts: 1,297

Rep: Reputation: 55
Quote:
Originally Posted by netjack
tboerner,

neither of the two suggestions worked for me. I also have frequent Firefox crashes (just kills itself and closes abruptly).

I have enough of this. Switching to openSuSE now. Thanks to all!
Was your system completely up to date? When I first installed Feisty, I had numerous problems with Firefox randomly closing, crashing for no obvious reason. It got so frustrated with it, I switched to Opera, which worked(and works) flawlessly. When I upgraded to Firefox 2.0.0.2, the problem stopped. I'm now using 2.0.0.4, and it hasn't been a problem since the first upgrade.

OpenSuse is a decent distro, I don't like RPM though, and to me, Suse is slow...

Good luck with it..

IGF
 
Old 06-18-2007, 06:12 AM   #15
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 93

Original Poster
Rep: Reputation: 15
Hmm,maybe I'm getting closer to the problem here:

I installed openSuSE 10.2. It comes with Firefox 2.0 and an older version of Flashplayer (don't recall which one). Audio as for e.g. on youtube.com worked fine.
After I've updated both Firefox to 2.0.4 and Flashplayer I have the same problem I had with when using ubuntu. I need to find a way to downgrade the flashplayer, maybe this is the cause.

Will post here with new insights. Thanks to all.
 
  


Reply

Tags
artsd, audio, esd, firefox, flash, flashplayer, player, sound


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
no audio for iceweasel flash player plugin dombrowsky Linux - Software 11 10-18-2011 06:27 PM
Flash player audio sync problem.. mykrob Linux - Software 9 09-03-2006 10:10 AM
flash player audio lag marioV Linux - Software 2 07-22-2006 02:19 AM
Flash Audio command line player? ncsuapex Linux - Software 2 07-20-2006 03:23 AM
Audio problem in Flash player stonehurstX11 Linux - Software 0 05-10-2004 09:53 PM


All times are GMT -5. The time now is 10:21 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