LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-30-2011, 11:53 AM   #1
sardylan
LQ Newbie
 
Registered: Jun 2011
Location: Cagliari (Sardinia)
Distribution: Slackware, LFS, Debian
Posts: 5

Rep: Reputation: Disabled
ALSA problems


Hi all.
I've got a problem with my audio sound card when there is an high use of video or CPU.
For example, if I'm listening to an MP3 using any player and launch a command like "find /", the sound jerks. The problem stops if you hide the terminal window.
I've got the same problem using mplayer in fullscreen with an high-CPU video codec, like x264.
The game Battle for Wesnoth, which use SDL with ALSA output, produces many errors of "Buffer underrun", especially when I scroll the map.
There is no problem if I use OSS output.
I'm using 32bit Slackware current with kernel 2.6.38.8, rebuilt with all modules for fixed hardware in built-in. Also "radeon" module is in built-in with KMS enabled by default. On the contrary, ALSA is installed as module.
I'm using KDE 4.5.5.
Someone may help me?
Thanks in advice.
 
Old 06-30-2011, 01:24 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
I was having similar problems with a custom 2.6.38.8(-zen) kernel and a 2.6.39.2(-zen) kernel (ALC268 on this lappie here), so I tried switching to the stock -generic kernel on current and that seems to have fixed things: I suspect some kind of regression (to say it all I think not even related directly to alsa) but I really cannot bisect on this hardware (it powers on successfully at random) so I'll play with -generic for a while.

Last edited by ponce; 06-30-2011 at 01:36 PM.
 
Old 06-30-2011, 03:07 PM   #3
sardylan
LQ Newbie
 
Registered: Jun 2011
Location: Cagliari (Sardinia)
Distribution: Slackware, LFS, Debian
Posts: 5

Original Poster
Rep: Reputation: Disabled
Sorry... I forgot to say that I'm using a Dell Inspiron 9400 laptop, with a HDA Intel (SigmaTel STAC9200).
If I remember correctly, the problem started when I use for the first time Kernel ModeSetting with radeon... Maybe the two are related...

@ponce:
Do you think that it could be a kernel problem??
Tonight I'll try to update to 2.6.39 series.
 
Old 06-30-2011, 03:13 PM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
I suggest you to try first with the -generic shipped with slackware
 
Old 07-11-2011, 03:37 PM   #5
sardylan
LQ Newbie
 
Registered: Jun 2011
Location: Cagliari (Sardinia)
Distribution: Slackware, LFS, Debian
Posts: 5

Original Poster
Rep: Reputation: Disabled
I tried using kernel 2.6.39.2, and both huge-smp and generic-smp, with no results.
Then I tried to boot my kernel with radeon.modeset=0 (built-in radeon module) and the sound stops to jerk.
I tried without modeset also using generic and huge-smp, and no problems occured.
I've noticed that without modeset the whole system is slower than with. It's like a sort of priority system. With modeset, video takes precedence to audio, and without modeset audio takes precedence.
After that, I think that the problem is modeset... Perhaps in how modeset interact with my hardware...
Any solutions or ideas?

Thanks

Last edited by sardylan; 07-12-2011 at 04:58 AM.
 
Old 07-26-2011, 09:52 AM   #6
sardylan
LQ Newbie
 
Registered: Jun 2011
Location: Cagliari (Sardinia)
Distribution: Slackware, LFS, Debian
Posts: 5

Original Poster
Rep: Reputation: Disabled
Other people have the same problem:
https://bugtrack.alsa-project.org/al...ew.php?id=5408
http://www.linuxmusicians.com/viewtopic.php?f=6&p=20592
 
Old 07-26-2011, 09:30 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Most audio devices, that aren't a standalone peripheral based solution, are codec devices that utilize CPU power to process the audio. If you have an onboard audio solution, running anything that may require more system resources, like a file search, can affect things like audio processing at times and cause anything from stuttering to even complete stalls.
 
Old 07-27-2011, 05:04 AM   #8
sardylan
LQ Newbie
 
Registered: Jun 2011
Location: Cagliari (Sardinia)
Distribution: Slackware, LFS, Debian
Posts: 5

Original Poster
Rep: Reputation: Disabled
My laptop use an Intel HDA... SigmaTel Audio Codec 9200... STAC92xx...
Perhaps is a software-based audio card...
 
Old 07-27-2011, 05:34 AM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
FYI, the issues I had disappeared with the 3.0 kernel (but no radeon or kms here).
 
Old 07-27-2011, 11:27 PM   #10
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Sigmatel codecs are software based. IDT, Realtek, Sigmatel, and SoundMAX all are codec and software based audio devices that use the Azalia (Intel HD Audio) foundation.

The only real hardware sound card/chip manufacturers anymore are M-Audio, C-Media, and Creative.
 
  


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
Alsa Problems bookie Linux - Newbie 9 07-11-2007 01:01 PM
Problems with Alsa Mithrilhall Linux - Hardware 5 09-13-2006 12:29 AM
alsa problems garr0323 Mandriva 1 10-28-2004 05:13 PM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
Alsa problems for all... Caeda Linux - Laptop and Netbook 2 11-26-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:43 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration