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.6 - 2014/12/28] - fritsch - 2015-01-02

Code:
mkdir 3.18
cd 3.18
wget https://bugs.launchpad.net/ubuntu/+source/linux-firmware/1.140/+build/6640596/+files/linux-firmware_1.140_all.deb
sudo dpkg -i *linux-firmware*deb

wget https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.18.1-ickle75%2B_3.18.1-ickle75%2B-10.00.Custom_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-image-3.18.1-ickle75%2B_3.18.1-ickle75%2B-10.00.Custom_amd64.deb

sudo dpkg -i *3.18.1*ickle*deb



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - noggin - 2015-01-02

(2015-01-02, 02:55)Stereodude Wrote: That's not exactly correct. Consumer electronics gear uses YCbCr 16-235. If you send YCbCr it has to be 16-235. That's the format. CE devices don't use RGB 16-235. RGB is supposed to be 0-255. RGB 16-235 is like a redhead stepchild of video formats. It shouldn't be used, and certainly shouldn't be the default.

Not going to get into a big argument about this, but as a former Broadcast R&D engineer, 16-235 level RGB is also standard in broadcast use, and 4:4:4:4 video which can be RGBK or YCrCbK remains in the 16-235 space whether it is 8 or 10 bit in most broadcast configurations. (There are, of course, now alternative sampling schemes to allow Log capture etc.) You use 16-235 in both RGB and YCrCb to ensure you don't clip <16 and >235 content in your YCrCb (or RGB) source.

Annex 1 Part 2 of the ITU 601 spec (which is the SD broadcast video bible) confirms that 16-235 level space is to be used for RGB digital video, with black levels for both RGB and YCrCb at 8bit digital 16 : http://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.601-7-201103-I!!PDF-E.pdf
Part 6 of the ITU 709 spec (which is the HD broadcast video bible) confirms that the same levels are used in both RGB and YCrCb video, with black at 8 bit digital 16. http://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.709-5-200204-I!!PDF-E.pdf

HDMI for consumer video complies with ITU 601/709 levels, and as such, whether RGB or YCrCb is used 16-235 level space is what you would expect. Just as RGB over HD-SDI is 16-235 level space, so it is over HDMI.

As supplied every HDTV I've ever owned has expected RGB 4:4:4 to be 16-235 by default, as well as 4:2:2 and 4:4:4 YCrCb - for good reason. It's the standard used for video. If it is the default for HDTVs then it makes sense for it to be the default for HDTV resolutions output by Intel GPUs. Otherwise default usage cases would end up with clipped blacks and whites.

You don't use 0-255 in broadcast video (whether you are using YCrCb or RGB representation - and both are used internally in broadcast gear) as you lose sub-black and super-white to ensure that signals that originated in the analogue domain and which may have over/under-shoot on sharp transitions aren't clipped and lost in conversion. This is to avoid ringing, which can occur if you clip overshoot/undershoot content and then resample or filter (such as convert from 1280x720 to 1920x1080). Analogue connectivity is still used in lots of situations for HD production believe it or not, as one of the two dominant camera cabling systems (Triax) is used with analogue connectivity in most (though not all) use cases. It isn't just an issue with archive content (though that is also a very valid reason for not clipping <16 and >235 and is why re-scaling RGB to 0-255 is not routinely used for video)

0-255 RGB is a PC spec (effectively inherited from DVI), 16-235 RGB or YCrCb is the broadcast video spec, and it is the default HDMI level space on consumer gear.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - asleulv - 2015-01-02

(2015-01-01, 22:09)Matt Devo Wrote:
(2015-01-01, 21:33)Veronica Wrote: in kodi OE5.0 you need to uncheck the whole "VAAPI hardware acceleration" option, not only the "prefer VAAPI" one. But OE 5.0 was supposed to have the freeze bug fix (confused).

100% incorrect. VAAPI acceleration and prefer VAAPI renderer should both be checked/enabled. The default/OOTB settings are correct for OE 5.0.0 (stable)

(2015-01-01, 19:05)asleulv Wrote: Thanks. Was able to install OE5.0 and added the recommended adjustments to the settings. However I'm still struggling with videos freezing while subtitles and audio continuing. Was hoping this issue would disappear after the update.

Is this the dreaded Intel bug? If so the workaround in the wiki isn't working for me.

1) there is no dreaded intel bug anymore, it is fixed

2) complaining of playback issues without logs is useless

3) this thread is for setup/install related issues involving my EZ setup script. Playback issues belong in the Linux support forum (or OpenELEC forums, if it's OS-related).

1) Ok, that's good to hear.

2) I agree. So I uploaded my log file after reproducing the error.

3) I did post my problem in the Linux forums and was told to try this thread Tongue

Here is the thread with my log file and problem describtion: http://forum.kodi.tv/showthread.php?tid=213314


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - movie78 - 2015-01-02

Did Anyone using the Standalone boot Chromebox upgrade from OpenElec 4.2.1 to 5.0?

If you did,how did you do it?

Thanks!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - wackid - 2015-01-02

My update didn't work also. I installed by ez script. That worked. Look like to me the file from Openelec is corrupted or something.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - jtadeia - 2015-01-02

I've upgraded to OpenELEC 5.0
Wifi connection is always dropping, it connects sometimes for 1 minute, then goes back again to "State:failure"

Is this happening to anyone else?

Thanks


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - rodalpho - 2015-01-02

(2015-01-02, 11:30)fritsch Wrote:
Code:
mkdir 3.18
cd 3.18
wget http://es.archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.140_all.deb
sudo dpkg -i *linux-firmware*deb

wget https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.18.1-ickle75%2B_3.18.1-ickle75%2B-10.00.Custom_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-image-3.18.1-ickle75%2B_3.18.1-ickle75%2B-10.00.Custom_amd64.deb

sudo dpkg -i *3.18.1*ickle*deb
I'm personally going to wait for Ubuntu rather than installing a custom kernel from a dropbox link (it came from you so I'm sure it's fine, but still just not comfortable), but thanks for the instructions.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - kenz - 2015-01-02

Just curious do you think this could be used to run XBMC with out the dual boot?

http://www.itworld.com/article/2864156/run-linux-in-a-window-on-your-chromebook.html


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - nickr - 2015-01-02

(2015-01-02, 16:35)movie78 Wrote: Did Anyone using the Standalone boot Chromebox upgrade from OpenElec 4.2.1 to 5.0?

If you did,how did you do it?

Thanks!
Read the 5.0 announcement and backup as suggested, heed all warnings.

Download the 5.0 tar file to your pc.

Transfer it via scp or smb to your chromebox, into the .update folder.

Reboot.

Enjoy.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - Stereodude - 2015-01-02

(2015-01-02, 12:13)noggin Wrote: Not going to get into a big argument about this, but as a former Broadcast R&D engineer, 16-235 level RGB is also standard in broadcast use, and 4:4:4:4 video which can be RGBK or YCrCbK remains in the 16-235 space whether it is 8 or 10 bit in most broadcast configurations. (There are, of course, now alternative sampling schemes to allow Log capture etc.) You use 16-235 in both RGB and YCrCb to ensure you don't clip <16 and >235 content in your YCrCb (or RGB) source.

Annex 1 Part 2 of the ITU 601 spec (which is the SD broadcast video bible) confirms that 16-235 level space is to be used for RGB digital video, with black levels for both RGB and YCrCb at 8bit digital 16 : http://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.601-7-201103-I!!PDF-E.pdf
Part 6 of the ITU 709 spec (which is the HD broadcast video bible) confirms that the same levels are used in both RGB and YCrCb video, with black at 8 bit digital 16. http://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.709-5-200204-I!!PDF-E.pdf

HDMI for consumer video complies with ITU 601/709 levels, and as such, whether RGB or YCrCb is used 16-235 level space is what you would expect. Just as RGB over HD-SDI is 16-235 level space, so it is over HDMI.

As supplied every HDTV I've ever owned has expected RGB 4:4:4 to be 16-235 by default, as well as 4:2:2 and 4:4:4 YCrCb - for good reason. It's the standard used for video. If it is the default for HDTVs then it makes sense for it to be the default for HDTV resolutions output by Intel GPUs. Otherwise default usage cases would end up with clipped blacks and whites.

You don't use 0-255 in broadcast video (whether you are using YCrCb or RGB representation - and both are used internally in broadcast gear) as you lose sub-black and super-white to ensure that signals that originated in the analogue domain and which may have over/under-shoot on sharp transitions aren't clipped and lost in conversion. This is to avoid ringing, which can occur if you clip overshoot/undershoot content and then resample or filter (such as convert from 1280x720 to 1920x1080). Analogue connectivity is still used in lots of situations for HD production believe it or not, as one of the two dominant camera cabling systems (Triax) is used with analogue connectivity in most (though not all) use cases. It isn't just an issue with archive content (though that is also a very valid reason for not clipping <16 and >235 and is why re-scaling RGB to 0-255 is not routinely used for video)

0-255 RGB is a PC spec (effectively inherited from DVI), 16-235 RGB or YCrCb is the broadcast video spec, and it is the default HDMI level space on consumer gear.
I didn't say RGB 16-235 wasn't a standard. I said it wasn't used by Consumer Electronics (CE) equipment. CE devices send out YCrCb (16-235) for HDMI video. If they support anything else it's not the default and you have to go tinkering around in menus to change it.

My experience is very different from yours. All the HDTV's I've used treat RGB 0-255 as the normal case, and RGB 16-235 as the odd case (if they even support RGB 16-235). This is because CE devices send out YCrCb and when the TVs see a RGB signal they assume they are being fed by a computer which sends out 0-255. Further, digital displays natively are almost all RGB. Internally, after all their processing, they send RGB 0-255 to the DACs/TCONs/drivers (unless they're >8bit displays). Expanding RGB 16-235 to RGB 0-255 somewhere downstream of the color space conversion is a great way to get banding/posterization. Converting YCrCb (16-235) directly to RGB 0-255 gives better visual results than converting YCrCb (16-235) to RGB 16-235 and having your display turn it into RGB 0-255 due to the floating point math used in the color space conversion and the way the floating point values can be mapped to any target level range or bit depth. You get no such luxury converting RGB 16-235 to RGB 0-255.

Since the Chromebox is a computer and OpenELEC does not default to YCrCb playing back videos in their native color space and chroma format I stand by my contention that it should output RGB 0-255 by default for the best video quality, not RGB 16-235.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - movie78 - 2015-01-02

(2015-01-02, 21:14)nickr Wrote:
(2015-01-02, 16:35)movie78 Wrote: Did Anyone using the Standalone boot Chromebox upgrade from OpenElec 4.2.1 to 5.0?

If you did,how did you do it?

Thanks!
Read the 5.0 announcement and backup as suggested, heed all warnings.

Download the 5.0 tar file to your pc.

Transfer it via scp or smb to your chromebox, into the .update folder.

Reboot.

Enjoy.

Link please.

Thanks!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - Matt Devo - 2015-01-02

(2015-01-02, 22:56)movie78 Wrote: Link please.

Thanks!

srsly? www.openelec.tv

BTW, there will be no support here for issues with 5.0.0 if upgraded from 4.2.1. If you upgrade and things don't work, backup/export etc and do a clean install (or a hard reset).


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - movie78 - 2015-01-02

(2015-01-02, 23:24)Matt Devo Wrote:
(2015-01-02, 22:56)movie78 Wrote: Link please.

Thanks!

srsly? www.openelec.tv

BTW, there will be no support here for issues with 5.0.0 if upgraded from 4.2.1. If you upgrade and things don't work, backup/export etc and do a clean install (or a hard reset).

I taught there was a different link for the Chromebox release.

Thanks!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - johnnyboy79 - 2015-01-02

Tried following everything in the setup and got to step 5. Flashed the custom firmware and when it reboots I do not get an option to boot from USB. It immediately says booting from hard disk... and never goes any further? Any advise or am I totally hosed here?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.6 - 2014/12/28] - Matt Devo - 2015-01-02

(2015-01-02, 23:27)movie78 Wrote: I taught there was a different link for the Chromebox release.

Thanks!

there hasn't been a custom release since 4.1.3 beta. The ChromeBox uses the standard Generic x86_64 OpenELEC release, as per the wiki

(2015-01-02, 23:32)johnnyboy79 Wrote: Tried following everything in the setup and got to step 5. Flashed the custom firmware and when it reboots I do not get an option to boot from USB. It immediately says booting from hard disk... and never goes any further? Any advise or am I totally hosed here?

my advice would be to read the wiki and employ the suggestions listed there for your exact situation