Kodi Community Forum

Full Version: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(2015-02-17, 19:44)Matt Devo Wrote: [ -> ]you should just be able to type 'kodi' into the program search at the top left. I assume you selected 'y' when asked if you want to install Kodi?

there's nothing ChromeBox-specific about the Ubuntu/Kodi installation (outside of the partition setup when dual booting), it's just automated for your convenience


Thanks for the reply!
Due to "personal malloc errors" (aka brain cramps) I had done a bunch of screen grabs during the installation... just in case, and I just looked, and yes I did answer 'y' to the install Kodi question.

I will try your search suggestion.
It was very late last night when I finished the install and I had been scratching my head on another issue when I noticed the Kodi thing.
I just assumed it wasn't installed by default and added the repo and installed it. It didn't appear installed, but then again neither does LibreOffice when looking in the package manager even though it clearly is.
(2015-02-17, 21:20)hockeycoach Wrote: [ -> ]Thanks for the reply!
Due to "personal malloc errors" (aka brain cramps) I had done a bunch of screen grabs during the installation... just in case, and I just looked, and yes I did answer 'y' to the install Kodi question.

I will try your search suggestion.
It was very late last night when I finished the install and I had been scratching my head on another issue when I noticed the Kodi thing.

if it didn't install automatically as it should have (I'll check that here shortly, just LMK what options you chose for version and metapackage), you can just follow the instructions on the Kodi wiki for linux/Ubuntu installation and all should be fine.
Crystal HD with Kodibunti/Chrome. I should probably try it first, then post my impressions in this thread... But I just realized the wifi card in the Chromebox use a regular minipcie slot, so it should be possible to fit a Crystal HD card there. That should let me watch 1080p in both HTML5 and flash (if I deactivate the pepperflash plugin inside Chrome). Incidentally Kodi has removed support for Crystal HD, but I'd use VAAPI anyways. I wonder if this would be a win-win?
Crystalhd ... that must be a joke ...

oh man, you are killing me.
Not surprising coming from youWink
Well, the the dual core 1.4ghz celeron in the chromebox isn't powerful enough to do 1080p (although it is just about enough to do 1080p in youtube/html5 99% of the time), and using VDPAU is not really working with the Intel drivers, and VAAPI support is nowhere to be seen. I think it's worth a trySmile
(2015-02-18, 00:05)Soli Wrote: [ -> ]Not surprising coming from youWink
Well, the the dual core 1.4ghz celeron in the chromebox isn't powerful enough to do 1080p (although it is just about enough to do 1080p in youtube/html5 99% of the time), and using VDPAU is not really working with the Intel drivers, and VAAPI support is nowhere to be seen. I think it's worth a trySmile


There is a gl vdpau wrapper which works great and is btw. the default on newer intel drivers [1]. Installation is a bit of a hazzle, but works okayish.

[1] http://cgit.freedesktop.org/xorg/driver/...dcfb15b704

Btw. I removed crystalhd from kodi, cause the kernel drivers are not maintained anymore (were removed from the linux kernel (staging)) and the integration into kodi was a real nightmare at the end - the original author had really bad feeling seeing this ancient code die that slow without any support of the community and "crystal" distributions ... we still wait for it to come back, as some volunteers volunteered, but nothing ever happened.

Edit: http://www.webupd8.org/2013/09/adobe-fla...dware.html <- the systemwide stuff (4. second part) is enough, the driver is already included in trusty and can be installed with: sudo apt-get install libvdpau-va-gl1

For completeness: Kodi will still use VAAPI (which this gl thingy tunnels through).
Yeah I tried the vdpau wrapper, deactivated the gpu whitelist in chrome. I also managed to confirm gpu accel. in flash by deactivating pepper flash and overriding the white list in adobe flash. I think flash worked a little better, but not anywhere stable without dropping frames. (With the *15 card). But this was with a pretty bloated linux mint, i'll have another go with Kodibuntu. As for html5 , i dont think there was any difference. Does Chrome for Linux even support VDPAU?

Btw, I always believed the crystal hd kernel code was useless, thats it was reccomended that you build the drivers from git yourself. And I'm not really disagreeing with you at anything at all. My only question is: will it work with crystal hd in Chrome or not? I guess I'll have to find that out for myself.
Just got my Asus Chromebox, and installed Ubuntu/Kodi dual-boot. Relatively painless, except...

1) My wifi link seems slow. On first boot after the script updated my firmware, I couldn't connect to my wifi network at all for about 10min - kept getting the "out of range" error in chromeos. After I managed to connect & finish installing ubuntu, my link speed (as given by iwconfig) never seems to get above ~120Mbps (802.11n), or ~300Mbps (802.11ac). By comparison, my ancient laptop, sitting at the same location, gets a 200-450Mbps 802.11n link. Before flashing back to the stock firmware to see if it's any better, I thought I'd post here.

2) Color range: the grayscale ramp test video looked steppy at default settings, so I turned on Limited Color Range in kodi settings. Ramp looked smoother, but the blacks were washed out. Ran "xrandr --output HDMI1 --set "Broadcast RGB" "Full" with some improvement, but the blacks are still very grey ("Limited 16:235" was worse). The only way to get them looking "right" was to turn OFF Limited Color Range, and *also* use the "Full" setting via xrandr. Am I missing something? How can I get the correct range processing in kodi to avoid banding, but still have the range go all the way down to black?
(2015-02-18, 08:12)meeotch Wrote: [ -> ]Just got my Asus Chromebox, and installed Ubuntu/Kodi dual-boot. Relatively painless, except...

1) My wifi link seems slow. On first boot after the script updated my firmware, I couldn't connect to my wifi network at all for about 10min - kept getting the "out of range" error in chromeos. After I managed to connect & finish installing ubuntu, my link speed (as given by iwconfig) never seems to get above ~120Mbps (802.11n), or ~300Mbps (802.11ac). By comparison, my ancient laptop, sitting at the same location, gets a 200-450Mbps 802.11n link. Before flashing back to the stock firmware to see if it's any better, I thought I'd post here.

2) Color range: the grayscale ramp test video looked steppy at default settings, so I turned on Limited Color Range in kodi settings. Ramp looked smoother, but the blacks were washed out. Ran "xrandr --output HDMI1 --set "Broadcast RGB" "Full" with some improvement, but the blacks are still very grey ("Limited 16:235" was worse). The only way to get them looking "right" was to turn OFF Limited Color Range, and *also* use the "Full" setting via xrandr. Am I missing something? How can I get the correct range processing in kodi to avoid banding, but still have the range go all the way down to black?

2) Please see the wiki. It all depends on the Range of your TV.
The wiki is where I got the xrandr command / limited color range settings. My understanding is that you would either handle the limited range in kodi (Limited in kodi + Full via xrandr), or the opposite. In my case, the combination that produces correct black levels (Non-limited kodi + Full xrandr) also produces a quantized grayscale ramp test image. If there's a section of the wiki that I'm missing, other than the Chromebox page where I got this info, definitely hit me with a link.

Oh, and I should mention that the grayscale ramp is also quantized on the ChromeOS side.

As for the network link, I don't know how to get ChromeOS to display the link speed in Mbps - if anyone knows, please let me know. Link speed on the ubuntu side is given above.
(2015-02-18, 00:41)Soli Wrote: [ -> ]Yeah I tried the vdpau wrapper, deactivated the gpu whitelist in chrome. I also managed to confirm gpu accel. in flash by deactivating pepper flash and overriding the white list in adobe flash. I think flash worked a little better, but not anywhere stable without dropping frames. (With the *15 card). But this was with a pretty bloated linux mint, i'll have another go with Kodibuntu. As for html5 , i dont think there was any difference. Does Chrome for Linux even support VDPAU?

Btw, I always believed the crystal hd kernel code was useless, thats it was reccomended that you build the drivers from git yourself. And I'm not really disagreeing with you at anything at all. My only question is: will it work with crystal hd in Chrome or not? I guess I'll have to find that out for myself.

You will need to find, port and get kernel drivers and userspace compiled ... was no fun the last time.
(2015-02-18, 09:00)meeotch Wrote: [ -> ]The wiki is where I got the xrandr command / limited color range settings. My understanding is that you would either handle the limited range in kodi (Limited in kodi + Full via xrandr), or the opposite. In my case, the combination that produces correct black levels (Non-limited kodi + Full xrandr) also produces a quantized grayscale ramp test image. If there's a section of the wiki that I'm missing, other than the Chromebox page where I got this info, definitely hit me with a link.

Oh, and I should mention that the grayscale ramp is also quantized on the ChromeOS side.

As for the network link, I don't know how to get ChromeOS to display the link speed in Mbps - if anyone knows, please let me know. Link speed on the ubuntu side is given above.


Which kind of ramp do you display? Is it a full range, like, e.g. https://dl.dropboxusercontent.com/u/5572...172435.png or Limited. When you force your GPU to full, what can you still see on this image: https://dl.dropboxusercontent.com/u/5572...b_test.jpg

We need to find out what your TV does ... it should do "Limited" by default, but from what you say - yours is full. Try setting it to limited, force your gpu to full and use kodi's "Use Limited Range". Furthermore turn off "Prefer VAAPI Render Method" and don't use "VAAPI Postprocessing".
(2015-02-18, 08:12)meeotch Wrote: [ -> ]Just got my Asus Chromebox, and installed Ubuntu/Kodi dual-boot. Relatively painless, except...

1) My wifi link seems slow. On first boot after the script updated my firmware, I couldn't connect to my wifi network at all for about 10min - kept getting the "out of range" error in chromeos. After I managed to connect & finish installing ubuntu, my link speed (as given by iwconfig) never seems to get above ~120Mbps (802.11n), or ~300Mbps (802.11ac). By comparison, my ancient laptop, sitting at the same location, gets a 200-450Mbps 802.11n link. Before flashing back to the stock firmware to see if it's any better, I thought I'd post here.

when running a dual boot setup, you're running the stock firmware, just with a fixed/modified legacy boot payload. This has absolutely no effect on networking, wired or wifi, under ChromeOS or any other OS. Any issues you are having with wifi are due to something else - your router, RF environment, wifi card hardware/firmware/drivers, etc. Also, unless Asus changed components, the included Atheros wifi/BT module is dual-band (2.4/5GHz) abgn, not ac. Also, the reported link speed and actual transfer speed are loosely correlated at best.
(2015-02-18, 09:00)fritsch Wrote: [ -> ]
(2015-02-18, 00:41)Soli Wrote: [ -> ]Yeah I tried the vdpau wrapper, deactivated the gpu whitelist in chrome. I also managed to confirm gpu accel. in flash by deactivating pepper flash and overriding the white list in adobe flash. I think flash worked a little better, but not anywhere stable without dropping frames. (With the *15 card). But this was with a pretty bloated linux mint, i'll have another go with Kodibuntu. As for html5 , i dont think there was any difference. Does Chrome for Linux even support VDPAU?

Btw, I always believed the crystal hd kernel code was useless, thats it was reccomended that you build the drivers from git yourself. And I'm not really disagreeing with you at anything at all. My only question is: will it work with crystal hd in Chrome or not? I guess I'll have to find that out for myself.

You will need to find, port and get kernel drivers and userspace compiled ... was no fun the last time.
Just found out the latest Chrome already has disabled npapi plugins, they even removed the override option, so no more adobe flash in chrome. I can't be bothered to install Firefox to just get this going, I am terrified to f*** up my really smooth Kodibuntu install. To be honest, I don't really care that much for flash acceleration, but it would be nice to have html5 acceleration. A review on amazon says it's possible, but I kinda doubt that.

I just got a second HP Chromebox, so I might just clone my existing Kodibuntu and try it after all, though. Or not, we'll see Wink
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