Choppy CD Playback on Alsaplayer when using Firefox web browser
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.