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
@Omnd:

Try #0117, that one worked for me before I upgraded to use Amazon
New LibreELEC.tv Leia build #0219: RPi / RPi2
(Supercedes previous build)

SHA256 Checksum: 56448f634b04166b48b0c9adaa3c6a7b7c5af87a9f460688b6bf5439c943fd53 (RPi)
SHA256 Checksum: b8bc53623d8b935a2fac581305b82945954beada7b9a6ed8ff6ba6ba86a3bb6b (RPi2)

text:
# uname -a
Linux rpi512 4.14.20 #1 Mon Feb 19 21:12:26 GMT 2018 armv6l GNU/Linux

# vcgencmd version
Feb 9 2018 14:27:54
Copyright © 2012 Broadcom
version b54484abff4ad7d7bdda6e6387737e29b33f18ee (clean) (release)

# lsb_release
LibreELEC (Milhouse): devel-20180219210642-#0219-g0aed4af [Build #0219]

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

Based on tip of LibreELEC.tv master (0aed4af, changelog) and tip of XBMC master (313d88b, changelog) with the following modifications: Build Highlights:
  1. New 4.14.20 kernel (with support for SuperAudioBoard sound card)
  2. tvheadend add hdhomerun
  3. Consolidate subtitle dialogs
Build Details:
  1. LibreELEC.tv:
    • tvheadend add hdhomerun (PR:2508, 2 commits, 5 files changed)
  2. XBMC:
    • Consolidate subtitle dialogs (PR:13525, 2 commits, 15 files changed)
  3. kernel 4.14.y:
    • New commits in this build:
      • Revert downstream wm8804 changes (225b4213)
      • Merge remote-tracking branch 'stable/linux-4.14.y' into rpi-4.14.y (5c54027d)
      • BCM270X_DT: Add brcm,bcm2835-sdhci as a fallback (7efbc9d5)
      • overlays: i2c-gpio: Support for multiple instances (7d860731)
  4. Additional commits/pull requests/changes not yet merged upstream:
    • Updated: [env] PR:2466 (perma): linux: update to linux-4.14.19 (-ish)
    • Updated: [env] PR:2501 (perma): buildsystem: selectively build packages with debug
    • Added: [env] PR:2511 (perma): kernel-firmware: use project specific firmwares and cleanup
New LibreELEC.tv Leia build #0220: RPi / RPi2
(Supercedes previous build)

SHA256 Checksum: b5811cb6e330a6f22a2f90d4d90da75e6a374b301c410deb35ff13d9f6ac18f4 (RPi)
SHA256 Checksum: d4831bee0590be1c22b53ced26337fd7640a9992d021d74e8c7493fefbb2577e (RPi2)

text:
# uname -a
Linux rpi512 4.14.20 #1 Tue Feb 20 21:16:32 GMT 2018 armv6l GNU/Linux

# vcgencmd version
Feb 9 2018 14:27:54
Copyright © 2012 Broadcom
version b54484abff4ad7d7bdda6e6387737e29b33f18ee (clean) (release)

# lsb_release
LibreELEC (Milhouse): devel-20180220211409-#0220-g0aed4af [Build #0220]

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

Based on tip of LibreELEC.tv master (0aed4af, changelog) and tip of XBMC master (f603010, changelog) with the following modifications: Build Highlights:
  1. TEST: Threads: Enable PTHREAD_PRIO_INHERIT on arm
Build Details:
  1. XBMC:
    • [cleanup] silence sign compare warning (PR:13567, 1 commit, 1 file changed)
  2. newclock5:
    • New commits in this build:
      • add back the custom pthread mutex attribute PTHREAD_PRIO_INHERIT. (a27662f8)
      • TEST: Threads: Enable PTHREAD_PRIO_INHERIT on arm (6f78f056)
  3. kernel 4.14.y:
    • New commits in this build:
      • i2c-gpio: Also set bus numbers from reg property (32e35667)
      • overlays: i2c-gpio: Explain bus numbers in README (1ae0a48b)
      • Update rpi-ft5406-overlay.dts (a50ceecc)
      • overlays: Add overlay for missing AUX interrupt controller support (#2391) (cec1ff47)
i have used #0109 for a while now, was pretty stable for me.
Now i've updated to the newest and had problems with pvr (using zattoo mainly). Video & sound stutters randomly(+ out of sync), sometimes even buffering.
Already narrowed it down to #0111 (working) and #0127 (stuttering), but will continue testing when im back home
i'm using hifiberry dac+ pro with external power supply if that matters
any idea which # and what could cause it?
(2018-02-21, 12:54)adiadore Wrote: [ -> ]i have used #0109 for a while now, was pretty stable for me.
Now i've updated to the newest and had problems with pvr (using zattoo mainly). Video & sound stutters randomly(+ out of sync), sometimes even buffering.
Already narrowed it down to #0111 (working) and #0127 (stuttering), but will continue testing when im back home
i'm using hifiberry dac+ pro with external power supply if that matters
any idea which # and what could cause it?
 No, but if you pick the mid point between latest working and oldest not-working builds each time it should only take 4 tests to identify it.
(2018-02-21, 14:52)popcornmix Wrote: [ -> ] No, but if you pick the mid point between latest working and oldest not-working builds each time it should only take 4 tests to identify it.
nevermind, started testing again with #0220, same stuttering including #0216.
#0215 runs fine now for more than one hour playing livetv, but there is a sound "cracks" everytime a commercial/program ends/starts, this cracks also happens when i enter or leave a menu in gui (no cracks sounds when scrolling in menu).
reminds me of "keep audio device alive" sound when it turns off (tried changing to keeping alive always but no help)
gui sounds slighty differ after #0216 but cracks still there..
(2018-02-17, 10:29)Milhouse Wrote: [ -> ]New LibreELEC.tv Leia build #0216: RPi / RPi2(Supercedes previous build)
      • ASoC: hifiberry_dacplus: fix S24_LE format (74931c13)
 
livetv problems might caused by this? tried #0216 again, small buffering after 3-5 minutes and then followed by sound dropouts with video stuttering
(2018-02-21, 18:27)adiadore Wrote: [ -> ]livetv problems might caused by this?
You are the one who is seeing the bug. We can't speculate if a change causes a problem unless you can confirm an exact nightly build where the problem started occurring and didn't occur in the previous build.
(2018-02-21, 19:26)popcornmix Wrote: [ -> ]
(2018-02-21, 18:27)adiadore Wrote: [ -> ]livetv problems might caused by this?
You are the one who is seeing the bug. We can't speculate if a change causes a problem unless you can confirm an exact nightly build where the problem started occurring and didn't occur in the previous build.   
with #0216
here is the log
buffer starts after 22048 18:39:40.473 T:1317098368 NOTICE: CVideoPlayerAudio:Tonguerocess - stream stalledfirst

audio sync errors start after line 32123 18:41:16.775 T:1935754112 WARNING: ActiveAE - large audio sync error: -1143.854492

went back to #0215, happens no more
(2018-02-21, 20:10)adiadore Wrote: [ -> ]with #0216
here is the log
buffer starts after 22048 18:39:40.473 T:1317098368 NOTICE: CVideoPlayerAudio:Tonguerocess - stream stalledfirst

audio sync errors start after line 32123 18:41:16.775 T:1935754112 WARNING: ActiveAE - large audio sync error: -1143.854492

went back to #0215, happens no more 
 

@HiassofT any thoughts? It seems like "kernel 4.14.y: fix DAC S24_LE support" is the only related change in that build.
(2018-02-21, 20:52)popcornmix Wrote: [ -> ]
(2018-02-21, 20:10)adiadore Wrote: [ -> ]with #0216
here is the log
buffer starts after 22048 18:39:40.473 T:1317098368 NOTICE: CVideoPlayerAudio:Tonguerocess - stream stalledfirst

audio sync errors start after line 32123 18:41:16.775 T:1935754112 WARNING: ActiveAE - large audio sync error: -1143.854492

went back to #0215, happens no more 
 

@HiassofT any thoughts? It seems like "kernel 4.14.y: fix DAC S24_LE support" is the only related change in that build.   
 I had a look again at the changes to the hifiberry_dacplus.c driver and while they still seem OK to me I won't rule out that I missed something. This particular driver is doing rather weird stuff, like manipulating PCM512x registers and using snd_interval_ratnum (to optimize rate selection?) and unfortunately I don't have such a card and the Hifiberry folks didn't react when I pinged them on github in the PR.

@adiadore could you please post dmesg output (run "dmesg | paste") after you got stuttering? It would also be nice if you could contact the Hifiberry folks and point them to this issue and this RPi kernel PR: https://github.com/raspberrypi/linux/pull/2365

Edit: ah, and another thing, please post the output of "cat /proc/asound/card0/pcm0p/sub0/hw_params" while you play a video - this should give some more hints.

so long,

Hias
thanks for looking into it guys, will provide more tomorrow asap (wife kills me if i start this now  Laugh )

edit:
dmesg: http://ix.io/NCg
and 
LibreELEC:~ # cat /proc/asound/card0/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S24_LE
subformat: STD
channels: 2
rate: 48000 (384000/8)
period_size: 2400
buffer_size: 9600
New LibreELEC.tv Leia build #0221: RPi / RPi2
(Supercedes previous build)

SHA256 Checksum: 747a71018b0b4e388da464e46b14e4eeaea3c87564796e67c8c1e669fb16a709 (RPi)
SHA256 Checksum: d63e88f85c4789949fab64ab15db3d918539b4da9d08f16ff2f7da11831159d6 (RPi2)

text:
# uname -a
Linux rpi512 4.14.20 #1 Wed Feb 21 21:04:49 GMT 2018 armv6l GNU/Linux

# vcgencmd version
Feb 9 2018 14:27:54
Copyright © 2012 Broadcom
version b54484abff4ad7d7bdda6e6387737e29b33f18ee (clean) (release)

# lsb_release
LibreELEC (Milhouse): devel-20180221210256-#0221-gc2fc2a1 [Build #0221]

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

Based on tip of LibreELEC.tv master (c2fc2a1, changelog) and tip of XBMC master (83cdb12, changelog) with the following modifications: Build Highlights:
  1. Rendering: remove rendercaps
  2. Add back the custom pthread mutex attribute PTHREAD_PRIO_INHERIT.
Build Details:
  1. LibreELEC.tv:
    • busybox: don't build parallel (PR:2514, 2 commits, 1 file changed)
    • buildsystem: selectively build packages with debug (PR:2501, 16 commits, 16 files changed)
    • visualization.goom: fix build (PR:2515, 1 commit, 1 file changed)
  2. XBMC:
    • Rendering: remove rendercaps (PR:13512, 3 commits, 18 files changed)
    • [c-pluff] Update to 0.1.4 (PR:10741, 2 commits, 152 files changed)
    • DirectX: fix NaN in shaders (PR:13570, 1 commit, 1 file changed)
    • Add back the custom pthread mutex attribute PTHREAD_PRIO_INHERIT. (PR:13562, 2 commits, 4 files changed)
  3. newclock5:
    • Commits no longer in build:
      • ffmpeg: hevc: Update to latest Neon SAO optimisations (5252bfed)
      • ffmpeg: hevc: Fix minor memory leak and use stack for small allocations (a9808c2f)
      • ffmpeg: hevc: Avoid zero length cache flushes (5e91f841)
      • ffmpeg: hevc: Fix artifacts if bright scenes (bbbedb3e)
      • add back the custom pthread mutex attribute PTHREAD_PRIO_INHERIT. (a27662f8)
      • TEST: Threads: Enable PTHREAD_PRIO_INHERIT on arm (6f78f056)
  4. kernel 4.14.y:
    • New commits in this build:
      • sc16is7xx: Fix for multi-channel stall (dbca2148)
      • overlays: Add sc16is752-i2c overlay (5739f6bb)
  5. Additional commits/pull requests/changes not yet merged upstream:
(2018-02-21, 23:15)adiadore Wrote: [ -> ]thanks for looking into it guys, will provide more tomorrow asap (wife kills me if i start this now  Laugh )

edit:
dmesg: http://ix.io/NCg
and 
LibreELEC:~ # cat /proc/asound/card0/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S24_LE
subformat: STD
channels: 2
rate: 48000 (384000/8)
period_size: 2400
buffer_size: 9600
 Thanks for the info! I've prepared a completely untested but hopefully working fix for it (details are in the RPi kernel PR). It should be included in tomorrow's testbuild, please report back if it works.

so long,

Hias
New LibreELEC.tv Leia build #0222: RPi / RPi2
(Supercedes previous build)

SHA256 Checksum: 86713cfeafab0323647a0ac9249c5c92c35a36540499a2b2f443ace829ce992d (RPi)
SHA256 Checksum: f70bc6b027c6a4fe85f88c40bf6bc69aeb2efd16c53b56fc32ea4216e5c60c8f (RPi2)

text:
# uname -a
Linux rpi512 4.14.20 #1 Thu Feb 22 21:04:45 GMT 2018 armv6l GNU/Linux

# vcgencmd version
Feb 9 2018 14:27:54
Copyright © 2012 Broadcom
version b54484abff4ad7d7bdda6e6387737e29b33f18ee (clean) (release)

# lsb_release
LibreELEC (Milhouse): devel-20180222210252-#0222-gc06f971 [Build #0222]

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

Based on tip of LibreELEC.tv master (c06f971, changelog) and tip of XBMC master (748a8e8, changelog) with the following modifications: Build Highlights:
  1. FIX: [3D] reset datacache value between plays (by fernet)
  2. Test: soundcard fixes for pcm512x in master mode (linux)
Build Details:
  1. LibreELEC.tv:
    • projects/Amlogic: enable touchscreen support (PR:2509, 2 commits, 3 files changed)
    • fix perf build (PR:2505, 5 commits, 5 files changed)
    • linux: update to linux-4.14.20 (PR:2466, 12 commits, 6 files changed)
  2. XBMC:
    • FIX: [3D] reset datacache value between plays (by fernet) (PR:13572, 1 commit, 1 file changed)
  3. pvr.mythtv:
  4. newclock5:
    • New commits in this build:
      • FIX: [3D] reset datacache value between plays (by fernet) (7ee3de40)
  5. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] compare (perma): kernel-firmware: update to kernel-firmware-7344ec9
    • Added: [env] PR:2487 (perma): dtc: build fdtput and fdtget
    • Added: [env] PR:2518 (perma): buildsystem: save/load build config, simplify clean and build --all
    • Added: [pkg] patch: Test: soundcard fixes for pcm512x in master mode (linux)
@Milhouse @HiassofT @popcornmix 

thank you! no more problems with #0220 !
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