[GELÖST] xineliboutput config für DD passthrough zu AVR und 5.1 surround headset

  • Haben wir ALSA Spezialisten hier?

    Ich komm hier nicht weiter mit der xine config für ac3/dts passthrough an den AVR:

    Das müsste doch korrekt sein:

    lsmod |grep snd

    snd_hda_codec_hdmi 28593 1

    snd_intel8x0 25742 0

    snd_hda_codec_realtek 40751 1

    snd_hda_intel 28498 4

    snd_ac97_codec 96015 1 snd_intel8x0

    snd_hda_codec 134152 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel

    ac97_bus 962 1 snd_ac97_codec

    snd_seq_dummy 1046 0

    snd_pcm_oss 33972 0

    snd_mixer_oss 12472 3 snd_pcm_oss

    snd_pcm 74972 6 snd_pcm_oss,snd_ac97_codec,snd_intel8x0,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel

    snd_page_alloc 7262 3 snd_intel8x0,snd_pcm,snd_hda_intel

    snd_seq_midi 4364 0

    snd_rawmidi 17734 1 snd_seq_midi

    snd_seq_oss 24544 0

    snd_seq_midi_event 5675 2 snd_seq_oss,snd_seq_midi

    snd_seq 43777 6 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy,snd_seq_midi

    snd_seq_device 5221 5 snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_dummy,snd_seq_midi

    snd_timer 16934 2 snd_pcm,snd_seq

    snd 53824 18 snd_hda_codec_realtek,snd_pcm_oss,snd_ac97_codec,snd_intel8x0,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_oss,snd_seq_device,snd_mixer_oss

    soundcore 5895 3 snd

    apt-cache policy libasound2

    libasound2:

    Installiert: 1.0.28-1

    Installationskandidat: 1.0.28-1

    Versionstabelle:

    *** 1.0.28-1 0

    500 http://archive.debian.org/debian/ jessie/main i386 Packages

    100 /var/lib/dpkg/status

    1.0.25-4 0

    500 http://archive.debian.org/debian/ wheezy/main i386 Packages


    /var/lib/vdr/plugins/xineliboutput/config:

    # device used for mono output

    # string, default: default

    # device used for stereo output

    # string, default: plug:front:default

    audio.device.alsa_default_device:plughw:CARD=PCH,DEV=3

    audio.device.alsa_front_device:plughw:CARD=PCH,DEV=3

    # ALSA Mixergerät

    # string, default: PCM

    audio.device.alsa_mixer_name:Master

    # Soundkarte unterstützt mmap

    # bool, default: 0

    #audio.device.alsa_mmap_enable:0

    # device used for 5.1-channel output

    # string, default: iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

    audio.device.alsa_passthrough_device:hw:CARD=PCH,DEV=3

    # Device name used for a/52 passthrough.

    audio.alsa_a52_device:hw:CARD=PCH,DEV=3:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

    laut

    aplay -l

    **** Liste der Hardware-Geräte (PLAYBACK) ****

    Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC886 Analog [ALC886 Analog]

    Sub-Geräte: 1/1

    Sub-Gerät #0: subdevice #0

    Karte 0: PCH [HDA Intel PCH], Gerät 1: ALC886 Digital [ALC886 Digital]

    Sub-Geräte: 1/1

    Sub-Gerät #0: subdevice #0

    Karte 0: PCH [HDA Intel PCH], Gerät 3: HDMI 0 [HDMI 0]

    Sub-Geräte: 0/1

    Sub-Gerät #0: subdevice #0

    Karte 0: PCH [HDA Intel PCH], Gerät 7: HDMI 1 [HDMI 1]

    Sub-Geräte: 1/1

    Sub-Gerät #0: subdevice #0

    und

    aplay -L

    null

    Discard all samples (playback) or generate zero samples (capture)

    pulse

    PulseAudio Sound Server

    default:CARD=PCH

    HDA Intel PCH, ALC886 Analog

    Default Audio Device

    sysdefault:CARD=PCH

    HDA Intel PCH, ALC886 Analog

    Default Audio Device

    front:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    Front speakers

    surround21:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    2.1 Surround output to Front and Subwoofer speakers

    surround40:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    4.0 Surround output to Front and Rear speakers

    surround41:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    4.1 Surround output to Front, Rear and Subwoofer speakers

    surround50:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    5.0 Surround output to Front, Center and Rear speakers

    surround51:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    5.1 Surround output to Front, Center, Rear and Subwoofer speakers

    surround71:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

    iec958:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Digital

    IEC958 (S/PDIF) Digital Audio Output

    hdmi:CARD=PCH,DEV=0

    HDA Intel PCH, HDMI 0

    HDMI Audio Output

    hdmi:CARD=PCH,DEV=1

    HDA Intel PCH, HDMI 1

    HDMI Audio Output

    dmix:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    Direct sample mixing device

    dmix:CARD=PCH,DEV=1

    HDA Intel PCH, ALC886 Digital

    Direct sample mixing device

    dmix:CARD=PCH,DEV=3

    HDA Intel PCH, HDMI 0

    Direct sample mixing device

    dmix:CARD=PCH,DEV=7

    HDA Intel PCH, HDMI 1

    Direct sample mixing device

    dsnoop:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    Direct sample snooping device

    dsnoop:CARD=PCH,DEV=1

    HDA Intel PCH, ALC886 Digital

    Direct sample snooping device

    dsnoop:CARD=PCH,DEV=3

    HDA Intel PCH, HDMI 0

    Direct sample snooping device

    dsnoop:CARD=PCH,DEV=7

    HDA Intel PCH, HDMI 1

    Direct sample snooping device

    hw:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    Direct hardware device without any conversions

    hw:CARD=PCH,DEV=1

    HDA Intel PCH, ALC886 Digital

    Direct hardware device without any conversions

    hw:CARD=PCH,DEV=3

    HDA Intel PCH, HDMI 0

    Direct hardware device without any conversions

    hw:CARD=PCH,DEV=7

    HDA Intel PCH, HDMI 1

    Direct hardware device without any conversions

    plughw:CARD=PCH,DEV=0

    HDA Intel PCH, ALC886 Analog

    Hardware device with all software conversions

    plughw:CARD=PCH,DEV=1

    HDA Intel PCH, ALC886 Digital

    Hardware device with all software conversions

    plughw:CARD=PCH,DEV=3

    HDA Intel PCH, HDMI 0

    Hardware device with all software conversions

    plughw:CARD=PCH,DEV=7

    HDA Intel PCH, HDMI 1

    Hardware device with all software conversions

    mplayer:CARD=PCH

    HDA Intel PCH, ALC886 Analog


    und dem Beispiel aus der xine gui config und

    http://web.mit.edu/outland/share/doc/xine/README.config_en

    und

    https://alsa.opensrc.org/DigitalOut


    und

    grep Audio /var/lib/vdr/setup.conf

    AudioLanguages = deu eng fra

    dvd.AudioLanguage = 1

    xineliboutput.Audio.Compression = 100

    xineliboutput.Audio.Delay = 0

    xineliboutput.Audio.Driver = alsa

    xineliboutput.Audio.Headphone = 0

    xineliboutput.Audio.Port = hdmi:CARD=PCH,DEV=0

    xineliboutput.Audio.SoftwareVolumeControl = 1

    xineliboutput.Audio.Speakers = Pass Through

    xineliboutput.Audio.Surround = 0

    xineliboutput.Audio.Upmix = 0

    und

    cat /proc/asound/PCH/pcm3p/sub0/*

    access: RW_INTERLEAVED

    format: S16_LE

    subformat: STD

    channels: 2

    rate: 48000 (48000/1)

    period_size: 2048

    buffer_size: 16384

    card: 0

    device: 3

    subdevice: 0

    stream: PLAYBACK

    id: HDMI 0

    name: HDMI 0

    subname: subdevice #0

    class: 0

    subclass: 0

    subdevices_count: 1

    subdevices_avail: 0

    64

    32768

    state: RUNNING

    owner_pid : 9348

    trigger_time: 6328.999510811

    tstamp : 6383.927868864

    delay : 14528

    avail : 1856

    avail_max : 1856

    -----

    hw_ptr : 2636608

    appl_ptr : 2651136

    tstamp_mode: NONE

    period_step: 1

    avail_min: 2048

    start_threshold: 2048

    stop_threshold: 16384

    silence_threshold: 0

    silence_size: 0

    boundary: 1073741824


    läuft das Playback OK.


    Der AVR kriegt aber nix rein :(

    Und sobald ich auf einen Kanal mit DD Ton schalte geht nix mehr:

    cat /proc/asound/PCH/pcm3p/sub0/*

    closed

    card: 0

    device: 3

    subdevice: 0

    stream: PLAYBACK

    id: HDMI 0

    name: HDMI 0

    subname: subdevice #0

    class: 0

    subclass: 0

    subdevices_count: 1

    subdevices_avail: 1

    64

    32768

    closed

    closed

    und der VDR blockiert:


    Oct 23 07:57:02 vdr2 vdr: [11712] ERROR: TS packet not accepted in Transfer Mode

    Oct 23 07:57:02 vdr2 vdr: [11712] ERROR: TS packet not accepted in Transfer Mode

    Oct 23 07:57:02 vdr2 vdr: [11712] ERROR: TS packet not accepted in Transfer Mode

    Oct 23 07:57:02 vdr2 vdr: [11712] ERROR: TS packet not accepted in Transfer Mode

    Oct 23 07:57:03 vdr2 vdr: [11712] ERROR: TS packet not accepted in Transfer Mode

    Oct 23 08:14:51 vdr2 vdr: [12194] ERROR: TS packet not accepted in Transfer Mode

    Oct 23 08:14:51 vdr2 vdr: [12195] buffer usage: 100% (tid=12194)

    Den 5.1 Kopfhörer hab ich mal vorsichtshalber ausgesteckt.


    Mit dem ALSA plug, hw parametern in der xine config , alsamixer (vielleicht per default gemuted) und den AES Parametern habe ichs auch schon probiert

    und

    die Anleitung hier geht auch nicht weil .asoundrc und /etc/asound.conf nicht mehr von ALSA benutzt werden:

    https://stackoverflow.com/a/7215068

    Weiss hier wer Rat oder muss ich dafür extra wieder auf die ALSA user mailinglist?


    Vielen Dank.


    Inzwischen versuch ichs über S/PDIF vom Realtek codec chip, natürlich ist das Bracket für den Jumper von DFI nicht beim Mainboard dabei,

    naja kost ja nicht viel und ist morgen da:

    https://www.amazon.de/gp/product/B08…0?ie=UTF8&psc=1

    Damit scheint es jetzt zu laufen:

    # device used for mono output

    # string, default: default

    # device used for stereo output

    # string, default: plug:front:default

    audio.device.alsa_default_device:iec958

    audio.device.alsa_front_device:iec958

    # ALSA Mixergerät

    # string, default: PCM

    audio.device.alsa_mixer_name:Master

    # Soundkarte unterstützt mmap

    # bool, default: 0

    #audio.device.alsa_mmap_enable:0

    # device used for 5.1-channel output

    # string, default: iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

    audio.device.alsa_passthrough_device:iec958

    # Device name used for a/52 passthrough.

    audio.alsa_a52_device:iec958

    grep Audio /var/lib/vdr/setup.conf

    AudioLanguages = deu eng fra

    dvd.AudioLanguage = 1

    xineliboutput.Audio.Compression = 100

    xineliboutput.Audio.Delay = 0

    xineliboutput.Audio.Driver = alsa

    xineliboutput.Audio.Headphone = 0

    xineliboutput.Audio.Port = iec958

    xineliboutput.Audio.SoftwareVolumeControl = 1

    xineliboutput.Audio.Speakers = Pass Through

    xineliboutput.Audio.Surround = 0

    xineliboutput.Audio.Upmix = 0

    # cat /proc/asound/PCH/pcm1p/sub0/* |grep RUN

    state: RUNNING

    Ich warte noch auf das 5m Toslink Kabel von amazon und dann ist das Problem hoffentlich gelöst, die LED in der Buchse leuchtet jedenfalls schon.

    Edited 27 times, last by woprr (October 25, 2024 at 7:29 PM).

  • Von wegen, dieser Soundchip taugt absolut nichts :(

    00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

    Wie ich Takashi Iwai kenne ist nicht der Treiber Schuld oder Murks von Intel :-/.

    -----------------------------

    So Schnauze voll jetzt, billige chinesische C-Media CM106 kompatible USB- Soundbox dran

    https://www.amazon.de/dp/B00KXAVBQY/…lv_ov_lig_dp_it

    gibts auch noch billiger von Ebay aus China ab 3 USD + Registered Airmail Parcel

    und

    # device used for mono output

    # string, default: default

    # device used for stereo output

    # string, default: plug:front:default

    audio.device.alsa_default:iec958:CARD=CM6202LXVDR1,DEV=0

    audio.device.alsa_front_device:iec958:CARD=CM6202LXVDR1,DEV=0

    # ALSA Mixergerät

    # string, default: PCM

    audio.device.alsa_mixer_name:Master

    # Soundkarte unterstützt mmap

    # bool, default: 0

    #audio.device.alsa_mmap_enable:0

    # device used for 5.1-channel output

    # string, default: iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

    audio.device.alsa_passthrough_device:iec958:CARD=CM6202LXVDR1,DEV=0

    # Device name used for a/52 passthrough.

    audio.alsa_a52_device:iec958:CARD=CM6202LXVDR1,DEV=0

    und siehe da es wurde laut!

    AC3 und DTS reichen mir, ich brauch kein DD+, Dolby True HD /Atmos oder DTS HD :P

    Es lebe C-Media!

    GELÖST

    Edited 5 times, last by woprr (October 30, 2024 at 7:13 AM).

  • Von wegen, dieser Soundchip taugt absolut nichts :(

    wer hat das denn gesagt ?

    https://www.minidvblinux.de/

    1x OctopusNet mit 8x DVB-C
    1x Raspberry 4 MLD 6.5 SATIP (softhddevice-drm )

    1x RockPi 4 MLD 6.5 SATIP (softhddevice-drm )

    1x Raspberry 3 mit SATIP MLD 5.4

    1x Raspberry 2 mit STAIPMLD 6.5

    1x Raspberry 1 (staubt gerade so vor sich hin) ;)
    1x ODROID N2+ mit SATIP MLD 6.5

    1x ODROID N2 L mit SATIP MLD 6.5

    1x Zotac CI327 MLD 6.5 SATIP (softhddevice)

  • woprr October 30, 2024 at 7:17 AM

    Changed the title of the thread from “xineliboutput config für DD passthrough zu AVR und 5.1 surround headset” to “[GELÖST] xineliboutput config für DD passthrough zu AVR und 5.1 surround headset”.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!