LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Thread Tools Search this Thread
Old 02-17-2009, 10:20 AM   #1
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,336
Thanked: 496
Flash videos in Firefox without any sound - OpenSUSE 11.1


[Log in to get rid of this advertisement]
Have someone experienced this problem in the latest release of OpenSUSE and eventually have found a solution? I have OpenSUSE 11.1, running KDE 3.5.10, Firefox 3.0.5 and flash-player 10.0 r15. When I try to see a flash movie in Firefox I can see the video but no sound.

The sound is good if I run other multimedia applications, like Amarok or Mplayer. The volume is at maximum level. The PCM input in Kmixer is enabled. I tried to uninstall and reinstall flash-player: it worked the first time only, that is I heard sound in flash video, but after reboot it did not work anymore.

Any advice? Thank you!
colucix is offline     Reply With Quote
Old 02-18-2009, 07:37 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Pclinux, Mandriva, Kubuntu 9.10, Slck13_64-current
Posts: 1,435
Blog Entries: 3
Thanked: 59
as root copy the /usr/lib/mozilla/plugins/flashplayer.so to /usr/lib/firefox3.0.5/plugins
for some reason your system is not linking tht plugin after a restart of the system any way you could reinstall firefox. or place the plugin in the folder if it does not work.


Back up all stored passwords go to your /home/username/.mozilla/firefox and delete the folder now when you restart firefox it will search those plugins and write a new ini if you also have a /home/username/.firefox you will have to remove it.

The new 3.0.5 is using the newer xulruner also. not sure on your system but this is a must if you went from an older mozilla-firefox to firefox3.0.5 the difference is the older was part of the kde mozilla integration. so we had some different issues.

I am using 3.0.5 in pclinux2008 and this was the same fix I had to do. I really like the 3.0.6 in slackware-current the addon features are wonderful better than 3.0.5 good luck.
Drakeo is offline     Reply With Quote
Old 02-19-2009, 04:03 AM   #3
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,336
Thanked: 496

Original Poster
Hi Drakeo. Thank for the tips. I have followed your suggestions and now it works: I hear sound again in flash videos. I will keep an eye on that to see if it is stable now.

I don't know what xulrunner is. I have mozilla-xulrunner190 already installed on my system. Has it any role in playing flash videos in Firefox or is it related to some other functionality?

Many thanks!
colucix is offline     Reply With Quote
Old 04-10-2009, 01:25 PM   #4
Nick_Battle
Member
 
Registered: Dec 2006
Location: Bracknell, UK
Distribution: SUSE 10.3
Posts: 156
Thanked: 2
Smile

I was also getting the symptoms described - under SUSE 11.1, KDE3.5 and Firefox, Flash video showing but sound not (and video very jumpy), though sometimes reloading FF or just reloading the *page* would get it working.

Based on the suggestion in this thread, I looked at the /usr/lib/mozilla and /usr/lib/firefox directories.

The firefox directory does not have a plugins subdirectory. The mozilla directory does, but the mozilla directory itself had 0700 permissions (root), so it was not searchable by normal users.

Doing "chmod a+rx mozilla" as root in /usr/lib *seems* to have fixed it. :-)

Surely /usr/lib/mozilla should have world-readable permissions?

Cheers,
-nick
Nick_Battle is offline     Reply With Quote
Old 04-10-2009, 01:53 PM   #5
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,336
Thanked: 496

Original Poster
Nice tip. I got it working by putting libflashplayer.so under the $HOME/.mozilla/plugins directory, but I cannot tell you exactly why it did not work before, since I had the same situation upon the first installation. Anyway, I don't see any problem by changing permissions of /usr/lib/mozilla. Maybe someone else has a clue.

Thanks for replying. Cheers!
colucix is offline     Reply With Quote
Old 06-30-2009, 02:44 PM   #6
Nick_Battle
Member
 
Registered: Dec 2006
Location: Bracknell, UK
Distribution: SUSE 10.3
Posts: 156
Thanked: 2
Smile

Quote:
Originally Posted by Nick_Battle View Post
Doing "chmod a+rx mozilla" as root in /usr/lib *seems* to have fixed it. :-)
OK, that didn't actually work... but it took me a while to get round to admitting it!

I noticed that there were some errors in the log about pulseaudio failing to grab the audio device as it was busy (this is at KDE startup), and it appeared that re-starting pulse (kill the old one, then pulseaudio --start) got Firefox's flash player going.

So that made me wonder why flash was using pulse, when I've tried to set up KDE to use alsa - to avoid the horrible "BRRRR!!!!" you get at the start of playback otherwise.

A quick Google later, and I found the following:
http://project.revolutionlinux.com/PulseAudio

In particular, it says: "If everything fails, it falls back to the ALSA driver that's built directly into FlashPlayer 9.

You can force any interface by setting environment variables:

* FLASH_FORCE_PULSEAUDIO = 1 (or) FLASH_FORCE_ESD / FLASH_FORCE_ALSA / FLASH_FORCE_OSS"

So I tried setting export FLASH_FORCE_ALSA=1 (in .bashrc), and... fingers crossed... it's been OK since.

HTH :-)

Cheers,
-nick
Nick_Battle is offline     Reply With Quote
Old 07-30-2009, 04:59 AM   #7
leonand
LQ Newbie
 
Registered: Nov 2007
Distribution: Suse
Posts: 4
Thanked: 1
I had pretty much exactly the same problem as in colucix's description.

I got it to work by going to YaST Control Center / Hardware / Sound. And under the "Other" button (to the right) there had appeared a "PulseAudio Configuration..." option. Clicking it brought up a dialog with only one option: "Enable PulseAudio Support", which wasn't checked!

So after checking it all problems I had with the PulseAudio driver disappeared.

/leonand
leonand is offline     Reply With Quote
Old 07-30-2009, 05:09 AM   #8
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,336
Thanked: 496

Original Poster
Thank you, leonand and Nick_Battle. I will take your suggestions into account the next time I don't hear sound in flash videos!
colucix is offline     Reply With Quote

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
Installing flash player doesn't allow youtube videos to show in firefox tothemax6 Linux - Software 1 12-09-2008 07:53 AM
No sound on Firefox videos phoenix_wolf Linux - Software 1 07-14-2008 06:34 PM
In Firefox some pics & videos flash quickly once and then disappear. Why? Tikhon Linux - Newbie 2 01-10-2008 11:03 PM
Videos in Firefox have sound + video synch problem Adrian Baker Linux - Software 3 10-24-2006 07:21 AM
Firefox+flash- no sound weijie90 Linux - Software 4 07-03-2006 11:21 PM


All times are GMT -5. The time now is 03:14 PM.

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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration