LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 14 sound problem (http://www.linuxquestions.org/questions/slackware-14/slackware-14-sound-problem-4175430165/)

donallen 10-02-2012 06:25 PM

Slackware 14 sound problem
 
I just installed Slackware 14 on my desktop machine (hardware details below), I have no sound, and alsamixer fails:

dca@sergei:~$ alsamixer
cannot load mixer controls: Invalid argument

I'm running the stock (huge) kernel.

Hardware:

dca@sergei:~$ lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Host Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB controller: nVidia Corporation MCP61 USB 1.1 Controller (rev a3)
00:02.1 USB controller: nVidia Corporation MCP61 USB 2.0 Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 7025 / nForce 630a] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control

Loaded modules:

dca@sergei:~$ lsmod
Module Size Used by
snd_seq_dummy 1455 0
snd_seq_oss 29048 0
snd_seq_midi_event 5620 1 snd_seq_oss
snd_seq 51265 5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device 5228 3 snd_seq,snd_seq_oss,snd_seq_dummy
snd_pcm_oss 39183 0
snd_mixer_oss 15404 1 snd_pcm_oss
ipv6 279979 34
fuse 66626 5
lp 9787 0
usbhid 35615 0
hid 82876 1 usbhid
k10temp 2843 0
snd_hda_codec_realtek 195474 1
nouveau 724472 2
forcedeth 52696 0
mxm_wmi 1385 1 nouveau
wmi 8403 1 mxm_wmi
video 11378 1 nouveau
evdev 9574 6
snd_hda_intel 23267 0
snd_hda_codec 81925 2 snd_hda_intel,snd_hda_codec_realtek
snd_hwdep 6324 1 snd_hda_codec
snd_pcm 72864 3 snd_hda_codec,snd_hda_intel,snd_pcm_oss
snd_page_alloc 7081 2 snd_pcm,snd_hda_intel
ttm 53508 1 nouveau
drm_kms_helper 26133 1 nouveau
drm 187389 4 drm_kms_helper,ttm,nouveau
agpgart 27372 2 drm,ttm
ppdev 5958 0
processor 25592 0
button 4529 1 nouveau
thermal_sys 14578 2 processor,video
hwmon 1329 3 thermal_sys,nouveau,k10temp
parport_pc 19423 1
parport 31427 3 parport_pc,ppdev,lp
snd_timer 18798 2 snd_pcm,snd_seq
snd 57796 11 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_mixer_oss,snd_pcm_ oss,snd_seq_device,snd_seq,snd_seq_oss
i2c_algo_bit 5319 1 nouveau
soundcore 5474 1 snd
i2c_nforce2 5056 0
i2c_core 19978 5 i2c_nforce2,i2c_algo_bit,drm,drm_kms_helper,nouveau
serio_raw 4389 0
loop 18192 0

Suggestions for how to fix this would be appreciated.

Thanks --
/Don Allen

sycamorex 10-02-2012 06:32 PM

Are you in the audio group?

Can you post the output of:

Code:

cat /proc/asound/cards
Can you run alsamixer as root?

Edit: Have a look at this thread
http://www.linuxquestions.org/questi...-a-4175429566/

donallen 10-02-2012 08:34 PM

With your help, I've solved this problem. See below. I've also provided answers to your questions. Might be useful to someone else with the same problem.

Quote:

Originally Posted by sycamorex (Post 4795459)
Are you in the audio group?

Yes.

Can you post the output of:

Code:

cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe024000 irq 21


Can you run alsamixer as root?

I tried it and it failed in the same way.

Edit: Have a look at this thread
http://www.linuxquestions.org/questi...-a-4175429566/

The trick is to create the file /etc/modprobe.d/sound.conf containing the line:

options snd-hda-intel model=auto

This Slackware installation replaced an Arch install that I did when I built this machine in May. I never had any problems with sound. Before installing Slackware, I tar'ed /etc and just checked it -- nothing in /etc/modprobe.d. Why this is a problem in Slackware and not Arch on the same hardware is a bit of a mystery (yes, different kernel version, but the alsa package versions look to be the same in Arch and Slackware 14).

Anyway, thanks very much for your help in getting this resolved.

/Don Allen

allend 10-03-2012 11:42 AM

Could you supply the make and model of your machine?
It would be good to add this to the SlackDocs page. http://docs.slackware.com/howtos:har..._snd-hda-intel

donallen 10-04-2012 12:20 AM

Quote:

Originally Posted by allend (Post 4796128)
Could you supply the make and model of your machine?
It would be good to add this to the SlackDocs page. http://docs.slackware.com/howtos:har..._snd-hda-intel

I built the machine myself. Motherboard is a GIGABYTE AM3+ NVIDIA GeForce 7025/nForce 630a Chipset DDR3 1600 Micro ATX AMD Motherboard GA-M68MT-S2. AMD Athlon II X2 250 processor. 4 GB DDR3 memory. 500 Gb 7200 rpm SATA drive. See lspci output in my original post for other hardware details.

allend 10-04-2012 01:43 AM

Thankyou for the details. An update to the SlackDocs page has been made.

lee88abc 10-07-2012 01:05 PM

I have another audio problem.

I can play mpg123 myfile.mp3 on the black console.

But when I start up runmode 4 gui and kde starts. Then I get error saying audio device not work falling back to default.

Running as root, I can play audio in kde.

marnold 10-07-2012 01:49 PM

Quote:

Originally Posted by lee88abc (Post 4799520)
I have another audio problem.

I can play mpg123 myfile.mp3 on the black console.

But when I start up runmode 4 gui and kde starts. Then I get error saying audio device not work falling back to default.

Running as root, I can play audio in kde.

Make sure your user is in the audio group. Maybe plugdev too, I can't remember. If you chose the default groups when creating the user, those should have been added. Remember that you'll have to log in and then out again to get the new group list to take effect.

ReaperX7 10-07-2012 04:30 PM

You probably also could run the alsaconf script. AlienBOB has a copy on his website maintained for just-in-case.

lee88abc 02-25-2013 11:56 PM

forgot to check back.
Thanks everyone.
In previous slackware versions I never had this problem.
In slack 14 for some reason I need to add user to audio group in passwd.
Is this a new requirement?

I've repeated the same process on physical machines and virtual machines. In each case I had to add user to audio group.

zeroberto 02-26-2013 01:36 AM

I need to add user to audio group only if I use pulseaudio, otherwise there is no sound. But with pure alsa I don't need to do that.


All times are GMT -5. The time now is 03:12 AM.