[TESTING] Kodi v19 builds for Vero 4K / 4K +

Can confirm that, good work!!

@tor.gunnar.berland any ideas on my memory issue.

I have reset my Kodi build on one of the Vero 4K+ and just added the Mysql connections in as well as the paths. The only additional Add-In is the Universal Movie Scraper but that’s it.

It still crashes on the Movies tab if I scroll around but if I go in via the Video option and then to my Movies share it is ok (it seems)

You wrote logs are not showing anything. Are that debug enabled logs?

Yes, that’s debug logs and component logs enabled.

Here is a log though from last night, unfortunately I had switched of debug mode at this point. It crashed around 4 times at just after 22:00 last night. I notice there a couple of warnings, do you think the issue could be with some ropey data coming back from mysql for some reason?

http://paste.osmc.io/ibomowuput.xml

That is only tmdb addon so should not be related. Anyhow suggest enable debug logging and also afterwards check the kodi.old.log
Best is just upload all logs vua MyOSMC directly after the crash

I think @sam_nazarko should look into this. It is new to this version, previous release version does not have these issues (I have around 10.000 movies on my system - no, I have not seen memory issues at all on release version).

@tor.gunnar.berland do you also see this or a similar issue?

Thanks @fzinken I will upload some logs later today when I get the chance.

Just to say I don’t have a crash issue with the PC version or Librelec version of this afaik.

@fzinken here is a more detailed debug log, also logging the SQL. This the old.log as the new one just starts up.

https://paste.osmc.io/orubahavak.xml

Any ideas, presumably whatever is eating the memory is starting before the end of the log. It doesn’t though start until I click on the Movies menu item and then as far as I can tell start going down the list and then stop.

So Kodi sadfaced at 21:21?
What is the kernel log showing?

OT for here I know but is anything on Youtube even in 4K? DD? Is there a recent guide to getting search on Youtube to use the API? I have not got this to work since I joined beta…

Yes, it crashes then. Didn’t grab the kernel log so not sure what that contains.

However what I did fine is it is something to do with this particular folder, which is in the logs I uploaded

I Give It A Year (2013)

If I rename the folder I don’t get a crash when I go into Movies or scroll around. It seems the MKV in question is the issue, not sure why though.

Tried cleaning the library and rescanning but same issue.

Yes, at least I had a demo in 4K HDR and DD. I think I searched for “Atmos” and that showed up.

For API Keys thsi should still work

1 Like

What are the mediainfo of the file?

Anything of note in here? It plays ok and has been in my library for quite some time.

General
Unique ID : 12345
Complete name : \path\I Give It A Year (2013).mkv
Format : Matroska
Format version : Version 2
File size : 7.65 GiB
Duration : 1 h 37 min
Overall bit rate : 11.2 Mb/s
Encoded date : UTC 2013-05-08 10:19:13
Writing application : mkvmerge v5.8.0 (‘No Sleep / Pillow’) built on Sep 2 2012 15:37:04
Writing library : libebml v1.2.3 + libmatroska v1.3.0
Attachments : meta

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 h 37 min
Bit rate : 9 724 kb/s
Width : 1 920 pixels
Height : 804 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.263
Stream size : 6.47 GiB (85%)
Writing library : x264 core 130 r2273 b3065e6
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=9724 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1 h 37 min
Bit rate mode : Constant
Bit rate : 1 510 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.03 GiB (13%)
Language : English
Default : Yes
Forced : No

Menu
00:00:00.000 : en:00:00:00.000
00:00:33.492 : en:00:00:33.492
00:10:28.169 : en:00:10:28.169
00:23:03.882 : en:00:23:03.882
00:34:08.588 : en:00:34:08.588
00:47:15.541 : en:00:47:15.541
01:00:37.092 : en:01:00:37.092
01:11:31.704 : en:01:11:31.704
01:20:38.250 : en:01:20:38.250

Hello, I have trouble on the latest updates with Live TV using VDR. Here are some few logs when I start a channel:

2021-07-06 11:03:08.041 T:3027  WARNING <general>: GetTagBetween: Got multiple tags. Picking up the first.
2021-07-06 11:03:14.742 T:2977     INFO <general>: Skipped 7 duplicate messages..
2021-07-06 11:03:14.742 T:2977     INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-07-06 11:03:14.743 T:2977     INFO <general>: CAESinkALSA::Initialize - Requested layout: FL, FR
2021-07-06 11:03:14.743 T:2977     INFO <general>: CAESinkALSA::Initialize - set digital_codec 0
2021-07-06 11:03:14.743 T:2977     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2021-07-06 11:03:14.758 T:2977     INFO <general>: CAESinkALSA::Initialize - Opened device "default"
2021-07-06 11:03:14.759 T:2977     INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-07-06 11:03:14.759 T:2977     INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
2021-07-06 11:03:14.760 T:2977     INFO <general>: CAESinkALSA::Initialize - speaker layout 0
2021-07-06 11:03:15.643 T:2841     INFO <general>: VideoPlayer::OpenFile: pvr://channels/tv/Alle%20kanaler/pvr.vdr.vnsi_1251700306.pvr
2021-07-06 11:03:15.645 T:3885     INFO <general>: Creating InputStream
2021-07-06 11:03:15.666 T:3885     INFO <general>: AddOnLog: pvr.vdr.vnsi: Logged in at '1625562196+7200' to 'VDR-Network-Streaming-Interface (VNSI) Server' Version: '1.8.0' with protocol version '13'
2021-07-06 11:03:15.677 T:3885     INFO <general>: Skipped 1 duplicate messages..
2021-07-06 11:03:15.677 T:3885     INFO <general>: Creating Demuxer
2021-07-06 11:03:17.008 T:3885     INFO <general>: Opening stream: 1180 source: 256
2021-07-06 11:03:17.008 T:3885     INFO <general>: [WHITELIST] Searching the whitelist for: width: 1280, height: 720, fps: 50.000, 3D: false
2021-07-06 11:03:17.011 T:3885     INFO <general>: Display resolution ADJUST : 3840x2160 @ 50.00 - Full Screen (16) (weight: 0.000)
2021-07-06 11:03:17.013 T:3885  WARNING <general>: OpenStream - Unsupported stream 1180. Stream disabled.
2021-07-06 11:03:17.013 T:3885     INFO <general>: Opening stream: 3312 source: 256
2021-07-06 11:03:17.013 T:3885     INFO <general>: Finding audio codec for: 86016
2021-07-06 11:03:17.013 T:3885     INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder mp2
2021-07-06 11:03:17.014 T:3885     INFO <general>: Creating audio thread
2021-07-06 11:03:17.014 T:3890     INFO <general>: running thread: CVideoPlayerAudio::Process()
2021-07-06 11:03:17.074 T:3885     INFO <general>: Opening stream: 1180 source: 256
2021-07-06 11:03:17.074 T:3885     INFO <general>: [WHITELIST] Searching the whitelist for: width: 1280, height: 720, fps: 50.000, 3D: false
2021-07-06 11:03:17.077 T:3885     INFO <general>: Display resolution ADJUST : 3840x2160 @ 50.00 - Full Screen (16) (weight: 0.000)
2021-07-06 11:03:17.091 T:3885     INFO <general>: CVideoPlayerVideo::OpenStream - Creating codec: 27
2021-07-06 11:03:17.093 T:3885     INFO <general>: DVDVideoCodecAmlogic: Opened Amlogic Codec
2021-07-06 11:03:17.093 T:3885     INFO <general>: Creating video thread
2021-07-06 11:03:17.094 T:3891     INFO <general>: running thread: video_thread
2021-07-06 11:03:17.094 T:3885     INFO <general>: Opening stream: 3312 source: 256
2021-07-06 11:03:17.099 T:3890     INFO <general>: Creating audio stream (codec id: 86016, channels: 2, sample rate: 48000, no pass-through)
2021-07-06 11:03:17.100 T:2977     INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-07-06 11:03:17.102 T:2977     INFO <general>: CAESinkALSA::Initialize - Requested layout: FL, FR
2021-07-06 11:03:17.102 T:2977     INFO <general>: CAESinkALSA::Initialize - set digital_codec 0
2021-07-06 11:03:17.102 T:2977     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2021-07-06 11:03:17.108 T:2977     INFO <general>: CAESinkALSA::Initialize - Opened device "default"
2021-07-06 11:03:17.109 T:2977     INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-07-06 11:03:17.109 T:2977     INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
2021-07-06 11:03:17.146 T:2977     INFO <general>: CAESinkALSA::Initialize - speaker layout 0
2021-07-06 11:03:17.586 T:2841     INFO <general>: Constructing CRendererAML
2021-07-06 11:03:17.628 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860544.030893
2021-07-06 11:03:17.629 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860544.430765
2021-07-06 11:03:17.630 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860543.828241
2021-07-06 11:03:17.632 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860544.220272
2021-07-06 11:03:17.643 T:2841     INFO <general>: [WHITELIST] Searching the whitelist for: width: 1280, height: 720, fps: 50.000, 3D: false
2021-07-06 11:03:17.646 T:2841     INFO <general>: Display resolution ADJUST : 3840x2160 @ 50.00 - Full Screen (16) (weight: -0.000)
2021-07-06 11:03:17.676 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860504.078998
2021-07-06 11:03:17.716 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860505.379289
2021-07-06 11:03:17.756 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860507.715963
2021-07-06 11:03:17.796 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860467.048599
2021-07-06 11:03:17.836 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860426.375676
2021-07-06 11:03:17.876 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860385.771637
2021-07-06 11:03:17.936 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860346.093235
2021-07-06 11:03:17.976 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860305.389012
2021-07-06 11:03:18.016 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860264.682005
2021-07-06 11:03:18.056 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860224.045741
2021-07-06 11:03:18.096 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860181.079615
2021-07-06 11:03:18.146 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860141.022093
2021-07-06 11:03:18.186 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860100.308732
2021-07-06 11:03:18.226 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860059.681525
2021-07-06 11:03:18.276 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23860019.511455
2021-07-06 11:03:18.316 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859978.797115
2021-07-06 11:03:18.356 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859938.191447
2021-07-06 11:03:18.396 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859897.521756
2021-07-06 11:03:18.436 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859856.839017
2021-07-06 11:03:18.476 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859816.174957
2021-07-06 11:03:18.516 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859775.479368
2021-07-06 11:03:18.576 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859735.801055
2021-07-06 11:03:18.616 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859695.136524
2021-07-06 11:03:18.656 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859654.448184
2021-07-06 11:03:18.696 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859613.797126
2021-07-06 11:03:18.736 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859573.151045
2021-07-06 11:03:18.776 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859532.483771
2021-07-06 11:03:18.816 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859491.825434
2021-07-06 11:03:18.856 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859451.191755
2021-07-06 11:03:18.916 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859411.484033
2021-07-06 11:03:18.956 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859371.133273
2021-07-06 11:03:18.997 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859329.894567
2021-07-06 11:03:19.037 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859289.713681
2021-07-06 11:03:19.080 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859248.709717
2021-07-06 11:03:19.117 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859208.167639
2021-07-06 11:03:19.166 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859167.973193
2021-07-06 11:03:19.206 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859127.346220
2021-07-06 11:03:19.256 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859087.173315
2021-07-06 11:03:19.296 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859046.523172
2021-07-06 11:03:19.336 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23859005.591288
2021-07-06 11:03:19.386 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23858966.052384
2021-07-06 11:03:19.426 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23858923.205206
2021-07-06 11:03:19.466 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23858880.529498
2021-07-06 11:03:19.496 T:2976  WARNING <general>: ActiveAE - large audio sync error: 23858837.897665
2021-07-06 11:03:19.539 T:3890    ERROR <general>: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer

If I leave it running for a while it suddenly gets audio sync and then it works, but this takes 4-5 minutes minimum. This started happening after an update the 4th or 5th of july.

  • 21/06/2021: HDR improvements, fix hang on exit.
  • 02/07/2021: VC-1 playback improvements, Live TV improvements
  • 05/07/2021: further VC-1 fixes

Can I revert to the previous version to test and see if it goes back to working again? Could it be related to the VC-1 changes?

Some stuff I have tested is to change the GUI resolution, no effect, and the audio passthrough, also no change. When I disable HW accel then audio works but I get some CPU issues on high-resolutions so it is not a workable solution, just a workaround.

Please let me know if I should create a separate discussion for this issue. :slight_smile:

No directly something jumping out

Do you mean a different test, sorry don’t quite follow?

No, I just meant I couldn’t see anything in the Mediainfo that would explain issues

1 Like

Ah ok thanks for your help so far.

Well having removed this particular file I will see if it eliminates the issues going forward. Just need to get the config back to the same as the other box and see.

Hi, yes it could be related to the VC-1 fixes. Can you turn on and post debug logs (especially the video debug and a/v sync timing log messages) and then reproduce that issue?

1 Like