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+XBMC) [v3.2 - 2014/11/13] - hdmkv - 2014-11-28

I'm not seeing Video -> Acceleration (Turn on Expert Settings view) and enable "User SW Filter". Which setting specifically?

Image


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - Matt Devo - 2014-11-28

(2014-11-28, 04:25)hdmkv Wrote: I'm not seeing Video -> Acceleration (Turn on Expert Settings view) and enable "User SW Filter". Which setting specifically?

from ze wiki:

Quote:An Intel Linux video driver bug ( https://bugs.freedesktop.org/show_bug.cgi?id=78960 ) causes intermittent freezes/pauses.
Workaround: (OpenELEC) enable the 'Use SW filter for VAAPI' option Settings-->Video-->Acceleration.
Workaround: (XBMC 13.2+?) disable the 'Prefer VAAPI Rendering' option Settings-->Video-->Acceleration.

same setting, just worded differently and functionally reversed.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - movie78 - 2014-11-28

(2014-11-28, 04:25)hdmkv Wrote: I'm not seeing Video -> Acceleration (Turn on Expert Settings view) and enable "User SW Filter". Which setting specifically?

Image

Base on this picture.

What should be check and what should be uncheck?

Thanks!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - Matt Devo - 2014-11-28

(2014-11-28, 06:41)movie78 Wrote: Base on this picture.

What should be check and what should be uncheck?

Thanks!

deselect 'Prefer VAAPI render method', everything else is fine.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - movie78 - 2014-11-28

(2014-11-28, 07:48)Matt Devo Wrote:
(2014-11-28, 06:41)movie78 Wrote: Base on this picture.

What should be check and what should be uncheck?

Thanks!

deselect 'Prefer VAAPI render method', everything else is fine.

Thanks!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - hdmkv - 2014-11-28

Thanks! I assume this is a temporary fix until there's a hardware solution from Intel.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - Matt Devo - 2014-11-28

(2014-11-28, 16:47)hdmkv Wrote: Thanks! I assume this is a temporary fix until there's a hardware solution from Intel.

the Intel Linux driver devs are working on it


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - Sunflux - 2014-11-29

Hmm. Not sure what I was expecting from 4K from the Chromebox, but it does actually support those output resolutions, so I had to try. XBMC menus feel a bit... I dunno, not laggy, but perhaps the term is "non-fluid". Tiny thumbnails look fantastic. However...

Upscaling from 1080p sucks! It's blurry as all heck compared to letting the TV do the job. The only scaling modes that perform at full framerate are the bottom two, the "better" upscaling modes seem to top out at 15-16fps performance, which as you can imagine isn't exactly acceptable.

What I wish... is that XBMC would simply start allowing resolution switching based on video resolution. There may not have been much reason for that before, but it's otherwise a huge pain to have to manually change to 4k to watch a 4k video, and then go back to 1080p for everything else.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - D-an-W - 2014-11-29

Is that the Celeron or i3 Chromebox Sunflux (My fiancee is buying the i3 one for me as a Christmas present)?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - FreeMan xbmc - 2014-11-29

This was spectacularly easy, thank you so much!

Only 3 minor issues:
1) The only HDMI input screen I have is my 720p TV, and the box (actually, every box I've plugged into it) sends an image that's too big. Part of the text of your installer script disappears off the top & left edges of the screen. I got it figured out, and this isn't an issue with the script, just a minor pain.
2) In all the times I've installed XBMC/Kodi on a new box, I've never been able to get the library to import. Again not a script issue, just an annoyance.
3) I picked up the very last Asus Chromebox they had at Fry's for $120. As a matter of fact, it was the demo sitting out. Unfortunately, it didn't come with the USB dongle for the keyboard, and it didn't come with the wireless mouse. Anyone have any idea what type of dongle it needs for the keyboard? (Again, not a script issue, just another inconvenience.)

Thanks again, Matt! You made this a piece of cake!


Re: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - nickr - 2014-11-29

1. You need to turn off overscan on your tv.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - Sunflux - 2014-11-29

(2014-11-29, 10:05)D-an-W Wrote: Is that the Celeron or i3 Chromebox Sunflux (My fiancee is buying the i3 one for me as a Christmas present)?

It's the el-cheapo HP Celeron. The i3 Chromebox is a bit spendy, no? Almost in Intel NUC territory. .

Now, I didn't buy this for 4k video performance... but kind of funny that the real issue is with measly 1080p content! When you have a great external hardware scaler, it frankly makes no sense to burden your media player with those duties... especially when it's not going to do anywhere near as good a job (and that's even if the better methods were usable).


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - noggin - 2014-11-29

(2014-11-29, 10:02)Sunflux Wrote: Hmm. Not sure what I was expecting from 4K from the Chromebox, but it does actually support those output resolutions, so I had to try. XBMC menus feel a bit... I dunno, not laggy, but perhaps the term is "non-fluid". Tiny thumbnails look fantastic. However...

What you are describing as lag is almost certainly the result of the output frame rate being halved from 50/60p to 24/25/30p. The Chromebox (like almost all HTPCs at the moment) can only output 2160p at 24/25/30p over HDMI - where as at 1080p it can output 50/60p too. As a result any animation or mouse pointer movement will be rendered at half the frame rate, so appear far less fluid.

Annoyingly the HDMI 2.0 spec adds a 2160/50-60p video mode which is compatible with HDMI 1.4 bandwidths. They do this by reducing the chroma subsampling from 4:4:4 or 4:2:2 to 4:2:0 (which is how almost all consumer video is encoded in SD, HD and UHD anyway). This is how nVidia Kepler and some Sony UHD TVs were able to add 2160/50p and 2160/60p compatibility to gear which didn't support those resolution/frame-rate combos originally. I think nVidia are the only people currently offering driver support for this mode on kit which was originally HDMI 1.4 only. I don't know if the Intel and AMD GPUs can implement this - or whether they will bother. It is only really useful for playing 4:2:0 video - and not great for desktop and general PC use (as the chroma is effectively only 1920x1080 resolution overlaid over a 3840x2160 luminance signal) so coloured edges will be softer/blurrier.

You are right, it would be good if there were an optional, "Match resolution" as well as "Match Framerate" option. It could be quite complex to implement though - as so much video has non-standard resolutions (where black bars have been cropped for instance). However you could do a bit of an "educated guess" system - and let people check box at what resolution they wanted XBMC to stop scaling?

You could have different settings for "SD" (i.e. content with a horizontal resolution of 1024 or lower?), "720p" (i.e. content with horizontal resolution >1024 but <=1280), "1080" (i.e. content with a horizontal resolution >1280 but <=1920), "Above HD" (i.e. content with a horizontal resolution >1920)? Then you could have "Output at" options for these four genres (So you could chose to output "SD" as 1080p, "720p" as 720p, "1080" as 1080p but "Above HD" as 2160p?)

One thing I've noticed with an HTPC connected 1080p to a 4K set is that when playing 720/50p content you get a double scaling 720p->1080p->2160p. If you output from XBMC at 720p you just get a single scaling - 720p->2160p and the result is cleaner. (You can't output 2160p direct from the HTPC as you can't get 50p output over HDMI unless you have the nVidia solution - and 720/50p at 2160/25p looks nasty)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - noggin - 2014-11-29

(2014-11-29, 15:21)Sunflux Wrote:
(2014-11-29, 10:05)D-an-W Wrote: Is that the Celeron or i3 Chromebox Sunflux (My fiancee is buying the i3 one for me as a Christmas present)?

It's the el-cheapo HP Celeron. The i3 Chromebox is a bit spendy, no? Almost in Intel NUC territory. .

Now, I didn't buy this for 4k video performance... but kind of funny that the real issue is with measly 1080p content! When you have a great external hardware scaler, it frankly makes no sense to burden your media player with those duties... especially when it's not going to do anywhere near as good a job (and that's even if the better methods were usable).

Nice for looking at photos in 2160p though :-)

(2014-11-29, 10:20)nickr Wrote: 1. You need to turn off overscan on your tv.

Annoyingly this isn't always possible on some TVs when running at non-panel native resolutions. On my Sony Bravia Full HD set (c. 2007) you can only totally disable overscan when running in a 1920x1080 mode. SD and 720p inputs are always subject to a bit of overscan. If this causes me a problem I usually configure our Onkyo amp away from Pass Through (which is how it normally works) and get it to upscale to 1920x1080 (which is then displayed without overscan)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+XBMC) [v3.2 - 2014/11/13] - wizziwig - 2014-11-30

(2014-11-29, 10:02)Sunflux Wrote: Hmm. Not sure what I was expecting from 4K from the Chromebox, but it does actually support those output resolutions, so I had to try. XBMC menus feel a bit... I dunno, not laggy, but perhaps the term is "non-fluid". Tiny thumbnails look fantastic. However...

Upscaling from 1080p sucks! It's blurry as all heck compared to letting the TV do the job. The only scaling modes that perform at full framerate are the bottom two, the "better" upscaling modes seem to top out at 15-16fps performance, which as you can imagine isn't exactly acceptable.

What I wish... is that XBMC would simply start allowing resolution switching based on video resolution. There may not have been much reason for that before, but it's otherwise a huge pain to have to manually change to 4k to watch a 4k video, and then go back to 1080p for everything else.

How did 4K video's play and look since they don't require any upscaling?

Your HP Chromebox is single channel DDR3. It's possible one might get slightly better results on an Asus model with dual channel memory installed.