LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ALSA+SB-Live!+Wine(X)+Starcraft=stuttering sound (https://www.linuxquestions.org/questions/linux-hardware-18/alsa-sb-live-wine-x-starcraft%3Dstuttering-sound-195548/)

Thetargos 06-20-2004 02:30 AM

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:

Software
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?

Hardware
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:
Code:

./configure --with-cards=emu10k1 --with-oss=yes --with-sequencer=yes
And this is how my modprobe.conf file looks for the ALSA settings:
Code:

# 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 alsa-project.org 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.

zeadriche 06-20-2004 06:51 PM

My brother has the same problem. Still haven't found out what causes the problem.

-system-

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.

Thetargos 06-21-2004 06:52 PM

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.

julius.linux 07-24-2004 06:17 AM

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

http://www.fedoraforum.org/forum/showthread.php?t=18227

Thetargos 07-24-2004 12:03 PM

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.


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