By 2gion 2 girls 1 cup

[ solved ] No Sound over HDMI on Intel Sandybridge Asus P8H67M-Pro

December 16th, 2011

Home › Forums › GeeXboX for PC › [ solved ] No Sound over HDMI on Intel Sandybridge Asus P8H67M-Pro

This topic contains 21 replies, has 2 voices, and was last updated by  josch.hh 1 year, 4 months ago.

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #2048

    josch.hh
    Member

    Used: latest-iso-devel.iso from 10-Dec-2011 08:36.

    Output /tmp/debug-sound: http://pastebin.com/N9jNKyjH
    Content /etc/audio: http://pastebin.com/9ta2mCJy

    Seems that Xbmc has to different Audio devices cause in “Seeting/System/Audio Hardware” I have all the setting two times.

    But on /proc/asound/cards I see only:
    0 [PCH ]: HDA-Intel - HDA Intel PCH
    HDA Intel PCH at 0xfe600000 irq 52

    Any idea?

    • This topic was modified 1 year, 4 months ago by  tomlohave.
    #2050

    tomlohave
    Member

    Did you use persistent ? (see section documentation if it’s not the case)
    cause here is something wrong here : (from your log)
    Simple mixer control ‘IEC958′,0
    Capabilities: pswitch pswitch-joined penum
    Playback channels: Mono
    Mono: Playback [off]

    #2060

    josch.hh
    Member

    yes i did use persistent.
    I created the boot stick with unetbootin which also created the casper-rw.
    and it works, can boot and the settings are back again.

    i dont understand what you mean with “there is something wrong”, can you explain?

    #2061

    tomlohave
    Member

    Mono: Playback should be [on]

    #2062

    tomlohave
    Member

    Can you re-excute the script /usr/lib/alsa-utils/alsa-mixer-setup and repost the file /tmp/debug-sound ?

    #2079

    josch.hh
    Member

    ok, i will try it this evening and post the result here.

    But anyhow, i also think, as mentioned above, that there might also be an issue with having all Sound Settings twice in XBMC:
    http://www.geexbox.org/wp-content/uploads/2011/09/screenshot001.png

    I do have the “block of settings” i.e. “Audio Output”, “Speaker Configuration”, “Audio Output Device”,… two times in the Audio Settings screen.
    … which means for me that XBMC regocnizes two sound cards, or?
    This might be because i think XBMC found the onboard Realtek device and the Intel HDMI Sound device.

    What do you think?

    #2080

    tomlohave
    Member

    no, i think it’s correct but not configured for your device
    (no pc to see now, i will confirm this evening for your screenshot)
    http://wiki.xbmc.org/index.php?title=System_Settings

    • This reply was modified 1 year, 4 months ago by  tomlohave.
    #2091

    josch.hh
    Member

    I executed alsa-mixer-setup:
    http://pastebin.com/kUWTp8G8

    BTW, the screenshot is from your webside, i just wanted to make clear what i was talking about.

    #2092

    tomlohave
    Member

    your new log :

    Simple mixer control ‘IEC958′,0
    Capabilities: pswitch pswitch-joined penum
    Playback channels: Mono
    Mono: Playback [on] < -- ok
    Simple mixer control 'IEC958 Default PCM',0
    Capabilities: pswitch pswitch-joined penum
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'IEC958',1
    Capabilities: pswitch pswitch-joined penum
    Playback channels: Mono
    Mono: Playback [on] <--- ok

    now it should work

    about screenshot, i forgot the dual output for audio (patch submitted after release): (disable the 2nd device and configure the first one to use hdmi
    (you should have something like that, right ? http://forum.xbmc.org/showthread.php?t=86038)


    josch.hh
    Member

    yes i have exactly this dual audio thing.
    I disabled the second device already for testing -> no effect

    Whatever i do, i get no sound.

    If i boot from the internal harddisk which contains win 7 with mediaportal it works very well with sound over hdmi, even with DTS-HD and Dolby True HD.
    So it can’t be a hardware configuration issue.

    #2108

    tomlohave
    Member

    ok, another problem with configuration …
    install 3 packages (inside vt2, execute : opkg install -force-reinstall name_of_pkg )
    bash, dialog, asa-utils located here : http://download.geexbox.org/releases/extra/i386/

    please, execute and post the result of :
    aplay -l

    #2123

    josch.hh
    Member

    ok, did it, but for bash i had to execute : opkg install -force-overwrite bash_4.1-1_i686.opk, cause /bin/bash was already in busybox.

    Anyhow:
    aplay says:
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 3: ALC892 Digital [ALC892 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 7: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    Interesting … :-)

    #2127

    tomlohave
    Member

    arf, i forgot for bash, but you found it ;)

    can you try to put a .wav somewhere an try :
    aplay -D plughw:0,7 your.wav
    i hope you hear a sound :)

    #2128

    tomlohave
    Member

    if it works : you can try two things :

    1) put in file /etc/asound.conf :

    pcm.!default {
    type hw
    card 0
    device 7
    }

    2) try this settings in xbmc :
    Audio output:HDMI
    Speaker coniguration 2.0
    Audio output device Custom
    Custom audio device: plughw:0,7

    Hope it will help you

    edit : and i f it’s ok, i need the result of cmd “dmesg” to add your configuration to our script ;)

    • This reply was modified 1 year, 4 months ago by  tomlohave.
    #2152

    josch.hh
    Member

    Thanks for the help.
    Sound works.

    dmesg: http://pastebin.com/2NaerpnU

    BTW, playback of bluray rips in mkv container with H.264 DTS sound (23,97Hz) is no smooth, but vaapi seems to work:

    # vainfo
    libva: VA-API version 0.32.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/i965_drv_video.so
    libva: va_openDriver() returns 0
    vainfo: VA-API version: 0.32 (libva 1.0.15)
    vainfo: Driver version: Intel i965 driver - 1.0.15
    vainfo: Supported profile and entrypoints
    VAProfileMPEG2Simple : VAEntrypointVLD
    VAProfileMPEG2Main : VAEntrypointVLD
    VAProfileH264Baseline : VAEntrypointVLD
    VAProfileH264Baseline : VAEntrypointEncSlice
    VAProfileH264Main : VAEntrypointVLD
    VAProfileH264Main : VAEntrypointEncSlice
    VAProfileH264High : VAEntrypointVLD
    VAProfileH264High : VAEntrypointEncSlice
    VAProfileVC1Simple : VAEntrypointVLD
    VAProfileVC1Main : VAEntrypointVLD
    VAProfileVC1Advanced : VAEntrypointVLD

    CPU load is very low

    any idea?

Viewing 15 posts - 1 through 15 (of 22 total)

You must be logged in to reply to this topic.

Comments are closed.