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-24, 11:00)Vlaves Wrote: [ -> ]Thanks for your great work here. I'm using my two HP Chromeboxes together with openelec and they are working great Smile
Except, that I would like to lower the fanspeed a lil.

Hopw would I do that in Openelec? Can you please help me out here?

Thanks again for your support Smile
Regards
Vlaves

I have no idea, I was making a generalization - that's a question for the OpenELEC folks. But IMO it would be a bad idea to lower the fan speeds from the firmware defaults.
Why do you think, it would be a bad idea? At the moment I'm dual booting, so it's the stock firmware (HP). I guess, I should first try your coreboot, which seems to have way lower speeds already.

Did you or anyone else try to lower clockspeeds and/or voltages?

I'm using a MeLE F10 Deluxe (Airmouse) with my ChromeBox, works perfectly fine, except for turning it on, instead I am using WOL via Yatse on Android.
Maybe that helps.

@Vlaves
If you find anything useful about how to control the fanspeed, please let me know.
A solution on OS level would be nice... Sad
Has anyone noticed that the USB ports are a tad flaky? It seems especially bad when doing a reboot vs. a power off/on. The devices aren't initialized and don't show up in dmesg/lsusb.

I have two Asus Chromeboxes with the 01/29 firmware and it's happened on both with different devices (Pulse Eight CEC adapter, Logitech Unifying Receiver, usb3 nic). One is OpenELEC 5.0.2, the other Arch Linux with kernel 3.18.6.

Unplugging and re-plugging gets the devices to show up.

I'm using a 1 second boot delay, hoping maybe a longer delay will let the USB bus/devices settle.
Yes I have noticed they are a little flaky, on Kodibuntu the mce receiver doesn't seem to always work.Didn't have that problem on openelec. Rebooting seems to fix it. Also, on the hp chromebox the back usb ports are recognized better for me. Like when installing openelec the keyboard needs to be plugged into the back rather than the front.
(2015-02-24, 12:09)IngoRap Wrote: [ -> ]Why do you think, it would be a bad idea? At the moment I'm dual booting, so it's the stock firmware (HP). I guess, I should first try your coreboot, which seems to have way lower speeds already.

Did you or anyone else try to lower clockspeeds and/or voltages?

I'm using a MeLE F10 Deluxe (Airmouse) with my ChromeBox, works perfectly fine, except for turning it on, instead I am using WOL via Yatse on Android.
Maybe that helps.

@Vlaves
If you find anything useful about how to control the fanspeed, please let me know.
A solution on OS level would be nice... Sad

I think it's a bad idea to go below the values I'm using, as you'll likely not be to control the temp adequately. The CPU/GPU clockspeeds are already dynamic, and we're dealing with a ULV processor - there's no room for tweaking there.

(2015-02-24, 16:43)naloj Wrote: [ -> ]Has anyone noticed that the USB ports are a tad flaky? It seems especially bad when doing a reboot vs. a power off/on. The devices aren't initialized and don't show up in dmesg/lsusb.

I have two Asus Chromeboxes with the 01/29 firmware and it's happened on both with different devices (Pulse Eight CEC adapter, Logitech Unifying Receiver, usb3 nic). One is OpenELEC 5.0.2, the other Arch Linux with kernel 3.18.6.

Unplugging and re-plugging gets the devices to show up.

I'm using a 1 second boot delay, hoping maybe a longer delay will let the USB bus/devices settle.

no, the stock firmware is flaky - the USB ports are fine. The dev boot screen timeout won't change a thing, all the hardware init is done well before the video comes on screen.

(2015-02-24, 16:58)calev Wrote: [ -> ]Yes I have noticed they are a little flaky, on Kodibuntu the mce receiver doesn't seem to always work.Didn't have that problem on openelec. Rebooting seems to fix it. Also, on the hp chromebox the back usb ports are recognized better for me. Like when installing openelec the keyboard needs to be plugged into the back rather than the front.

can't say I've seen any difference between front and rear ports on any of the boxes I've tested. Sounds like a flaky device rather than a flaky port.
(2015-02-10, 00:29)Matt Devo Wrote: [ -> ]
(2015-02-10, 00:03)BenH Wrote: [ -> ]Hi Matt, I read in this thread that you have tried to increase the memory allocated to the GPU but have not had success. Did you test with various amounts of system RAM or just on a box with 2GB RAM?

Do you know if it works like some computers (Mac Mini's I think), where more GPU RAM is automatically allocated if you increase the total RAM in the system. Others allow increasing the max GPU RAM in the bios depending on the amount of system RAM.

When I check my M004u with 2GB RAM, there is 256MB allocated to the GPU. It would be interesting to see how much is allocated if there was 4GB or 8GB RAM.

Thanks
Ben

it's fixed to 256MB regardless of system RAM. I'll test something else now to see if I can bump to 512MB. stay tuned

Matt, did you have any luck with the test? Or is that still to do?

Thanks
Ben
Aside from upgrade the kernel is there any way to improve video/graphics quality?

I am trying to use the device to steam stream, and on wired network I'm getting 30% fps loss.
(2015-02-25, 00:04)BenH Wrote: [ -> ]Matt, did you have any luck with the test? Or is that still to do?

Thanks
Ben

so I talked to the Intel linux driver devs. The amount of system memory available as GPU memory to any application is completely dynamic, up to 2GB. The 256MB is just the aperture size. Steam's VRAM detection is completely broken, so it reporting 268.12MB or whatever is bogus and has no effect on performance. I don't think upping the aperture to 512MB would make any real difference in performance.

(2015-02-25, 02:02)Reb313 Wrote: [ -> ]Aside from upgrade the kernel is there any way to improve video/graphics quality?

I am trying to use the device to steam stream, and on wired network I'm getting 30% fps loss.

I don't think you're asking the right question here - it's not an issue of video/graphics quality. It's either an issue of your network dropping packets, or the ChromeBox not being able to decode/process them quickly enough. Given that the CB can handle decoding a 60Mbps 1080p h.264 stream without breaking a sweat, I'm guessing this is either a network issue or something Steam-specific -- but definitely unrelated to my setup script or Kodi performance...
(2015-02-25, 02:14)Matt Devo Wrote: [ -> ]so I talked to the Intel linux driver devs. The amount of system memory available as GPU memory to any application is completely dynamic, up to 2GB. The 256MB is just the aperture size. Steam's VRAM detection is completely broken, so it reporting 268.12MB or whatever is bogus and has no effect on performance. I don't think upping the aperture to 512MB would make any real difference in performance.

OK, thanks for looking into it.

I had an issue with video tearing on Ubuntu with mythtv frontend and tried the TearFree option in xorg, which fixed the tearing but made the video stutter occasionally (only in myth, not in kodi). I have now removed the TearFree option and installed the compton composite manager, which so far looks like it's fixed the tearing without stuttering.

From memory, someone mentioned dual channel ram might also increase performance, so that might be another option if I find some cheap enough.

Sorry to get off topic.

Ben
(2015-02-24, 18:02)Matt Devo Wrote: [ -> ]no, the stock firmware is flaky - the USB ports are fine. The dev boot screen timeout won't change a thing, all the hardware init is done well before the video comes on screen.
Matt, does the coreboot firmware improve this?
(2015-02-25, 06:44)katsup Wrote: [ -> ]
(2015-02-24, 18:02)Matt Devo Wrote: [ -> ]no, the stock firmware is flaky - the USB ports are fine. The dev boot screen timeout won't change a thing, all the hardware init is done well before the video comes on screen.
Matt, does the coreboot firmware improve this?

the only thing that the firmware should affect is device init prior to boot. Once the OS boots, it does its own (re)init. I don't have any devices which exhibit the behavior you described, so I can't really say either way though.
Im using 2 logitech unifying receivers on the front of my HP. Troublefree. Standalone option with Kodibuntu.

Only problems are when I want to boot from USB, then I need to connect my usb stick in the back, and a hardwired keyboard in the front. And I'm not sure if I need to use the lower or upper usb port in the back, or the left or the right one in the front with my hardwired keyboard. Eventually I get the combination right and it boots fine.

Oh, and if I boot Gparted Live from USB, I recall needing to reinsert the unifying receivers, but luckily not with Kodibuntu.
weird, my unifying receivers work 100%, regardless of port used. Maybe it's your devices, not the receivers. Also, why are you using more than one receiver? kinda defeats the purpose unless you're moving one device between multiple systems
(2015-02-24, 18:02)Matt Devo Wrote: [ -> ]I think it's a bad idea to go below the values I'm using, as you'll likely not be to control the temp adequately. The CPU/GPU clockspeeds are already dynamic, and we're dealing with a ULV processor - there's no room for tweaking there.

There is always room for tweaking. Wink
Intel, just like any other manufacturer, goes the safe route and sets voltages, that are rather high to ensure that the processor is stable, without much testing - it doesn't matter, that it's a ULV processor. Even smartphone SoCs that are binned best/fastest can oftentimes handle their tasks with much lower voltages.

Despite the clockspeeds being dynamic, while video playback the CPU sits at 1,4 GHz with less than 10 % load. I feel like it would be worth trying, to either lock it at a P-State with lower frequency or maybe a less "aggressive" governor?

Your settings for fanspeed might be good, but people with enough knowledge might want to make their own experiences, with their specific setup.
(2015-02-25, 10:05)IngoRap Wrote: [ -> ]There is always room for tweaking. Wink
Intel, just like any other manufacturer, goes the safe route and sets voltages, that are rather high to ensure that the processor is stable, without much testing - it doesn't matter, that it's a ULV processor. Even smartphone SoCs that are binned best/fastest can oftentimes handle their tasks with much lower voltages.

Despite the clockspeeds being dynamic, while video playback the CPU sits at 1,4 GHz with less than 10 % load. I feel like it would be worth trying, to either lock it at a P-State with lower frequency or maybe a less "aggressive" governor?

Your settings for fanspeed might be good, but people with enough knowledge might want to make their own experiences, with their specific setup.

of course, but none of that requires modifying the firmware, it can all be handled at the kernel/OS level
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