LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-19-2014, 11:21 PM   #1
el_jauzaa
Member
 
Registered: Jun 2010
Location: indonesia
Distribution: Slackware 14.1
Posts: 101

Rep: Reputation: 17
Audio in slackware 14.1 problem


hi

After fresh install slack14.1, i can hear KDE opening sound, but when i play movie using mplayer or VLC, i cannot hear the audio?

lsmod | grep snd reveals :
Code:
snd_hda_codec_idt      32383  1 
snd_hda_codec_hdmi     26494  1 
snd_hda_intel          29700  4 
snd_hda_codec         123925  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep               4738  1 snd_hda_codec
snd_pcm                62870  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          6062  2 snd_pcm,snd_hda_intel
snd_timer              14870  1 snd_pcm
snd                    44159  15 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               4318  1 snd
aplay -l reveals :
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: 92HD87B2/4 Analog [92HD87B2/4 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
any help from LQ members?thx
 
Old 01-20-2014, 12:47 AM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,979

Rep: Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614Reputation: 4614
This is most likely a problem caused by the HDMI audio chip on your video card. Notice that it is HW 0, so it is more likely to get assigned as "default" by some applications. Depending on what DE you use this is easy to see within System Settings. You can probably bypass all that and try, as root

Code:
 rmmod snd-had-codec-hdmi
That may be enough to remove the conflict but ultimately you will probably have to blacklist it to avoid doing that everytime you boot. You can run "aplay -l" again to see if HDMI has gone and only the one you're using remains. This all assumes of course that you're not using an HDMI cable off your video card for sound, but rather the common mini plug and jack off your sound card.

A lot of the HDMI sound chips are by Intel (and so is your "real" soundcard) so you may have to research this a bit to blacklist properly, but that is where the conflict seems to be.
 
Old 01-20-2014, 02:29 AM   #3
el_jauzaa
Member
 
Registered: Jun 2010
Location: indonesia
Distribution: Slackware 14.1
Posts: 101

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by enorbet View Post
This is most likely a problem caused by the HDMI audio chip on your video card. Notice that it is HW 0, so it is more likely to get assigned as "default" by some applications. Depending on what DE you use this is easy to see within System Settings. You can probably bypass all that and try, as root

Code:
 rmmod snd-had-codec-hdmi
That may be enough to remove the conflict but ultimately you will probably have to blacklist it to avoid doing that everytime you boot. You can run "aplay -l" again to see if HDMI has gone and only the one you're using remains. This all assumes of course that you're not using an HDMI cable off your video card for sound, but rather the common mini plug and jack off your sound card.

A lot of the HDMI sound chips are by Intel (and so is your "real" soundcard) so you may have to research this a bit to blacklist properly, but that is where the conflict seems to be.
thx for the respond

after i blacklisting snd_hda_codec_hdmi

the problem it's still there

lsmod | grep snd
Code:
snd_hda_codec_idt      32383  1 
snd_hda_intel          29700  4 
snd_hda_codec         123925  2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep               4738  1 snd_hda_codec
snd_pcm                62870  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          6062  2 snd_pcm,snd_hda_intel
snd_timer              14870  1 snd_pcm
snd                    44159  14 snd_hwdep,snd_timer,snd_hda_codec_idt,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               4318  1 snd
aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: ID aa01 Digital [ID aa01 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: 92HD87B2/4 Analog [92HD87B2/4 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 
Old 01-20-2014, 03:00 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Try switching VLC and MPlayer's audio driver to ALSA or OSS and add your user account to the audio group.

If ALSA still refuses to cooperate you may need to setup a specific /etc/modules.conf and an asoundrc file for ALSA as described here:

http://www.alsa-project.org/main/ind...dule-hda-intel

If that still doesn't work, you may want to try the Slackbuilds OSSv4 drivers.
 
Old 01-20-2014, 03:48 AM   #5
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
open a terminal and type "id", look in groups, probally you're not member of group "audio" (number 17 for me)

do a "kdesu kuser" double click on you user and under groups tab, check audio, cdrom, plugdev (only the first one fix your problem, the second is for cdrecorder and the third is for mounting devices)
 
Old 01-20-2014, 03:52 AM   #6
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185

Rep: Reputation: 32
That damn kmix can be tricky, but if oss is the problem, check this post I had a while back that dugan answered for me. I have been using this method for sound in Slackware ever since.

http://www.linuxquestions.org/questi...ms-4175457750/
 
Old 01-20-2014, 06:32 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,466

Rep: Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798
This SlackDocs page may help. http://docs.slackware.com/howtos:har...s_on_slackware
 
1 members found this post helpful.
Old 01-20-2014, 07:28 PM   #8
el_jauzaa
Member
 
Registered: Jun 2010
Location: indonesia
Distribution: Slackware 14.1
Posts: 101

Original Poster
Rep: Reputation: 17
thanks again for all the solution

solved then
 
  


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
Audio problem due to more than one sound devices (solved) slackware lenovo rasitabay Linux - Newbie 2 12-23-2013 10:41 PM
Slackware Aspireone 722 audio problem slackale Linux - Newbie 7 11-18-2011 10:15 AM
Software audio mixing (simultaneous audio streams) in Slackware? malloc Slackware 19 05-11-2011 10:25 PM
Slackware audio problem malodemickey Slackware 24 11-24-2005 10:27 AM
audio problem on slackware 9.1/i815 chipset asowani Linux - Newbie 2 12-25-2003 10:54 PM

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

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

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