You are not logged in.

#1 2014-07-04 19:13:00

hoybach
Member
Registered: 2014-07-04
Posts: 1

XBMC: HDMI audio starts out OK, then gets distorted after few minutes

Hi,

I have posted about this on the XBMC forums, but one of the developers kindly informed me that they do not support XBMC on Arch Linux in any way, so I should take my queries elsewhere. I am hoping that someone here might be able to shed some light on my issue.

I am trying to use XBMC 13.1 (xbmc-13.1-2) with Samsung EH5300 32" Smart TV (2013 model) over HDMI connection. The HTPC computer is AMD-based (AMD A4-5300 APU, which includes Radeon HD 7480D GPU), and runs an up-to-date Arch Linux (last full system upgrade on 2014-06-26). I am using the open source "radeon" driver (xf86-video-ati-1:7.3.0-1). Everything has been great except the sound:

The sound starts out fine, but a few minutes later it begins to get distorted. At first it sounds like reverb affecting voice only, but with time the distortion increases until it sounds kind of cued TV noise. If I restart the video, the sound works again for a while. If I change options in Settings -> System -> Audio Output, like the number of channels or pass-through, the sound is again good for a little while. If I enable or disable "Stereo Upmix" or change audio stream from the "Audio - Settings" dialogue window available during video playback, it too seems to "reset" the sound to sounding normal for a while.

Has anyone seen something like this?

I have tried different videos, and it seems like HD videos are affected more than SD videos, starting with distortions only a few minutes in (except the one Xvid video, which was fine for 15 minutes). Some SD videos are completely fine, some start having distortion issues only after 20 minutes or so. Judging from video information, if the video uses 5.1 channels (all HD videos fall in this category), it definitely gets distorted; if a video only uses 2.0 channels (like the SD videos), some are fine while others get distortion later on. I have "Number of channels" in Audio Output settings set to 2.0. Changing this (or any other audio settings) has not affected the distortion.

Following Arch Wiki: Radeon note about HDMI audio, I tried adding radeon.audio=1 to the kernel line; this did not solve the issue, just added some visual glitches.

In the XBMC debug log I posted, the distortions happen at around 17:26, though there is absolutely nothing logged at that time, even though I enabled "Verbose logging of AUDIO component" in the Debugging settings. The video I was playing there showed the following in the information window: 720 H.264 dts 5.1 16:9.

Any suggestions, ideas, or experiences would be appreciated. It definitely seems to be XBMC issue, since I was able to play the same HD video through mplayer without any problems (for at least half an hour, which would have already showed distortions several times through XBMC).

Offline

Board footer

Powered by FluxBB