Crashing on 1080 x265 HEVC, and 4K HDR Atmos Content

Hi

I’ve been long experiencing issues with content ( it appears I made this bad thread a while back ) that just brings my N2+ to a standstill.

The N2+ is stock, as is, from odroid UK, same PSU, and the CoreElec SD image accordingly.

I’ve raised this on the odroid forums just now, and thought it a good idea to raise it here, too.

I’ve no idea if this is related to the issues described in this high bitrate thread (7569), but they persisted even after an upgrade to 19.3.

Essentially, I will start a 4K UHD HDR ( normal, 10, or 10+ ) file with Atmos sound, and despite being set for passthrough, the device starts the audio in PCM. Further more, it stutters like crazy, then the whole device grinds to a standstill.

This occurs if the file is local or networked. The file plays back fine on a 2015 Shield, or (within reason) a PC, using the same network and/or HDMI cables or others, sometimes at very long distance. Other than the obvious audio differences no change if connected via the AVR or directly to the TV.

I’m wondering exactly what could be causing this. Some folks elsewhere have indicated that this might be a power issue. Some of the errors in the log show memory allocation errors, is the RAM dying, or could power delivery cause that to happen? Or perhaps SD corruption? I dunno.

This happened pre and post an update to 19.3, and that even ripped out all my add-ons for further removal of influences.

Here’s excerpts (too long a post) from a log, lemme know if something more relevant is required, full log is in odroid post.

################################################################################
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0xef7fe380 (LWP 4789))]

Thread 3 (Thread 0xe07d8380 (LWP 4829)):
#0  __GI___poll (timeout=-1, nfds=2, fds=0xf002c970) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xf002c970, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xf76d6da4 in ?? () from /usr/lib/libavahi-common.so.3
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xf2480280 (LWP 4767)):
#0  0xf76778b0 in __GI___pthread_timedjoin_ex (threadid=4018135936, thread_return=0xffe31d54, abstime=<optimized out>, block=<optimized out>) at pthread_join_common.c:84
#1  0xf3e6bb12 in ?? () from /usr/lib/libGLESv2.so.2
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xef7fe380 (LWP 4789)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0xf3a2c260 in __GI_abort () at abort.c:79
#2  0xf3a78d54 in __libc_message (action=action@entry=do_abort, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:181
#3  0xf3a7f588 in malloc_printerr (str=<optimized out>) at malloc.c:5352
#4  0xf3a7ff54 in malloc_consolidate (av=av@entry=0xf3b4c7d4 <main_arena>) at malloc.c:4501
#5  0xf3a812dc in _int_free (av=0xf3b4c7d4 <main_arena>, p=0x2ab97a8, have_lock=<optimized out>) at malloc.c:4408
#6  0xf3a847dc in tcache_thread_shutdown () at malloc.c:2977
#7  __malloc_arena_thread_freeres () at arena.c:950
#8  0xf3a87ae8 in __libc_thread_freeres () at thread-freeres.c:38
#9  0xf767638c in start_thread (arg=0xef7fe380) at pthread_create.c:500
#10 0xf3ae3348 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /usr/lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
############# END STACK TRACE ###############
2021-12-08 21:46:18.085 T:4064805504   DEBUG: CSkinSettings: no <skinsettings> tag found
2021-12-08 21:46:18.085 T:4064805504 WARNING: CSettingsManager: missing version attribute
2021-12-08 21:46:18.181 T:4064805504   ERROR: DBus error: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
2021-12-08 21:46:18.544 T:4064805504   ERROR: GetString: error reading /sys/class/amhdmitx/amhdmitx0/custom_mode
2021-12-08 21:46:19.044 T:4064805504 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
2021-12-08 21:48:20.897 T:4064805504  NOTICE: Quitting due to POSIX signal
2021-12-08 21:48:23.643 T:4064805504    INFO: ADDON: cpluff: 'An unreleased information object was encountered at address 0x195d1c0 with reference count 1 when destroying the associated plug-in context. Not releasing the object.'
2021-12-08 21:48:23.946 T:4064805504  NOTICE: XBApplicationEx: application stopped!
2021-12-08 21:46:18.260 T:4064805504   ERROR: GetString: error reading /storage/.kodi/userdata/disp_cap
2021-12-08 21:46:18.267 T:4064805504   ERROR: GetString: error reading /sys/class/amhdmitx/amhdmitx0/custom_mode
2021-12-08 21:46:18.267 T:4064805504   ERROR: GetString: error reading /storage/.kodi/userdata/disp_add
2021-12-08 21:46:18.267 T:4064805504   ERROR: GetString: error reading /run/disp_add

Hope that y’all can help … as I’m not sure really what or where to look for help on this.

If it makes any difference, CEC stopped working on this a billion years ago. :sweat_smile:

MMM

Here’s the audio section, which seems OK?

2021-12-08 21:46:18.234 T:4044534656 WARNING: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail
2021-12-08 21:46:18.236 T:4044534656  NOTICE: Found 2 Lists of Devices
2021-12-08 21:46:18.236 T:4044534656  NOTICE: Enumerated ALSA devices:
2021-12-08 21:46:18.236 T:4044534656  NOTICE:     Device 1
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceName      : @
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayName     : Default (AML-AUGESOUND Analog)
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayNameExtra: PCM
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_channels        : FL, FR, LFE, FC, BL, BR, BLOC, BROC
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-12-08 21:46:18.236 T:4044534656  NOTICE:     Device 2
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceName      : sysdefault:CARD=AMLAUGESOUND
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayName     : AML-AUGESOUND
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayNameExtra: PCM
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_channels        : FL, FR
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-12-08 21:46:18.236 T:4044534656  NOTICE:     Device 3
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceName      : surround71:CARD=AMLAUGESOUND,DEV=0
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayName     : AML-AUGESOUND
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayNameExtra: HDMI Multi Ch PCM
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_channels        : FL, FR, LFE, FC, BL, BR, BLOC, BROC
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_streamTypes     : No passthrough capabilities
2021-12-08 21:46:18.236 T:4044534656  NOTICE:     Device 4
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceName      : iec958:CARD=AMLAUGESOUND,DEV=0
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayName     : AML-AUGESOUND
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayNameExtra: S/PDIF
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_channels        : FL, FR
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_dataFormats     : AE_FMT_RAW,AE_FMT_S16NE,AE_FMT_S16LE
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2021-12-08 21:46:18.236 T:4044534656  NOTICE:     Device 5
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceName      : hdmi:CARD=AMLAUGESOUND,DEV=0
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayName     : AML-AUGESOUND
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayNameExtra: HDMI
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_channels        : FL, FR, BL, BR, FC, LFE, SL, SR
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
2021-12-08 21:46:18.236 T:4044534656  NOTICE: Enumerated PULSE devices:
2021-12-08 21:46:18.236 T:4044534656  NOTICE:     Device 1
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceName      : Default
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayName     : Default
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_displayNameExtra: Bluetooth Audio (PULSEAUDIO)
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_channels        : FL, FR
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
2021-12-08 21:46:18.236 T:4044534656  NOTICE:         m_streamTypes     : No passthrough capabilities

Do not try to upgrade and uninstall addons.
Try again with a fresh clean 19.3 install without any addons installed.

Do not post just some lines of the log, a full log is required.
Depends what crash a dmesg log or kodi.log (started in debug mode).

First try without any modification with a new install by the 19.3 Odroid N2 img.gz.

Hi, @Portisch, thanks for the advice! :slight_smile: I’ll try a fresh install of 19.3 today, and I’ll turn logging on from the start.

Three things, though:

  1. It’s a bit late to ‘not try to upgrade’ as it has already happened.
  2. I did not have a choice about uninstalling addons, the system did that automatically.
  3. I will always remove library, file, and network identifying data from logs, they are not required for fault finding. I have detailed the file information, it behooves me not to invent that.

I will try to find appropriate test files from dolby, and then obfuscate network details, though.

OK, more logs edited into the thread on odroid. The key things that appear to resemble the issue were:
A (perhaps uncaught by logs) time where a local test file kept buffering (a coreelec swirling thing).
When I switched the refresh rate to match the screen’s refresh rate, the screen started blinking after playing a blu-ray rip. Lowering that to 23.497 (or whatever it is) stopped that from happening.

That second one was akin to the issue that I saw previously whilst actually playing files, even with the refresh at its lowest (plugged into either TV or AVR).

One question I’ll bring in from the odroid forum:
Is there a way that I can test the power to the device in the OS?


EDIT 1 - Further Troubles and Troubleshooting Enquires

I’ve had more issues, with full uhd Blu-ray rips, remuxes, and still some h.265 1080p content that plays fine on the LG B7 native player won’t run on this more powerful hardware. Which really troubles me. As well were okay before, and they no longer are, and this is a fresh coreelec build on the sdcard.

I’ll continue to try new HDMI routing, I’ve found some thick Amazon, high speed, C3 cables. They’re not certified 48gbps like my favoured ones, but they’re solid 18gbps Amazon, so they should be okay for this.

I’m wondering if there are issues with power of the HDMI timing of circuitry … but I don’t know how or what to test that with.

BTW, I can’t test from a USB3.0 SSD, or emmc, as I don’t have an available option for that. However, I’ve played back high bitrate stuff on this before, even over the gigabit LAN from a mechanical drive on the server pc, and it’s been fine before. I’m not sure what’s holding us back here.

Are there coreelec trouble shooting add-ons, maybe? Maybe for HDMI, or power draw, testing? SdCard degradation?

I am wondering if this is related to the issues that @discODon99 is having here, or that have been discussed in this long thread (which may have seen some progress in 19.3, here.


EDIT 2 - Odroid UK PSU

Is it possible that I’ve got the same barely passable PSU as @flappy81 reported a couple of years back, here?

Could a 1.5A PSU not be able to push enough power to the board to capable do what it needs to do?

I use 2A PSA (N2 & N2+)
HDMI cable from amazon
Movies are stored on QNAP NAS
Wired LAN 1Gb
CE 13 stored on eMMC
N2(+) connected to AVR

Playing all files, 1080px265 HDR, 4kHDR, 1080px264, 720px264 …
I don´t believe it´s any software bug, You have to search at Your side(cable, PSU etc.)

1 Like

Hi, @Tim_Taylor, thanks for responding!

Yeah, I don’t think it’s software, but I had to list it, just in case.

As I see it, the only confirmed difference we have is that you’re running on an eMMC, and I’m on SD. So there’s potentially differences there, but it should be fine, as the SD isn’t exactly doing any heavy lifting, right?

However, I’ll check that PSU.

How are you on full Blu-Ray remuxes, either local (usb3) or networked?

My daily driver is running on eMMC
But I used some SD in the past.
There are three primary criteria:

  1. PSU
  2. HDMI cable
  3. LAN infrastructure - cable, router, switch etc.
1 Like

Thanks, yeah, I’m 95% sure the HDMI is ok, but I’m going to test the two C3 cables I found on both the new+ and on the AVR ARC connection as well. I’ll ensure that I try this with the same files over gigabit LAN and local HDD.

I’ll try a modern film, with all the trimmings (maybe try a Dolby Vision / HDR10 hybrid) and I’ll also try my freshly remuxed Lawrence Of Arabia 4K, a near 100GB file to push things! :smirk:

I’m using an Onkyo 646, but have also tried with another capable AVR sitting nearby.

The me+ and the server are connected to the same unmanaged gigabit switch, samba and windows networking are aligned just fine, whether one is connected to a VPN or not.

I’m wondering if I should consider using separate interfaces on the server for:

  1. media shares (n2+, Nvidia shield, PC s, etc)
  2. general networking (internet, etc)

Could drive accessing by more than one source at a time cause issues like these? Should I duplicate shares for differing purposes and or multiple devices?

About | FAQ | Terms of Service | Privacy Policy | Legal Notice