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 ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - XBMCNutball - 2014-06-30

I'm loving the boot speed of the Chromebox with Open Elec but I've got an issue where I was wanting to play with installing Windows7 and ThinPC on the box so that I can play with my Ceton extender some more. I cannot seem to hit ESC quick enough (it just boots right to Open Elec even if I'm holding ESC down the whole time. I've tried booting into OpenElec and hitting reboot, press and hold the power button, pull the power etc.. but I cannot seem to get the prompt to select boot device. Is there any way that I can change something via SSH in openelec to slowdown the Seabios boot process?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - Matt Devo - 2014-06-30

(2014-06-30, 20:47)XBMCNutball Wrote: I'm loving the boot speed of the Chromebox with Open Elec but I've got an issue where I was wanting to play with installing Windows7 and ThinPC on the box so that I can play with my Ceton extender some more. I cannot seem to hit ESC quick enough (it just boots right to Open Elec even if I'm holding ESC down the whole time. I've tried booting into OpenElec and hitting reboot, press and hold the power button, pull the power etc.. but I cannot seem to get the prompt to select boot device. Is there any way that I can change something via SSH in openelec to slowdown the Seabios boot process?

#1, Windows 7 isn't going to run on here, period.

#2, You're not going to even get the 'Press ESC' prompt if SeaBIOS doesn't recognize the connected USB device. Older versions (pre 06-13) were more problematic about this than now due to a bug I have since fixed. There's no way to change any behavior of SeaBIOS outside of flashing a different version.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - XBMCNutball - 2014-06-30

(2014-06-30, 20:57)Matt Devo Wrote:
(2014-06-30, 20:47)XBMCNutball Wrote: I'm loving the boot speed of the Chromebox with Open Elec but I've got an issue where I was wanting to play with installing Windows7 and ThinPC on the box so that I can play with my Ceton extender some more. I cannot seem to hit ESC quick enough (it just boots right to Open Elec even if I'm holding ESC down the whole time. I've tried booting into OpenElec and hitting reboot, press and hold the power button, pull the power etc.. but I cannot seem to get the prompt to select boot device. Is there any way that I can change something via SSH in openelec to slowdown the Seabios boot process?

#1, Windows 7 isn't going to run on here, period.

#2, You're not going to even get the 'Press ESC' prompt if SeaBIOS doesn't recognize the connected USB device. Older versions (pre 06-13) were more problematic about this than now due to a bug I have since fixed. There's no way to change any behavior of SeaBIOS outside of flashing a different version.

Thank you so much for the quick response. Why no 7? Is that b/c of the bios? I was hoping to try using this out as a ThinPC type of device too. Love this hardware and I'm for sure going to be doing a few more of these around the house with XBMC but I was just hoping to play around in a little bit of a professional capacity. I can see a major benefit to some of the companies I work with in the virtual desktop world. This hardware is way better than the typical Thinclient so Vmware View, Xendesktop, and RDS could seriously crank on these. There are a few Linux distros I could try that have those clients but windows opens up some serious capabilities for both ideas. (I could even hand out a Ceton Tuner to it if it's a Windows box).

I just tried it with the same (unmodified) USB stick that I loaded open elec with but it still just flys right by. Am I able to flash it from within OpenElec or do I just need to get lucky on hitting ESC at just the right time. Any other keys like F12 or delete/pause/break work to slow it down? The screen usually starts displaying about 1-2 secs after I would expect to see that prompt.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - Matt Devo - 2014-06-30

(2014-06-30, 21:23)XBMCNutball Wrote: Thank you so much for the quick response. Why no 7? Is that b/c of the bios? I was hoping to try using this out as a ThinPC type of device too. Love this hardware and I'm for sure going to be doing a few more of these around the house with XBMC but I was just hoping to play around in a little bit of a professional capacity. I can see a major benefit to some of the companies I work with in the virtual desktop world. This hardware is way better than the typical Thinclient so Vmware View, Xendesktop, and RDS could seriously crank on these. There are a few Linux distros I could try that have those clients but windows opens up some serious capabilities for both ideas. (I could even hand out a Ceton Tuner to it if it's a Windows box).

It's a "Coreboot doesn't implement the hundreds of ACPI workarounds required for Windows 7" issue. Windows 8 runs fine.

Quote:I just tried it with the same (unmodified) USB stick that I loaded open elec with but it still just flys right by. Am I able to flash it from within OpenElec or do I just need to get lucky on hitting ESC at just the right time. Any other keys like F12 or delete/pause/break work to slow it down? The screen usually starts displaying about 1-2 secs after I would expect to see that prompt.

it's not a timing issue -- if the USB stick is recognized, the 'Press ESC for boot menu" text will show for 5 seconds. If your screen isn't syncing up quickly enough, just hit ESC *once* before the screen comes on, and you should have the menu when it does.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - furii - 2014-06-30

(2014-06-30, 20:42)noggin Wrote: I think furii is talking about full resolution 3D - which can be encoded as either MVC (which is an H264 1920x1080/24p feed for one eye and an additional difference stream use to generate the other eye feed from - XBMC currently doesn't handle MVC) OR slightly more oddball 1920x2160 / 3840x1080 or 2560x720 / 1280 x 1440 full-resolution SBS or TAB feeds.

Both then need to be output as frame packed HDMI (which is effectively a 1920 x 2160+a bit 3D specific HDMI resolution I believe?)

too be honest i don't know the exact technical details. i was mainly just looking to head off any potential misinformation without confirmation. with all the work matt has been putting in i would hate to see a poster say "you said XYZ works" when that may not be the case. anyway, back to 3d, my limited understanding from following the NUC thread is that framepacked 3d needed an i3 or faster processor. however that could also be because the step down from the i3 NUC has a baytrail processor which i believe is significantly slower than the haswell-based 2955u.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - Thoir - 2014-07-01

Thanks matt and everyone else for your help with my questions Smile. I'm not super worried if this setup doesnt work exactly as I want because I have a non 3D tv I can use this on and get an i3 if needed so no biggie I just wanted general knowledge that people say it should work vs an unknown.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - jsp1 - 2014-07-01

(2014-06-30, 23:22)furii Wrote:
(2014-06-30, 20:42)noggin Wrote: I think furii is talking about full resolution 3D - which can be encoded as either MVC (which is an H264 1920x1080/24p feed for one eye and an additional difference stream use to generate the other eye feed from - XBMC currently doesn't handle MVC) OR slightly more oddball 1920x2160 / 3840x1080 or 2560x720 / 1280 x 1440 full-resolution SBS or TAB feeds.

Both then need to be output as frame packed HDMI (which is effectively a 1920 x 2160+a bit 3D specific HDMI resolution I believe?)

too be honest i don't know the exact technical details. i was mainly just looking to head off any potential misinformation without confirmation. with all the work matt has been putting in i would hate to see a poster say "you said XYZ works" when that may not be the case. anyway, back to 3d, my limited understanding from following the NUC thread is that framepacked 3d needed an i3 or faster processor. however that could also be because the step down from the i3 NUC has a baytrail processor which i believe is significantly slower than the haswell-based 2955u.

Fair enough, if xbmc doesn't support frame packed 3d I can't confirm support. However, based on the very similar graphics hardware between i3 and celeron IF hardware decoding is supported there is no reason the celeron shouldn't handle it. Only software rendering relies heavily on processor power. As I said though, I'm open to someone more knowledgeable making a case otherwise. To be clear, I was not claiming the box will support MVC or frame packed output. Although it could have been taken as such...so thank you for covering my rear on that.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - Mark the Red - 2014-07-01

(2014-06-28, 17:00)Igor2014 Wrote: I'm not a guru in Linux, so I tried simple solution. So here what I did 9maybe not the most efficient way).

1. Flash cooreboot using Matt's method (to enable standalone linux installation).
2. Install Fedora 20. It can be any distro. I used KDE spin.
3. Create xbmc user without password.
4. Make xbmc user auto-logon (I did it through KDE configuration panel)
5. Install Openbox:
Code:
yum install openbox
6.Download and install RPMFusion repos from http://rpmfusion.org/Configuration
7 Instal XBMC
Code:
yum install xbmc
8.Install Steam
Code:
yum install steam
9.Logon as xbmc user
10. Add XBMC application to autostart (I did it through KDE configuration panel).
11. Run XBMC and install Advanced Launcher (http://www.gwenael.org/forum/viewtopic.php?id=3)
12. Add Steam widget to Advanced Launcher.
13. Log-off.
14. Select session - openbox.
15. Log-in again.
That's it.

Thanks Igor. Downloading the Fedora KDE Spin right now (downloaded was this one, right ?) https://spins.fedoraproject.org/kde/#downloads

If I don't reply within a week thanking you again for your awesome guidance, I will have hung myself in Linux induced frustration at bricking my new Chromebox for sucking at teh Linux.....

Wish me luck!


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - MindSpawn - 2014-07-01

I have the Celeron version and upgraded the RAM to 4GB. I setup ubuntu with xbmc in dual boot mode. Everything plays fine but I am seeing high CPU usage. I did see this listed as a known issue however the first post mentions that this does not affect if RAM is upgraded to 4GB. However, I am still seeing this issue. I dont see any processes using the CPU so much in htop but the CPU percentage sometimes pegs a single core to close to 100%. Does anyone know what is consuming the cycles or if there is any fix for it?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - Matt Devo - 2014-07-01

(2014-07-01, 07:59)sumanthjv Wrote: I have the Celeron version and upgraded the RAM to 4GB. I setup ubuntu with xbmc in dual boot mode. Everything plays fine but I am seeing high CPU usage. I did see this listed as a known issue however the first post mentions that this does not affect if RAM is upgraded to 4GB. However, I am still seeing this issue. I dont see any processes using the CPU so much in htop but the CPU percentage sometimes pegs a single core to close to 100%. Does anyone know what is consuming the cycles or if there is any fix for it?

what kernel version? Be sure you are running 3.14+


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - Smobbo - 2014-07-01

(2014-07-01, 07:59)MindSpawn Wrote: I have the Celeron version and upgraded the RAM to 4GB. I setup ubuntu with xbmc in dual boot mode. Everything plays fine but I am seeing high CPU usage. I did see this listed as a known issue however the first post mentions that this does not affect if RAM is upgraded to 4GB. However, I am still seeing this issue. I dont see any processes using the CPU so much in htop but the CPU percentage sometimes pegs a single core to close to 100%. Does anyone know what is consuming the cycles or if there is any fix for it?

The high CPU is related to single and dual channel RAM. So if you upgraded to 1 4GB RAM stick it could still cause the high CPU usage. 2 sticks of 2 GB RAM should solve the problem Smile . (or 2 sticks of 4 GB RAM).


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - noggin - 2014-07-01

(2014-07-01, 10:10)Smobbo Wrote:
(2014-07-01, 07:59)MindSpawn Wrote: I have the Celeron version and upgraded the RAM to 4GB. I setup ubuntu with xbmc in dual boot mode. Everything plays fine but I am seeing high CPU usage. I did see this listed as a known issue however the first post mentions that this does not affect if RAM is upgraded to 4GB. However, I am still seeing this issue. I dont see any processes using the CPU so much in htop but the CPU percentage sometimes pegs a single core to close to 100%. Does anyone know what is consuming the cycles or if there is any fix for it?

The high CPU is related to single and dual channel RAM. So if you upgraded to 1 4GB RAM stick it could still cause the high CPU usage. 2 sticks of 2 GB RAM should solve the problem Smile . (or 2 sticks of 4 GB RAM).

The HP Chromebox only has a single SODIMM slot AIUI. Does the HP suffer from the same issue? If so that could be a reason to go for the Asus - as you won't be able to put in 2 sticks?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - Igor2014 - 2014-07-01

(2014-07-01, 07:10)Mark the Red Wrote: Thanks Igor. Downloading the Fedora KDE Spin right now (downloaded was this one, right ?) https://spins.fedoraproject.org/kde/#downloads

If I don't reply within a week thanking you again for your awesome guidance, I will have hung myself in Linux induced frustration at bricking my new Chromebox for sucking at teh Linux.....

Wish me luck!

Yes that's what I used, installed 64-bit edition.
Make sure you are using Fedora Live USB creator to put your distro on USB. It might not work with other USB creators.
https://fedorahosted.org/liveusb-creator/

Good luck!


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - Matt Devo - 2014-07-01

(2014-07-01, 10:14)noggin Wrote: The HP Chromebox only has a single SODIMM slot AIUI. Does the HP suffer from the same issue? If so that could be a reason to go for the Asus - as you won't be able to put in 2 sticks?

I'm not sure if the stock HP firmware has the same issue(s) as the stock Asus firmware. Someone with an HP will need to let us know.

(2014-07-01, 14:56)Igor2014 Wrote: Yes that's what I used, installed 64-bit edition.
Make sure you are using Fedora Live USB creator to put your distro on USB. It might not work with other USB creators.
https://fedorahosted.org/liveusb-creator/

Good luck!

with the Coreboot firmware, you shouldn't have any issues regardless of which USB creator you use. I personally use UUI for most things and don't have any problems.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.12 - 2014/06/30] - Igor2014 - 2014-07-01

(2014-07-01, 15:35)Matt Devo Wrote: with the Coreboot firmware, you shouldn't have any issues regardless of which USB creator you use. I personally use UUI for most things and don't have any problems.

The problem is not booting. I used LiLi USB creator first - it successfully boots Fedora Live CD into Live desktop but somehow the option for installing fedora to disk (either from boot menu or from Live desktop) is missing. I checked it with several distros. I guess Fedora USB creator writes some additional data into USB disk to allow installation.