dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio)
Date: Tue, 05 Dec 2017 14:31:51 +0000	[thread overview]
Message-ID: <bug-101900-502-4d85kgeZfk@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-101900-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 12249 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=101900

--- Comment #13 from lethalwp@gmail.com ---
This is an example running mpv & decoding the stereo pcm_s16le 2ch 48000Hz to 6
channels 48Khz.

This generates the audio + noise ( small wav recording attached to this case)


mpv command & verbose:
~# DISPLAY=:0.0 mpv --audio-device='alsa/hdmi:CARD=HDMI,DEV=3' /Fr* -vo vdpau
--audio-channels=8 -vo gpu -v
[cplayer] Command line options: '--audio-device=alsa/hdmi:CARD=HDMI,DEV=3'
'/Francis.mkv' '-vo' 'vdpau' '--audio-channels=8' '-vo' 'gpu' '-v'
[cplayer] mpv git-2017-10-14-b299a3f (C) 2000-2017 mpv/MPlayer/mplayer2
projects
[cplayer]  built on Tue Oct 17 01:30:07 UTC 2017
[cplayer] ffmpeg library versions:
[cplayer]    libavutil       55.79.100
[cplayer]    libavcodec      57.108.100
[cplayer]    libavformat     57.84.100
[cplayer]    libswscale      4.9.100
[cplayer]    libavfilter     6.108.100
[cplayer]    libswresample   2.10.100
[cplayer] ffmpeg version: git-2017-10-14-0655810
[cplayer]
[cplayer] Configuration: ./waf configure CC=clang-4.0 --enable-pdf-build
--enable-dvbin --enable-dvdread --enable-dvdnav --enable-html-build
--prefix=/usr --confdir=/etc/mpv
[cplayer] List of enabled features: 52arch alsa asm atomics
avutil-content-light-level avutil-icc-profile avutil-spherical build-date
cplayer cplugins cuda-hwaccel debug-build drm dvbin dvdnav dvdread
dvdread-common egl-drm egl-helpers egl-x11 encoding fchmod gbm gbm.h gl
gl-wayland gl-x11 glibc-thread-name glob glob-posix gnuc gpl iconv is_ffmpeg
jack jpeg lcms2 libaf libass libass-osd libav libavcodec libavdevice libbluray
libdl libm librt linux-fstatfs lua nanosleep optimize oss-audio posix
posix-or-mingw posix-spawn posix-spawn-native pthreads pulse rubberband shm
stdatomic termios uchardet vaapi vaapi-drm vaapi-egl vaapi-glx vaapi-hwaccel
vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 vdpau-hwaccel vt.h
wayland wayland-protocols x11 xv zlib


[bdmv/bluray] Opening /Francis.mkv
[file] Opening /Francis.mkv
[file] Stream opened successfully.
[demux] Trying demuxers for level=normal.
[mkv] Found the head...
[mkv] + a segment...
[mkv] Parsing seek head...
[mkv] |+ segment information...
[mkv] | + muxing app: libebml v1.3.5 + libmatroska v1.4.5
[mkv] | + writing app: mkvmerge v15.0.0 ('Duel with the Devil') 64-bit
[mkv] | + timecode scale: 1000000
[mkv] | + duration: 10595.641s
[mkv] | + segment uid 9f 5f 3d 2a 9c 0f 87 99 b4 ab 82 7c e8 54 b3 21
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] |  + Track number: 1
[mkv] |  + Track type: Video
[mkv] |  + Video track
[mkv] |   + Display width: 1920
[mkv] |   + Display height: 1080
[mkv] |   + Pixel width: 1920
[mkv] |   + Pixel height: 1080
[mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[mkv] |  + CodecPrivate, length 58
[mkv] |  + Language: und
[mkv] |  + Default duration: 40.000ms ( = 25.000 fps)
[mkv] | + a track...
[mkv] |  + Track number: 2
[mkv] |  + Track type: Audio
[mkv] |  + Audio track
[mkv] |   + Sampling frequency: 48000.000000
[mkv] |   + Bit depth: 16
[mkv] |   + Channels: 2
[mkv] |  + Codec ID: A_PCM/INT/LIT
[mkv] |  + Language: und
[mkv] |  + Default duration: 31.250ms ( = 32.000 fps)
[mkv] | + a track...
[mkv] |  + Track number: 3
[mkv] |  + Track type: Audio
[mkv] |  + Audio track
[mkv] |   + Sampling frequency: 48000.000000
[mkv] |   + Bit depth: 24
[mkv] |   + Channels: 6
[mkv] |  + Codec ID: A_DTS
[mkv] |  + Language: und
[mkv] |  + Default flag: 0
[mkv] |  + Default duration: 10.667ms ( = 93.750 fps)
[mkv] Parsing chapters...
[mkv] New edition 0
[mkv] Default edition flag: 0
[mkv] |+ found cluster
[mkv] SeekHead position beyond end of file - incomplete file?
[mkv] All headers are parsed!
[demux] Detected file format: Matroska
[cplayer] Opening done: /Francis.mkv
[find_files] Loading external files in /

[cplayer] Running hook: ytdl_hook/on_preloaded
[cplayer] Run command: hook-ack, flags=0, args=[on_preloaded]
[cplayer]  (+) Video --vid=1 (*) (h264 1920x1080 25.000fps)
[cplayer]  (+) Audio --aid=1 (*) (pcm_s16le 2ch 48000Hz)
[cplayer]      Audio --aid=2 (dts 6ch 48000Hz)
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'x11probe'
[vo/gpu/x11] X11 opening display: :0.0
[vo/gpu/x11] X11 running at 1920x1080 (":0.0" => local display)
[vo/gpu/x11] Unknown wm type...
[vo/gpu/x11] Display 0 (HDMI-A-0): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu/opengl] GLX chose FB config with ID 0xad
[vo/gpu/opengl] GLX chose visual with ID 0x303
[vo/gpu/opengl] Creating OpenGL 4.4 context...
[vo/gpu] GL_VERSION='4.5 (Core Profile) Mesa 17.4.0-devel - padoka PPA'
[vo/gpu] Detected desktop OpenGL 4.5.
[vo/gpu] GL_VENDOR='X.Org'
[vo/gpu] GL_RENDERER='Radeon RX 550 Series (POLARIS12 / DRM 3.23.0 /
4.15.0-041500rc2-lowlatency, LLVM 6.0.0)'
[vo/gpu] GL_SHADING_LANGUAGE_VERSION='4.50'
[vo/gpu] Loaded extension GLX_SGI_swap_control.
[vo/gpu] Loaded extension GLX_MESA_swap_control.
[vo/gpu] Loaded extension GLX_SGI_video_sync.
[vo/gpu] Loaded extension GL_NV_vdpau_interop.
[vo/gpu] Testing FBO format rgba16
[vo/gpu] Resizing texture: 16x16
[vo/gpu] Using FBO format rgba16.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Loading hwdec driver 'vaapi-glx'
[vo/gpu/vaapi-glx/vaapi] libva: VA-API version 0.40.0
[vo/gpu/vaapi-glx/vaapi] libva: va_getDriverName() returns 0
[vo/gpu/vaapi-glx/vaapi] libva: Trying to open
/usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
[vo/gpu/vaapi-glx/vaapi] libva: Found init function __vaDriverInit_0_40
mesa: for the -simplifycfg-sink-common option: may only occur zero or one
times!
[vo/gpu/vaapi-glx/vaapi] libva: va_openDriver() returns 0
[vo/gpu/vaapi-glx/vaapi] Initialized VAAPI: version 0.40
[ffmpeg] AVHWDeviceContext: Unknown driver "mesa gallium vaapi", assuming
standard behaviour.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 25.000000
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening video decoder h264
[vd] Probing 'vaapi'...
[vd] Trying hardware decoding.
[vd] Selected video codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[ad] Codec list:
[ad]     pcm_s16le - PCM signed 16-bit little-endian
[ad] Opening audio decoder pcm_s16le
[ad] Requesting 1 threads for decoding.
[ad] Selected audio codec: pcm_s16le (PCM signed 16-bit little-endian)
[cplayer] Starting playback...
[af] Adding filter scaletempo
[af] Adding filter lavcac3enc
[af] Setting option 'tospdif' = 'yes' (flags = 0)
[af] Setting option 'bitrate' = '640' (flags = 0)
[af] Setting option 'minch' = '3' (flags = 0)
[af] Removing filter lavcac3enc
[af] Adding filter lavrresample
[lavrresample] Remix: stereo -> 7.1
[af] Audio filter chain:
[af]   [in] 48000Hz stereo 2ch s16
[af]   [scaletempo] 48000Hz stereo 2ch s16
[af]   [lavrresample] 48000Hz 7.1 8ch s16 [a]
[af]   [out] 48000Hz 7.1 8ch s16
[af]   [ao] 48000Hz 7.1 8ch s16
[af] Removing filter lavrresample
[af] Adding filter lavrresample
[lavrresample] Remix: stereo -> 7.1
[af] Moving up output conversion.
[lavrresample] Remix: stereo -> 7.1
[af] Audio filter chain:
[af]   [in] 48000Hz stereo 2ch s16
[af]   [lavrresample] 48000Hz 7.1 8ch s16 [a]
[af]   [scaletempo] 48000Hz 7.1 8ch s16
[af]   [out] 48000Hz 7.1 8ch s16
[af]   [ao] 48000Hz 7.1 8ch s16
[ao] Trying audio driver 'alsa'
[ao] Using preferred device 'hdmi:CARD=HDMI,DEV=3'
[ao/alsa] requested format: 48000 Hz, 7.1 channels, s16
[ao/alsa] using ALSA version: 1.1.3
[ao/alsa] opening device 'hdmi:CARD=HDMI,DEV=3'
[ao/alsa] trying format s16/2
[ao/alsa] Channel layouts:
[ao/alsa]  - stereo
[ao/alsa]  - 2.1
[ao/alsa]  - 3.0
[ao/alsa]  - 3.0(back)
[ao/alsa]  - quad
[ao/alsa]  - 3.1
[ao/alsa]  - 3.1(back)
[ao/alsa]  - 4.0
[ao/alsa]  - fl-fr-lfe-bl-br
[ao/alsa]  - 5.0
[ao/alsa]  - 4.1
[ao/alsa]  - fl-fr-bl-br-bc
[ao/alsa]  - 5.1
[ao/alsa]  - fl-fr-lfe-bl-br-bc
[ao/alsa]  - hexagonal
[ao/alsa]  - fl-fr-bl-br-sl-sr
[ao/alsa]  - 6.1(back)
[ao/alsa]  - fl-fr-lfe-bl-br-sl-sr
[ao/alsa]  - 7.0
[ao/alsa]  - 7.1
[ao/alsa] result: 7.1
[ao/alsa] Going to set final HW params:
[ao/alsa] ---
[ao/alsa] ACCESS:  RW_INTERLEAVED
[ao/alsa] FORMAT:  S16_LE
[ao/alsa] SUBFORMAT:  STD
[ao/alsa] SAMPLE_BITS: 16
[ao/alsa] FRAME_BITS: 96
[ao/alsa] CHANNELS: 6
[ao/alsa] RATE: 48000
[ao/alsa] PERIOD_TIME: (6666 6667)
[ao/alsa] PERIOD_SIZE: 320
[ao/alsa] PERIOD_BYTES: 3840
[ao/alsa] PERIODS: 17
[ao/alsa] BUFFER_TIME: (113333 113334)
[ao/alsa] BUFFER_SIZE: 5440
[ao/alsa] BUFFER_BYTES: 65280
[ao/alsa] TICK_TIME: ALL
[ao/alsa] ---
[ao/alsa] trying to set ALSA channel map: FL FR FC LFE RLC RRC RL RR
[ao/alsa] channel map reported by ALSA: FL FR FC LFE RLC RRC
[ao/alsa] which we understand as: fl-fr-fc-lfe-sdl-sdr
[ao/alsa] using the ALSA channel map.
[ao/alsa] hw pausing supported: yes
[ao/alsa] buffersize: 5440 samples
[ao/alsa] period size: 320 samples
[ao/alsa] device buffer: 5440 samples.
[ao/alsa] using soft-buffer of 9600 samples.
[cplayer] AO: [alsa] 48000Hz fl-fr-fc-lfe-sdl-sdr 6ch s16
[cplayer] AO: Description: ALSA audio output
[af] Removing filter lavrresample
[af] Adding filter lavrresample
[lavrresample] Remix: stereo -> fl-fr-fc-lfe-sdl-sdr
[af] Audio filter chain:
[af]   [in] 48000Hz stereo 2ch s16
[af]   [scaletempo] 48000Hz stereo 2ch s16
[af]   [lavrresample] 48000Hz fl-fr-fc-lfe-sdl-sdr 6ch s16 [a]
[af]   [out] 48000Hz fl-fr-fc-lfe-sdl-sdr 6ch s16
[af]   [ao] 48000Hz fl-fr-fc-lfe-sdl-sdr 6ch s16
[af] Removing filter lavrresample
[af] Adding filter lavrresample
[lavrresample] Remix: stereo -> fl-fr-fc-lfe-sdl-sdr
[af] Moving up output conversion.
[lavrresample] Remix: stereo -> fl-fr-fc-lfe-sdl-sdr
[af] Audio filter chain:
[af]   [in] 48000Hz stereo 2ch s16
[af]   [lavrresample] 48000Hz fl-fr-fc-lfe-sdl-sdr 6ch s16 [a]
[af]   [scaletempo] 48000Hz fl-fr-fc-lfe-sdl-sdr 6ch s16
[af]   [out] 48000Hz fl-fr-fc-lfe-sdl-sdr 6ch s16
[af]   [ao] 48000Hz fl-fr-fc-lfe-sdl-sdr 6ch s16
[vd] Pixel formats supported by decoder: vdpau vaapi_vld yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'vaapi_vld' from decoder.
[ffmpeg/video] h264: Reinit context to 1920x1088, pix_fmt: vaapi_vld
[vd] Using hardware decoding (vaapi).
[vd] Decoder format: 1920x1080 vaapi[nv12] auto/auto/auto/limited
CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000)
[vd] Using container aspect ratio.
[vf] Video filter chain:
[vf]   [in] 1920x1080 vaapi[nv12] bt.709/bt.709/bt.1886/limited SP=1.000000
CL=mpeg2/4/h264
[vf]   [out] 1920x1080 vaapi[nv12] bt.709/bt.709/bt.1886/limited SP=1.000000
CL=mpeg2/4/h264
[cplayer] VO: [gpu] 1920x1080 vaapi[nv12]
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] Resize: 1920x1080
[vo/gpu] Window size: 1920x1080
[vo/gpu] Video source: 1920x1080 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1080 -> (0, 0) 1920x1080
[vo/gpu] Video scale: 1.000000/1.000000
[vo/gpu] OSD borders: l=0 t=0 r=0 b=0
[vo/gpu] Video borders: l=0 t=0 r=0 b=0
[vo/gpu] Reported display depth: 8
[vo/gpu] Testing FBO format rgba16
[vo/gpu] Resizing texture: 16x16
[vo/gpu] Using FBO format rgba16.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] new shader program:
[vo/gpu] [  1] color.rgb = 1.000000 * vec4(texture(texture0, texcoord0)).rgb;
[vo/gpu] [  2] color = color.rgbr;
[vo/gpu] [  3] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[vo/gpu] [  4] color.a = 1.0;
[vo/gpu] [  5] // color mapping
[osd/libass] fontselect: (sans-serif, 400, 0) ->
/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
[cplayer] first video frame after restart shown
[cplayer] starting audio playback
[cplayer] playback restart complete
[statusline] AV: 00:00:00 / 02:56:35 (0%) A-V:  0.000
[vo/gpu/x11] Disabling screensaver.
[statusline] AV: 00:00:01 / 02:56:35 (0%) A-V:  0.000
...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 13132 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2017-12-05 14:31 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24 15:38 [Bug 101900] No HDMI audio on Polaris bugzilla-daemon
2017-07-24 15:39 ` bugzilla-daemon
2017-07-25 13:13 ` bugzilla-daemon
2017-07-25 18:56 ` [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) bugzilla-daemon
2017-08-09 19:16 ` bugzilla-daemon
2017-08-09 19:21 ` bugzilla-daemon
2017-08-09 19:29 ` bugzilla-daemon
2017-08-10 17:38 ` bugzilla-daemon
2017-08-10 18:04 ` bugzilla-daemon
2017-09-17 16:33 ` bugzilla-daemon
2017-10-12 21:49 ` bugzilla-daemon
2017-10-13 20:06 ` bugzilla-daemon
2017-12-05  9:52 ` bugzilla-daemon
2017-12-05 14:31 ` bugzilla-daemon [this message]
2017-12-05 14:33 ` bugzilla-daemon
2017-12-05 14:41 ` bugzilla-daemon
2017-12-07  9:01 ` [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) and static noise in sound when LPCM bugzilla-daemon
2017-12-19 16:10 ` bugzilla-daemon
2017-12-22  9:42 ` bugzilla-daemon
2017-12-22 13:31 ` bugzilla-daemon
2017-12-29  0:06 ` bugzilla-daemon
2018-01-11 21:09 ` bugzilla-daemon
2018-01-12 11:48 ` bugzilla-daemon
2018-01-12 14:04 ` bugzilla-daemon
2018-01-12 17:53 ` bugzilla-daemon
2018-01-12 17:55 ` bugzilla-daemon
2018-01-12 18:50 ` bugzilla-daemon
2018-01-21 19:43 ` bugzilla-daemon
2018-01-21 19:44 ` [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) bugzilla-daemon
2018-01-22  9:14 ` bugzilla-daemon
2018-01-22  9:15 ` [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) and static noise in sound when LPCM on amdgpu Xorg driver bugzilla-daemon
2018-01-22  9:55 ` bugzilla-daemon
2018-01-23 17:29 ` bugzilla-daemon
2018-01-23 17:33 ` bugzilla-daemon
2018-03-04 21:48 ` bugzilla-daemon
2018-03-05 18:45 ` bugzilla-daemon
2018-03-07 10:44 ` bugzilla-daemon
2018-03-07 18:53 ` bugzilla-daemon
2018-03-07 19:23 ` bugzilla-daemon
2018-03-07 19:40 ` bugzilla-daemon
2018-03-07 19:40 ` bugzilla-daemon
2018-03-07 20:39 ` bugzilla-daemon
2018-04-24 19:05 ` bugzilla-daemon
2018-06-26  9:27 ` bugzilla-daemon
2018-06-26 14:39 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-101900-502-4d85kgeZfk@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox