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
Then pick my PR from above and rebuild OpenELEC and see if that makes it better. Alternatively, Fake your EDID to announce correct values :-)
Heh, since I have *no* idea how to rebuild, I'll just hope your fix is included in RC3!

(Stupid Sony - even if 1.000512 is for some reason the exact mathematically correct aspect ratio, who cares! 1.000000 is much easier to enter!)
No, it won't be there. Basically it's a workaround for broken hardware and risk is too large to break standard conform TV sets that announce a pixelRatio of 1.0 as it should be.
And post a Debug Log btw. so that I can see what your TV announces. Enable debuglogging, restart, play such a video and post the result.

Edit: And as you have 4K output! Every 1080p video needs to be upscaled. You can drive your output at 1080p and let the TV scale if you like that better.
(2014-12-21, 13:20)fritsch Wrote: [ -> ]Cool.

Remember to install a build that has the GPU hang fixed. I think Matt has documented that in the first post.

hey, where i can find the link for this build? its not in the wiki and im not sure when is oe rc3 is coming

thanks.
OE RC3 will be released today. Final preparations and testing is just going on. Then you can pick that.
great news, what about regular kodi for ubuntu? will it be updated in the unstable repo as well? if so, i prefer just to update that instead of switching to OE
I just purchased the Asus Celeron Chromebox as a gift for someone for Christmas. I have Ubuntu and ChromeOS setup as dual boot.

I have a Logitech keyboard and mouse that I am having major issues with. I have no problem with the keyboard as far as selecting Ctrl D or Ctrl L but once I am booted into ChromeOS or Ubuntu the mouse and keyboard become completely unresponsive. The keyboard will work sometimes in Ubuntu but the mouse is unusable. This same mouse and keyboard work fine on my Home Theater Computer in the same room in both Windows and Ubuntu.

Is it worth me buying another Mouse and Keyboard and trying it or could it be an issue with the Chromebox. I do not own a wired mouse or keyboard to try (Can you even buy them anymore?).

Any troubleshooting tips?
(2014-12-21, 14:26)fritsch Wrote: [ -> ]And post a Debug Log btw. so that I can see what your TV announces. Enable debuglogging, restart, play such a video and post the result.

Edit: And as you have 4K output! Every 1080p video needs to be upscaled. You can drive your output at 1080p and let the TV scale if you like that better.

I posted a log in the other thread where we were discussing this issue.

http://xbmclogs.com/show.php?id=366718 (however the log site seems down right now?? can't upload a new one!)

Here's the relevant part:

Code:
07:37:10 T:140160032450432    INFO: Available videomodes (xrandr):
07:37:10 T:140160032450432    INFO: Output 'HDMI1' has 36 modes
07:37:10 T:140160032450432    INFO: ID:0x48 Name:1920x1080 Refresh:60.000000 Width:1920 Height:1080
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xb0 Name:1920x1080 Refresh:59.940201 Width:1920 Height:1080
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xb2 Name:1920x1080 Refresh:30.000000 Width:1920 Height:1080
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xb3 Name:1920x1080 Refresh:24.000000 Width:1920 Height:1080
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xb5 Name:1920x1080 Refresh:29.970100 Width:1920 Height:1080
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xb6 Name:1920x1080 Refresh:23.976080 Width:1920 Height:1080
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xa9 Name:4096x2160 Refresh:24.000000 Width:4096 Height:2160
07:37:10 T:140160032450432    INFO: Pixel Ratio: 0.937980
07:37:10 T:140160032450432    INFO: ID:0xaa Name:4096x2160 Refresh:23.976080 Width:4096 Height:2160
07:37:10 T:140160032450432    INFO: Pixel Ratio: 0.937980
07:37:10 T:140160032450432    INFO: ID:0xab Name:3840x2160 Refresh:30.000000 Width:3840 Height:2160
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xac Name:3840x2160 Refresh:25.000000 Width:3840 Height:2160
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xad Name:3840x2160 Refresh:24.000000 Width:3840 Height:2160
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xae Name:3840x2160 Refresh:29.970100 Width:3840 Height:2160
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xaf Name:3840x2160 Refresh:23.976080 Width:3840 Height:2160
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xb1 Name:1920x1080i Refresh:30.000000 Width:1920 Height:1080
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xb4 Name:1920x1080i Refresh:29.970100 Width:1920 Height:1080
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xb7 Name:1600x900 Refresh:59.982471 Width:1600 Height:900
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xb8 Name:2880x480 Refresh:60.000000 Width:2880 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 0.296448
07:37:10 T:140160032450432    INFO: ID:0xb9 Name:2880x480 Refresh:59.940060 Width:2880 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 0.296448
07:37:10 T:140160032450432    INFO: ID:0xba Name:1280x1024 Refresh:60.019741 Width:1280 Height:1024
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.422951
07:37:10 T:140160032450432    INFO: ID:0xbb Name:1280x720 Refresh:60.000000 Width:1280 Height:720
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xbc Name:1280x720 Refresh:30.000000 Width:1280 Height:720
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xbd Name:1280x720 Refresh:59.940201 Width:1280 Height:720
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xbe Name:1280x720 Refresh:29.970100 Width:1280 Height:720
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xbf Name:1280x720 Refresh:24.000000 Width:1280 Height:720
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xc0 Name:1280x720 Refresh:23.976160 Width:1280 Height:720
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512
07:37:10 T:140160032450432    INFO: ID:0xc1 Name:1024x768 Refresh:60.003841 Width:1024 Height:768
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.334016
07:37:10 T:140160032450432    INFO: ID:0xc2 Name:1440x480 Refresh:60.000000 Width:1440 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 0.592896
07:37:10 T:140160032450432    INFO: ID:0xc3 Name:1440x480 Refresh:59.940060 Width:1440 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 0.592896
07:37:10 T:140160032450432    INFO: ID:0xc4 Name:1440x480i Refresh:30.000000 Width:1440 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 0.592896
07:37:10 T:140160032450432    INFO: ID:0xc5 Name:1440x480i Refresh:29.970030 Width:1440 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 0.592896
07:37:10 T:140160032450432    INFO: ID:0xc6 Name:800x600 Refresh:60.316540 Width:800 Height:600
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.334016
07:37:10 T:140160032450432    INFO: ID:0xc7 Name:720x480 Refresh:60.000000 Width:720 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.185792
07:37:10 T:140160032450432    INFO: ID:0xc8 Name:720x480 Refresh:59.940060 Width:720 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.185792
07:37:10 T:140160032450432    INFO: ID:0xc9 Name:640x480 Refresh:60.000000 Width:640 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.334016
07:37:10 T:140160032450432    INFO: ID:0xca Name:640x480 Refresh:59.940479 Width:640 Height:480
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.334016
07:37:10 T:140160032450432    INFO: ID:0xcb Name:1920x1080@50p Refresh:50.000000 Width:1920 Height:1080
07:37:10 T:140160032450432    INFO: Pixel Ratio: 1.000512

Since Kodi's 1080 -> 2160 upscaling is not particularly good (at least not as far as the Chromebox supports, and the TV's is really quite excellent) I'm normally in 1080p and only go to 2160p for 4k videos.
Anybody has problem with displaying OpenELEC or Chrome OS on specific TV after successfully installing standalone or dual boot?

I had display problem in developer mode on Panasonic TV. But then I was able to successfully install and display dual boot on a Sharp LCD TV, but after moving the installed chromebox back to Panasonic TV, it still fails to display OpenELEC (default OS) or Chrome OS if I try Ctrl D.
Hmm, interesting. Taking a screenshot of a 1920x800 file being played, it's actually occupying 1920x808? Thus why the doubled lines every 100 pixels in Nearest Neighbor? Properties in debug log show:

07:37:26 T:140159228024576 INFO: ffmpeg[7F795CFF9700]: Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)

07:37:32 T:140158590506752 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 800, dwidth: 1920, dheight: 800
07:37:32 T:140158590506752 DEBUG: OutputPicture - change configuration. 1920x800. framerate: 23.98. format: VAAPI_NV12
07:37:32 T:140158590506752 NOTICE: Display resolution ADJUST : HDMI1: 1920x1080 @ 23.98Hz (22) (weight: 0.000)

And yet a screen capture clearly shows the viewable window as 808 pixels high:

http://i59.tinypic.com/20i6hl5.png


That seems way too much to account for the PAR error.
(2014-12-21, 14:36)sh33p Wrote: [ -> ]great news, what about regular kodi for ubuntu? will it be updated in the unstable repo as well? if so, i prefer just to update that instead of switching to OE

?? RC3 is there for a very long time. But final is not far. And it fixes nothing you would want on your intel hardware, kodi wise. The most wanted fix is the gpu hang, that is fixed. But this is a kernel issue. See my VAAPI thread in the linux forum section, it has links to working kernels.
(2014-12-21, 15:34)Sunflux Wrote: [ -> ]Hmm, interesting. Taking a screenshot of a 1920x800 file being played, it's actually occupying 1920x808? Thus why the doubled lines every 100 pixels in Nearest Neighbor? Properties in debug log show:

07:37:26 T:140159228024576 INFO: ffmpeg[7F795CFF9700]: Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)

07:37:32 T:140158590506752 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 800, dwidth: 1920, dheight: 800
07:37:32 T:140158590506752 DEBUG: OutputPicture - change configuration. 1920x800. framerate: 23.98. format: VAAPI_NV12
07:37:32 T:140158590506752 NOTICE: Display resolution ADJUST : HDMI1: 1920x1080 @ 23.98Hz (22) (weight: 0.000)

And yet a screen capture clearly shows the viewable window as 808 pixels high:

http://i59.tinypic.com/20i6hl5.png

That seems way too much to account for the PAR error.

07:37:10 T:140160032450432 INFO: ID:0x48 Name:1920x1080 Refresh:60.000000 Width:1920 Height:1080
07:37:10 T:140160032450432 INFO: Pixel Ratio: 1.000512

1920 / 1.000512 = 1919,017463059

Yeah, teach your TV to behave better. For the 808 that's not an issue. It is centered and the rest of the surface is black, but the 1919 introduces a ratio change, rescaling and so on. You need the patch I posted above.
(2014-12-21, 15:35)fritsch Wrote: [ -> ]
(2014-12-21, 14:36)sh33p Wrote: [ -> ]great news, what about regular kodi for ubuntu? will it be updated in the unstable repo as well? if so, i prefer just to update that instead of switching to OE

?? RC3 is there for a very long time. But final is not far. And it fixes nothing you would want on your intel hardware, kodi wise. The most wanted fix is the gpu hang, that is fixed. But this is a kernel issue. See my VAAPI thread in the linux forum section, it has links to working kernels.

yes that's exactly what i needed! thank you sir!
(2014-12-21, 15:38)fritsch Wrote: [ -> ]
(2014-12-21, 15:34)Sunflux Wrote: [ -> ]Hmm, interesting. Taking a screenshot of a 1920x800 file being played, it's actually occupying 1920x808? Thus why the doubled lines every 100 pixels in Nearest Neighbor? Properties in debug log show:

07:37:26 T:140159228024576 INFO: ffmpeg[7F795CFF9700]: Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)

07:37:32 T:140158590506752 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 800, dwidth: 1920, dheight: 800
07:37:32 T:140158590506752 DEBUG: OutputPicture - change configuration. 1920x800. framerate: 23.98. format: VAAPI_NV12
07:37:32 T:140158590506752 NOTICE: Display resolution ADJUST : HDMI1: 1920x1080 @ 23.98Hz (22) (weight: 0.000)

And yet a screen capture clearly shows the viewable window as 808 pixels high:

http://i59.tinypic.com/20i6hl5.png

That seems way too much to account for the PAR error.

07:37:10 T:140160032450432 INFO: ID:0x48 Name:1920x1080 Refresh:60.000000 Width:1920 Height:1080
07:37:10 T:140160032450432 INFO: Pixel Ratio: 1.000512

1920 / 1.000512 = 1919,017463059

Yeah, teach your TV to behave better. For the 808 that's not an issue. It is centered and the rest of the surface is black, but the 1919 introduces a ratio change, rescaling and so on. You need the patch I posted above.


...And I just figured out what's causing the 808 pixel issue. Disabling the 1% allowable aspect ratio error fixes the vertical scaling and returns the video to 800 pixels high in a 1080 window (but of course returns the horizontal problem). So, it's a MANDATORY 1% error - enforced if it can be, no matter what..800 + 1% = 808.

So to fix a 1 pixel horizontal scaling issue, I'm expected to accept an 8 pixel vertical scaling issue? If the file's 1050 pixels high, that'll be an 11 pixel error! Gee. I do wish your "rounding error" fix would be made mainstream, because the alternate fix is worse than the problem!

Any way to simply override the screen's PAR without a complicated EDID replacement? Or ignore it?
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