LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-02-2004, 10:18 PM   #1
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Rep: Reputation: 15
No sound of any description from nVidia integrated soundcard. Why?


I don't seem to be able to get any sound whatsoever on my Mandrake 10. When i originally installed the os a few months back i did have sound using the same hardware as i do now (except for the modem changing from USB to LAN), but now i can't get any sound.

I have an nVidia integrated soundcard on a FN45 shuttle motherboard and in MCC under 'Soundcard' i see 'nForce2 APU' and 'nForce2 Audio Codec Interface'. I've tried it with both the intel and nvaudio drivers on the list and neither work.

When i try and play music files it says 'This is an audio only file, and there is no audio output availible.'

Any ideas what i should tweak in order to get sound to make a re-appearance, so to speak?
 
Old 11-03-2004, 07:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
when i tried using the nvaudio modules, my system died a death, same for the oss modules. running snd_i8x0 module in alsa, it works like a charm. make sure you're running Alsa happily, and you have /dev/dsp entries on your system
 
Old 11-03-2004, 08:49 AM   #3
nistelrooy
Member
 
Registered: Oct 2003
Location: Singapore
Distribution: debian
Posts: 162

Rep: Reputation: 30
Hiya,

I'm using nVidia SoundStorm, a Integrated Soundcard from Abit NF7S (nForce2 motherboard). I'm getting no sounds from medias(mp3s,wmv,etc...). But i do hear system error prompts sounds thou.
 
Old 11-03-2004, 10:01 AM   #4
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
RE: acid_kewpie

Could you please elaborate on your advice for me slightly because i'm very new to linux and i'm not fully familiar with how it all works. So if you could provide an "idiots version" of the above tip i would greatly appreciate it.

Also, my Mandrake 10 linux box is quite unstable at times and can lock up and freeze completely at random. I have been told that this may be due to KDE sound or something like that. So if you could tell me how to disable that and fix my sound at the same time i should be sorted.

Any help is much appreciated, cheers.
 
Old 11-03-2004, 12:24 PM   #5
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
Just checked MCC and looked at Services, and the ALSA sound driver says it's "Stopped" even thought it's set to start on boot. When i click "Start" it doens't do anything. I'm guessing i need to start this and make sure it always starts and stays on during and after boot, in order to get sound.
 
Old 11-03-2004, 12:38 PM   #6
Wyk3d
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake Linux 9.1
Posts: 23

Rep: Reputation: 15
Rule #1: ALWAYS check if the problem is with your hardware.
-check if sound works on antoher OS , if you are multibooting!
-if not multibooting, check if the output is plugged in where it should be!

Here's the scoop:

- Run the sound-debug script:
echo "My Sound Debug"
echo "*** Detected soundcards ***"
lspcidrake -v | fgrep AUDIO
echo "*** Available sound-slots ***"
grep sound-slot /etc/modules.conf
echo "*** Sound module list ***"
lsmod | fgrep snd
echo "*** Check sound configuration ***"
chkconfig --list sound
echo "*** Check alsa configuration ***"
chkconfig --list alsa
#echo "*** Mixer volumes (check for mute) ***"
#aumix -q #this part commented because
#amixer #mdk10 doesn't have aumix
echo "*** dsp users (only one allowed) ***"
fuser -v /dev/dsp
- If all is ok all you nee to do is to run the unmute script:
amixer set PCM 22 unmute
amixer set PC\ Speaker 22 unmute
amixer set Master 22 unmute
amixer set Master\ Mono 22 unmute
amixer set Headphone 22 unmute
amixer set Phone 22 unmute
amixer set Aux 22 unmute
amixer set Video 22 unmute
amixer set CD 22 unmute
amixer set Input\ Gain 22 unmute
amixer set Line 22 unmute
amixer set MIC 22 unmute
NOTE: you can paste these two scripts directly into bash or create files named 'snd-debug' and 'audunmute' paste the commands into them, set them executable, and run them. (This is better because you might need to run these scripts again) More detail in post #9.
- If this doesn't work:
- Install the snd-config and see if it can find your precise sound card type
- If you're using the wrong sound driver:
- check for the available snd drivers in /usr/src/linux/drivers/sound
(urpmi kernel) if the kernel source doesn't exist
- check modules.conf for the audio driver in use change it if needed
- If all these don't help you might try installing a new OSS

HTH

Steve

Last edited by Wyk3d; 11-21-2004 at 06:30 AM.
 
Old 11-03-2004, 02:36 PM   #7
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
Sorry Wyk3d but you're gonna have to put that in laymans terms for me because i can't make much sense of it from that.
 
Old 11-03-2004, 03:17 PM   #8
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
have u checked out nvidias website they have linux drivers for lan and soundcards for their mobos which will save u compiling modules in linux
 
Old 11-03-2004, 04:09 PM   #9
Wyk3d
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake Linux 9.1
Posts: 23

Rep: Reputation: 15
Ok ok .. sorry about not thinking before i post. (won't let it happen again)

One thing i tend to do is roughing it out and choosing the harder less built-in methods of solving a problem (the original linux way). But you probably just want the problem fixed. One thing that mandrake and windows have in common is that many problems can be fixed by reinstall them. Doing a quick upgrade style reinstall of mandrake (WITHOUT FORMATTING) just might solve your problem since it worked in the beginning. If this doesn't solve your problem or you don't like reinstalling, like myself, then read on.

The commands listed in my previous post that make up the two scripts should be pasted into seperate files (in a console:e.g 'vi sound-debug', press 'I' then rightclick-paste,exit by pressing esc and then typing ':exit') and then it should be made executable with 'chmod +x sound-debug'. Once executed with './sound-debug' it will print out a lot of useful information that can be used to troubleshoot your audio issues. The second script is set up in the same way and when './audunmute' is run it corrects and unmutes the sound volumes. This is useful sometimes but probably not for mdk10.

It would definitely help if you posted the result of the sound-debug script.
In the last line there should be a file not found or something if you don't have /dev/dsp.

I'm not sure how to manally overload the oss with alsa but it can be done from mcc and from XMMS or Totem player configuration.

In the part after the scripts i gave a quick checklist for what to do if the sound card isn't detected properly, but ofcourse this probably isn't the problem in your case. Mdk 10 is too new not to recognize something, it probably needs a bit of configuring.

Hope this helps..
 
Old 11-11-2004, 05:16 PM   #10
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
Ok i still have no sound whatsoever on my Mandrake 10 linux. The ALSA driver doesn't appear to be starting on boot, but even after going into MCC and restarting this manually i still get no sound. However, before i restart ALSA it says there is no audio device installed when i open a song mp3, but after i restart ALSA it plays and the little equaliser thingy makes colours and patterns as though it were playing, but i can't hear it. So it's a sensible guess to assume it's muted somehow.

I have tried the './audunmute' command as suggested by Wyk3d but it wouldn't accept the command. Maybe i missed something out or typed it in the wrong format, but it didn't do anything.

Anyone got any ideas or further (as simple as possible) advice?
 
Old 11-12-2004, 02:02 PM   #11
Wyk3d
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake Linux 9.1
Posts: 23

Rep: Reputation: 15
Oh please i can't be that misunderstandable (

You have to create the audunmute script yourself !!!!
It's thoroughly described in my last post.
And here it is again:
- create the script file NAME IT 'audunmute' !!!!
- enter the commands listed in my first post for audunmute
- set it to executable
- run it --> it will unmute things and set volumes

The problem is that in mandrake 10 you don't have the neat aumix tool,
so the best way i know of is using this script for unmuteing.

Oh and one more thing: I had the same problems and I edited /etc/rc.d/init.d/sound. It wouldn't hurt if you'd post the contents of that file because even if unmuteing works you might need to do it every time linux boots. In mandrake 9.1 atleast there is an error in that file that prevents the previous settings for the sound being loaded.

I won't quit until you have your sound fixed

Steve

Last edited by Wyk3d; 11-12-2004 at 03:07 PM.
 
Old 11-12-2004, 02:52 PM   #12
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
Steve dude you rule, and i'm gonna go try some of this stuff you said about right now. If i can do it

And don't worry it's not your help that's at fault, it's my linux command knowledge, it's damn near zero but i'm trying to learn!

BBS
 
Old 11-17-2004, 04:11 PM   #13
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
Ok i opened a console, logged in as root, typed vi audunmute and pressed 'i' and then pasted the stuff you provided into it. I then pressed ESC as you said but cannot type exit as it will not work. It simply ignore the EX, takes the i as insert and i end up with a T at the end of my code.

Still confused.
 
Old 11-17-2004, 04:15 PM   #14
Wyk3d
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake Linux 9.1
Posts: 23

Rep: Reputation: 15
try pressing ESC and the ':exit' with ':'

Steve
 
Old 11-17-2004, 04:58 PM   #15
xxvm1
Member
 
Registered: Jul 2004
Distribution: WinXP Pro, Mandrake 10
Posts: 88

Original Poster
Rep: Reputation: 15
Steve dude you're a genius, your audunmute script has done the job. Top man, thanks a lot

Now i hate to do this to you, but there is one more sound problem. The ALSA driver does not start on boot, despite the fact the "Start on boot" box is checked in MCC. So i have to manually go into MCC and click START to get it going again. Got any little tricks to force this to start on boot properly ?
 
  


Reply



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
No Sound on Slackware 10.1 With VIA VT1612A AC97 2.2 Integrated Soundcard necrozen Linux - Hardware 24 10-17-2005 02:43 PM
VIA 823x integrated soundcard screwing everything up sal Linux - Hardware 1 01-11-2005 08:06 AM
Intel SoundMax Integrated soundcard problem on RH Greek Acrobat Linux - Hardware 9 05-12-2004 06:35 AM
Having trouble with SoundMAX Integrated soundcard computercolinx Linux - Hardware 0 05-09-2004 01:38 AM
soundcard via integrated wont play alerts correctly frees2012 Linux - Hardware 0 01-14-2004 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:25 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
Open Source Consulting | Domain Registration