LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices



Reply
 
Search this Thread
Old 11-21-2003, 04:19 PM   #1
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
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

Last edited by LavaDevil94; 11-21-2003 at 05:03 PM.
 
Old 11-22-2003, 01:52 AM   #2
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
...
 
Old 11-22-2003, 08:11 AM   #3
The_Ace
LQ Newbie
 
Registered: Oct 2003
Location: Kantorn, Uppsala, Sweden, Earth, Solarsystem, Milkyway
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
Have you installed all the different alsa packages such as the driver, the utils and the tools?
 
Old 11-22-2003, 12:03 PM   #4
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
yes. if there is anything missing, the rpm manager doesnt say so. i do have the utils, driver, data, and some other misc. stuff.
 
Old 11-22-2003, 10:21 PM   #5
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
...
 
Old 11-23-2003, 02:43 PM   #6
The_Ace
LQ Newbie
 
Registered: Oct 2003
Location: Kantorn, Uppsala, Sweden, Earth, Solarsystem, Milkyway
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
Uninstall the rpms and compile the source by yourself instead.
 
Old 11-23-2003, 03:58 PM   #7
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
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.
 
Old 11-29-2003, 10:02 PM   #8
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
...
 
Old 11-30-2003, 02:58 PM   #9
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
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
 
Old 11-30-2003, 05:01 PM   #10
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
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.
 
Old 11-30-2003, 05:24 PM   #11
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
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
 
Old 11-30-2003, 05:35 PM   #12
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
oh. in that case, i have the soundcore module and the snd module loaded. maybe theyre conflicting?
 
Old 11-30-2003, 05:40 PM   #13
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
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
 
Old 11-30-2003, 05:54 PM   #14
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
my exact card is:
C-Media Electronics Inc. CM8738 (rev 10)
 
Old 12-01-2003, 03:44 PM   #15
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
...
 
  


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 - card detected, media plays, no sound, not the usual problem qwijibow Linux - General 8 06-02-2005 02:35 PM
Sound not working with Kernel 2.6, ALSA, FC1, C-media 8738 crdiscoverer Linux - Hardware 5 03-01-2004 03:13 AM
C-Media (cm8738) sound card & alsa problems BBQ_Matt Linux - Hardware 3 02-05-2004 04:39 AM
Labtec spin-45 speakers, sound card on mobo, no sound greenpenguin246 Linux - Hardware 5 01-23-2004 09:01 PM
problem with sound device on alsa 0.90rc8 with onboard c-media LavaDevil94 Linux - Hardware 0 11-15-2003 05:04 PM


All times are GMT -5. The time now is 12:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration