Kodi Community Forum
v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) (/showthread.php?tid=298461)

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


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - bleep42 - 2017-10-11

(2017-10-11, 12:27)Milhouse Wrote:
(2017-10-11, 12:02)bleep42 Wrote: The improvements in HEVC you have managed are astounding.

I would imagine the recent performance improvement may also help keep temperatures in check, too.

Yes quite likely, :-) though if you move the work from the CPU to the GPU, then the work is still being done, just being shared out more, so who knows, but from my experience the chip temp does seem to be lower now, (while playing HEVC) especially if you are not particularly stressing it, which in my case is most of the time, my test files are way above the quality setting I would normally use for every day use, normal usage will now only prompt 50-60% CPU max usage, which is almost bound to help with temperatures.  ;-)
Kevin.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - smp1 - 2017-10-11

One of my HEVC 10-bit 1080p videos stopped working with build #1010. I can upload a sample if needed.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - conx - 2017-10-11

(2017-10-09, 19:25)Mike74 Wrote: Since version #1002 my TV doesnt switch to 3D Mode when i playback a 3D MKV-Movie

+1


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - dantist - 2017-10-11

I'm currently ripping a Bluray series to MKV files so I can watch it with Kodi. It's all working well, but I have one episode so far where LibreELEC uses the second audio stream (English) instead of the first one (German). Other players like VLC handle the file correctly. The VLC codec informations are 100% identical. I also scanned the files with "MediaArea MediaInfo" which also gives identical results.

Any idea what could be the reason for this?

Edit: Rescanning the library did fix this. I guess you can't just replace older files with new ones. Maybe Kodi uses the audio track information it found during the initial scan and ignores the actual audio track information when starting a video?


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - J_E_F_F - 2017-10-12

(2017-10-11, 12:27)Milhouse Wrote:
(2017-10-11, 12:02)bleep42 Wrote: The improvements in HEVC you have managed are astounding.

I would imagine the recent performance improvement may also help keep temperatures in check, too.

I upgraded from #0922 to #1010 and watching a HEVC concert today, saw the overheat icon for the first time in a long time. It only lasted a minute, but it is not something I have seen recently with these beta builds and not on that specific file in a long time.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - popcornmix - 2017-10-12

(2017-10-11, 16:39)smp1 Wrote: One of my HEVC 10-bit 1080p videos stopped working with build #1010. I can upload a sample if needed.

I have a file that now requires more gpu mem than before. Can you check if increasing gpu mem fixes your issue?
If it still fails with, say, gpu_mem=512 then post a sample.

I have asked John to look into the increased memory usage to see if it can be avoided.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - popcornmix - 2017-10-12

(2017-10-12, 03:16)J_E_F_F Wrote: I upgraded from #0922 to #1010 and watching a HEVC concert today, saw the overheat icon for the first time in a long time. It only lasted a minute, but it is not something I have seen recently with these beta builds and not on that specific file in a long time.

ffmpeg normally achieves multi-core parallelism by decoding multiple frames in parallel.
But sometimes due to dependencies this is not possible (e.g. frames depending on an I frame that is currently being decoded).
In this case you may see kodi dropping frames even though cpu is much less than 400% (4 cores maxed).

The last update added some within-frame parallelism for files encoded with tiles or wpp (wavefront parallel processing) which can help this situation.
But it may make the 4 arm cores busier for short periods which may increase temperature.

Really the only solution is to improve cooling. The Flirc/Kodi case is highly recommended.
You may also find that decreasing arm_freq / over_voltage will keep temperatures down (and with the continued performance improvements that may be feasible).

Keep the sdram and core/v3d overclock as they don't affect heat as much as the arm and do provide a useful performance benefit.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - smp1 - 2017-10-12

(2017-10-12, 12:21)popcornmix Wrote: I have a file that now requires more gpu mem than before. Can you check if increasing gpu mem fixes your issue?
Increasing gpu mem to 320 fixed it.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - J_E_F_F - 2017-10-12

(2017-10-12, 12:30)popcornmix Wrote:
(2017-10-12, 03:16)J_E_F_F Wrote: I upgraded from #0922 to #1010 and watching a HEVC concert today, saw the overheat icon for the first time in a long time. It only lasted a minute, but it is not something I have seen recently with these beta builds and not on that specific file in a long time.

ffmpeg normally achieves multi-core parallelism by decoding multiple frames in parallel.
But sometimes due to dependencies this is not possible (e.g. frames depending on an I frame that is currently being decoded).
In this case you may see kodi dropping frames even though cpu is much less than 400% (4 cores maxed).

The last update added some within-frame parallelism for files encoded with tiles or wpp (wavefront parallel processing) which can help this situation.
But it may make the 4 arm cores busier for short periods which may increase temperature.

Really the only solution is to improve cooling. The Flirc/Kodi case is highly recommended.
You may also find that decreasing arm_freq / over_voltage will keep temperatures down (and with the continued performance improvements that may be feasible).

Keep the sdram and core/v3d overclock as they don't affect heat as much as the arm and do provide a useful performance benefit.

Thanks, I've commented out arm_freq=1300 and over_voltage=4, and I do already have gpu_mem_1024=320
My Pi's are mounted vertically in open air with heart sinks installed.

What were the ssh commands to show how many times the heat/governor has kicked in, and also to show how many dropped frames?  


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - dantist - 2017-10-12

(2017-10-12, 12:30)popcornmix Wrote: Really the only solution is to improve cooling. The Flirc/Kodi case is highly recommended.

Just ordered one, thanks for the tip!


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - Milhouse - 2017-10-12

(2017-10-12, 14:12)J_E_F_F Wrote: What were the ssh commands to show how many times the heat/governor has kicked in

You can use "bcmstat.sh y" to monitor undervoltage, frequency cap and thermal throttle events.

(2017-10-12, 14:12)J_E_F_F Wrote: and also to show how many dropped frames?

You can enable the PlayerDebug overlay from ssh with:
Code:
kodi-send --action=playerdebug

or map "PlayerDebug" to a button on your remote.

Alternatively, add "<loglevel>1</loglevel>" in advancedsettings.xml, restart Kodi, then:
Code:
tail -F /storage/.kodi/temp/kodi.log | grep drop:
Total dropped and skipped frames will be reported when playback is ended. This has the advantage of not wasting CPU time displaying the overlay which can itself be the cause of dropped frames.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - J_E_F_F - 2017-10-12

(2017-10-12, 14:12)J_E_F_F Wrote:
(2017-10-12, 12:30)popcornmix Wrote:
(2017-10-12, 03:16)J_E_F_F Wrote: I upgraded from #0922 to #1010 and watching a HEVC concert today, saw the overheat icon for the first time in a long time. It only lasted a minute, but it is not something I have seen recently with these beta builds and not on that specific file in a long time.

ffmpeg normally achieves multi-core parallelism by decoding multiple frames in parallel.
But sometimes due to dependencies this is not possible (e.g. frames depending on an I frame that is currently being decoded).
In this case you may see kodi dropping frames even though cpu is much less than 400% (4 cores maxed).

The last update added some within-frame parallelism for files encoded with tiles or wpp (wavefront parallel processing) which can help this situation.
But it may make the 4 arm cores busier for short periods which may increase temperature.

Really the only solution is to improve cooling. The Flirc/Kodi case is highly recommended.
You may also find that decreasing arm_freq / over_voltage will keep temperatures down (and with the continued performance improvements that may be feasible).

Keep the sdram and core/v3d overclock as they don't affect heat as much as the arm and do provide a useful performance benefit.

Thanks, I've commented out arm_freq=1300 and over_voltage=4, and I do already have gpu_mem_1024=320
My Pi's are mounted vertically in open air with heart sinks installed.

What were the ssh commands to show how many times the heat/governor has kicked in, and also to show how many dropped frames?  

OK, this is really weird, if I comment out arm_freq and/or over_voltage, and reboot, Kodi just freezes, I cannot control it via remote (phone or usb/bluetooth)  if I set arm_freq=1200, the same thing, Kodi freezes and can't be controlled.  Is some other setting here linked/dependent on my arm_freq being 1300?

[pi3]
arm_freq=1300
core_freq=500
gpu_freq=500
dtparam=sd_overclock=83
over_voltage=2
sdram_freq=580
over_voltage_sdram=5
sdram_schmoo=0x02000020



RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - Milhouse - 2017-10-13

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

Code:
# uname -a
Linux rpi512 4.13.5 #1 Fri Oct 13 00:42:00 BST 2017 armv6l GNU/Linux

# vcgencmd version
Oct 11 2017 23:27:47
Copyright (c) 2012 Broadcom
version e5ad4a8e9f183413eb4f7fc4a7687886c715f739 (clean) (release)

# lsb_release
LibreELEC (Milhouse): devel-20171013004051-#1012-gcc8ff85 [Build #1012]

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

Based on tip of LibreELEC.tv master (cc8ff85, changelog) and tip of XBMC master (9c21b99, changelog) with the following modifications: Build Highlights:
  1. New firmware
  2. Add RTL8812AU and RTL8814AU from aircrack-ng; update RTL8188EU
  3. Update LE service wrapper
Build Details:
  1. Firmware (Oct 11):
    • firmware: pwm_sdm multi-write support. See: link
  2. LibreELEC.tv:
    • hyperion: update to 1c21232 (PR:2082, 1 commit, 3 files changed)
    • OC2,WH,WP2: Allow updates between aarch64 and arm (PR:2070, 1 commit, 3 files changed)
    • add addon broken support to addon building (PR:2068, 2 commits, 3 files changed)
    • AArch64 projects: add 32-bit userspace support (PR:2087, 1 commit, 35 files changed)
    • tools/docker: add build container (PR:2077, 2 commits, 3 files changed)
    • scripts/mkimage: rename gpt partitions and use generated serial number (PR:2076, 2 commits, 2 files changed)
    • add support for optional kernel modules in image and from addons (PR:1835, 10 commits, 39 files changed)
    • linux: fix PKG_DEPENDS_TARGET (PR:2093, 1 commit, 1 file changed)
    • kodi: correct URL in service addon wrapper header (PR:2094, 1 commit, 1 file changed)
    • added EFI 32bit support via GRUB2 (PR:2061, 6 commits, 5 files changed)
    • game.libretro: but PKG_REV to 104 (PR:2095, 1 commit, 1 file changed)
  3. XBMC:
    • Joysticks: Fix accelerometers preventing screensaver (PR:12892, 2 commits, 5 files changed)
    • Several compiler warnings and code improvements (PR:12883, 10 commits, 17 files changed)
    • drm rework and atomic prep (PR:12911, 7 commits, 12 files changed)
    • VideoPlayer: keyframes (PR:12912, 3 commits, 9 files changed)
    • Estuary: Add game add-ons widget to homescreen games tab (PR:12909, 1 commit, 1 file changed)
    • [PVR] Handle addon enabled|disabled via CAddonMgr events. (PR:12905, 1 commit, 8 files changed)
    • [PVR] Make EPG database threadsafe. (PR:12906, 1 commit, 7 files changed)
    • RetroPlayer: Fix black screen on OpenGL (PR:12907, 3 commits, 7 files changed)
    • Revert "VideoPlayer: keyframes" (PR:12916, 1 commit, 9 files changed)
    • fixed: fix multitrack support for audio decoders (PR:12870, 3 commits, 7 files changed)
    • VideoPlayer: render gui layer on first frame (PR:12915, 1 commit, 2 files changed)
    • estouchy - remove HP icc profile (PR:12914, 1 commit, 1 file changed)
    • Update game client selection dialog (shown before game) (PR:12908, 3 commits, 6 files changed)
  4. pvr.zattoo:
  5. newclock5:
    • Commits no longer in build:
      • [demuxer] Avoid memcpy on every demuxer packet (41c760ec)
  6. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] compare: kodi updates
    • Added: [env] compare: RTL8812AU: switch repo to aircrack-ng, build RTL8814AU
    • Added: [env] PR:2096: RTL8188EU: update to c5113ff



RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - Milhouse - 2017-10-13

Weekly Linux 4.14-rc4 build #1012x: RPi / RPi2


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - Milhouse - 2017-10-13

(2017-10-10, 21:26)bohei2017 Wrote: Could you modify the driver for RTL 8814AU to include the device id 0bda:8813 which is for EDUP EP-AC1621?

Please test #1012 as this now includes the RTL8814AU driver. I just hope nothing new is broken with RTL8812AU.