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) [v3.4 - 2014/12/10] - christoofar - 2014-12-14

Just want to extend my huge thanks to Matt & the community in this hugely helpful thread. I was able to finally install Chrome/OE yesterday on my CB, and it's an absolute joy to use. Hardest part for me was trying to get to a command prompt =).
The Fire TV remote works a treat w/ this box too. Can't wait for Kodi final & more skins.
Matt I owe you numerous beers for your great work on this!!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - jsp1 - 2014-12-14

About the gray scale ramp, I was able to keep mine smooth with this update. It did need to be re-calibrated to achieve this though, which is strange. Anyway, I don't notice much difference, but I'm glad to know it is more stable.

Side note: The chromebox requires a significantly different picture setup on my television then the Roku, or my Blu-ray player which means switching presets every time I change source. Kind of annoying. I don't suppose there is a standard that is universal to all (or most) devices that anyone is aware of?

The chromebox settings look wonderful for chromebox use, and horrid for everything else. I find this unusual since most other devices are pretty close in calibration standard.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - teki4u - 2014-12-14

(2014-12-14, 14:14)noggin Wrote: Just a note to anyone running a Chromebox and OpenElec. The GPU hang finally seems to have been fixed. Experimental build here : http://forum.kodi.tv/showthread.php?tid=165707&pid=1859912#pid1859912

Allows VAAPI rendering (no need for disabling "Prefer VAAPI render method") and includes VAAPI hardware accelerated Motion Compensated (best) and Motion Adaptive (also quite good) de-interlacing that gives you an option over SW YADIF 2x.

Been running with VAAPI Rendering enabled and VAAPI Motion Compensated de-interlacing with high bitrate 1080/50i native content and it hasn't hung yet. Huge achievement. Makes the Chromebox an even more fantastic XBMC appliance.

I have already posted this lol http://forum.kodi.tv/showthread.php?tid=194362&pid=1860480#pid1860480. Maybe Matt can add a link to that experimental build or upload his build to OP so people that want to test can do so because posts get losts in the end.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - Matt Devo - 2014-12-14

(2014-12-14, 20:19)Veronica Wrote: I have already posted this lol http://forum.kodi.tv/showthread.php?tid=194362&pid=1860480#pid1860480. Maybe Matt can add a link to that experimental build or upload his build to OP so people that want to test can do so because posts get losts in the end.

given that the fix will be in the next OE release, and that these experimental builds differ pretty significantly from the mainline 5.0 OE branch, I'm not keen on making them available to a wider audience ATM, and potentially creating more non-script-related problems for people to post about in this thread Smile


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - teki4u - 2014-12-14

(2014-12-14, 20:43)Matt Devo Wrote:
(2014-12-14, 20:19)Veronica Wrote: I have already posted this lol http://forum.kodi.tv/showthread.php?tid=194362&pid=1860480#pid1860480. Maybe Matt can add a link to that experimental build or upload his build to OP so people that want to test can do so because posts get losts in the end.

given that the fix will be in the next OE release, and that these experimental builds differ pretty significantly from the mainline 5.0 OE branch, I'm not keen on making them available to a wider audience ATM, and potentially creating more non-script-related problems for people to post about in this thread Smile

You're right Matt. Didn't know the fix will be in next release, that is great news. Thanks!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - Tinwarble - 2014-12-14

Matt, I would fist like to thank you for your work at making getting these box set much easier than it would be if we had to do manual installations. As well as your work making pretty good instructions on how to use the script.

I just received my Asus Chromebox Thurs., followed the instructions and was able to get my box set up as a dual boot (ChromeOS+Openelec) fairly easily. With one exception, after I formatted the drive the script seemed to get wiped, so I had to re-download it. I'm not sure what happened, but except for that everything else went fine.

The only other problem that I have appears to be an EDID issue with my AVR, where about 75% of the time when I reboot I get a black screen and have to switch inputs to get a picture. But that's a Openelec or driver issue and I don't what to hijack this thread any more than it has already been about an unrelated issue.

There is one thing about the script though, that I would like to know. Is it possible to set the dual boot delay for something other than 1sec or 30sec? For me 1sec is too short and 30sec is too long, it would be nice just have the delay something like 5sec or 10sec.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - hansibull - 2014-12-14

Hi!
I just got my chromebox today (i3 model), and I've successfully installed Ubuntu in a dual boot mode. I got a Pioneer VSX-923 AV receiver (latest firmware installed), that supports most audio formats. My problem is that I can't get system audio working (GUI sounds etc)! The audio is not working in Chrome OS either. I've chosen my receiver in the audio settings in Kodi (HDA Intel, PIO VSX-923 on HDMI #0), and since I've enabled pass through audio, All movies and TV-shows (even those who only have a 2.0 sound track) got audio, but no system audio. If I change the resolution to something else that 1080p, I also get the system audio back, but now the resolution doesn't fit my TV. I also have issues with the well known black screen, when I reboot or change the source on my AV Receiver.
If I go to the audio settings and use the Output configuration "Fixed", My AV receiver is showing PCM on the display (and 5.1 ch, since that's my setup) and now I also got System audio! The problem is that If I'm watching a DTS-HD movie, it still says PCM on the display.

Will there be a patch that fixes these AVR related issues? Smile


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - jsp1 - 2014-12-14

(2014-12-14, 22:01)hansibull Wrote: Hi!
I just got my chromebox today (i3 model), and I've successfully installed Ubuntu in a dual boot mode. I got a Pioneer VSX-923 AV receiver, that supports most audio formats. My problem is that I cant get system audio working (GUI sounds etc)! The audio is not working in Chrome OS either. I've chosen my receiver in the audio settings in Kodi (HDA Intel, PIO VSX-923 on HDMI #0), and since I've enabled pass through audio, All movies and TV-shows (even those who only have a 2.0 sound track) got audio, but no system audio. If I change the resolution to something else that 1080p, I also get the system audio back, but now the resolution doesn't fit my TV. I also have issues with the well known black screen, when I reboot or change the source on my AV Receiver.
If I go to the audio settings and use the Output configuration "Fixed", My AV receiver is showing PCM on the display (and 5.1 ch, since that's my setup) and now I also got System audio! The problem is that If I'm watching a DTS-HD movie, it still says PCM on the display.

Will there be a patch that fixes these AVR related issues? Smile

If your receiver reports PCM 5.1 then you aren't getting passthrough. It sounds like your audio is being decoded on the Chromebox. This shouldn't be happening with a VSX-923. Possibly an Ubuntu thing and not a Kodi issue.

(2014-12-14, 21:18)Tinwarble Wrote: Matt, I would fist like to thank you for your work at making getting these box set much easier than it would be if we had to do manual installations. As well as your work making pretty good instructions on how to use the script.

I just received my Asus Chromebox Thurs., followed the instructions and was able to get my box set up as a dual boot (ChromeOS+Openelec) fairly easily. With one exception, after I formatted the drive the script seemed to get wiped, so I had to re-download it. I'm not sure what happened, but except for that everything else went fine.

The only other problem that I have appears to be an EDID issue with my AVR, where about 75% of the time when I reboot I get a black screen and have to switch inputs to get a picture. But that's a Openelec or driver issue and I don't what to hijack this thread any more than it has already been about an unrelated issue.

There is one thing about the script though, that I would like to know. Is it possible to set the dual boot delay for something other than 1sec or 30sec? For me 1sec is too short and 30sec is too long, it would be nice just have the delay something like 5sec or 10sec.

I'm fairly sure Matt already said that boot delay is limited to either 1 or 30 seconds. Which AVR are you using?

BTW, are you the Tinwarble responsible for the Western Digital Hub themes some time back?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - hansibull - 2014-12-14

(2014-12-14, 22:39)jsp1 Wrote:
(2014-12-14, 22:01)hansibull Wrote: Hi!
I just got my chromebox today (i3 model), and I've successfully installed Ubuntu in a dual boot mode. I got a Pioneer VSX-923 AV receiver, that supports most audio formats. My problem is that I cant get system audio working (GUI sounds etc)! The audio is not working in Chrome OS either. I've chosen my receiver in the audio settings in Kodi (HDA Intel, PIO VSX-923 on HDMI #0), and since I've enabled pass through audio, All movies and TV-shows (even those who only have a 2.0 sound track) got audio, but no system audio. If I change the resolution to something else that 1080p, I also get the system audio back, but now the resolution doesn't fit my TV. I also have issues with the well known black screen, when I reboot or change the source on my AV Receiver.
If I go to the audio settings and use the Output configuration "Fixed", My AV receiver is showing PCM on the display (and 5.1 ch, since that's my setup) and now I also got System audio! The problem is that If I'm watching a DTS-HD movie, it still says PCM on the display.

Will there be a patch that fixes these AVR related issues? Smile

If your receiver reports PCM 5.1 then you aren't getting passthrough. It sounds like your audio is being decoded on the Chromebox. This shouldn't be happening with a VSX-923. Possibly an Ubuntu thing and not a Kodi issue.


I only get PCM if I choose "fixed output configuration" If I choose "Best match" or "Optimized", I don't get any audio at all. Since I get a black screen every time I do some changes on the AVR, it seems like this is the EDID problem.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - Tinwarble - 2014-12-14

(2014-12-14, 22:39)jsp1 Wrote: I'm fairly sure Matt already said that boot delay is limited to either 1 or 30 seconds. Which AVR are you using?

BTW, are you the Tinwarble responsible for the Western Digital Hub themes some time back?

Yeah, 159 page. Wink I've read the majority of this thread (and may have seen that if it was said), but can't remember if if was stated or not. Plus between this and trying to stay up on AFTV threads and other things.....the old brain can't retain everything.

It's a Denon, but like I said, not going to hijack this thread over that.

And yep, one and the same.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - quicknir - 2014-12-14

(2014-12-14, 01:34)Matt Devo Wrote:
(2014-12-14, 01:26)Human_USB Wrote: Also make sure you have HDMI plugged in and not the display port..... that got me but YMMV. Smile

both HDMI and DP video outputs work properly when used independently; using both together is OS-specific

Actually, this eventually turned out to be the issue. With two different televisions and two different OS's (OE and Ubuntu), I consistently saw that the chromebox initially worked just fine with displayport, but switched to HDMI only the moment I entered the installation programs for OE or Ubuntu (I didn't have anything connected there). I was using a displayport-to-HDMI cable. I think it might be worth adding a note about that to the instructions (that using the HDMI out over the DP out is "recommended"), it would have honestly saved me 3-4 hours (and I probably would have ended up with OpenElec instead of Ubuntu, not that it's directly related). I finally used the HDMI port on a chance suggestion from a friend (I missed this possibility) and everything worked perfectly.

Got XBMC setup on Ubuntu quickly, and setup a 3TB external over USB3 to mount on boot via fstab. Only things left to do is setup transmission daemon (worse than I remembered).

I am seeing two minor issues though.

1) The first is that the CPU idles with one core at around 60%. This is not XBMC related. I've seen this in other posts too but have not seen a resolution.

2) I see the occasional freezing up, esp when doing video and menus simultaneously. I saw this mentioned in another post; someone mentioned that this is fixed completely in the newest XBMC builds, or is that only applicable for OE users?

Thanks to Matt for his fine work, especially with making the BIOS replacement so easy. Without this script I'd probably have bought an NUC instead and ended up at double cost, so thanks!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - jsp1 - 2014-12-14

(2014-12-14, 23:26)Tinwarble Wrote:
(2014-12-14, 22:39)jsp1 Wrote: I'm fairly sure Matt already said that boot delay is limited to either 1 or 30 seconds. Which AVR are you using?

BTW, are you the Tinwarble responsible for the Western Digital Hub themes some time back?

Yeah, 159 page. Wink I've read the majority of this thread (and may have seen that if it was said), but can't remember if if was stated or not. Plus between this and trying to stay up on AFTV threads and other things.....the old brain can't retain everything.

It's a Denon, but like I said, not going to hijack this thread over that.

And yep, one and the same.

I wasn't telling you to read the thread, lol...just saying the info came from Matt since that's who you asked. Not to mention there are two threads of discussion on this, so said info may not even be in this one. Anyway, I am using a Denon as well with no problems, if you'd like to PM I could try and help you troubleshoot if you're using Openelec.

I enjoyed your hub themes back when I still had my hub. Good stuff. I knew your name sounded familiar. Smile


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - Matt Devo - 2014-12-15

(2014-12-14, 23:52)quicknir Wrote:
(2014-12-14, 01:34)Matt Devo Wrote: both HDMI and DP video outputs work properly when used independently; using both together is OS-specific

Actually, this eventually turned out to be the issue. With two different televisions and two different OS's (OE and Ubuntu), I consistently saw that the chromebox initially worked just fine with displayport, but switched to HDMI only the moment I entered the installation programs for OE or Ubuntu (I didn't have anything connected there). I was using a displayport-to-HDMI cable. I think it might be worth adding a note about that to the instructions (that using the HDMI out over the DP out is "recommended"), it would have honestly saved me 3-4 hours (and I probably would have ended up with OpenElec instead of Ubuntu, not that it's directly related). I finally used the HDMI port on a chance suggestion from a friend (I missed this possibility) and everything worked perfectly.

I don't understand why people are using a DP-->HDMI cable when the box has HDMI out, but it certainly seems problematic, so I've added a note to the wiki about it.

Quote:Got XBMC setup on Ubuntu quickly, and setup a 3TB external over USB3 to mount on boot via fstab. Only things left to do is setup transmission daemon (worse than I remembered).

I am seeing two minor issues though.

1) The first is that the CPU idles with one core at around 60%. This is not XBMC related. I've seen this in other posts too but have not seen a resolution.

this is only an issue with the stock firmware (dual boot), a single stick of ram, and certain kernels/kernel configs. I added the fix to the wiki, which is to disable the TPM device via kernel boot parameters.

Quote:2) I see the occasional freezing up, esp when doing video and menus simultaneously. I saw this mentioned in another post; someone mentioned that this is fixed completely in the newest XBMC builds, or is that only applicable for OE users?

Thanks to Matt for his fine work, especially with making the BIOS replacement so easy. Without this script I'd probably have bought an NUC instead and ended up at double cost, so thanks!

are you using the recommended settings from the wiki? There's one Intel driver bug for which there is a workaround listed; the fix will be in future kernels or require a manually patched kernel.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - quicknir - 2014-12-15

I used the cable just because it was handy, I agree in general I wouldn't have picked that if both were equally available.

Not sure if the conditions you listed to have the CPU idle bug are meant to be OR'ed or AND'd. I am running single boot, and as far as I understand I don't have the stock firmware; when the system boots it says something about the bios that has your name at the end. Do you think that the wiki fix is still likely to help me? Just a bit nervous about trying it if my version of the problem does not fit into the standard diagnosis.

I will take a look at the wiki recommended settings and see if that helps with the freezing, thanks very much.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.4 - 2014/12/10] - Matt Devo - 2014-12-15

(2014-12-15, 01:53)quicknir Wrote: I used the cable just because it was handy, I agree in general I wouldn't have picked that if both were equally available.

Not sure if the conditions you listed to have the CPU idle bug are meant to be OR'ed or AND'd. I am running single boot, and as far as I understand I don't have the stock firmware; when the system boots it says something about the bios that has your name at the end. Do you think that the wiki fix is still likely to help me? Just a bit nervous about trying it if my version of the problem does not fit into the standard diagnosis.

I will take a look at the wiki recommended settings and see if that helps with the freezing, thanks very much.

if you did a standalone setup, then you're running my firmware, and the only thing I can think of that would cause the high CPU usage would be using an outdated kernel - what's the output of 'uname -a' ?