Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Nvidia HDMI sound

  1. #11
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,158
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Nvidia HDMI sound

    using 10.04.4 (clean install on testing hard drive)
    loaded the natty backpork kernel and i have the latest stable nvidia driver (295.20) and i have the alsa ppa installed
    Code:
    01:00.1 Audio device: nVidia Corporation Device 0bee (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 83be
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at fbdfc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
    Code:
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
      Subdevices: 2/2
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
    card 0: SB [HDA ATI SB], device 1: VT1708S Digital [VT1708S Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    Code:
    cat /proc/asound/version
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    everything is unmuted in alsamixer
    no sound
    Last edited by pqwoerituytrueiwoq; February 23rd, 2012 at 09:31 PM.
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  2. #12
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,158
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Nvidia HDMI sound

    FINALLY
    http://analogbit.com/software/edid_disable_exts (need to download app here)
    http://www.mythtv.org/wiki/Configuri...nd_DVI_to_HDMI (the guide i used)

    made the tv accept audio from the 1/8" audio jack used with VGA




    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  3. #13
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,661
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Nvidia HDMI sound

    So the reason you had disabled the nVidia HDMI audio codec was because of the TV switching to the empty audio stream (on HDMI) ...

    Why can't you use HDMI for audio?

  4. #14
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,158
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Nvidia HDMI sound

    cant use hdmi audio cause it just will not work no idea why
    the tv was using the audio from the hdmi that trick disabled it
    more importunately why will alsa not say version 1.0.24

    currently trying to get hdmi sound working with lucid and a GT 430
    i am using backported mavericks kernel so the device shows up is sound preferences on this box
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  5. #15
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,158
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Nvidia HDMI sound

    http://www.linuxjunkie.com/2010/10/1...-1-hdmi-audio/
    i got to gstreamer-properties and it started working
    ** i did not uninstall anything i skipped that

    edit it is full of static
    Last edited by pqwoerituytrueiwoq; February 24th, 2012 at 09:27 PM.
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  6. #16
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,661
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Nvidia HDMI sound

    dmesg | HDA
    ls -al /proc/asound/card1/eld#*
    one eld# file should contain valid data presence/detected etc

    speaker-test -c 2 -r 48000 -D hw:1,9
    speaker-test -c 2 -r 48000 -D hw:1,8
    speaker-test -c 2 -r 48000 -D hw:1,7
    speaker-test -c 2 -r 48000 -D hw:1,3
    close & reopen terminal after each <ctrl>+<C>

    With no modprobe snd-hda-intel probemask :
    eld#0.0 is linked to hw:1,3
    eld#3.0 is linked to hw:1,9

    You need speaker-test to report alsa 1.0.24 (user-libs)
    Is it okay is the alsa kernel version is 1.0.23.
    Last edited by BicyclerBoy; February 24th, 2012 at 09:49 PM.

  7. #17
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,158
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Nvidia HDMI sound

    i got a speaker test to work
    speaker-test -Dplughw:1,9 -c2

    ~$ uname -r
    2.6.35-32-generic
    ~$ cat /proc/asound/version
    Advanced Linux Sound Architecture Driver Version 1.0.23.


    now if i can figure out what to do next...

    edit:
    added this to /etc/pulse/default.pa
    load-module module-alsa-sink device=hw:1,9


    now i just have a useless output (default hdmi) in my sound card list but who cares i have hdmi sound where i need it

    edit:
    flash will not use the HDMI even with the analog speakers off (even disabled in bios)
    Last edited by pqwoerituytrueiwoq; February 27th, 2012 at 02:59 AM.
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  8. #18
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,661
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Nvidia HDMI sound

    So the real alsa device is hw:1,9

    Your /etc/pulse/default.pa looks okay..

    If you put any pulse cr#p in the asound.conf file expect problems with multi-channel & HD audio & AC3/DTS/all-HDA over hdmi/SPDIF.

    What is in the file ?
    /proc/asound/card1/eld#3.0

    Your EDID/ELD override will stuff-up the reported audio capabilities.
    You need to comment out the 'EDID from file' & then logout/login.
    Else alsa thinks your hdmi output has no capability..

    Run
    pavucontrol
    & set your default sound to pulse hdmi device (if you want this).

    If you use MythTV XBMC etc you can point them directly at the alsa device.
    Last edited by BicyclerBoy; February 25th, 2012 at 01:41 AM.

  9. #19
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,158
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Nvidia HDMI sound

    http://ubuntuforums.org/showpost.php...8&postcount=17
    that fixed flash audio
    now everything seems to act as expected



    EDIT:
    thanks for the help
    HDMI is definitively the biggest pain i have ever dealt with



    here is everything i have in config files

    this fixed flash sound:
    Code:
    ~$ cat /etc/asound.conf
    pcm.pulse {
    type pulse
    }
    ctl.pulse {
    type pulse
    }
    pcm.!default {
    type pulse
    }
    ctl.!default {
    type pulse
    }
    this got my hdmi audio working (last line) see later section for more details on how to make that line
    Code:
    ~$ cat /etc/pulse/default.pa
    #!/usr/bin/pulseaudio -nF
    #
    # This file is part of PulseAudio.
    #
    # PulseAudio is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # PulseAudio is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    # General Public License for more details.
    #
    # You should have received a copy of the GNU Lesser General Public License
    # along with PulseAudio; if not, write to the Free Software Foundation,
    # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
    
    # This startup script is used only if PulseAudio is started per-user
    # (i.e. not in system mode)
    
    .nofail
    
    ### Load something into the sample cache
    #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
    #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
    #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
    #load-sample-lazy pulse-access /usr/share/sounds/generic.wav
    
    .fail
    
    ### Automatically restore the volume of streams and devices
    load-module module-device-restore
    load-module module-stream-restore
    load-module module-card-restore
    
    ### Automatically augment property information from .desktop files
    ### stored in /usr/share/application
    load-module module-augment-properties
    
    ### Load audio drivers statically (it's probably better to not load
    ### these drivers manually, but instead use module-hal-detect --
    ### see below -- for doing this automatically)
    #load-module module-alsa-sink
    #load-module module-alsa-source device=hw:1,0
    #load-module module-oss device="/dev/dsp" sink_name=output source_name=input
    #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
    #load-module module-null-sink
    #load-module module-pipe-sink
    
    ### Automatically load driver modules depending on the hardware available
    .ifexists module-udev-detect.so
    load-module module-udev-detect
    .else
    ### Alternatively use the static hardware detection module (for systems that
    ### lack udev support)
    load-module module-detect
    .endif
    
    ### Automatically load driver modules for Bluetooth hardware
    .ifexists module-bluetooth-discover.so
    load-module module-bluetooth-discover
    .endif
    
    ### Load several protocols
    .ifexists module-esound-protocol-unix.so
    load-module module-esound-protocol-unix
    .endif
    load-module module-native-protocol-unix
    
    ### Network access (may be configured with paprefs, so leave this commented
    ### here if you plan to use paprefs)
    #load-module module-esound-protocol-tcp
    #load-module module-native-protocol-tcp
    #load-module module-zeroconf-publish
    
    ### Load the RTP reciever module (also configured via paprefs, see above)
    #load-module module-rtp-recv
    
    ### Load the RTP sender module (also configured via paprefs, see above)
    #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
    #load-module module-rtp-send source=rtp.monitor
    
    ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
    ### Please keep in mind that the modules configured by paprefs might conflict with manually
    ### loaded modules.
    .ifexists module-gconf.so
    .nofail
    load-module module-gconf
    .fail
    .endif
    
    ### Automatically restore the default sink/source when changed by the user during runtime
    load-module module-default-device-restore
    
    ### Automatically move streams to the default sink if the sink they are
    ### connected to dies, similar for sources
    load-module module-rescue-streams
    
    ### Make sure we always have a sink around, even if it is a null sink.
    load-module module-always-sink
    
    ### Honour intended role device property
    load-module module-intended-roles
    
    ### Automatically suspend sinks/sources that become idle for too long
    load-module module-suspend-on-idle
    
    ### If autoexit on idle is enabled we want to make sure we only quit
    ### when no local session needs us anymore.
    load-module module-console-kit
    
    ### Enable positioned event sounds
    load-module module-position-event-sounds
    
    ### Cork music streams when a phone stream is active
    #load-module module-cork-music-on-phone
    
    # X11 modules should not be started from default.pa so that one daemon
    # can be shared by multiple sessions.
    
    ### Load X11 bell module
    #load-module module-x11-bell sample=bell-windowing-system
    
    ### Register ourselves in the X11 session manager
    #load-module module-x11-xsmp
    
    ### Publish connection data in the X11 root window
    #.ifexists module-x11-publish.so
    #.nofail
    #load-module module-x11-publish
    #.fail
    #.endif
    
    ### Make some devices default
    #set-default-sink output
    #set-default-source input
    
    load-module module-alsa-sink device=hw:1,9
    something that is commonly asked for no idea why
    Code:
    ~$ aplay -L
    null
        Discard all samples (playback) or generate zero samples (capture)
    front:CARD=SB,DEV=0
        HDA ATI SB, VT1708S Analog
        Front speakers
    surround40:CARD=SB,DEV=0
        HDA ATI SB, VT1708S Analog
        4.0 Surround output to Front and Rear speakers
    surround41:CARD=SB,DEV=0
        HDA ATI SB, VT1708S Analog
        4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=SB,DEV=0
        HDA ATI SB, VT1708S Analog
        5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=SB,DEV=0
        HDA ATI SB, VT1708S Analog
        5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=SB,DEV=0
        HDA ATI SB, VT1708S Analog
        7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=SB,DEV=0
        HDA ATI SB, VT1708S Digital
        IEC958 (S/PDIF) Digital Audio Output
    hdmi:CARD=NVidia,DEV=0
        HDA NVidia, HDMI 0
        HDMI Audio Output
    hdmi:CARD=NVidia,DEV=1
        HDA NVidia, HDMI 0
        HDMI Audio Output
    hdmi:CARD=NVidia,DEV=2
        HDA NVidia, HDMI 0
        HDMI Audio Output
    hdmi:CARD=NVidia,DEV=3
        HDA NVidia, HDMI 0
        HDMI Audio Output
    notice the card number and the device number in this one:
    Code:
    ~$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
      Subdevices: 1/2
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
    card 0: SB [HDA ATI SB], device 1: VT1708S Digital [VT1708S Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
      Subdevices: 0/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
      Subdevices: 0/1
      Subdevice #0: subdevice #0
    speaker-test -Dplughw:$CARD,$DEVICE -c2 (the 2 is for stereo sound)
    jut try each hdmi till one works

    i use a app called paprefs to get a all in one audio option
    i also messed with gstreamer-properties
    added a few PPAs
    ppa:team-iquik/alsa
    ppa:ubuntu-audio-dev/ppa
    ppa:ubuntu-x-swat/x-updates
    Code:
    ~$ uname -r
    2.6.35-32-generic
    ~$ cat /proc/asound/version
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    if you notice that is macerick's kernel i had to use the backported kernel to get the hdmi audio to work on this GPU (Maverick's does NOT work on my GTX 550 TI but natty's does but it breaks virtual box)

    running ubuntu lucid 10.04 64bit
    Nvidia GT 430 (Fermi)
    i installed these packages
    alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss linux-sound-base alsamixergui esound esound-clients esound-common gnome-alsamixer
    Last edited by pqwoerituytrueiwoq; February 27th, 2012 at 03:00 AM.
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  10. #20
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,661
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Nvidia HDMI sound

    This
    pcm.pulse {
    type pulse
    }
    stuff in asound.conf allows native alsa output applications to access pulse.

    Firefox is not a native alsa output app. Firefox/flash normally just utilises default gnome desktop pulse audio..

    If you set your system-wide default audio (pavucontrol) to be the pulse hdmi device..all standard gnome programs should just work..

    I don't think you have installed anything from "ubuntu-audio-devs" ppa..It does not upgrade any existing packages..I remember that you have to pick a specific alsa backport kernel module that matches your existing kernel...real painful & I recall it breaks the iQuik ppa.
    Last edited by BicyclerBoy; February 25th, 2012 at 03:15 AM.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

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