Kodi Community Forum

Full Version: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495
(2017-08-29, 08:59)Milhouse Wrote: [ -> ]Yes, ssh/ftp will be fixed tonight

Edit: when ssh/ftp isn't working there have be an error in the kodi.log, would be helpful if someone posted a log to confirm.


Ok, it works again. I have looked into the settings and had seen that ssh was disabled. After activating everything works.
(2017-08-29, 09:04)Aux_ Wrote: [ -> ]
(2017-08-29, 08:59)Milhouse Wrote: [ -> ]Yes, ssh/ftp will be fixed tonight

Edit: when ssh/ftp isn't working there have be an error in the kodi.log, would be helpful if someone posted a log to confirm.


Ok, it works again. I have looked into the settings and had seen that ssh was disabled. After activating everything works.

I got also good. Thank you.
Bug report #1

Audio goes out of sync when transcoding to AC3.

Last working version #0409, first broken version #0410.

Step to reproduce:

Downloaded the Kodi provided sample "4. MVC 3D ISO Sample #4 for Proper Lip-synch & Clean Graphics Render Verification (1080p/23.976)".
https://drive.google.com/file/d/0BwxFVkl...sp=sharing

Extracted "BDMV/STREAM/00000.m2ts" as "Ant-Man DTS.m2ts"
Converted "Ant-Man DTS.m2ts" to AC3 using tsMuxeR and eac3to as "Ant-Man AC3.m2ts"

Clean Kodi profile with the following changes from default.

Player settings > Videos > Adjust display refresh rate > On start / stop
System settings > Audio > Allow passthrough > On
System settings > Audio > - Enable Dolby Digital (AC3) transcoding > On

Tested again with the follwing additional changes.

Player settings > Videos > Sync playback to display > On
System settings > Audio > PLL adjustment to maintain audio/video sync > Low

Mostly this can be observed after skipping in the file, occasionally it is out of sync from the start.

LibreELEC v8.0.2

1 v802.ac3.play.log http://sprunge.us/JCdi
2 v802.ac3.skip.log http://sprunge.us/TPTK
3 v802.dts.play.log http://sprunge.us/HOeO
4 v802.dts.skip.log http://sprunge.us/FiCE

5 v802.sync.ac3.play.log http://sprunge.us/DNcE
6 v802.sync.ac3.skip.log http://sprunge.us/NNfG
7 v802.sync.dts.play.log http://sprunge.us/GMOM
8 v802.sync.dts.skip.log http://sprunge.us/LZQM

Milhouse-9.0 #0409

1 0409.ac3.play.log http://sprunge.us/KDUh
2 0409.ac3.skip.log http://sprunge.us/LgXC
3 0409.dts.play.log http://sprunge.us/NQJG
4 0409.dts.skip.log http://sprunge.us/DcjN

5 0409.sync.ac3.play.log http://sprunge.us/TQQc
6 0409.sync.ac3.skip.log http://sprunge.us/FVRB
7 0409.sync.dts.play.log http://sprunge.us/SWPT
8 0409.sync.dts.skip.log http://sprunge.us/CJLe

Milhouse-9.0 #0410

1 0410.ac3.play.log http://sprunge.us/ghai
2 0410.ac3.skip.log http://sprunge.us/RLJR
3 0410.dts.play.log http://sprunge.us/eRNS
4 0410.dts.skip.log<<<BAD SKIP http://sprunge.us/hIbQ

5 0410.sync.ac3.play.log http://sprunge.us/HWOI
6 0410.sync.ac3.skip.log http://sprunge.us/SgLQ
7 0410.sync.dts.play.log http://sprunge.us/TVRK
8 0410.sync.dts.skip.log<<<BAD SKIP http://sprunge.us/DTRa

Milhouse-9.0 #0810

1 0810.ac3.play.log http://sprunge.us/iKMG
2 0810.ac3.skip.log http://sprunge.us/LHWR
3.1 0810.dts.play.log http://sprunge.us/geHH
3.2 0810.dts.play.bad.log<<<BAD START http://sprunge.us/BCfC
4 0810.dts.skip.log<<<BAD SKIP http://sprunge.us/PfMc

5 0810.sync.ac3.play.log http://sprunge.us/CHLZ
6 0810.sync.ac3.skip.log http://sprunge.us/aNfi
7 0810.sync.dts.play.log http://sprunge.us/CKBV
8 0810.sync.dts.skip.log<<<BAD SKIP http://sprunge.us/XaSO

Milhouse-9.0 #0817

1 0817.ac3.play.log http://sprunge.us/DPIV
2 0817.ac3.skip.log http://sprunge.us/IWLN
3.1 0817.dts.play.log http://sprunge.us/dTHA
3.2 0817.dts.play.bad.log<<<BAD START http://sprunge.us/cTLY
4 0817.dts.skip.log<<<BAD SKIP http://sprunge.us/GMNU

5 0817.sync.ac3.play.log http://sprunge.us/FfRN
6 0817.sync.ac3.skip.log http://sprunge.us/XdJi
7 0817.sync.dts.play.log http://sprunge.us/TDSH
8 0817.sync.dts.skip.log<<<BAD SKIP http://sprunge.us/bcgj

Milhouse-9.0 #0818

1 0818.ac3.play.log http://sprunge.us/VcUL
2 0818.ac3.skip.log http://sprunge.us/gRdg
3.1 0818.dts.play.log http://sprunge.us/eTVY
3.2 0818.dts.play.bad.log<<<BAD START http://sprunge.us/dYPT
4 0818.dts.skip.log<<<BAD SKIP http://sprunge.us/GjLZ

5 0818.sync.ac3.play.log http://sprunge.us/ZXcP
6 0818.sync.ac3.skip.log http://sprunge.us/KBPB
7 0818.sync.dts.play.log http://sprunge.us/jhOZ
8 0818.sync.dts.skip.log<<<BAD SKIP http://sprunge.us/EMAX


Bug report #2


After #0424 the PlayerDebug overlay no longer displays the audio "err" value it is always "0.0ms".

LibreELEC_0424_playerdebug_err_cropped
Image

LibreELEC_0425_playerdebug_err_cropped
Image

After #0817 the PlayerDebug overlay often displays the audio "rr" value as "inf".

LibreELEC_0818_playerdebug_err_cropped
Image
Noticed another bug when playing HEVC 10-bit videos. When a HEVC10 video ends and the next HEVC10 automatically starts to play - there is a black screen and no audio. However, if I manually skip to a next video - it plays normally.
New LibreELEC.tv Leia build #0829: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.12.9 #1 Tue Aug 29 21:04:38 BST 2017 armv6l GNU/Linux

# vcgencmd version
Aug 22 2017 14:20:40
Copyright (c) 2012 Broadcom
version eb51b8b84ec11d98562dfbb7be53cdd216c0ea4c (clean) (release)

# lsb_release
LibreELEC (Milhouse): devel-20170829210331-#0829-gdf8cbaf [Build #0829]

# Kodi version
(18.0-ALPHA1 Git:9d97ef9). Platform: Linux ARM 32-bit

Based on tip of LibreELEC.tv master (df8cbaf, changelog) and tip of XBMC master (9d97ef9, changelog) with the following modifications:
  • Includes newclock5 patches
  • Excludes the LibreELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-4.12.y
  • Includes latest bcm2835-driver master (7f7df25)
  • Includes latest kodi-platform master (36fb493)
  • Includes latest libcec master (8adc786, ahead +26)
  • Includes latest libnfs master (df94ae9, ahead +56)
  • Includes latest p8-platform master (a822e19)
  • Includes latest addons: inputstream.adaptive (850f679, +65), inputstream.rtmp (e094fa3, +1), peripheral.joystick (cc14287, +3), pvr.argustv (23cc0e8, +1), pvr.demo (122dedd, +3), pvr.dvblink (816f90c, +6), pvr.dvbviewer (8741c8b, +10), pvr.filmon (34dca04, +1), pvr.hdhomerun (ace19fa, +17), pvr.hts (53118d8, +3), pvr.iptvsimple (ac4f4bd, +7), pvr.mediaportal.tvserver (69afb53, +14), pvr.mythtv (b46e5be, +2), pvr.nextpvr (a855663, +1), pvr.njoy (99874de, +1), pvr.octonet (a77cf11), pvr.pctv (549f690, +1), pvr.stalker (e15edca, +2), pvr.vbox (b5da811, +1), pvr.vdr.vnsi (7e6e385, +2), pvr.vuplus (9bfd868, +7), pvr.wmc (d820bf8, +1)
  • Include [env] compare: kodi: updates for September
  • Include [env] patch: libcec: don't link non-existant libtinfo
  • Include [env] patch: rev hack for kodi
  • Include [env] patch: tvheadend42: fixup ffmpeg patch
  • Include [env] patch: tvheadend42: add bzip dependency when transcoding
  • Include [env] patch: inputstream.adaptive: don't build it twice...
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.* and os.*
  • Include [env] patch: Add kodi binary addons (pvr, adsp, inputstream, vfs, other)
  • Include [env] patch: pvr addons: disable broken addons
  • Include [env] PR:1773: init: make break after behaviour really break after
  • Include [env] PR:1776: Don't cause system to hang on halt/reboot when net-booting
  • Include [env] PR:1791: nss/nspr: include in main image [rfc]
  • Include [env] PR:1835: add support for optional kernel modules in image and from addons
  • Include [env] PR:1917: linux: enable ftrace
  • Include [env] PR:1918: Package Updates: intel-vaapi-driver, libva and libva-utils to 1.8.3
  • Include [env] PR:1919: samba: don't restart smbd in samba-autoshare
  • Include [env] PR:1922: brcmfmac_sdio-firmware-rpi: Consolidate firmware files
  • Include [env] PR:1923: mesa: update to 17.2.0-rc5
  • Include [pkg] patch: skin.estuary: reduce system info font size (kodi)
  • Include [pkg] PR:12311: FIX: ensure real filename from videodb in playlists
  • Include [pkg] PR:12710: [DemuxClient] transport flags
Build Highlights:
  1. Fix ssh breakage after samba workgroup/min/max change
Build Details:
  1. LibreELEC.tv:
    • Package Updates: dbus 1.11.16, connman-1.35 (PR:1926, 2 commits, 2 files changed)
      • dbus: update to dbus-1.11.16
      • connman: update to connman-1.35
    • LibreELEC-settings: add support for workgroup, server min/max proto s (PR:1927, 2 commits, 4 files changed)
    • emby: update to 3.2.27.0 and rename to Emby Server (PR:1890, 1 commit, 2 files changed)
    • dispmanx_vnc: update to 77b33a6 (PR:1886, 2 commits, 3 files changed)
    • mono: update to 5.2.0.215 (PR:1884, 1 commit, 2 files changed)
  2. XBMC:
    • [addons] add pts on CAddonAEStream::AddData addon function (PR:12736, 1 commit, 3 files changed)
    • [cmake] FindMySqlClient: Compatibility with MariaDB (PR:12727, 1 commit, 1 file changed)
    • [depends] bump dbus to 1.11.16 (and actually build it) (PR:12731, 2 commits, 2 files changed)
    • [win32] do not try to switch to invalid resolution during initialization (PR:12739, 1 commit, 2 files changed)
    • [input] allow set of unicode in CAction (PR:12735, 1 commit, 1 file changed)
  3. inputstream.adaptive:
    • Version bump (2.0.16) (db96c97)
    • Pass manifest update parameter instead concatting (475cac7)
    • Continue instead break when looping through decrypter search paths (01e390d)
    • Respect resolution limits if "ignore display " is active (850f679)
  4. pvr.mediaportal.tvserver:
    • Update to v3.3.2 (PR:76, 7 commits, 20 files changed)
(2017-08-29, 19:49)amediauser Wrote: [ -> ]Player settings > Videos > Adjust display refresh rate > On start / stop
System settings > Audio > Allow passthrough > On
System settings > Audio > - Enable Dolby Digital (AC3) transcoding > On

Tested again with the follwing additional changes.

Player settings > Videos > Sync playback to display > On
System settings > Audio > PLL adjustment to maintain audio/video sync > Low

Can you just clarify with which settings out-of-sync audio occurs?
(i.e. default, with ac3 transcoding enable, and with PLL sync?)
@Milhouse
tvheadend now should have omx rpi transcoding ability, could you enable transcoding in your builds?
(2017-08-29, 19:49)amediauser Wrote: [ -> ]After #0424 the PlayerDebug overlay no longer displays the audio "err" value it is always "0.0ms".

I can reproduce this issue. I have a patch that avoids the issue, but I'm not sure if it is correct.
I'm in discussion with fernetmenta so hopefully we'll get a correct solution.
KODI still can't be woken once dimmed (latest builds) most of the time despite this issue being marked as fixed?

https://github.com/Pulse-Eight/libcec/issues/342

Anyone else experience this issue still as well?

edit:got the answer.. not tagged for release yet. maybe next week. thanks, cheers!
(2017-08-30, 14:56)popcornmix Wrote: [ -> ]
(2017-08-29, 19:49)amediauser Wrote: [ -> ]Player settings > Videos > Adjust display refresh rate > On start / stop
System settings > Audio > Allow passthrough > On
System settings > Audio > - Enable Dolby Digital (AC3) transcoding > On

Tested again with the follwing additional changes.

Player settings > Videos > Sync playback to display > On
System settings > Audio > PLL adjustment to maintain audio/video sync > Low

Can you just clarify with which settings out-of-sync audio occurs?
(i.e. default, with ac3 transcoding enable, and with PLL sync?)

Hi @popcornmix, thank you for taking a look at this.

The out of sync error occurs when using the combination "Allow passthrough", "Dolby Digital (AC3) capable receivers" and "Enable Dolby Digital (AC3) transcoding".

It is a little random, most of the time it will start in sync, but not always. As described previously, skipping around in the sample file will easily trigger it to go out of sync.

Once out of sync not even pausing will correct it.

When playing native AC3 in sync I see this lines like this in the debug log.
DEBUG: ProcessPacket - audio:98 video:99

When playing transcoded DTS in sync I see this in the debug log, there is a larger gap between audio and video.
DEBUG: ProcessPacket - audio:96 video:99

When playing transcoded DTS out of sync I see example such as these this in the debug log.
DEBUG: ProcessPacket - audio:99 video:94 < # Audio packets are ahead of video
DEBUG: ProcessPacket - audio:98 video:98 < # Audio video packets are the same
DEBUG: ProcessPacket - audio:95 video:99 < # Audio packets further behind video

The brief reversion to ffmpeg 3.1 didn't help, so its not down to that version bump.

When playing back stereo, native AC3 or disabling transcoding the sync remains fine.

The PLL option does not have have any effect on the problem, I only enable it as I believe it is now required for passthrough with "Sync playback to display" that I tested.
New LibreELEC.tv Leia build #0830: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.12.10 #1 Wed Aug 30 23:17:50 BST 2017 armv6l GNU/Linux

# vcgencmd version
Aug 22 2017 14:20:40
Copyright (c) 2012 Broadcom
version eb51b8b84ec11d98562dfbb7be53cdd216c0ea4c (clean) (release)

# lsb_release
LibreELEC (Milhouse): devel-20170830231416-#0830-gab7496d [Build #0830]

# Kodi version
(18.0-ALPHA1 Git:4ce9c26). Platform: Linux ARM 32-bit

Based on tip of LibreELEC.tv master (ab7496d, changelog) and tip of XBMC master (4ce9c26, changelog) with the following modifications: Build Highlights:
  1. New 4.12.10 kernel
  2. Binary addon API update
  3. newclock5: Fix error interval; hevc update
Build Details:
  1. LibreELEC.tv:
    • brcmfmac_sdio-firmware-rpi: Consolidate firmware files (PR:1922, 4 commits, 4 files changed)
  2. XBMC:
    • [addons] cleanup audio engine (PR:12743, 2 commits, 4 files changed)
    • [PVR][settings] Make epg.lingertime an official setting, remove the respective advanced setting. (PR:12740, 2 commits, 13 files changed)
    • [addons] add callback to remove slash at end of path (PR:12438, 1 commit, 1 file changed)
    • [addons] increase binary vfs interface version to 1.0.1 (PR:12749, 1 commit, 1 file changed)
    • [addons] add / fix binary addon gui parts (PR:12744, 6 commits, 12 files changed)
    • [DemuxClient] transport flags (PR:12710, 1 commit, 1 file changed)
    • Implement File::GetProperty to allow (binary) addons access to e.g. reponse headers (#12737) (9c71e17)
  3. inputstream.adaptive:
  4. newclock5:
    • New commits in this build:
      • Revert "AE: improve tempo filter" (72ca8ca3)
      • Revert "Revert "AE: improve tempo filter"" (e3dba69d)
      • ActiveAE: Avoid resetting error interval (ab56ccf9)
      • FFMPEG: Fixes rbpi compilation (9fdc804d)
      • ffmpeg: hevc: update to latest (a5ba0617)
      • ffmpeg: hevc: Fixup x86 build (c6287310)
  5. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] compare: linux: update to linux-4.12.10
(2017-08-30, 17:53)nuwonda Wrote: [ -> ]KODI still can't be woken once dimmed (latest builds) most of the time despite this issue being marked as fixed?

https://github.com/Pulse-Eight/libcec/issues/342

Anyone else experience this issue still as well?

edit:got the answer.. not tagged for release yet. maybe next week. thanks, cheers!

no, I don't have this issue, running 0829 and 0825, wakes from dim without a problem.
Hi @Milhouse,

Is there no new service.tvheadend42-9.0.112- # 0830..(..) for the new build?
(2017-08-30, 23:33)amediauser Wrote: [ -> ]The out of sync error occurs when using the combination "Allow passthrough", "Dolby Digital (AC3) capable receivers" and "Enable Dolby Digital (AC3) transcoding".

I have reproduced this. I couldn't reproduce with the AC3 version of the file (which will bypass the AC3 transcode), but I could with the DTS version.
"sync playback to display" wasn't required for the issue to occur - just transcoding active.

I've confirmed it occurs with master branch (so isn't a newclock5 specific issue).
Are you able to test this on another platform (e.g. milhouse build on x86)? That would be useful information (I don't have passthrough capability from my laptop).
(2017-08-31, 07:59)Aux_ Wrote: [ -> ]Hi @Milhouse,

Is there no new service.tvheadend42-9.0.112- # 0830..(..) for the new build?
Ah no, it failed to build and then I fell asleep. I'll try and fix it for tonight.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495