[SOLVED] unable to set up kernel drivers and modules for HDA Nvidia (audio via hdmi)
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
unable to set up kernel drivers and modules for HDA Nvidia (audio via hdmi)
I have, for days, been trying to get a Fedora 15 server to send
audio output to the system monitor, an ASUS VH242H, via HDMI.
The video portion works perfectly, allowing me to appreciate GNOME 3
for the first time. Sound, on the other hand, is non-existent.
From many, many threads on this problem, I have at least been able to
provide some info which might help resolve this. Unfortunately, I
have now read too much and followed too many suggestions to be able
to find my way through the morass. So, once again, I built a
completely new system to ensure a clean start.
Note also that to simplify things, I disabled the on-board audio in
BIOS so only Nvidia has any sound output capability.
Initially, 'alsamixer -V all' identifies the card and the chip as
being PulseAudio. That would change if I used the <F6> option but I
have not done so to keep things 'clean' at this point. The 'Master'
is full on (100<>100), so muting is not a problem.
Next, I searched for the device from the output of /proc/asound/card0
which would match the monitor.
The one device associated with the monitor_name is eld#3.0:
-----------------------------------------------------------
monitor_present 1
eld_valid 1
monitor_name ASUS VH242H
If I make use of the System Settings tool for Sound in GNOME 3 I get:
Under the Hardware Tab: Device to configure: HDA NVidia, 1 output,
Digital Stereo (HDMI) Output
Under the Output Tab: Device for sound output:
HDA NVidia Digital Stereo (HDMI) Stereo
All as I would have expected, but there is of course no sound.
Now we get into conflict:
This is the Audio device portion from the output of lspci -k:
-------------------------------------------------------------
Both the kernel driver and the kernel modules are not what I think I
should have. The kernel driver should be HDA NVidia for starters, no?
Running modprobe -l and looking for nvidia returns: 'kernel/drivers
/video/nvidia/nvidiafb.ko' and 'extra/nvidia/nvidia.ko'
But I have not attempted anything beyond this point because I am just
too confused as to what needs to be done and who or what manages
these values effectively.
OK: I have sound working finally. I'm an old hand at Unix - back to its beginning over 40 years ago, but always in a work-to-do-applications-to build server environment. Never paid much attention to the 'pretty stuff' and know nothing of whatever MicroSoft has dished out for dollars over all these years.
That being said, here is what I did differently.
First, I accepted whatever running 'alsamixer -V all' displayed, no matter how confusing it seemed to be. This meant leaving <F6> untouched and therefore set to 'default', with PulseAudio (heaven help it!) in charge of both card and chip. I had previously disabled the on-board sound at BIOS to keep things clean and simple.
Ran 'aplay -l' again, which showed no changes from the original posting above.
Once again, looked among the 4 eld drivers listed in /proc/asound/card0 to see which was being used by the system, ie the only one in which the monitor_name is correctly identified together with connection type 'HDMI'. In my case that continues to be eld#3.0 which, being the 4th driver, corresponds to a probe_mask=0x108.
This is where I had 'dropped the ball'. I needed to edit /etc/modprobe.d/dist-alsa.conf by adding a line reading: options send-hda-intel enable_msi=0 probe_mask=0x108
That done, selecting 'Sound' from the System Settings Tool, under the Hardware Tab, shows
'HDA NVidia 1 output Digital Stereo (HDMI) Output'. That was good news. Then selecting 'Test Speakers' provided immediate aural gratification.
A reboot to 'lock in' the changes and we are happy campers here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.