Kodi Community Forum
Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+--- Thread: Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] (/showthread.php?tid=194362)

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 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - jacko5 - 2016-08-14

(2016-08-14, 20:14)Matt Devo Wrote:
(2016-08-14, 19:55)jacko5 Wrote: Matt,
Got something happening.
Changed the 2 ram memory chips in the samsung chromebox and now i have something on screen,
What does this mean ?

it means that it's alive and you just need to install LibreELEC from USB. It's trying to boot ChromeOS off the SSD, but can't do that with the new custom firmware, only Linux.

Matt,
Ok i have put the latest libreelec image onto a usb flash drive and put it into the usb on the chromebox, when i boot it up
i get the same screen as above.
I only have a bluetooth keyboard with a usb dongle thing with it.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-08-14

Bluetooth or not, if it doesn't work when you press ESC for the boot menu then you need to use a different one


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - jacko5 - 2016-08-14

Matt,
I have tried another usb keyboard, its works now.
I have 2 usb flash drives.
When i put a librelec image file on any of them it says on screen no operating system found.
I have tried a librelec img file and also the files that your software made to my usb flash drive when flashing your coreboot software via the chromebox.
Can you direct me to a image or files to put onto any of my usb flash drives.
Sorry about this.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - jacko5 - 2016-08-14

Matt,
Got it working now mate.
It must have been a bad image on the USB Flash drive.
I made another Libreelec USB disk and it flashed 100% ok.
Many thanks for all your help ;-)


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-08-14

(2016-08-14, 22:08)jacko5 Wrote: Matt,
Got it working now mate.
It must have been a bad image on the USB Flash drive.
I made another Libreelec USB disk and it flashed 100% ok.
Many thanks for all your help ;-)

glad to hear it wasn't a bad flash, and that you got everything sorted Smile


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - darby427 - 2016-08-14

Thanks! That's exactly what I got happen to have $60 worth eBay gift cards laying around so that deal and decided to jump on it. I have been watching the Asus box for a while and I missed out on the Newegg deal of 115 last year

(2016-08-14, 19:22)Matt Devo Wrote:
(2016-08-14, 14:55)darby427 Wrote: I just picked up a lenovo chrombox - 10H50003US - celeron 3205 for very cheap so I figured I dont have much to lose to see if I can get kodi working on it. Based on what I have read it should work - anyone have any experiences with it?

My current pc that I am using for kodi has seen better days (core2 duo 8300 / nvidia 430) most usb ports dont work, the video card fan is shot and starts to overheat and for some reason I lost bitstreaming of the DTS MA track - always defaults to the DTS core.

works perfectly as a Kodi box using the instructions here. A great deal at $109 shipped from Newegg on ebay at the moment as well.



RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - nickr - 2016-08-14

Surely you have access to one usb wired keyboard?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - robca - 2016-08-15

(2016-08-14, 09:53)Matt Devo Wrote:
(2016-08-14, 02:16)robca Wrote: I changed as per your suggestion the video settings to 1080i/29.97 (since the mpeg video is encoded that way: here's the analysis of the video I played: http://pastebin.com/BFiUspyx). After changing he settings, the frequency of the problem has decreased dramatically (from a couple of times every 2 hours to once in 3-4), but it's still there... Did I change the right settings?

Kodi's output resolution should be 1080p59.97 (or 60). 1080i60 content needs to be deinterlaced to 1080p60, not do some weird field drops to get 1080p30. Ensure

while the video is playing, bring up the video settings menu and set Deinterlacing to auto, type to Motion Compensated, and scaling to Bilinear; then save as default at the bottom of the settings menu.

Thanks again for looking into this. I changed the output to 1080p58.94, and deinterlacing to Motion Compensated (VAAPI). The problem got much worse, happening roughly three times as frequently. Reverting deinterlacing back to Auto Select makes things better (still freezes from time to time, but same as before). With motion compensated once I could not recover from the problem (had to reboot, otherwise no video would play no matter what I tried), another time Kodi restarted behind the scenes (black screen with a mouse pointer, Kodi startup screen, then back to the home page UI)

I noticed that when the video freezes, if I press Display I get a debugging-like display overlayed, and that shows one of the 2 CPUs pegged at 100%, the other around 10-15%. Most frequently it's CPU1, but can also be CPU0 pegged. During normal playback, both CPUs hover between 8% and 20%, roughly, and while fast forwarding 16x, both are around 30-40%

Anything else worth trying?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-08-15

what's the video format / decoder being used? take a screenshot with the codec window up


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - robca - 2016-08-15

(2016-08-15, 00:56)Matt Devo Wrote: what's the video format / decoder being used? take a screenshot with the codec window up

Here it is

Image


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-08-15

(2016-08-15, 05:13)robca Wrote: Here it is

looks good, there's nothing config wise that seems incorrect, which leads me to think it might be network related. can you copy a file to the Chromebox or USB and see if playback I better? You should be able to do full MCDI and have no drops/stuttering, I can here with similar sample files


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - robca - 2016-08-15

(2016-08-15, 05:16)Matt Devo Wrote:
(2016-08-15, 05:13)robca Wrote: Here it is

looks good, there's nothing config wise that seems incorrect, which leads me to think it might be network related. can you copy a file to the Chromebox or USB and see if playback I better? You should be able to do full MCDI and have no drops/stuttering, I can here with similar sample files

The files are all local, stored on a USB 2.5" HDD.

If it were a connection problem, would it really peg once CPU to 100%? There's no stuttering: the video playback completely stops for 5-8 seconds, none of the payback buttons on the remote have any effect, and one oft the CPUs is 100% loaded. After 5-8 seconds, it returns to the list of recorded shows, and I can can restart playback from where it got interrupted

I'll try ad find another HDD to test with, but as I said there aren't any other problems with that HDD, so it's not my primary suspect


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-08-16

(2016-08-15, 16:17)robca Wrote: The files are all local, stored on a USB 2.5" HDD.

If it were a connection problem, would it really peg once CPU to 100%? There's no stuttering: the video playback completely stops for 5-8 seconds, none of the payback buttons on the remote have any effect, and one oft the CPUs is 100% loaded. After 5-8 seconds, it returns to the list of recorded shows, and I can can restart playback from where it got interrupted

I'll try ad find another HDD to test with, but as I said there aren't any other problems with that HDD, so it's not my primary suspect

I'm struggling to come up with a cause, and I'm unable to reproduce here. I even recorded the NBC feed from my HDHR and played it back over WiFi, with MCDI deinterlacing, and had 0 skips,0 drops, and no CPU spikes of any kind

can you boot the LE installer in live and mode and test a clean config?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - robca - 2016-08-16

(2016-08-16, 05:29)Matt Devo Wrote:
(2016-08-15, 16:17)robca Wrote: The files are all local, stored on a USB 2.5" HDD.

If it were a connection problem, would it really peg once CPU to 100%? There's no stuttering: the video playback completely stops for 5-8 seconds, none of the payback buttons on the remote have any effect, and one oft the CPUs is 100% loaded. After 5-8 seconds, it returns to the list of recorded shows, and I can can restart playback from where it got interrupted

I'll try ad find another HDD to test with, but as I said there aren't any other problems with that HDD, so it's not my primary suspect

I'm struggling to come up with a cause, and I'm unable to reproduce here. I even recorded the NBC feed from my HDHR and played it back over WiFi, with MCDI deinterlacing, and had 0 skips,0 drops, and no CPU spikes of any kind

can you boot the LE installer in live and mode and test a clean config?

Will do as soon as I have a "free moment" on the Chromebox... right now that box is "mission critical" for my wife, even with the freezes: don't touch her Olympics Smile

For the moment, thanks for all the suggestions and time you are spending on this


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - robca - 2016-08-17

What's the best file system to use for an external USB disk (it's a 500Gb 2.5" HDD connected with a USB-to-SATA adapter). Currently it's ExFAT (not sure why I chose that at the time, I read a lot of conflicting info on what's the best file system to use)

Should I use ext4 instead? Ideally I'd like to be able to also use that disk for Windows... how good is LibreElec's NTFS support (read and write)? I know I can install utilities to read ext4 on Windows, but not all my PCs have that installed

I wonder if ExFat can cause the freeze problems I'm seeing (but would be weird that recording is never affected), so I'm tryin gto eliminate all possible sources of problems