Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-20-2004, 03:30 AM   #1
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
ALSA+SB-Live!+Wine(X)+Starcraft=stuttering sound

I didn't know if I should have posted this in the gaming forum, but since it is more of a hardware (drivers, actually) problem than anything else, I decided to post it here.

I recently tried to run Starcraft (after a very long time) and noticed this issue: The sound stutters, much like if the last sample stays in the buffer and then only when playing another sound will the sound be "unlocked" just get stuck again a few samples later. I noticed this since today and the odd thing is that in systems with pretty much an identical setting (except for the sound card and ALSA version) and these systems did not show any problems whatsoever... what may be the problem?

The (choking) system:

Fedora Core 2
Kernel 2.6.7 with CK patchset applied.
ALSA driver version 1.0.5a
ALSA lib, utils, oss & tools version 1.0.5
Wine version wine-20040408-1fc1winehq (pre-compiled rpm for Fedora Core 1)
WineX version winex-3.2.1-1 downloaded from transgaming when I still had an active account.

By the way, recent builds of wine don't seem to like programs which require the CD in order to play/use it, is there a workaround?

AMD Athlon XP 2200+
512 Mb DDR 2700
ECS K7S5A Pro MoBo
Sound Blaster Live! Value sound card (onboard sound disabled)
ATi Radeon 9500 NP 128 (driver v. 3.9.0)

Software configuration.

I think it may be relevant to post how did I configure two key aspects: the kernel and the ALSA drivers. For the kernel I have compiled in PREEMPT and REGPARM, no sound drivers are compiled whatsoever (as modules or otherwise), only sound support is compiled as a module (soundcore). Only ACPI is compiled as the PowerManager and I have compiled into the kernel APIC and IOAPIC (my system tends to feel faster and more stable with this setting than without), the rest of the hardware is confiugred according to what I acutally have in the computer (mainly as modules) as are the filesystems.

I have compiled the ALSA driver like this:
./configure --with-cards=emu10k1 --with-oss=yes --with-sequencer=yes
And this is how my modprobe.conf file looks for the ALSA settings:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
Has anyone else noticed these kind of problems with recent ALSA drivers for the EMU10K1 chipsets?

Thanks in advance for any input.

PS: The page seems to be down (I've been unable to connect to it in the past couple of days, I get a connection refused), because I wanted to browse the archvies of the mailing list to see if anyone else has arleady posted something like this.

Last edited by Thetargos; 06-20-2004 at 03:34 AM.
Old 06-20-2004, 07:51 PM   #2
LQ Newbie
Registered: May 2004
Distribution: Slackware 11
Posts: 21

Rep: Reputation: 15
My brother has the same problem. Still haven't found out what causes the problem.


AMD XP 1800+
256 MB ram
soundblaster compatible sound card
ATI Rage128 Pro
wineX 3.2.1
Mandrake 9.2

I'm not sure of the alsa version but the sound only gets messed up when using wine. I don't think it's a hardware problem at all ... but I could be wrong.
Old 06-21-2004, 07:52 PM   #3
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Well it seems to be bound to Wine and ALSA... maybe a problem between the two, I made a test with an "older" kernel I have (2.6.6 with ALSA compiled in it) and the problem certainly wasn't there, so I'm more inclined to think the culprit here is the emu10k1 ALSA driver.
Old 07-24-2004, 07:17 AM   #4
LQ Newbie
Registered: Jul 2004
Location: Austria
Distribution: SuSE Linux
Posts: 2

Rep: Reputation: 0
the solution is conceivable easy

the solution is conceivable easy, many other people had also probrems wit theyr soundcard.
(Excuse my english i am an Austrian)

for KDE users:

KMIX > Advanced > Disable not needed features
(Darkgreen Color)

for GNOME users:

install Gnome Alsa Mixer > Advanced
Old 07-24-2004, 01:03 PM   #5
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Well for me the culprit was the version of the staircase scheduler I was using (in -ck1 patch for 2.6.7). Another kernel compiled without the patch applied, turned out to run just well... this problem however has since been fixed in later revisions of the staircase scheduler, and with my current 2.6.7-ck5 kernel, it works just fine.


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
Sound problems Starcraft/Wine on FC4 yeela Linux - Games 6 11-05-2005 10:08 AM
ALSA not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 02:02 PM
Alsa with Dmix -- Horrible stuttering Adrohak Linux - Software 0 07-25-2005 07:01 PM
No sound with Alsa and Soundblaster Live lipunx Slackware 2 09-02-2004 12:53 AM
Stuttering sound AND currupted graphics with ALSA drivers? Thetargos Linux - Hardware 15 04-18-2003 09:03 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration