LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-15-2008, 02:37 PM   #1
bdika
Member
 
Registered: Aug 2003
Location: London, Canada
Distribution: Ubuntu Breezy Badger
Posts: 60

Rep: Reputation: 15
Choppy CD Playback on Alsaplayer when using Firefox web browser


I am using a derivative of Puppy Linux and the Alsaplayer media player.

I seem to have a very odd problem. The audio CD and mp3 playback is fine. However, when I'm playing back an audio CD and I use my Firefox web browser, the playback skips every time I access a different web page or reload a web page. This doesn't happen with mp3 playback but only when playing an audio CD.

I have tried increasing the buffer_size in my .asoundrc file and tried turning on dma for the CD/DVD drive, neither of which helped. I also tried setting the Alsaplayer f and g command line options with various amounts, also with no results.

This doesn't happen with other media players (so I know my drive is OK), but these other players are not satisfactory for other reasons (choppy playback at other times, freezing, etc.). Alsaplayer seems to be the one that does the best job with audio CDs, except when using my web browser.

Any help would be much appreciated.

Thanks.

bdika
 
Old 03-17-2008, 11:26 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,309

Rep: Reputation: 139Reputation: 139
What are your hardware specs? Firefox is very cpu intensive on low end hardware. On my PIII 500MHz with 384MB of ram, when I monitor the cpu state, I routinely see firefox peg the cpu at 100% utilization whenever I load a webpage, especially if I use any adblocking extensions. Your cd software may simply be ungracefully responding to being cpu starved for a few moments.
 
Old 03-17-2008, 03:24 PM   #3
bdika
Member
 
Registered: Aug 2003
Location: London, Canada
Distribution: Ubuntu Breezy Badger
Posts: 60

Original Poster
Rep: Reputation: 15
Thanks for the reply kilgoretrout.

I think you are right. The monitor on one of my task bars shows 100% when I startup firefox or reload a web page.

However, I don't have low end hardware. I have a dual core 64 bit computer with 3.5gig of ram, although I'm not sure how Puppy Linux treats the cpu.

In any case, I was wondering why it doesn't happen in (K)Ubuntu and why it doesn't happen in Puppy Linux when I am using the gxine media player (although gxine is prone to crashing in Puppy). I would like to correct my previous post in saying that I did notice a similar problem when using VLC in Puppy Linux.

Is there a configuration option that I can set in Firefox to keep it from maxing out the cpu when it loads or refreshes.

Thanks again kilgoretrout.

bdika
 
Old 03-18-2008, 11:43 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,309

Rep: Reputation: 139Reputation: 139
You can start firefox from the command line and use the nice command to lower its scheduleing priority and see if that works. The syntax would be something like this:

$ nice -n +15 mozilla-firefox
 
Old 03-20-2008, 05:26 AM   #5
bdika
Member
 
Registered: Aug 2003
Location: London, Canada
Distribution: Ubuntu Breezy Badger
Posts: 60

Original Poster
Rep: Reputation: 15
Hi kilgoretrout:

Thanks for the suggestion. The nice command wouldn't accept a plus after the number 15. So instead of entering:

Code:
nice -n +15 mozilla-firefox
as you suggested. I had to enter:

Code:
nice -n 15 mozilla-firefox
Unfortunately, this did not help.

I've since come to realize that this problem only occurs when I use compiz-fusion. Also, it seems to occur no matter what media player I am using.

If you have any other ideas, I'd be glad to hear them.

Thanks again.

bdika
 
  


Reply

Tags
cds, firefox, puppylinux


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
Getting Firefox from links web browser Four Linux - Newbie 2 07-01-2007 11:15 AM
Video playback support on the Firefox Browser hep3005 Linux - General 1 11-01-2006 08:06 AM
Mozilla Firefox vs. Opera Web Browser Dralnu Linux - Software 1 04-25-2006 05:55 PM
FC4 and firefox/web browser problem pdb10461 Fedora - Installation 2 12-31-2005 08:45 AM
firefox web browser paul62 Linux - Software 4 07-23-2004 08:44 PM


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