FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    Join Date
    Nov 2006
    Posts
    141

    FC22, nouveau, nvidia chipset: No sound from HDMI

    I found some old threads about nouveau audio troubles, but they were all old and the solutions didn't seem relevant.

    I run the MythTV DVR system on a Linux box. GeForce 7050/630 on the motherboard. Ony video/audio output is an HDMI cable.

    System was running fine under FC20 using nvidia drivers. After succesfully upgrading my laptop and desktop systems to FC22 I thought I'd do the same to the DVR.

    Upgrade proper went fine, but I am having ongoing problems wiht the nvidia drivers which I will deal with in another thread.

    For now, I'd like if possible to work under Nouveau. Video playback looks fine, but sound output isn't working.

    I used system setting => multimedia to choose "Built-in Audio Digital Stereo (HDMI)" as the default preferred output. Under Audio Hardware Setup, Sound Card is set to Built In audio, Profile to Digital Stereo (HDMI) output.

    Connector is set to "HDMI/DisplayPort"

    No combination results in sound using the speaker test app.

    Alsa Mixer only shows PulseAudio.

    Here is what I found in /proc/asound:

    Code:
    [root@mythtv asound]# cat devices
      1:        : sequencer
      2: [ 0]   : control                                                                               
      3: [ 0- 0]: digital audio playback                                                                
      4: [ 0- 0]: digital audio capture                                                                 
      5: [ 0- 1]: digital audio playback                                                                
      6: [ 0- 2]: digital audio capture                                                                 
      7: [ 0- 3]: digital audio playback                                                                
      8: [ 0- 0]: hardware dependent                                                                    
      9: [ 0- 3]: hardware dependent                                                                    
     33:        : timer                  
                                                                   
    [root@mythtv asound]# cat modules                                                                   
     0 snd_hda_intel         
                                                                               
    [root@mythtv asound]# cat cards                                                                     
     0 [NVidia         ]: HDA-Intel - HDA NVidia                                                        
                          HDA NVidia at 0xfe020000 irq 20     
                                              
    [root@mythtv asound]# cat pcm
    00-00: ALC888 Analog : ALC888 Analog : playback 1 : capture 1
    00-01: ALC888 Digital : ALC888 Digital : playback 1
    00-02: ALC888 Alt Analog : ALC888 Alt Analog : capture 1
    00-03: HDMI 0 : HDMI 0 : playback 1
    
    [root@mythtv asound]# cat timers
    G0: system timer : 1000.000us (10000000 ticks)
    P0-0-0: PCM playback 0-0-0 : SLAVE
    P0-0-1: PCM capture 0-0-1 : SLAVE
    P0-1-0: PCM playback 0-1-0 : SLAVE
    P0-2-1: PCM capture 0-2-1 : SLAVE
    P0-3-0: PCM playback 0-3-0 : SLAVE
    
    
    [root@mythtv asound]# cat version
    Advanced Linux Sound Architecture Driver Version k4.2.6-200.fc22.i686.
    
    [root@mythtv asound]# cat hwdep
    00-00: HDA Codec 0
    00-03: HDA Codec 3
    From /var/log/messages:

    Code:
    Nov 29 17:19:29 mythtv systemd: Reached target Sound Card.
    Nov 29 17:19:29 mythtv systemd: Starting Sound Card.
    Nov 29 17:19:29 mythtv kernel: input: HDA NVidia Rear Mic as /devices/pci0000:00/0000:00:07.0/sound/
    card0/input10
    Nov 29 17:19:29 mythtv kernel: input: HDA NVidia Front Mic as /devices/pci0000:00/0000:00:07.0/sound
    /card0/input11
    Nov 29 17:19:29 mythtv kernel: input: HDA NVidia Line as /devices/pci0000:00/0000:00:07.0/sound/card
    0/input12
    Nov 29 17:19:29 mythtv kernel: input: HDA NVidia Line Out Front as /devices/pci0000:00/0000:00:07.0/
    sound/card0/input13
    Nov 29 17:19:29 mythtv kernel: input: HDA NVidia Line Out Surround as /devices/pci0000:00/0000:00:07
    .0/sound/card0/input14
    Nov 29 17:19:29 mythtv kernel: input: HDA NVidia Line Out CLFE as /devices/pci0000:00/0000:00:07.0/s
    ound/card0/input15
    Nov 29 17:19:29 mythtv kernel: input: HDA NVidia Line Out Side as /devices/pci0000:00/0000:00:07.0/s
    ound/card0/input16
    Nov 29 17:19:29 mythtv kernel: input: HDA NVidia Front Headphone as /devices/pci0000:00/0000:00:07.0
    /sound/card0/input17
    Nov 29 17:19:29 mythtv kernel: input: HDA NVidia HDMI/DP,pcm=3 Phantom as /devices/pci0000:00/0000:0
    0:07.0/sound/card0/input18

    I found this in Xorg.0.log:

    Code:
    [    22.952] (II) config/udev: Adding input device HDA NVidia Rear Mic (/dev/input/event10)
    [    22.952] (II) No input driver specified, ignoring this device.
    [    22.952] (II) This device may have been added with another device file.
    [    22.952] (II) config/udev: Adding input device HDA NVidia Front Mic (/dev/input/event11)
    [    22.952] (II) No input driver specified, ignoring this device.
    [    22.952] (II) This device may have been added with another device file.
    [    22.953] (II) config/udev: Adding input device HDA NVidia Line (/dev/input/event12)
    [    22.953] (II) No input driver specified, ignoring this device.
    [    22.953] (II) This device may have been added with another device file.
    [    22.953] (II) config/udev: Adding input device HDA NVidia Line Out Front (/dev/input/event13)
    [    22.953] (II) No input driver specified, ignoring this device.
    [    22.953] (II) This device may have been added with another device file.
    [    22.953] (II) config/udev: Adding input device HDA NVidia Line Out Surround (/dev/input/event14)
    [    22.953] (II) No input driver specified, ignoring this device.
    [    22.953] (II) This device may have been added with another device file.
    [    22.954] (II) config/udev: Adding input device HDA NVidia Line Out CLFE (/dev/input/event15)
    [    22.954] (II) No input driver specified, ignoring this device.
    [    22.954] (II) This device may have been added with another device file.
    [    22.955] (II) config/udev: Adding input device HDA NVidia Line Out Side (/dev/input/event16)
    [    22.955] (II) No input driver specified, ignoring this device.
    [    22.955] (II) This device may have been added with another device file.
    [    22.955] (II) config/udev: Adding input device HDA NVidia Front Headphone (/dev/input/event17)
    [    22.955] (II) No input driver specified, ignoring this device.
    [    22.955] (II) This device may have been added with another device file.
    [    22.956] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 Phantom (/dev/input/event18)
    [    22.956] (II) No input driver specified, ignoring this device.
    There is currently no xorg.conf.

    I'm not sure how to proceed. I would be grateful for any advice.

  2. #2
    Join Date
    Nov 2006
    Posts
    141

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    I read through this thread:

    http://forums.fedoraforum.org/showth...=256851&page=2

    I determined that my hdmi output is card 0, device 3.

    Made sure alsamixer had the outputs unmuted.

    Command line tools like aplay "work" (no errors) but don't produce output.

    I could find no eid files under /proc/asound/, leading me to wonder if the device can "see" the monitor.

    So, alsa seems to know the device is there, but still no sound. Most of the threads I've come across through search here are all fairly old; I'm wondering if I am being tripped up by a recent change to how things are handled.
    Last edited by StefanJ; 1st December 2015 at 05:07 AM.

  3. #3
    b4time Guest

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    I'm most likely wasting your time and mine but sometimes I miss the simplest things so I'l ask do you have pulse audio volume control installed? I use mate desktop and have to install it on every release so I figured I would ask.

    Edit :also but I'n not sure but you might have to install the nvidia driver from rpmfusion http://rpmfusion.org/Howto/nVidia aslo I think but not sure that maybe one of the post install scripts like fedy ,postinstaller can install the driver which are in the guides in yellow at the top of the page .
    Last edited by b4time; 1st December 2015 at 06:10 AM.

  4. #4
    Join Date
    Nov 2006
    Posts
    141

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    I will check to see if the PulseAudio volume control is installed.

    I had trouble with the Nvidia driver on this system. I'm hoping that I can get sound working on Nouveau w/o too much trouble.

    The various sound devices ARE being recognized. AlsaMixer shows them, and they're not muted. But all attempts to get sound to actually play have failed.

    Tonight I might plug an earphone into one of the jacks on the system and see if those outputs are working.

    Thanks!

  5. #5
    Join Date
    Jul 2013
    Location
    UK
    Posts
    213

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    I gave up trying to get HDMI audio of of nouveau some time ago, perhaps things have improved since?

    nouveau as you say does seem to recognize the device and IIRC all appeared to work except I wasn't able to actually hear anything.

    It is the main and I think only reason I still use the proprietary driver, hence for me it would be nice to move over.

  6. #6
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    1,629

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    I will check to see if the PulseAudio volume control is installed.
    That would be pavucontrol.
    Description : PulseAudio Volume Control (pavucontrol) is a simple GTK based volume control
    : tool ("mixer") for the PulseAudio sound server. In contrast to classic mixer
    : tools this one allows you to control both the volume of hardware devices and
    : of each playback stream separately.

  7. #7
    Join Date
    Nov 2006
    Posts
    141

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    Oooh, now this is interesting.

    I installed the Pavucontrol. Made sure nothing was muted. Used the system settings multimedia to test speakers.

    When I played:


    Code:
    Dec  1 18:52:28 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    Dec  1 18:52:34 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    Dec  1 18:52:34 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    
    
    Dec  1 18:52:44 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    Dec  1 18:52:45 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    Dec  1 18:52:45 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    Dec  1 18:52:45 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    Dec  1 18:52:45 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    Dec  1 18:52:45 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    Dec  1 18:52:45 mythtv pulseaudio[2221]: [alsa-sink-HDMI 0] alsa-sink.c: Error opening PCM device hdmi:0: Device or resource busy
    Fooled around a bit more. Attached headphones to the line out and gt sound. So this is just a hdmi problem.

    LATER:

    Tried adding msi enable and probe mask to the modprobe.d area. Didn't seem to help.

    The PulseAudio mixer has a nice bonus: A level-o-meter that shows when playing sound is hitting the sound card.

    Any further ideas welcome.
    Last edited by StefanJ; 2nd December 2015 at 05:53 AM.

  8. #8
    Join Date
    Jun 2015
    Location
    Cave
    Posts
    42

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    I have a similar setup. My suggestion:

    Ensure all old proprietary nvidia drivers are removed and system/kernel is fully updated.

    From RPM Fusion, install the correct akmod-nvidia drivers for your GeForce 6/7 card:

    Code:
    dnf install akmod-nvidia-304xx "kernel-devel-uname-r == $(uname -r)"
    dnf update -y
    Reboot

    If nouveau is still being loaded after successful boot, blacklist it:

    Code:
    mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
    dracut --omit-drivers nouveau /boot/initramfs-$(uname -r).img $(uname -r)
    Reboot

    If akmod fails to build nvidia, force it:

    Code:
    akmods --force
    Reboot

    You should then be able to configure your Audio under the Hardware Tab in Sound Preferences. Mine is set to Digital Surround 5.1 (HDMI 2) Output. In MythTV frontend, I have my Audio set to ALSA:Pulse

    Hope that helps!

  9. #9
    Join Date
    Nov 2006
    Posts
    141

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    Thanks, fstab.

    I had gone down the Nvidia route last weekend. Put Nouveau on the blacklist, uninstalled the nouveau driver, updated the grub configuration, confirmed the nvidia kernel module was loading. But when it came time to shift to graphics mode the TV displayed a "invalid video mode" message.

    I was hoping there was an easy fix for the HDMI sound output, but I guess not.

    I will try reinstalling akmod-nvidia & the nvidia X11 driver stuff this weekend.

  10. #10
    Join Date
    Jun 2015
    Location
    Cave
    Posts
    42

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    From my experience, by default, nvidia sets the video mode to the highest resolution your monitor supports, as gleaned via EDID. You can check/set valid modes using xrandr

    You also might want to check Xorg.0.log after receiving the bad mode message to see what might be happening on bootup.

  11. #11
    Join Date
    Nov 2006
    Posts
    141

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    While it would be useful to know how to get HDMI sound output working with Nouveau, this issue is moot for me. I got the nvidia 304xx drivers working. It was a matter of allowing for more memory via a valloc=<size> option in grub.

    I'd set this to "solved" but it is more "don't care for now."

  12. #12
    Join Date
    Dec 2015
    Location
    Carrollton, TX
    Posts
    9

    Re: FC22, nouveau, nvidia chipset: No sound from HDMI

    This may be helpful or not, but I have several NVIDIA cards that have a digital audio header on them that would go to your spdif out on your main-board/audio card. These cards support HDMI audio, but do not actually output the audio stream, the on-board sound card does. It looks like you have a newer card, so it probably supports audio encoding, but its worth it to check it out, as the manufacturer could not be passing the audio from the chip through. I have 3 9800GT's, 2 9800GTX's, and a 430, that all require the jumper, but my 2 560ti's have the audio built in, I think it is a manufacturer choice.

    Good luck!

Similar Threads

  1. f18 nvidia hdmi sound
    By b4time in forum Using Fedora
    Replies: 1
    Last Post: 4th April 2013, 12:12 PM
  2. Using Nvidia 570 as HDMI sound source.
    By radicaled in forum Hardware & Laptops
    Replies: 0
    Last Post: 21st September 2012, 04:03 PM
  3. [SOLVED] No sound when using Nvidia hdmi
    By nathan082000 in forum Hardware & Laptops
    Replies: 19
    Last Post: 6th June 2012, 10:08 PM
  4. [SOLVED] Nvidia HDMI audio/sound
    By jtang613 in forum Hardware & Laptops
    Replies: 6
    Last Post: 23rd September 2010, 07:19 PM
  5. sound thru nvidia hdmi
    By rhiakath in forum Hardware & Laptops
    Replies: 2
    Last Post: 18th April 2010, 10:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •