No sound, Hardware is in the kernel, detected and listed in KDE control panel.
SlackwareThis 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.
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.
No sound, Hardware is in the kernel, detected and listed in KDE control panel.
Hello all!
I am running slackware 64 bit -current, with KDE5 and a custom 4.0.1 kernel. However even on the default install before I did the above things I still had no sound. I believe I did everything right.
In dmesg, alsa complains no soundcards are found, but shortly afterwards down a bit I see this.
Code:
[ 5.463379] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:0d.0/0000:02:00.1/sound/
card0/input5
[ 5.463928] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:0d.0/0000:02:00.1/sound/
card0/input6
lspci -v
Code:
02:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. Device 809f
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d2000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
The devices are listed in KDE control panel/multimedia but when I select one it simply says it does not work, and its defaulting to default. I almost have my system just the way I need it but I would like sound obviously. I will appreciate any help I get. If there is any other information you need that will help us debug this just ask. Thanks for your time!
I seen that link in my recent searches but I am going to go through it again step by step and more in depth so thank you for that. Some things worth noting, I ran kmix, and the only thing listed is IEC958 HDA NVIDIA and its muted. I cannot unmute it. also in alsamixer the only ones listed are spdif and they are both muted too and I am unable to alter that. I tried both compiling in and setting the snd_? as kernel modules they all seem to load fine.
Code:
bash-4.3# lsmod
Module Size Used by
nouveau 1271791 2
snd_hda_codec_hdmi 37086 1
cfbfillrect 3722 1 nouveau
cfbimgblt 2143 1 nouveau
wmi 7715 1 nouveau
cfbcopyarea 3230 1 nouveau
drm_kms_helper 80493 1 nouveau
snd_hda_intel 18795 1
snd_hda_controller 18491 1 snd_hda_intel
ttm 69067 1 nouveau
snd_hda_codec 96685 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller
snd_hwdep 5962 1 snd_hda_codec
bash-4.3#
Thank you for your help maybe I will figure it out and/or someone here more knowledgable can pick up where we left off. If I find a solution i'll let the forum know.
make sure you have the correct channel set in kmixer if you have that option I use channel 6 on mine and default is 2.
create an /etc/sound.conf file and put this in it.
Code:
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd slots=snd-hda-intel,snd-usb-audio,snd-usb-audio
now reboot first device is your intel second will be any usb cameras with mic then any usb-mic or sound device you plug in then it will load the sound on your video card last. now reboot when you come back kde will want to delete stuff yes. now go configure your stuff in settings. then go to kmix and display all the stuff on your devices.
if this is a laptop most laptops do this because they are made to do this on purpose so the default device will do presentations. not anymore you will have to set that through kde down the road when you want to do that. After you reboot you will be fine if not. Oh well.
Hey one more question. I think I may have figured out what could be wrong although it leads me to another problem but ill get to that in a second. The link you gave me says
Quote:
"The following steps all assume that X is running using the NVIDIA binary driver, and that your HDMI display is attached to your computer, and displaying your X desktop. HDMI audio is not expected to work if this is not the case."
does that mean I should not be running nouveau? because I am. I don't fully understand what they are saying does it mean I need to be running the propietary driver? Which leads me to the problem of getting this error in nvidia_installer.log when I try to build the driver it says unable to build module and I get this.
Code:
/tmp/selfgz1748/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function 'nv_kern_compat_ioctl':
/tmp/selfgz1748/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2038:30: error: 'struct file' has no member named 'f_dentry'
return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^
/tmp/selfgz1748/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function 'nv_kern_unlocked_ioctl':
/tmp/selfgz1748/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2030:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/tmp/selfgz1748/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function 'nv_kern_compat_ioctl':
/tmp/selfgz1748/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2039:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[4]: *** [/tmp/selfgz1748/NVIDIA-Linux-x86_64-304.125/kernel/nv.o] Error 1
make[3]: *** [_module_/tmp/selfgz1748/NVIDIA-Linux-x86_64-304.125/kernel] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details.
Is there a better way to install proprietary on slackware? Thanks!
Alright. Here is something strange. If I open multimedia in KDE, only default is listed. But after doing everything you said. If I go in KMIX, and select audio settings, it opens KDE,multimedia and everything is listed. If i select nvidia hda7, I get sound! But that channel is not listed in KMIX, and I get no auudio from ex youtube. We made progress but I need your help a little further please. Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.