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/08/24] - ggp759 - 2015-08-29

Sorry if this has been asked before but can i get 4k@60fps with a displayport to hdmi cable from Asus M115U chromebox? Thanks


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

(2015-08-29, 10:15)ggp759 Wrote: Sorry if this has been asked before but can i get 4k@60fps with a displayport to hdmi cable from Asus M115U chromebox? Thanks

no, 30Hz max at 4K


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - FouxAM - 2015-08-30

Hello everyone, I followed the recommended settings in the wiki page and there is one problem.. Local mkv playback is choppy, severe frames drop and CPU usage is close to or over 100% whenever I disable recommended vaapi method. Turning it back on seems to take care of the problem but the picture doesn't look right.
Any suggestions are greatly appreciated
-chromebox standalone
All video settings are default
Tried hard reset and still no go. I'm stuck pls help Sad
I tried to read through all the posts but after an hour it's overwhelming..


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - monsen - 2015-08-30

I have just run into a diskspace issue. It seems my storage partition has run full:

OpenELEC-Chromebox:~/logfiles # df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 1990064 140528 1849536 7% /dev
/dev/sda6 247919 150322 93501 62% /flash
/dev/sda7 1032088 1015704 0 100% /storage
/dev/loop0 140544 140544 0 100% /
tmpfs 1991948 0 1991948 0% /dev/shm
tmpfs 1991948 5620 1986328 0% /run
tmpfs 1991948 0 1991948 0% /sys/fs/cgroup
tmpfs 1991948 8 1991940 0% /tmp
tmpfs 1991948 248 1991700 0% /var
/dev/sda12 16334 1456 14878 9% /var/media/EFI-SYSTEM
/dev/sda8 11760 24 11412 0% /var/media/OEM
/dev/sda1 9694036 1197120 7981436 13% /var/media/sda1-ata-LITEONIT_LSS-16L

I have not done too much with the system and i wonder why that is the case. If i run out of diskspace now already setup must be wrong or there is some wasted space.

Here is what i found under /storage:

drwxrwxr-x 6 1000 1000 4096 Mar 31 23:44 OpenELEC-Generic.x86_64-5.0.8
-rw-r--r-- 1 root root 153415680 Jun 23 21:32 OpenELEC-Generic.x86_64-5.0.8.tar
drwxr-xr-x 2 root root 4096 Aug 29 08:57 backup
drwxrwxrwx 2 root root 4096 Aug 30 08:57 logfiles
drwx------ 2 root root 16384 Jun 23 21:31 lost+found
drwxr-xr-x 2 root root 4096 Jun 23 21:34 music
drwxr-xr-x 2 root root 4096 Jun 23 21:34 pictures
drwxr-xr-x 2 root root 4096 Jun 23 21:34 screenshots
drwxrwsr-x 29 1000 1000 4096 Apr 15 2014 syslinux-5.10
-rw-r--r-- 1 root root 8608506 Jun 23 21:31 syslinux.tar.bz2
drwxr-xr-x 2 root root 4096 Jun 23 21:34 tvshows
drwxr-xr-x 2 root root 4096 Jun 23 21:34 videos

Most of the dirs are empty but i wonder if can get rid of the OpenELEC-Generic.x86_64-5.0.8 tar and folder?
I am also wondering if there is a way to partition better?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - busta.rhymes - 2015-08-30

Hi Matt,

so yesterday evening my box wokeup again... so i jumped to the pc and ssh to the box to get the log for you.

Here it is:

http://sprunge.us/AfhW

Thanks in Advance for any help... i cant rely tell anything by reading it


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

(2015-08-30, 08:02)FouxAM Wrote: Hello everyone, I followed the recommended settings in the wiki page and there is one problem.. Local mkv playback is choppy, severe frames drop and CPU usage is close to or over 100% whenever I disable recommended vaapi method. Turning it back on seems to take care of the problem but the picture doesn't look right.
Any suggestions are greatly appreciated
-chromebox standalone
All video settings are default
Tried hard reset and still no go. I'm stuck pls help Sad
I tried to read through all the posts but after an hour it's overwhelming..

sounds like you disabled VAAPI acceleration altogether, vs the one option which was necessary in the old 4.x builds. With anything 5.x or later, all VAAPI settings should remain enabled (which is the default). I should probably update the wiki page at some point.

(2015-08-30, 09:10)monsen Wrote: I have just run into a diskspace issue. It seems my storage partition has run full:

<snip>

I have not done too much with the system and i wonder why that is the case. If i run out of diskspace now already setup must be wrong or there is some wasted space.

Here is what i found under /storage:

<snip>

Most of the dirs are empty but i wonder if can get rid of the OpenELEC-Generic.x86_64-5.0.8 tar and folder?
I am also wondering if there is a way to partition better?

looks like you only allocated 1GB for OpenELEC when doing the dual boot setup, which isn't enough. You can delete the installation files (which the script should have deleted, but seems did not), but that's not going to buy you a whole lot. You basically have 2 options: 1) do a factory reset, then re-run the script and choose a larger partition size for OpenELEC, or 2) use a tool like partedmagic to resize the existing partitions to shrink sda1 and enlarge sda7.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - FouxAM - 2015-08-30

Thank you for the response Matt,
The only settings that I disabled was vdpau method and "preferred vaapi rendering method"
The rest of the options are still selected-mpeg2/mpeg4/vc1
The problem is it doesn't happen right away. Movie played fine the first few minutes, CPU stayed around 8-16% and then Boom frame drops, CPU shot up, choppy video.
I have tried 3-4 mkv files all, all behaved the same. They were playing fine in my old wd tv
I reset to factory settings and the "only" option I disabled was "preferred vaapi method" and that was enough to cause it to behave like that...I'm not sure what else todo


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - busta.rhymes - 2015-08-30

ok so the box just woke up again while i was gone... here another log

http://sprunge.us/hOcP


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - noggin - 2015-08-30

(2015-08-30, 16:20)FouxAM Wrote: Thank you for the response Matt,
The only settings that I disabled was vdpau method and "preferred vaapi rendering method"
The rest of the options are still selected-mpeg2/mpeg4/vc1
The problem is it doesn't happen right away. Movie played fine the first few minutes, CPU stayed around 8-16% and then Boom frame drops, CPU shot up, choppy video.
I have tried 3-4 mkv files all, all behaved the same. They were playing fine in my old wd tv
I reset to factory settings and the "only" option I disabled was "preferred vaapi method" and that was enough to cause it to behave like that...I'm not sure what else todo

What codec are the videos and what is the content? If they are interlaced VC-1 then that's the one format that causes Intel VAAPI hardware decoding issues and it has to drop to CPU decoding.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - FouxAM - 2015-08-30

(2015-08-30, 17:41)noggin Wrote:
(2015-08-30, 16:20)FouxAM Wrote: Thank you for the response Matt,
The only settings that I disabled was vdpau method and "preferred vaapi rendering method"
The rest of the options are still selected-mpeg2/mpeg4/vc1
The problem is it doesn't happen right away. Movie played fine the first few minutes, CPU stayed around 8-16% and then Boom frame drops, CPU shot up, choppy video.
I have tried 3-4 mkv files all, all behaved the same. They were playing fine in my old wd tv
I reset to factory settings and the "only" option I disabled was "preferred vaapi method" and that was enough to cause it to behave like that...I'm not sure what else todo

What codec are the videos and what is the content? If they are interlaced VC-1 then that's the one format that causes Intel VAAPI hardware decoding issues and it has to drop to CPU decoding.

Hi, thank you for helping. here is the on screen log I took just a while ago while playing Tron (.mkv) ripped from blu ray using makemkv I believe
Image

as you can see the severe frame drops and high cpu usage. It does this sporadically off and on every 3-5 mins or so.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - FouxAM - 2015-08-30

also toggle on/off VC1 Vaapi doesn't change any thing Sad


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

(2015-08-30, 16:20)FouxAM Wrote: I reset to factory settings and the "only" option I disabled was "preferred vaapi method" and that was enough to cause it to behave like that...I'm not sure what else todo

there's no need to disable 'prefer VAAPI renderer' anymore, not that that is causing the issue

(2015-08-30, 19:09)FouxAM Wrote: Hi, thank you for helping. here is the on screen log I took just a while ago while playing Tron (.mkv) ripped from blu ray using makemkv I believe
as you can see the severe frame drops and high cpu usage. It does this sporadically off and on every 3-5 mins or so.

I've run in this before, MakeMKV has some bugs, and I'd bet that's the issue here. Run the file through mkvmerge without changing anything and see if the file it produces plays correctly

(2015-08-30, 19:11)FouxAM Wrote: also toggle on/off VC1 Vaapi doesn't change any thing Sad

from your screenshot, it's an h.264-encoded video, not VC-1, so toggling that setting would have no effect.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - FouxAM - 2015-08-30

Thank you! I will definitely give it a try


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - fritsch - 2015-08-30

With newer libva-driver-intel, that we have in OE since 5.0.8 vc1 interlaced should not segfault anymore. The Decoder will return false and you get a black screen only :-)

Intel had no intetest to ship interlaced vc1 decoding code, though available for at least ivb.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/08/24] - jerndl - 2015-08-30

I think I may have screwed something up. I have tried for quite awhile to solve this by myself using this thread and the wiki. I have a Asus chromebox M004U that I originally setup using the info in this thread in May 2014 using a single boot openelec. My plan was to now use a single boot Kodibuntu. So I 1st updated the firmware using the instructions here (logged into openelec using putty). The update appeared to be successful. See output.

Code:
login as: root
[email protected]'s password:
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC (official) Version: 5.95.4
OpenELEC:~ # curl -L -O https://goo.gl/SoCQtG
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   263    0   263    0     0    851      0 --:--:-- --:--:-- --:--:--   851
100  5433  100  5433    0     0   8771      0 --:--:-- --:--:-- --:--:--  8771
OpenELEC:~ # bash SoCQtG

ChromeBox Firmware Updater v1.3
(c) Matt DeVillier <[email protected]>
**************************************************

!! WARNING !!
This firmware is only valid for Haswell-based Asus/HP/Acer/Dell
ChromeBoxes with Celeron 2955U/2957U, Core i3-4010U/4030U, Core i7-4600U CPUs
which are already running my custom coreboot firmware.
Use on any other device will almost certainly brick it.

Do you wish to continue? [y/N] y

Checking if update available...

Firmware update available (20150618)

Install "headless" firmware? This is only needed for servers
running without a connected display. [y/N] n

Default to booting from any connected USB device? If N, always boot from the internal SSD unless selected from boot menu. [y/N] n

Downloading flashrom utility

Downloading cbfstool utility

Reading current firmware
Failure extracting MAC address from current firmware; default will be used

Downloading coreboot firmware

Installing firmware: coreboot-seabios-hsw_chromebox-20150618-mattdevo.rom

coreboot firmware successfully updated.
Please power cycle your ChromeBox to complete the update.

OpenELEC:~ #

Now I appear to be stuck. The chromebox now boots immediately to openelec without giving any time to enter any keyboard command (using a simple wired keyboard). So I try to put unit into developer mode with the paperclip and it still boots straight to openelec. I am obviously missing something that's probably something simple but I sure would appreciate any help on how to proceed from here. Thanks.

Jay