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
(2018-01-26, 14:35)popcornmix Wrote: [ -> ]Does the leak seem to be once per play? i.e. if you play/stop after a few seconds repeatedly does memory exhaust much faster than playing a single file that lasts an hour? (I'd guess it probably would)

I tested #0805 again, playing/stopping Elysium after about 5 seconds, and the leak seems to be quite small - 11 plays and the RAM deficit is only 48MB (compared with 120MB+ after 2 complete plays), so the leak seems to occur during/throughout playback, possibly the 1-2MB/s allocations are not being released at the end of playback?

(2018-01-26, 14:35)popcornmix Wrote: [ -> ]How hard would it be to build head of tree with older gcc/glibc? Does that crash with out-of-memory after repeated plays?
(I suspect that #0805 is really the culprit, but the evidence is currently a bit unclear).
BTW John is on holiday this week so we won't get an immediate fix, but would be nice to be sure the bug is in the hevc code when he returns.

I'm currently building latest LE master/Kodi master with gcc-6.2.0/glibc 2.25 (rather than gcc-7.1.0/glibc-2.26) however a lot of other packages were also updated to work with gcc-7.x so rolling back just gcc/glibc might not be a success (and several of the updates packages have received subsequent updated so rolling back the entire PR is tricky). Anyway... I'll let you know.
(2018-01-26, 18:51)ksooo Wrote: [ -> ]Applied the PR. Does not make a difference. Still working. Problem with custom keymaps? Just guessing.

Hmmm, no custom keymap here. Also tested with keyboard by pressing ENTER, everythings fine.
With Harmony remote no reaction.
(2018-01-26, 19:36)debutanker Wrote: [ -> ]
(2018-01-26, 18:51)ksooo Wrote: [ -> ]Applied the PR. Does not make a difference. Still working. Problem with custom keymaps? Just guessing.

Hmmm, no custom keymap here. Also tested with keyboard by pressing ENTER, everythings fine.
With Harmony remote no reaction.


We're getting closer! Keyboard works, remote not! I tested with keyboard only.
(2018-01-26, 19:38)ksooo Wrote: [ -> ]We're getting closer! Keyboard works, remote not! I tested with keyboard only.

Does this mean you've been able to reproduce with a non-LibreELEC builds?

I've just uploaded build #0125b: RPi2

This build does not include:
(2018-01-26, 02:19)Milhouse Wrote: [ -> ]Build Details:
  1. Additional commits/pull requests/changes not yet merged upstream:
(2018-01-26, 19:42)Milhouse Wrote: [ -> ]
(2018-01-26, 19:38)ksooo Wrote: [ -> ]We're getting closer! Keyboard works, remote not! I tested with keyboard only.

Does this mean you've been able to reproduce with a non-LibreELEC builds?

No.

@debutanker wrote that keyboard works, but Harmony not. I don't own a Harmony.
(2018-01-26, 19:38)ksooo Wrote: [ -> ]We're getting closer! Keyboard works, remote not! I tested with keyboard only. 
Me too!
Yes, but as i already mentioned in a few posts before ( https://forum.kodi.tv/showthread.php?tid...pid2696356 ), those behavior has been tested with NUC and GENERIC Build #0125.
But as it seems, GENERIC and Pi shows pretty much the same behavior.
(2018-01-26, 19:55)debutanker Wrote: [ -> ]Yes, but as i already mentioned in a few posts before ( https://forum.kodi.tv/showthread.php?tid...pid2696356 ), those behavior has been tested with NUC and GENERIC Build #0125.
But as it seems, GENERIC and Pi shows pretty much the same behavior.

The point is that it was not clear to me so far that it works with keyboard and not with Harmony remote. Can you confirm this?
Yes, can confirm that keyboard is working without problems and Harmony not.
I assume the OK remote button is working elsewhere in the GUI, it's just not working in the Live TV? That might rule out the kernel change. I'll upload another build based on the older 4.14.14 kernel with all other changes the same as #0125.
Haven't tested with keyboard, only with remote, but with 0125b it isn't working too only in LiveTV
while playing a video the OK-button is working
I've just tested my Harmony One remote with RPi2 (MCE USB dongle) and Intel NUC (built-in IR) and the OK button (and all other buttons) are working normally with #0125. However I don't have a LiveTV setup to test so can't help test that.
Could reproduce this here, OK on remote is working fine and also brings up OSD on normal video playback. Only livetv is affected.

During livetv OK button hits kodi fine, but action is Select instead of OSD:
Code:
18:40:52.007 T:1941894144   DEBUG: LIRC: Update - NEW at 3238985:160 0 KEY_OK devinput (KEY_OK)
18:40:52.008 T:1941894144   DEBUG: HandleKey: 11 (0x0b, obc244) pressed, action is Select

With Enter on keyboard it looks fine (action OSD):
Code:
18:41:00.618 T:1941894144   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
18:41:00.619 T:1941894144   DEBUG: HandleKey: return (0xf00d) pressed, action is OSD
18:41:00.619 T:1941894144   DEBUG: ------ Window Init (VideoOSD.xml) ------

With 0124 OK button looks fine as well, action is OSD:
Code:
18:49:14.599 T:1942049792   DEBUG: LIRC: Update - NEW at 89509:160 0 KEY_OK devinput (KEY_OK)
18:49:14.599 T:1942049792   DEBUG: HandleKey: 11 (0x0b, obc244) pressed, action is OSD
18:49:14.599 T:1942049792   DEBUG: ------ Window Init (VideoOSD.xml) ------

so long,

Hias
Those with the OSD issue, please try build #0125c: RPi2

This is the same as #0125 but with the 4.14.14 kernel instead of 4.14.15.
(2018-01-26, 20:53)HiassofT Wrote: [ -> ]During livetv OK button hits kodi fine, but action is Select instead of OSD:

I'll try reverting:
(2018-01-26, 02:19)Milhouse Wrote: [ -> ]
  1. XBMC:
    • [gui] cleanups in WindowManager especially for getting the active window and dialog id (PR:13433, 5 commits, 23 files changed)

to see if that is responsible... after that I'm out of options/guesses.
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