Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-19-2014, 11:21 PM
|
#1
|
Member
Registered: Jun 2010
Location: indonesia
Distribution: Slackware 14.1
Posts: 101
Rep:
|
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
|
|
|
01-20-2014, 12:47 AM
|
#2
|
Senior Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,979
|
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.
|
|
|
01-20-2014, 02:29 AM
|
#3
|
Member
Registered: Jun 2010
Location: indonesia
Distribution: Slackware 14.1
Posts: 101
Original Poster
Rep:
|
Quote:
Originally Posted by enorbet
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
|
|
|
01-20-2014, 03:00 AM
|
#4
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
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.
|
|
|
01-20-2014, 03:48 AM
|
#5
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
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)
|
|
|
01-20-2014, 03:52 AM
|
#6
|
Member
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185
Rep:
|
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/
|
|
|
01-20-2014, 06:32 AM
|
#7
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,466
|
|
|
1 members found this post helpful.
|
01-20-2014, 07:28 PM
|
#8
|
Member
Registered: Jun 2010
Location: indonesia
Distribution: Slackware 14.1
Posts: 101
Original Poster
Rep:
|
thanks again for all the solution
solved then
|
|
|
All times are GMT -5. The time now is 12:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|