Summary: | HDMI passthrough of TrueHD/DTS-HD audio fails at modes lower than 60hz | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Cincho | ||||||||||||||||
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> | ||||||||||||||||
Status: | RESOLVED MOVED | QA Contact: | |||||||||||||||||
Severity: | normal | ||||||||||||||||||
Priority: | high | CC: | domi.dumont, f.gorzialka, francesco.borromini, fritsch, Jan.kruijdenberg, jan.schroeter, jira, jvisser3, msc+freedesktop.org, rob, snakekick | ||||||||||||||||
Version: | unspecified | ||||||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||||||
OS: | Linux (All) | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||||
Attachments: |
|
Description
Cincho
2014-02-16 20:30:50 UTC
Created attachment 94176 [details]
dmesg
Created attachment 94177 [details]
aplay
I have saved Xrandr log of stable OE 3.2.4 Generic with fglrx driver it this helps. I have the same issue with a RADEON HD6450. HD audio cannot be played back in 24p mode, but with 60Hz it is possible(Kernel 3.14, Openelec 3.95.6). My receiver plays the HD audio fine using either Windows or playback over an attached Bluray player. same for me: I tried every nightly since openelec 4.0 official and had no luck, yet. My config (in short): AMD Kabini System, Asus AM1M-A Board, HDMI --> Pioneer SC-2022 AVR --> LG 50PZ570S TV I can play hd-audio @60H but with massive stuttering and crackling! everything below works right, except fpr hd-audio. For the moment I use PCM for everything, just to not lose any sound-information. wonder if this issue can be fixed, looks like the best option is to kickout my amd stuff and get something that has more support beeing locked at 60Hz is useless when you want to watch stutter/drop free blu-rays Is this still an issue with a newer kernel? A bunch of patches to fix 24p audio went in a while ago. Created attachment 107234 [details] OpenELEC debug logs I was redirected to this issue from: https://github.com/OpenELEC/OpenELEC.tv/issues/3320 This bug still seems to be a problem although I'm not sure if OpenELEC 4.2.0 has included the 24p fixes you mentioned. I recently bought a Gigabyte Brix with an AMD A8-5545 APU (A8 was listed as supported on the OpenELEC site so felt safe to buy this one). I cannot get HD audio passthrough to work correctly in 24fps. In 24fps mode I have no audio at all. In 60fps mode I sometimes have audio with passthrough detected by the receiver but most of the time the video plays too fast, skips frames and has no audio. I have attached OpenELEC debug logs (added drm.debug=0xe to /flash/extlinux.conf). If there are more files you need please tell me, I will provide them. Still a problem for me with Ubuntu 3.16 kernel. Very occasional pops and cracking at 60P for TrueHD and DTS-HDMA and no sound at all for 24/50P. Other sources work OK. I also have the same problem with HD Audio popping and clipping. I'm running a Denon X4100W, Xubuntu 14, ALSA, and I've tried different combinations of the following: XBMC Gotham and Kodi, kernels 3.13 and 3.16.7, Radeon OSS drivers and AMD Omega 14.12 drivers. I've tried different HDMI cables and disabling CEC on my Denon receiver and TV. When I play the same videos through my Windows 7 Kodi machine and Denon receiver, I do not have any problems with HD Audio popping and clipping. This leads me to believe there's a problem either with the Linux kernel or Kodi mainline for Linux. hi, well ME TOO .... I have a brand new asrock qc 5000 with the A4-5000 ---» HDMI and Onkyo TX NR-626 receiver, i have slow motion picture and crack´s ( sound bug )in the sound. Created attachment 111725 [details]
Kodi 14 debug log with Dolby TrueHD/DTS-HD MA audio
Having a similar problem here, Gigabyte Brix GB-BXA8-5545 (A8 5545M APU), connected through my Yamaha RX-V1071 to a Sony KDL-52NX800. Both HDMI connections. I have two test files - one for DTS-HD MA, one for Dolby TrueHD. I can upload those as well if necessary.
Video is 23,976 Hz, audio DTS-HD MA and Dolby TrueHD. Playing those files will give no audio (amp supports both formats, but it shows 'analog' where it should show the format).
With video forced at 60 Hz refresh rate, the amp displays both formats correctly on its info screen and audio plays back correctly for both test files.
Thanks for looking into this.
I am having the same issue with a Zotac CA320 box with AMD-APU A6-1450. There are several others experiencing same problem, as noted in this forum post: http://openelec.tv/forum/68-audio/74105-onkyo-nr-636-audio-issue?start=15#128567 Hello I have a similar issue with Kodi 14.1 on Debian/unstable with kernel 3.19 and radeon caicos. Do you need more information to help diagnose this bug ? Note that I'm willing to test kernel patches (or xorg patches) to help fix this problem. Feel free to ask. All the best Issue with HD audio is still present with kernel 4.0.2-1 on Debian unstable: HD stream is not decoded for refresh rate < 60Hz. All the best Same issue in my case. I run OpenELEC 5.95.5 on a AMD 5350 CPU and Asrock AM1b-ITX mobo. My receiver is an Onkio TX-SR508 with 7.1 speakers. I had a Popcorn Hour Mediaplayer before that played DTS-HD Master audio without a single problem. With Kodi I am able to use DTS-HD passthrough only on 60Hz but with loud cracks and audio gaps. I guess that the audio resync causes my Onkio to make the sound. The display stays shows DTS-HD-MSTR without interruption. When I set Kodi to pass the same FrameRate (23.976Hz) there is no sound (Onkio displays PCM mode), only at 60Hz there is audio. I tried many settings and different Kodi installations all on Linux but without success. I hope it can be fixed so I can enjoy 7.1 sound. Anyone more suggestions? Regards, Jan. In addition to my previous report, the url to the Kodi log file. The kodi logfile does not help here. If something help try to boot with drm.debug=0xe and check if you get Audio / Display Sync related messages and post those. Created attachment 118720 [details]
Log File with DRM.debug=0xe
Hi Peter,
Thanks a lot for your reply.
Attached the requested log file.
Kind regards, Jan.
I just tested Kodi on Wind0ws 10 on the exact same HW configuration and enjoyed perfect DTS-HD Master 7.1 sound without gaps and clicks and 24P video. I wanted to exclude the chance that my HTPC, cables receiver or TV are the troublemakers and know now these are all fine. Wind0ws is not an option for my HTPC; I really prefer OpenELEC but hope I can contribute a little with my troubleshooting and feedback... Regards, Jan. I've retried with kodi 15.1 and linux 4.2.0-1 on Debian/sid amd64 There are some progress: I managed to get Dolby TrueHD somewhat working at 29.98 FPS by: - booting with kodi set to 60 FPS - start the movies, Dolby TrueHD plays fine - pause kodi - switch to 24 FPS - resume movie. Dolby TrueHD plays with some dropouts If my machine boots with kodi set to 24FPS, my Yamaha amp does not detect a stream until kodi is switched to 60 FPS. I've also setup "options drm debug=0xe" in modprobe.conf to get the required debug logs. I don't think they contain anything relevant. There's no trace of Audio or sync problems. Only a lot of lines like: [ 738.286556] [drm:radeon_crtc_page_flip] flip-ioctl() cur_rbo = ffff88012984c000, new_rbo = ffff8800c9e42000 [ 738.303272] [drm:drm_mode_addfb2] [FB:57] And some mentions of switching power states when I start and stop movies. Feel free to contact me if you want more information. Hope this helps On the other hand, I may be completely wrong. xrandr does not match the FPS shown by kodi: $ xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 16mm x 9mm 1920x1080i 50.00 + 60.00 59.94 1920x1080 60.00* 50.00 59.94 24.00 23.98 2880x576 50.00 Sorry about the noise. This issue is still there with the latest OpenElec version. In Windows 10 on the same HW the issue is not there, audio and video is as expected. Is there any chance this issue will be solved in future releases or is there anything I can do to help troubleshoot? Please advice. Kind regards, Jan. Hi Unfortunately, the issue is still present with kernel 4.5.0 (on Debian unstable with kodi 16). Is there anything I can do to help ? All the best Still an issue with Linux 4.12.3 and radeon driver where passthrough of Dolby TrueHD or DTS-HD MA at modes lower than 60Hz results in no audio signal reported by AV amplifiers. While can at least decode both to raw PCM output in Kodi by disabling passthrough it would still be nice to fix bug and offload the processing to AV amplifier. Created attachment 137472 [details]
kernel 4.15.rc8 log with drm.debug=0xe and non-working dts-hd
Hello
Unfortunately, DTS_HD still does not owrk with kernel 4.1.5.rc8.
I've attached a complete kernel log done with drm.debug=0xe
While playing (silently) a DTS_HD file with kodi, the kernel logged a lot of lines like:
[drm:radeon_crtc_page_flip_target [radeon]] flip-ioctl() cur_rbo = 0000000026ca5fac, new_rbo = 00000000696c7c9c
Is this log enough to progress or do you need more logs with other debug parameters ?
All the best
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/438. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.