LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   flaky sound on alsa 0.9rc8 with c-media on the mobo (https://www.linuxquestions.org/questions/linux-hardware-18/flaky-sound-on-alsa-0-9rc8-with-c-media-on-the-mobo-118609/)

LavaDevil94 11-21-2003 03:19 PM

flaky sound on alsa 0.9rc8 with c-media on the mobo
 
the sound card (a c-media) is integrated on the motherboard, but i dont think thats the problem. i disabled artsd (i use kde) because it caused games to run without sound, so i use raw alsa. and i have flaky sound with not just some games (some games run perfect with the sound, others are flaky), but through all the system sounds. anyone?

EDIT: did i mention i use the snd-cmpci drivers? i tried the plain cmpci drivers, but the sound didnt work at all except for games (i only tried rtcw, too). i tired running alsamixer with the cmpci drivers, i got bad function snd_ctl_open: no such file or directory

LavaDevil94 11-22-2003 12:52 AM

...

The_Ace 11-22-2003 07:11 AM

Have you installed all the different alsa packages such as the driver, the utils and the tools?

LavaDevil94 11-22-2003 11:03 AM

yes. if there is anything missing, the rpm manager doesnt say so. i do have the utils, driver, data, and some other misc. stuff.

LavaDevil94 11-22-2003 09:21 PM

...

The_Ace 11-23-2003 01:43 PM

Uninstall the rpms and compile the source by yourself instead.

LavaDevil94 11-23-2003 02:58 PM

would i need to recompile my kernel if i did that? thats something i want to avoid unless i can help it. by the way, i think the cmpci drivers use oss, which i dont have. still, ill download the src, but i would need to know if i need a kernel recompile.

LavaDevil94 11-29-2003 09:02 PM

...

finegan 11-30-2003 01:58 PM

snd-cmpci.o is the alsa driver for the C-media 8783 chipset. If you're using it, its rather obvious as the output of /sbin/lsmod will have a mammoth stack of alsa modules in it.

cmpci.o is the OSS driver.

I've got the same card, I've always used the OSS module though... and disabled aRts first off.

What kind of flaky? Specifically.

Also, after you get it acting flaky, its gotta be logging this to "dmesg", so go ahead and post some of the errors from dmesg in here.

Cheers,

Finegan

LavaDevil94 11-30-2003 04:01 PM

nothing in dmesg. the flakiness is parts of sound clips repeating, and after a time, a bit of static/ticking in the background. by the way, what is the name of the oss module? not the driver, the oss core. i did an lsmod and i didnt see many oss modules, but i saw a few like pcm and mixer.

finegan 11-30-2003 04:24 PM

When a kernel is built for OSS, usually soundcore.o is built into the kernel, that's all that you'll see, soundcore.o and whatever module(s) you're using for the specific card. That's why when switching to alsa from oss most people have to recompile their kernel as the alsa counterpart snd.o, can't work with a kernel that has soundcore built-in instead of as a module. Alsa breaks things down into a messy glob of modules so half of what is loaded is usually sound support.

Cheers,

Finegan

LavaDevil94 11-30-2003 04:35 PM

oh. in that case, i have the soundcore module and the snd module loaded. maybe theyre conflicting?

finegan 11-30-2003 04:40 PM

Nah, I was wrong... snd uses soundcore, I've got the same thing:

Code:

bob@morphy:~$ /sbin/lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            37252  0
snd-mixer-oss          11992  0 [snd-pcm-oss]
parport_pc            14724  0
parport                23264  0 [parport_pc]
uhci                  24496  0 (unused)
usbcore                58624  1 [uhci]
snd-via82xx            11712  0
snd-pcm                55936  0 [snd-pcm-oss snd-via82xx]
snd-timer              13252  0 [snd-pcm]
snd-ac97-codec        37240  0 [snd-via82xx]
snd-page-alloc          6004  0 [snd-via82xx snd-pcm]
snd-mpu401-uart        3136  0 [snd-via82xx]
snd-rawmidi            12512  0 [snd-mpu401-uart]
snd-seq-device          3920  0 [snd-rawmidi]
snd                    27460  0 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore              3332  3 [snd]

What exact card have you got? /sbin/lspci will tell you that. Maybe the version is flaky with the drivers. I'm sorry, all the modules are loaded right, so we're going to wander into voodoo land.

Cheers,

Finegan

LavaDevil94 11-30-2003 04:54 PM

my exact card is:
C-Media Electronics Inc. CM8738 (rev 10)

LavaDevil94 12-01-2003 02:44 PM

...


All times are GMT -5. The time now is 12:19 PM.