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: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - jsp1 - 2015-12-29

(2015-12-29, 07:18)Matt Devo Wrote:
(2015-12-29, 05:59)jsp1 Wrote: Hello Matt,

Is it possible to keep the chromebox alive (without disabling auto suspend) as long as it is serving a file to a different client via smb.

As it is, if the suspend time comes and you are watching something from a second client, it will still go to sleep.

This is in addition to no apparent hard drive spindown on sleep. I am testing a possible solution for the spindown problem now. The suspend has me stumped.

Any help would be greatly appreciated.

Thanks.
Sounds like an OS or Kodi issue, not really Chromebox specific. I'd start a new thread in the Linux support forum.

Well, it is fair to assume it is an Openelec issue. I haven't tried with other hardware, except the Win7 pc that was pulling NAS duty. I thought perhaps it was a bios thing (not recognizing the box was serving a file), but fair enough...I'll try and get an answer on the OE chat.

Thanks.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - Matt Devo - 2015-12-29

(2015-12-29, 16:33)jsp1 Wrote: Well, it is fair to assume it is an Openelec issue. I haven't tried with other hardware, except the Win7 pc that was pulling NAS duty. I thought perhaps it was a bios thing (not recognizing the box was serving a file), but fair enough...I'll try and get an answer on the OE chat.

Thanks.

Nah, that's way too high level of an activity for firmware to play an active role. Firmware sets up the hardware, advertises resources and capabilities to the OS, and finds/runs the bootloader - that's pretty much it.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - theslime - 2015-12-30

Not sure if I should post here or in the Linux - New Era: VAAPI with EGL interoperation thread since I've followed that how-to, but since I have an Asus Chromebox here goes...

The issue is this: After watching a while kswapd0 will start using 100 percent of the CPU and the frames will start dropping so rapidly that it makes videos unwatchable. A reboot will cure it until next time.

It doesn't seem to happen after a set number of minutes, it seems more like happening after more or less 1GB of video, but that number could be a coincidence.

Googling took me to the Arch forums and to a Launchpad bug report, but I don't know enough to see if these are relevant or not. If there's no fix, I hope there's a workaround because I don't really want to go back to Kodibuntu unless I have to (I had no issues there, though (once I upgraded the kernel to 3.18.4)).

Logs:
Code:
dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/14279992/

DISPLAY=:0 vainfo | pastebinit
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
http://paste.ubuntu.com/14279993/

cat ~/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/14279994/

dmesg | pastebinit
http://paste.ubuntu.com/14279998/



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - Matt Devo - 2015-12-30

(2015-12-30, 13:21)theslime Wrote: Not sure if I should post here or in the Linux - New Era: VAAPI with EGL interoperation thread since I've followed that how-to, but since I have an Asus Chromebox here goes...

it's a software/playback-related issue, the VAAPI thread is the correct place


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - theslime - 2016-01-02

Thanks. But it looks like fritsch just quit the forum and dev community. I posted it in case someone else steps up, but I'm tempted to just go back to Kodibuntu stable or maybe OpenELEC (despite inferior performance) since this is basically a dealbreaker bug.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - Matt Devo - 2016-01-02

(2016-01-02, 14:36)theslime Wrote: Thanks. But it looks like fritsch just quit the forum and dev community. I posted it in case someone else steps up, but I'm tempted to just go back to Kodibuntu stable or maybe OpenELEC (despite inferior performance) since this is basically a dealbreaker bug.

how to you figure that you're getting inferior performance from OpenELEC? Milhouse's OpenELEC 7.0/Kodi 17 test builds have all the EGL stuff as well, since that is all part of Kodi 17.

And fritsch's OE 6.0.98 EGL build is still the best option for most users right now


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - rickyman - 2016-01-02

i am wondering can this chromebox handle cetoncard 4 tuner usb or not?

Minimum system requirements:
PC with Microsoft Windows 7 SP1 Home Premium, Professional or Ultimate. Not compatible with Windows 8.
2.0 GHz or faster dual-core or quad-core 64-bit (x64) processor
3 GB of RAM (4 GB recommended)
350 GB of available hard disk drive space recommended for 50 hours of HDTV recordings
1 available USB 2.0 or greater port
HDCP-compliant graphics card or on-board graphics
HDMI output, or DVI output with separate 5.1 audio output required for Dolby 5.1 surround sound
One Multi-stream CableCARD™ (M-Card), available from your cable TV provider
Digital cable TV subscription from your local cable TV provider. HD package required to receive High Definition TV channels
Please see the Multi-room Ceton InfiniTV System Requirements for PCs using multiple tuner devices and/or multiple extenders


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - rmilyard - 2016-01-03

So maybe someone here can help me out. I have an Asus ChromeBox running OpenELEC 5. I use WiFi and have advancedsettings.xml that use for MySQL and have all movies on my FreeNAS server. Whenever I upgrade this box to OpenELEC 6 it turns off the WiFi on boot. I have to turn it back on but then doesn't read the advancedsettings.xml. So when I reboot it turns off WiFi again. I have on systems on 6 that aren't Asus system and worked file. It's only this Asus ChromeBox. If I go back to OpenELEC 5 it works fine.

Ideas as to how to fix this?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - Matt Devo - 2016-01-03

(2016-01-03, 20:37)rmilyard Wrote: So maybe someone here can help me out. I have an Asus ChromeBox running OpenELEC 5. I use WiFi and have advancedsettings.xml that use for MySQL and have all movies on my FreeNAS server. Whenever I upgrade this box to OpenELEC 6 it turns off the WiFi on boot. I have to turn it back on but then doesn't read the advancedsettings.xml. So when I reboot it turns off WiFi again. I have on systems on 6 that aren't Asus system and worked file. It's only this Asus ChromeBox. If I go back to OpenELEC 5 it works fine.

Ideas as to how to fix this?

it's a known OE6 issue which affects more than just the ChromeBox (some NUCs and others too): https://github.com/OpenELEC/OpenELEC.tv/issues/4333

unfortunately no determination as to what the problem is, otherwise I'd backport the fix and do a custom build.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - ilovethakush - 2016-01-04

(2016-01-03, 20:37)rmilyard Wrote: So maybe someone here can help me out. I have an Asus ChromeBox running OpenELEC 5. I use WiFi and have advancedsettings.xml that use for MySQL and have all movies on my FreeNAS server. Whenever I upgrade this box to OpenELEC 6 it turns off the WiFi on boot. I have to turn it back on but then doesn't read the advancedsettings.xml. So when I reboot it turns off WiFi again. I have on systems on 6 that aren't Asus system and worked file. It's only this Asus ChromeBox. If I go back to OpenELEC 5 it works fine.

Ideas as to how to fix this?

I've never experienced turning on or rebooting a chromebox (6.0.98) and having wifi be turned off.

Edit: Thought I'd add some more info. My chromebox is Asus. I don't use MySQL or any databases besides local. I do have an advancedsettings but it again has nothing to do with databases, just a sorttoken in there.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - Matt Devo - 2016-01-04

(2016-01-04, 01:09)ilovethakush Wrote: I've never experienced turning on or rebooting a chromebox (6.0.98) and having wifi be turned off.

Edit: Thought I'd add some more info. My chromebox is Asus. I don't use MySQL or any databases besides local. I do have an advancedsettings but it again has nothing to do with databases, just a sorttoken in there.

It's an issue when using an external mysql database, it's unusable with WiFi in OE6


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - gene0915 - 2016-01-04

Will this work?

I bought an Asus Chromebox a LONG time ago and with Matt's awesome script, I configured it for a standalone OpenELEC install. It's been working perfectly for a year +/-. Now, I replaced this box with a Shield TV and plan on re-purposing the Chromebox. I have a spare 120 gig SATA SSD. I realize I can't install a 7mm SATA SSD into the Chromebox and must use a M.2 SSD but, a 120 gig M.2 SSD is about $80. Can I go buy a $10 USB 3.0 2.5" hard drive enclosure, put the SATA SSD in THAT and configure the Chromebox to boot from USB by default? (I don't want to have to hit some key at boot time and select the USB drive every time I turn it on.)

Also, is there a Linux disto that works best with the Chromebox or I can go with whatever I want? Will probably go with Mint.

Last note...... if I want to update the Coreboot firmware, should I boot from a live Linux distro and update before I do all this or is it safe to update the Coreboot BIOS afterwards? (I know, I know.....if it ain't broke, don't touch it.)

PS Just in case anyone asks, the 16GB of internal storage won't work for my re-purposing efforts. I need to have about 70-80 gigs of drive space and 120 gigs of storage will work perfectly.

Thanks


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/20] - Matt Devo - 2016-01-04

(2016-01-04, 01:39)gene0915 Wrote: Will this work?

I bought an Asus Chromebox a LONG time ago and with Matt's awesome script, I configured it for a standalone OpenELEC install. It's been working perfectly for a year +/-. Now, I replaced this box with a Shield TV and plan on re-purposing the Chromebox. I have a spare 120 gig SATA SSD. I realize I can't install a 7mm SATA SSD into the Chromebox and must use a M.2 SSD but, a 120 gig M.2 SSD is about $80. Can I go buy a $10 USB 3.0 2.5" hard drive enclosure, put the SATA SSD in THAT and configure the Chromebox to boot from USB by default? (I don't want to have to hit some key at boot time and select the USB drive every time I turn it on.)

yep, no problem.

Quote:Also, is there a Linux disto that works best with the Chromebox or I can go with whatever I want? Will probably go with Mint.

GalliumOS - it's a Ubuntu derivative optimized for Haswell/Broadwell ChromeOS devices. Mint probably works fine too.

Quote:Last note...... if I want to update the Coreboot firmware, should I boot from a live Linux distro and update before I do all this or is it safe to update the Coreboot BIOS afterwards? (I know, I know.....if it ain't broke, don't touch it.)

no difference if you update now from OE or Live Linux or full install later, but I'd wait a day or so as I'll be posting new firmware that fixes the long boot issue introduced in the 12/20 firmware.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - theslime - 2016-01-04

(2016-01-02, 18:28)Matt Devo Wrote:
(2016-01-02, 14:36)theslime Wrote: Thanks. But it looks like fritsch just quit the forum and dev community. I posted it in case someone else steps up, but I'm tempted to just go back to Kodibuntu stable or maybe OpenELEC (despite inferior performance) since this is basically a dealbreaker bug.

how to you figure that you're getting inferior performance from OpenELEC? Milhouse's OpenELEC 7.0/Kodi 17 test builds have all the EGL stuff as well, since that is all part of Kodi 17.

And fritsch's OE 6.0.98 EGL build is still the best option for most users right now
Sorry, I was really tired and put the paranthesis in the wrong place. Kodibuntu stable is the one that has inferior performance, not OE.

My issue with OpenELEC is about preference, not quality: my Chromebox is really a home server first and HTPC second, and I need easy access to run Python virtualenvs etc. Basically I need a full distro, and since the same issue seems to be present on a similar Arch setup (per the link I posted), I'm stumped as to what to do (except wait until the dust's settled around Jarvis and hope that it will solve itself).

I'll go back to Kodibuntu with Isengard for the time being. That said, is there anyone else besides fritsch that would be interested in looking at the logs I posted? I don't know which dev does what.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/01/03] - calcio1 - 2016-01-04

Is it possible to 'quick switch' from openelec to chromeOS somehow?

ie without rebooting

For some strange reason my box won't boot on my new tv unless the HDMI cable is unplugged.

I have to wait til i hear the 'boot complete' beep before plugging in the cable - which makes it difficult to know when to select OS!