plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.17k stars 170 forks source link

HDMI Audio Not Working in 1.3.0 #558

Closed coneybeare closed 6 years ago

coneybeare commented 7 years ago

I thought I was alone, but there are a few other reports of this since 1.3.0 release https://forums.plex.tv/discussion/comment/1434280#Comment_1434280

mrworf commented 7 years ago

PlexMediaPlayer:~ # aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
iec958:CARD=ALSA,DEV=0
    bcm2835 ALSA, bcm2835 IEC958/HDMI
    IEC958 (S/PDIF) Digital Audio Output
PlexMediaPlayer:~ # amixer
Simple mixer control 'PCM',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback -10239 - 400
  Mono: Playback 0 [96%] [0.00dB] [on]
mrworf commented 7 years ago

Using 3rd card yields no sound, using 1st and 2nd gives 2.0 regardless of a 5.1 source and sink.

mrworf commented 7 years ago

plexmediaplayer.zip

Logfile

mrworf commented 7 years ago

I've checked the media file using media player classic and it shows:


Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L4.0
Format settings, CABAC         : Yes
Format settings, ReFrames      : 5 frames
Codec ID                       : V_MPEG4/ISO/AVC
Duration                       : 1h 47mn
Bit rate                       : 4 465 Kbps
Width                          : 1 916 pixels
Height                         : 796 pixels
Display aspect ratio           : 2.40:1
Frame rate mode                : Constant
Frame rate                     : 24.000 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.122
Stream size                    : 3.34 GiB (90%)
Language                       : English
Default                        : Yes
Forced                         : No
Color primaries                : BT.709
Transfer characteristics       : BT.709
Matrix coefficients            : BT.709

Audio
ID                             : 2
Format                         : AC-3
Format/Info                    : Audio Coding 3
Mode extension                 : CM (complete main)
Format settings, Endianness    : Big
Codec ID                       : A_AC3
Duration                       : 1h 47mn
Bit rate mode                  : Constant
Bit rate                       : 384 Kbps
Channel(s)                     : 6 channels
Channel positions              : Front: L C R, Side: L R, LFE
Sampling rate                  : 48.0 KHz
Bit depth                      : 16 bits
Compression mode               : Lossy
Stream size                    : 294 MiB (8%)
Language                       : English
Default                        : Yes
Forced                         : No
mrworf commented 7 years ago

Did the base openELEC version used get changed in 1.3.0 from the previous version? Maybe that's a side effect?

mrworf commented 7 years ago

It seems to be an ALSA issue, given that this happens when starting playback

2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ad: In: profile=-99 samplerate=48000
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af: Audio filter chain:
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [in] 48000Hz stereo 2ch spdif-ac3
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [out] 48000Hz stereo 2ch spdif-ac3
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [ao] 48000Hz stereo 2ch spdif-ac3
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao: Trying audio driver 'alsa'
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao: Using preferred device 'sysdefault:CARD=ALSA'
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: requested format: 48000 Hz, stereo channels, spdif-ac3
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: using ALSA version: 1.1.2
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: opening device 'sysdefault:CARD=ALSA' => 'sysdefault:CARD=ALSA,AES0=6,AES1=130,AES2=0,AES3=2'
2017-05-13 20:51:07 [ ERROR ] PlayerComponent.cpp @ 511 - ao/alsa: Playback open error: No such file or directory
2017-05-13 20:51:07 [ ERROR ] PlayerComponent.cpp @ 511 - ao: Failed to initialize audio driver 'alsa'
2017-05-13 20:51:07 [ ERROR ] PlayerComponent.cpp @ 511 - ao: This audio driver/device was forced with the --audio-device option.
2017-05-13 20:51:07 [ ERROR ] PlayerComponent.cpp @ 511 - ao: Try unsetting it.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - cplayer: Falling back to PCM output.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ad: Uninit audio decoder.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ad: Codec list:
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ad:     ac3_eae (ac3) - EAE AC3
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ad:     ac3_eae (ac3) - EAE AC3
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ad: Opening audio decoder ac3_eae
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ad: Requesting 1 threads for decoding.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ad: Selected audio codec: ac3_eae (EAE AC3)

and

2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af: Audio filter chain:
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [in] 48000Hz 5.1(side) 6ch s32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [out] 48000Hz 5.1(side) 6ch s32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [ao] 48000Hz 5.1(side) 6ch s32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao: Trying audio driver 'alsa'
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao: Using preferred device 'sysdefault:CARD=ALSA'
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: requested format: 48000 Hz, 5.1 channels, s32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: using ALSA version: 1.1.2
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: opening device 'sysdefault:CARD=ALSA'
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: trying format s32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: Channel layouts:
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - stereo
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-na-bl-br-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na-bl-br-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-bc-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-sl-sr-bl-br
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-na-na-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-na-bc-na-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na-bc-na-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bc-na-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bc-na-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-na-bl-br-bc-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na-bl-br-bc-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-bc-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-na-sl-sr-bl-br
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na-sl-sr-bl-br
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-sl-sr-bl-br
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-na-na-na-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na-na-na-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-na-na-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-na-na-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-na-bc-na-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na-bc-na-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bc-na-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bc-na-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-na-bl-br-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na-bl-br-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-flc-frc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-tfc-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-tfc-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-na-tc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-na-tc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-na-bl-br-tfl-tfr
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na-bl-br-tfl-tfr
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-na-bl-br-wl-wr
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-na-bl-br-wl-wr
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-bc-tc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-bc-tc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-bc-tfc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-bc-tfc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-tfc-tc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-tfc-tc
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-tfl-tfr
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-tfl-tfr
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-na-fc-bl-br-wl-wr
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa:  - fl-fr-lfe-fc-bl-br-wl-wr
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: result: fl-fr-lfe-fc-bl-br-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: Going to set final HW params:
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: ---
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: ACCESS:  RW_INTERLEAVED
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: FORMAT:  S32_LE
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: SUBFORMAT:  STD
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: SAMPLE_BITS: 32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: FRAME_BITS: 256
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: CHANNELS: 8
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: RATE: 48000
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: PERIOD_TIME: (10666 10667)
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: PERIOD_SIZE: 512
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: PERIOD_BYTES: 16384
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: PERIODS: 16
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: BUFFER_TIME: (170666 170667)
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: BUFFER_SIZE: 8192
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: BUFFER_BYTES: 262144
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: TICK_TIME: ALL
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: ---
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: trying to set ALSA channel map: FL FR LFE FC RL RR NA NA
2017-05-13 20:51:07 [ WARN  ] PlayerComponent.cpp @ 509 - ao/alsa: Channel map setup failed: Device or resource busy
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: channel map reported by ALSA: FL FR NA NA NA NA NA NA
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: which we understand as: fl-fr-na-na-na-na-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: using the ALSA channel map.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: hw pausing supported: no
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: buffersize: 8192 samples
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: period size: 512 samples
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: Working around braindead dmix multichannel behavior.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: opening device 'sysdefault:CARD=ALSA'
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: trying format s32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: Going to set final HW params:
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: ---
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: ACCESS:  RW_INTERLEAVED
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: FORMAT:  S32_LE
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: SUBFORMAT:  STD
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: SAMPLE_BITS: 32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: FRAME_BITS: 64
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: CHANNELS: 2
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: RATE: 48000
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: PERIOD_TIME: [14750 15584)
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: PERIOD_SIZE: [708 748]
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: PERIOD_BYTES: [5664 5984]
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: PERIODS: (16 17)
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: BUFFER_TIME: 250000
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: BUFFER_SIZE: 12000
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: BUFFER_BYTES: 96000
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: TICK_TIME: ALL
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: ---
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: channel map reported by ALSA: FL FR
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: which we understand as: stereo
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: which is what we requested.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: hw pausing supported: no
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: buffersize: 12000 samples
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: period size: 708 samples
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: device buffer: 12000 samples.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: using soft-buffer of 12000 samples.
2017-05-13 20:51:07 [ INFO  ] PlayerComponent.cpp @ 507 - cplayer: AO: [alsa] 48000Hz stereo 2ch s32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - cplayer: AO: Description: ALSA audio output
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af: Adding filter lavrresample
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af: Setting option 'normalize' = 'no' (flags = 0)
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af: Setting option 'o' = 'surround_mix_level=1' (flags = 0)
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - lavrresample: Remix: 5.1(side) -> stereo
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af: Audio filter chain:
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [in] 48000Hz 5.1(side) 6ch s32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [lavrresample] 48000Hz stereo 2ch s32 [a]
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [out] 48000Hz stereo 2ch s32
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - af:   [ao] 48000Hz stereo 2ch s32
mrworf commented 7 years ago

Gets more interesting, tried the speaker-test app with the -c 6 option and only one channel actually produced any sound. Which matches what amixer says (mono) but it makes me wonder if things are even worse, that it's not even 2.0 sound, it's actually 1.0 (!!!)

LongChair commented 7 years ago

it seems that it fails setting up the channel mapping :

2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: trying to set ALSA channel map: FL FR LFE FC RL RR NA NA
2017-05-13 20:51:07 [ WARN  ] PlayerComponent.cpp @ 509 - ao/alsa: Channel map setup failed: Device or resource busy
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: channel map reported by ALSA: FL FR NA NA NA NA NA NA
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: which we understand as: fl-fr-na-na-na-na-na-na
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: using the ALSA channel map.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: hw pausing supported: no
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: buffersize: 8192 samples
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: period size: 512 samples
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: Working around braindead dmix multichannel behavior.
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: opening device 'sysdefault:CARD=ALSA'
2017-05-13 20:51:07 [ DEBUG ] PlayerComponent.cpp @ 505 - ao/alsa: trying format s32

It could be indeed some issue with LE core, I think kernel was updated in LE.

LongChair commented 7 years ago

I just tried our current ongoing distro (unreleased yet). and i seem to have different behavior :

atrus05 commented 6 years ago

@coneybeare @mrworf @LongChair Has this issue been solved so it can be closed?

coneybeare commented 6 years ago

Resolved for me. PEBKAM