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-04-08, 23:17)Milhouse Wrote: [ -> ]
(2017-04-08, 23:00)Mfleigle Wrote: [ -> ]@Milhouse Did you read my post about my problem? I don't mean to be annoying, I just would like to know if my problem is permanent

Saw it yes, but you said you'd try and narrow it down as that helps a lot.

(2017-04-07, 19:00)Mfleigle Wrote: [ -> ]Update2: I rolled back to 330 and ASS/SSA works. I will try to narrow down when exactly it stops if needed.

If you can narrow down when the problem starts then it should provide some clues.
Ok I just wanted to make sure it wasnt a known issue before downloading 10 builds lol.
@Milhouse

I have a RP3 with your Build as a TVHeadend Server Running in a not so good to reach Area. Is it possible to Remote Update with your TVHeadend Addon? I did not find something about it. Or is the only way with the GUI?

PS:Version 408 is working like it should (for me)
(2017-04-08, 23:40)The Masters Wrote: [ -> ]@Milhouse

I have a RP3 with your Build as a TVHeadend Server Running in a not so good to reach Area. Is it possible to Remote Update with your TVHeadend Addon? I did not find something about it. Or is the only way with the GUI?

PS:Version 408 is working like it should (for me)

You should be be able to update using the command line (ssh) and unzip.
The last build that ASS/SSA subtitles work is #402.
(2017-04-09, 00:28)Milhouse Wrote: [ -> ]
(2017-04-08, 23:40)The Masters Wrote: [ -> ]@Milhouse

I have a RP3 with your Build as a TVHeadend Server Running in a not so good to reach Area. Is it possible to Remote Update with your TVHeadend Addon? I did not find something about it. Or is the only way with the GUI?

PS:Version 408 is working like it should (for me)

You should be be able to update using the command line (ssh) and unzip.

Thx that does the trick dont know i could do that.
(2017-04-09, 01:09)Mfleigle Wrote: [ -> ]The last build that ASS/SSA subtitles work is #402.

Where are your subtitles located, are they being downloaded?

(2017-04-07, 19:00)Mfleigle Wrote: [ -> ]Update: it seems all ASS/Ssa subs fail to play and kodi auto converts them to srt. Did the bug patch get removed? Or is Kodi dropping ASS/SSA?

Not sure what you're saying here, ASS subs are working normally for me.

I've tested with an external ASS subtitle file stored alongside the video file and this plays without a problem and doesn't appear to show any memory leak issues.

Can you repeat the steps to reproduce this issue? And upload samples files if necessary. Thanks.
(2017-04-09, 01:59)Milhouse Wrote: [ -> ]Where are your subtitles located, are they being downloaded?
Next to the video with identical name:
Example:
Movie.mkv
Movie.ass

Quote:Not sure what you're saying here, ASS subs are working normally for me.

I've tested with an external ASS subtitle file stored alongside the video file and this plays without a problem and doesn't appear to show any memory leak issues.

Can you repeat the steps to reproduce this issue? And upload samples files if necessary. Thanks.

When I try to play a video with ASS subtitles, Kodi automatically creates a srt in the TEMP dir of the ASS subtitle. And the video plays with the srt. If I manually select the ASS subtitle it plays the video (no subs), and the memory leaks until it reboots.

The only thing I do differently that maybe most with the ASS encoding is I change the border outline to decimal points instead of full numbers. Here is my style:
Quote:[Script Info]
; This is an Advanced Sub Station Alpha v4+ script.
Title:
ScriptType: v4.00+
Collisions: Normal
PlayDepth: 0

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,20,&H00FFFFFF,&H0300FFFF,&H00000000,&H02000000,0,0,0,0,100,100,0,0,1,.5,.4,2,10,10,20,1
in build #0403 this change

estuary fix watched status for videos (PR:11921, 1 commit, 1 file changed)

was listed. Since that build, all my unwatched recordings show a check mark, (which previously only showed after a recording was watched)

a partially watched video still shows a half-light/half-dark circle, but instead of folders (for series) and squares (for individual recordings) all my recordings show a check mark.

Is this correct? I'm using the NextPVR client, in case that makes a difference.
With #0408 had a crash when not sat in front of device and TV. Crash may have occurred around time (or just after) remotely browsing kodi options available from chorus 2 interface via browser on android mobile. kodi debug log
Build #0315 broke CEC for me.

Before this build I could bring the TV back from standby to the correct input with any remote control button press. Now the TV comes out of standby but is set to the TV tuner input, not the correct HDMI input. I have to use the web interface to play something and then the TV is switched to the correct input. There were libcec updates in this build according to the changelog.

I was able to reproduce the issue using cec-client with the TV in standby and compare the logging from the following command

Code:
echo "as" | cec-client -s

#0314 cec-client log.
#0315 cec-client log.

I can also reliably reproduce a segfault when running the above cec-client command when the TV is on the wrong input (not when the TV is in standby though). Here's the stack trace from the latest debug build.
Code:
Core was generated by `cec-client -s'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x6e697264 in ?? ()
[Current thread is 1 (Thread 0x749ff450 (LWP 626))]
(gdb) where
#0  0x6e697264 in ?? ()
#1  0x76be1574 in CEC::CRPiCECAdapterMessageQueue::MessageReceived(CEC::cec_opcode, CEC::cec_logical_address, CEC::cec_logical_address, unsigned int) (this=0xe65578,
    opcode=CEC_OPCODE_VENDOR_COMMAND, initiator=CECDEVICE_PLAYBACKDEVICE1, destination=CECDEVICE_TV, response=0)
    at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/libcec-5250931/src/libcec/adapter/RPi/RPiCECAdapterMessageQueue.cpp:127
#2  0x76bdaa20 in CEC::CRPiCECAdapterCommunication::OnDataReceived(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (this=0xe56da8, header=<optimized out>, p0=34638144,
    p1=83951615, p2=1549092101, p3=12888) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/libcec-5250931/src/libcec/adapter/RPi/RPiCECAdapterCommunication.cpp:184
#3  0x76b55cac in cecservice_notify_func () from /usr/lib/libbcm_host.so
#4  0x76b0ecc4 in vcos_thread_entry (arg=0x76b6f600 <cecservice_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76f49f40 in start_thread (arg=0x749ff450) at pthread_create.c:335
#6  0x76d3ee18 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:86 from /usr/lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Full output.
(2017-04-09, 17:31)mikeb8591 Wrote: [ -> ]in build #0403 this change

estuary fix watched status for videos (PR:11921, 1 commit, 1 file changed)

was listed. Since that build, all my unwatched recordings show a check mark, (which previously only showed after a recording was watched)

a partially watched video still shows a half-light/half-dark circle, but instead of folders (for series) and squares (for individual recordings) all my recordings show a check mark.

Is this correct? I'm using the NextPVR client, in case that makes a difference.

That particular change, PR11921, was first included as an umerged change in build #0330.

If you are sure the problem is first seen with build #0403 then it's unlikely PR11921 is the source of this problem.
(2017-04-09, 02:47)Mfleigle Wrote: [ -> ]Next to the video with identical name:
Example:
Movie.mkv
Movie.ass

Yes, that's what I have.

(2017-04-09, 02:47)Mfleigle Wrote: [ -> ]When I try to play a video with ASS subtitles, Kodi automatically creates a srt in the TEMP dir of the ASS subtitle. And the video plays with the srt. If I manually select the ASS subtitle it plays the video (no subs), and the memory leaks until it reboots.

I'm not able to reproduce this behaviour (even when using your ASS modifications) - I don't see the SRT file being created in the /storage/.kodi/temp directory.

I've tried several MKV files, with embedded SRT, and none of them are creating an SRT file in the Kodi temp directory. I also tried creating an MKV with embedded ASS, again nothing is created in /storage/.kodi/temp, and I'm not seeing a memory leak.

Do you have any addons installed? Can you test with a "clean" .kodi directory with default settings?
New LibreELEC.tv Leia build #0409: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.10.8 #1 Sun Apr 9 21:05:08 BST 2017 armv6l GNU/Linux

# vcgencmd version
Apr  4 2017 18:50:03
Copyright (c) 2012 Broadcom
version 3ca4cf4a663c5351eaec08b29d50d6e8324981b4 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20170409210401-#0409-gffa06a6 [Build #0409]

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

Based on tip of LibreELEC.tv master (ffa06a67, changelog) and tip of XBMC master (fe4ddefd, changelog) with the following modifications: Build Highlights:
  1. Bump iana-etc and timezone-data
Build Details:
  1. LibreELEC.tv:
    • projects/WeTek_Core: Switch to "hotplug" CPU scaling governor (PR:1504, 1 commit, 1 file changed)
  2. XBMC:
    • [depends] samba-gplv3: add patch to remove deprecated define in perl generator script (PR:11945, 1 commit, 2 files changed)
    • FIXUP: [AT] blocking writes (PR:11949, 1 commit, 1 file changed)
    • ADD: [xsp] filter by originaltitle (PR:11948, 1 commit, 3 files changed)
    • [windows] installer: call findstr with full path (PR:11940, 1 commit, 1 file changed)
    • cleanup internal rar vfs in favour of vfs.rar (PR:11912, 4 commits, 142 files changed)
  3. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:1518: iana-etc: update to 17.04
    • Added: [env] PR:1519: timezone-data: update to 2017b
(2017-04-08, 13:47)Milhouse Wrote: [ -> ]I've uploaded a debug-enabled build #0407x for anyone able/willing to provide a more detailed crashlog: RPi2

@Milhouse: Thanks for the debug build.
Here is my debug log of the crash while trying to open the info screen:

http://sprunge.us/DYbi

Here is another one:

http://sprunge.us/ONBY

Had nothing to do with the cURL error, sry.

Shouldn't it ignore empty images?

Code:
Thread 1 (Thread 0x6a5353a0 (LWP 571)):
#0  0x004e8b54 in READ16 (p=@0x6a534bdc: 0x0) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/cores/omxplayer/OMXImage.cpp:565
#1  0x004e8d90 in COMXImage::GetCodingType (buf=..., width=@0x6a534c28: 0, width@entry=@0x6a534c20: 0, height=@0x6a534c2c: 0, height@entry=@0x6a534c24: 0, orientation=@0x6a534c30: 0, orientation@entry=@0x6a534c28: 0, error=...) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/cores/omxplayer/OMXImage.cpp:599
#2  0x0070abd8 in CPiTexture::LoadFromFileInternal (this=this@entry=0x66083b58, texturePath=..., buf=..., maxWidth=<optimized out>, maxWidth@entry=1920, maxHeight=<optimized out>, maxHeight@entry=1080, requirePixels=requirePixels@entry=false, strMimeType=...) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/guilib/TexturePi.cpp:126
#3  0x00700dac in CBaseTexture::LoadFromFile (texturePath=..., idealWidth=idealWidth@entry=1920, idealHeight=idealHeight@entry=1080, requirePixels=requirePixels@entry=false, strMimeType=...) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/guilib/Texture.cpp:221
#4  0x007e2a84 in CImageLoader::DoWork (this=0x3581700) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/GUILargeTextureManager.cpp:64
#5  0x00617434 in CJobWorker::Process (this=0x30d9728) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/utils/JobManager.cpp:69
#6  0x0065f6f4 in CThread::Action (this=0x30d9728) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/threads/Thread.cpp:221
#7  0x0065fde4 in CThread::staticThread (data=0x30d9728) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/threads/Thread.cpp:131
#8  0x76efef40 in start_thread (arg=0x6a5353a0) at pthread_create.c:335
#9  0x7517de18 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:86 from /usr/lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(2017-04-09, 22:54)Xeno22 Wrote: [ -> ]Here is my debug log of the crash while trying to open the info screen:

Thanks. Popcornmix has added a fix to texture caching (for when images aren't available) that will be in tomorrow's build.

Can you try this #0409x build which should not be crashing now: RPi2 (it's not a debug-enabled build, it's just the same as #0409 but includes the OMX image fix).

Edit: @SpokV build #0409x fixes the same issue you reported
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