Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40

Thread: Desktop/other hdmi sound (mythtv okay)

  1. #11
    Join Date
    Jun 2005
    Location
    Santa Rosa Ca.
    Beans
    513
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop/other hdmi sound (mythtv okay)

    Tried this.
    pcm.!default hdmi:NVidia

    no go

    tried this.

    pcm.!default {
    type hw
    card 1
    device 3
    }

    Changing the device to all numbers from 1 - 9.

    no go.

    Confusion for sure.

    Appreciate all the help guys.
    If you are led by the unknowing you should not be following,

  2. #12
    Join Date
    Jun 2005
    Location
    Santa Rosa Ca.
    Beans
    513
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop/other hdmi sound (mythtv okay)

    Is there a alsa forum or somewhere I can get some specific help?
    You all have been very helpful.
    If you are led by the unknowing you should not be following,

  3. #13
    Join Date
    Mar 2007
    Location
    Christchurch, NZ
    Beans
    3,239

    Re: Desktop/other hdmi sound (mythtv okay)

    Quote Originally Posted by iitywygms View Post
    Is there a alsa forum or somewhere I can get some specific help?
    You all have been very helpful.
    I suggest the mythtv-users mailing list. Jean-Yves Avenard who seems to be writing all the myth audio code lately, hangs out there and if you are lucky will answer

  4. #14
    Join Date
    Aug 2008
    Location
    Beotch-ville, Arizona
    Beans
    209

    Re: Desktop/other hdmi sound (mythtv okay)

    How about - http://www.alsa-project.org/main/index.php/Main_Page

    Although it shows last modified in 08, however there are updates shown from Jan 2012.... who knows, maybe there is something in there that may help you or anyone else having the same issue.
    Last edited by tazz4vr; July 18th, 2012 at 01:43 AM.
    San Francisco 49ers... Oh Yeah Baby!!!
    San Francisco Giants... Oh Yeah Baby!!!
    Always on time-out, what the heck!

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

    Re: Desktop/other hdmi sound (mythtv okay)

    MythTV does not do anything that special except it works.
    And it works without configuring the desktop system wide audio.
    It closes pulse audio server if you are not using a pulse device..

    Config desktop env pulse audio:
    Install & run pavucontrol, click on configuration tab & select one of the 4 HDMI devices listed..

    Different versions of alsa (user space) & pulse audio results in varying reports of success.
    The recent pulse audio updates in 12.04 supports pass-thru' modes & HDA audio modes.

    Check hw device with PCM:
    speaker-test -l 2 -c 6 -r 48000 -D hw:1,3

    I'm not sure how MythTV enumerates the HDMI devices so also try:
    -D hw:1,7
    -D hw:1,8
    -D hw:1,9


    Check the ELD audio capabilities:
    dmesg | grep HDMI
    cat /proc/asound/card1/eld#0.0
    (assumes hw:1,3 works)
    eld#1.0 == hw:1,7 etc..
    Last edited by BicyclerBoy; July 18th, 2012 at 04:38 AM.

  6. #16
    Join Date
    Jun 2005
    Location
    Santa Rosa Ca.
    Beans
    513
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop/other hdmi sound (mythtv okay)

    Quote Originally Posted by BicyclerBoy View Post
    MythTV does not do anything that special except it works.
    And it works without configuring the desktop system wide audio.
    It closes pulse audio server if you are not using a pulse device..

    Config desktop env pulse audio:
    Install & run pavucontrol, click on configuration tab & select one of the 4 HDMI devices listed..

    Different versions of alsa (user space) & pulse audio results in varying reports of success.
    The recent pulse audio updates in 12.04 supports pass-thru' modes & HDA audio modes.

    Check hw device with PCM:
    speaker-test -l 2 -c 6 -r 48000 -D hw:1,3

    I'm not sure how MythTV enumerates the HDMI devices so also try:
    -D hw:1,7
    -D hw:1,8
    -D hw:1,9


    Check the ELD audio capabilities:
    dmesg | grep HDMI
    cat /proc/asound/card1/eld#0.0
    (assumes hw:1,3 works)
    eld#1.0 == hw:1,7 etc..
    If I run this speaker-test as you suggest

    I always get an error. No matter if I run 1,3 or 7,8,9

    speaker-test 1.0.25

    Playback device is hw:1,7
    Stream parameters are 48000Hz, S16_LE, 6 channels
    Using 16 octaves of pink noise
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 22 to 5461
    Period size range from 11 to 2730
    Using max buffer size 5460
    Periods = 4
    was set period_size = 1365
    was set buffer_size = 5460
    0 - Front Left
    Write error: -5,Input/output error
    xrun_recovery failed: -5,Input/output error
    Transfer failed: Operation not permitted

    Also, I do not have pulse audio installed. Never have. And hdmi works everywhere on my 3 other computers using the same version of mythbuntu.
    I did install the pulse audio volume control you suggested but when I start it, it errors with a message that it cannot find pulse audio. As expected.

    I also ran the other stuff you suggested. Not sure what I am suppose to see but here are the results.

    Completely appreciate the help.


    dmesg | grep HDMI
    [ 3.515394] HDMI status: Codec=0 Pin=5 Presence_Detect=0 ELD_Valid=0
    [ 3.539378] HDMI status: Codec=1 Pin=5 Presence_Detect=0 ELD_Valid=0
    [ 3.563367] HDMI status: Codec=2 Pin=5 Presence_Detect=0 ELD_Valid=0
    [ 3.587378] HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0
    [ 3.587475] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input11
    [ 3.587556] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
    [ 3.587624] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
    [ 3.587689] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
    [ 6.452361] HDMI hot plug event: Codec=1 Pin=5 Presence_Detect=1 ELD_Valid=0
    [ 6.458736] HDMI status: Codec=1 Pin=5 Presence_Detect=1 ELD_Valid=0
    [ 6.470873] HDMI hot plug event: Codec=1 Pin=5 Presence_Detect=0 ELD_Valid=1
    [ 6.478731] HDMI status: Codec=1 Pin=5 Presence_Detect=1 ELD_Valid=1
    [ 7.246573] HDMI: detected monitor H/K AVR
    [ 7.246575] at connection type HDMI
    [ 7.246578] HDMI: available speakers: FL/FR LFE FC RL/RR RLC/RRC
    [ 7.246583] HDMI: supports coding type LPCM: channels = 8, rates = 32000 44100 48000 96000 176400 192000 384000, bits = 16 20 24
    [ 7.246587] HDMI: supports coding type MLP (Dolby TrueHD): channels = 2, rates = 44100 48000 96000 176400 192000 384000
    [ 7.246591] HDMI: supports coding type MLP (Dolby TrueHD): channels = 6, rates = 44100 48000 96000 176400 192000 384000
    [ 7.246594] HDMI: supports coding type MLP (Dolby TrueHD): channels = 8, rates = 44100 48000 96000 176400 192000 384000
    [ 7.246598] HDMI: supports coding type DTS-HD: channels = 8, rates = 44100 48000 96000 176400 192000 384000
    [ 7.246601] HDMI: supports coding type AC-3: channels = 6, rates = 32000 44100 48000, max bitrate = 640000
    [ 7.246605] HDMI: supports coding type DTS: channels = 6, rates = 32000 44100 48000 96000 176400, max bitrate = 1536000
    [ 7.246608] HDMI: supports coding type E-AC-3/DD+ (Dolby Digital Plus): channels = 8, rates = 44100 48000



    cat /proc/asound/card1/eld#1.0
    monitor_present 1
    eld_valid 1
    monitor_name H/K AVR

    connection_type HDMI
    eld_version [0x2] CEA-861D or below
    edid_version [0x3] CEA-861-B, C or D
    manufacture_id 0x6720
    product_id 0x6040
    port_id 0x20000
    support_hdcp 0
    support_ai 0
    audio_sync_delay 0
    speakers [0x4f] FL/FR LFE FC RL/RR RLC/RRC
    sad_count 8
    sad0_coding_type [0x1] LPCM
    sad0_channels 8
    sad0_rates [0x1ee0] 32000 44100 48000 96000 176400 192000 384000
    sad0_bits [0xe0000] 16 20 24
    sad1_coding_type [0xc] MLP (Dolby TrueHD)
    sad1_channels 2
    sad1_rates [0x1ec0] 44100 48000 96000 176400 192000 384000
    sad2_coding_type [0xc] MLP (Dolby TrueHD)
    sad2_channels 6
    sad2_rates [0x1ec0] 44100 48000 96000 176400 192000 384000
    sad3_coding_type [0xc] MLP (Dolby TrueHD)
    sad3_channels 8
    sad3_rates [0x1ec0] 44100 48000 96000 176400 192000 384000
    sad4_coding_type [0xb] DTS-HD
    sad4_channels 8
    sad4_rates [0x1ec0] 44100 48000 96000 176400 192000 384000
    sad5_coding_type [0x2] AC-3
    sad5_channels 6
    sad5_rates [0xe0] 32000 44100 48000
    sad5_max_bitrate 640000
    sad6_coding_type [0x7] DTS
    sad6_channels 6
    sad6_rates [0x6e0] 32000 44100 48000 96000 176400
    sad6_max_bitrate 1536000
    sad7_coding_type [0xa] E-AC-3/DD+ (Dolby Digital Plus)
    sad7_channels 8
    sad7_rates [0xc0] 44100 48000
    If you are led by the unknowing you should not be following,

  7. #17
    Join Date
    Jun 2005
    Location
    Santa Rosa Ca.
    Beans
    513
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop/other hdmi sound (mythtv okay)

    too add to the above.

    If I run speaker-test like this.

    speaker-test -D plug:surround51 -c 6 -l 1 -t wav

    it works but no sound comes through.

    speaker-test 1.0.25

    Playback device is plug:surround51
    Stream parameters are 48000Hz, S16_LE, 6 channels
    WAV file(s)
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 22 to 5461
    Period size range from 11 to 2730
    Using max buffer size 5460
    Periods = 4
    was set period_size = 1365
    was set buffer_size = 5460
    0 - Front Left
    4 - Center
    1 - Front Right
    3 - Rear Right
    2 - Rear Left
    5 - LFE
    Time per period = 8.531848
    Last edited by iitywygms; July 18th, 2012 at 06:32 AM.
    If you are led by the unknowing you should not be following,

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

    Re: Desktop/other hdmi sound (mythtv okay)

    Your surround51 device is probably card0..see if it shows up in:
    aplay -L

    The hot-plug event & eld file both show codec #1 (hw:1,7) is the connected device. (assuming there is no modprobe snd-hda-intel probe_mask option)

    Try:
    speaker-test -l 2 -c 8 -r 48000 -D hw:1,7
    speaker-test -l 2 -c 8 -r 48000 -D plughw:1,7
    The plughw device does auto translation of rates/channels etc.
    Does running as sudo work ?
    Your "user" is a member of the audio group?

    FWIHR There are some bugs in alsa 1.0.25, including the archive from alsa.org. Apparently alsa git is good.

    This should have worked but the error (xrun_recovery etc...) may be a vital clue.
    # /etc/asound.conf
    pcm.!default {
    type hw
    card 1
    device 7
    }


    Pavucontrol is useless without pulse audio..did not see you had removed it. I never had problems with pulse interfering with alsa.

    To get default apps to use alsayYou may have to run:
    gstreamer-properties & set ALSA as default input/output

    Programs like mplayer, vlc, clementine etc can be directed to any specific audio device.
    Last edited by BicyclerBoy; July 18th, 2012 at 09:38 PM.

  9. #19
    Join Date
    Jun 2005
    Location
    Santa Rosa Ca.
    Beans
    513
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop/other hdmi sound (mythtv okay)

    I will try as you suggest when I can later today.
    Running speaker-test as sudo did not help.
    My user is a memeber of the audio group.

    FYI I posted the output of alsainfo script here.

    http://pastebin.com/r7V1PMFh

    Really appreciate your time and help.
    Last edited by iitywygms; July 18th, 2012 at 11:08 PM.
    If you are led by the unknowing you should not be following,

  10. #20
    Join Date
    Jul 2012
    Beans
    2

    Re: Desktop/other hdmi sound (mythtv okay)

    I've recently solved several sound issues by using pavucontrol (apt-get install pavucontrol, then pavucontrol to run) which gives you a much more granular sound settings gui than the one now packaged with 12.04.

    give it a shot.

    Thanks,

    Tjg

    EDIT:: sorry, late post and missed the pulse removal as well....
    Last edited by tjg; July 18th, 2012 at 11:05 PM. Reason: oversight

Page 2 of 4 FirstFirst 1234 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
  •