TechSpot

Linux Sound - just a little further forward

By Spike
Feb 5, 2004
  1. Please bear with me, having spent days on connecting directly to my ISP and installing my modem driver, I've become more than a little confused and lost!

    The problem I have is this...

    I have ac97 onboard sound, and a cmedia PCI sound card. I have tried to use both in turn, but neither seem to work, although there is built in support for both.

    Currently, as my machine boots, it loads my Cmedia card with ALSA. that said, I have no sound when playing games, or playing cd's, or system sounds. Nothing at all!

    When in Gnome, if I go to Main Menu --> Configuration --> GNOME --> Advanced --> GStreamer Settings, I get no sound from testing any of the Default Sink options on the sound menu, (currently set as OSS), and it fails to open a test pipeline for most of them. On the Default source, when selecting OSS, or OSS monitors, I get what I would only describe as a system sound as I press the 'test' button, but I get nothing at all from anywhere else in the system. It has been this way since I installed Mandrake. I just cant seem to get it working!


    Edit:

    OK, this is interesting. With the GStreamer settings as above, while testing pipeline for oss on the default source, I have sound (well, system sounds, and audio cd's anyway. I still have no sound from games at all). When I stop testing, I don't!

    seems I've just proved something. I don't know what though. Could somebody please show me the next logical step?

    Both ALSA and aumix report full volume.
     
  2. Spike

    Spike TS Rookie Topic Starter Posts: 2,371

    As requested from this thread, here is my lsmod readout (in full, because I don't know what half of it means.) This was done with the GStreamer default src OSS pipeline test running (whatever the heck that is!) I've made an ammendment after running lsmod with the test off. Namely to the soundcard in use, the "snd_cmipci")

    Edited to include the last 10 lines I missed in the first paste.
     
  3. Spike

    Spike TS Rookie Topic Starter Posts: 2,371

    2.4 mandrake kernel problem???

    after a little bit of searching on google/linux, I found this thread...

    http://www.mail-archive.com/expert@linux-mandrake.com/msg80557.html

    ...which seems to suggest a kernel problem (one of the posts contains a link to a log of kernel fixes). Something to do with APIC / APCI or something.

    Could anybody please confirm this. If so, how to I upgrade the kernel to 2.6.x??? (apparently that's when the problem was fixed!?!?)
     
  4. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,919   +9

    You can download the kernel source from http://www.kernel.org/ and compile it yourself (if you have gcc installed). The process should be quite simple, but at least Didou had problems with RH9 :blackeye:

    Anyhow, unpack the source to somewhere. Login as root, then do

    make xconfig (to get a nice graphical menu)

    or make menuconfig (for classic textmode)

    when you've gone through all those options you don't have a clue, the next step is to

    make install

    This should install the kernel to /boot but I'm not 100% sure, I can check this later (I don't have Mandrake 9.2 installed now).

    Then you need to tell the bootloader to use the new kernel from now on..
     
  5. Spike

    Spike TS Rookie Topic Starter Posts: 2,371

    oooh! Sounds like fun.! lol

    I can't believe I'm going to have to do this!!! What I wouldn't give for years of linux experience all of my own. I can see this going pearshaped!

    Before I even attempt installing this test version kernel (not much choice really. As far as I can make out, there isn't a full release of 2.6.0 availiable, their on test 9 from what I've read), how do I configure the bootloader to use it? I'm using lilo.


    Edit: Just visited the link. 6.2. I guess I should've googled that little bit harder!
     
  6. Spike

    Spike TS Rookie Topic Starter Posts: 2,371

    YaY!!!

    ok, please don't ask me how, because I have very little idea at all, but for now, I have the sound working with the ac97 onboard. Whether it works next boot or not is a different question. Something to do with either alsa loading on boot, the src and sink selection, a little trick on the site above (mute unmute) or forcing APCI on boot. Hopefully, I can leave the kernel upgrade to a later time.

    Being that I've got this sorted, for the moment, while I'm here, I'll ask what I suspect is an easy question. How do I change the refresh rate for the monitor??? I haven't mentioned it untill now, but I have real problems with full screen graphics. even normal running is slow. I'm on a 1128*768 resolution at 16k colours.
     
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.