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: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - FreeMan xbmc - 2019-02-23

I seem to be down to 0 space free on my SSD in my Kodi box, so "curl -L -O http://mrchromebox.tech/setup-kodi.sh" is failing to write.
Quote:xbmc@xbmc:~$ curl -L -O http://mrchromebox.tech/setup-kodi.sh && sudo bash setup-kodi.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0   185    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1045  100  1045    0     0   1860      0 --:--:-- --:--:-- --:--:--  1860
(23) Failed writing body
A) Is it possible/reasonable to write it to the same USB stick that I'm going to use to install the new firmware and the libreElec install?
B) After deleting quite a few actor .jpg images (Windows said it was > 50MB worth), I'm still showing 0 space available:
Quote:xbmc@xbmc:~$ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev              944604        4    944600   1% /dev
tmpfs             192092     2704    189388   2% /run
/dev/sda1       13257232 12625776         0 100% /
none                   4        0         4   0% /sys/fs/cgroup
none                5120        8      5112   1% /run/lock
none              960452        4    960448   1% /run/shm
none              102400        4    102396   1% /run/user
/dev/sdb1       15142928       80  15142848   1% /media/TRAVELDRIVE
Any suggestions?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2019-02-23

(2019-02-23, 23:19)FreeMan xbmc Wrote: I seem to be down to 0 space free on my SSD in my Kodi box, so "curl -L -O http://mrchromebox.tech/setup-kodi.sh" is failing to write.
Quote:xbmc@xbmc:~$ curl -L -O http://mrchromebox.tech/setup-kodi.sh && sudo bash setup-kodi.sh
(23) Failed writing body
Any suggestions? 
 
use the correct url (https vs http) and the download won't fail.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - FreeMan xbmc - 2019-02-23

Copy pasted directly from the OP of this thread!

It actually worked once, then refused to create the install on a really old USB stick, so I was doing it again.

Also:
xbmc@xbmc:~$ curl -L -O https://mrchromebox.tech/setup-kodi.sh && sudo bash setup-kodi.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   185    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1045  100  1045    0     0   2127      0 --:--:-- --:--:-- --:--:--  2127
(23) Failed writing body



Finally got it to recognize that there was some free space on the drive, it downloaded & I've got it installed.

As has been my experience every time in the past, exporting the video library works just fine, but I cannot get it to reimport it on the new setup. Not your fault at all, this seems to be an XMBC/Kodi issue from when I started using it almost 10 years ago.

Thanks again for putting all this together, Matt - greatly appreciate your efforts and support!



RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - nickr - 2019-02-25

Matt, long time no see, I haven't been round here much. 

I have a chromebox which is in a tricky part of the house. The wifi is the only way to connect without doing non-waf wall ripping. 

I recently upgraded everything to libreelec 9 and added pci=nomsi to the command lines. 

However the wifi is not working well. We have a mysql database and I noticed this on the kodi wiki page, does this mean you effectively cannot use a mysql database with wifi?
Quote:System-->LibreELEC-->Network: Wait for network before starting Kodi: On if using a external mysql database; otherwise Off (breaks Wi-Fi, only use for wired/ethernet connections)



RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2019-02-25

(2019-02-25, 04:11)nickr Wrote: Matt, long time no see, I haven't been round here much. 

I have a chromebox which is in a tricky part of the house. The wifi is the only way to connect without doing non-waf wall ripping. 

I recently upgraded everything to libreelec 9 and added pci=nomsi to the command lines. 

However the wifi is not working well. We have a mysql database and I noticed this on the kodi wiki page, does this mean you effectively cannot use a mysql database with wifi?
Quote:System-->LibreELEC-->Network: Wait for network before starting Kodi: On if using a external mysql database; otherwise Off (breaks Wi-Fi, only use for wired/ethernet connections)
 that was true at the time I added it to the wiki, which was for LE 7? I have no idea if that still holds true, I suspect it probably works much better now. Have you tried with the setting on?  What isn't working well?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Walrus - 2019-02-26

(2019-02-22, 19:03)Matt Devo Wrote:
(2019-02-22, 15:49)Walrus Wrote: I just upgraded to LibreElec 9 (Leia), and I can't seem to access my shares anymore. Fought for hours last night and gave up. Here is my setup:

Main HTPC is running Windows 7, serves as the media server (2x internal 4tb hard drives), mysql for syncing, and runs Kodi for our main TV.
Bedroom Chromebox running LibreElec standalone (not dual boot).

When the main HTPC and Chromebox were running the same version of Kodi 17 (I think 17.3) I had everything working fine. A few months ago I tried updating both to a newer version of 17, and ran into the same share problem.

Last night I upgraded the main HTPC to Kodi 18.1. Then I updated the Chromebox to LibreElec 9 (which I think is 18.0 ?). To do so, I had to backup, then do a fresh install due to the FAT partition being too small. When I tried restoring from the backup, it fails, says the backup is corrupt or something, so I'm having to re-setup everything. When I try to add a network location (\\192.168.1.107 which is the HTPC location) it fails/doesn't find anything. Is it due to the 18.1 and 18.0 not matching?

Or is there some problem with windows 7 and SMBv1?
kernel/driver bug in LE9.0, use workaround posted on wiki (edit /flash/syslinux.cfg)    
I have no idea what I am doing with putty/ssh, but I was able to follow the wiki and add the pci=nomsi after quiet. The wiki is wrong, the location was /flash/syslinux.cfg as you posted.

I still can't get it to work. Once I've added 192.168.1.107/Movies as a network location, it says success, but then asks me to lock the location and a username and password, and a slider bar to remember the location. I leave them blank, as on the windows machine I don't have a username or pass. I hit OK, and the window closes and reopens... endless loop.

Edit: Doing some reading, I'm thinking it might be because I don't have a username or password set to log in to the windows machine. An additional step is to create an additional local account on the windows machine (with username & password 'kodi'), and then under the main windows account, share the folders with the local 'kodi' account. Then.. on the LibreElec machine, add the network location and use 'kodi' for the username and password. I'll report back once I try this.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - FreeMan xbmc - 2019-02-26

I don't know if this is an issue with Kodi, LibreElec or Kore...

I got my ASUS CN60 updated to the latest EUFI BIOS & a standalone LibreElec 9.0.0 install over the weekend. Now, when I hit pause during playback of any video, if I let it sit long enough that the screen dims (it's set at the 3 minute default) it takes ages for it to wake up. I hit play, and it has literally been sitting for more than 3 minutes (actually more like 5) doing nothing.

I'm using the official Kore remote on my Android phone as my remote. I just walked up to the keyboard that I have plugged into the Chromebox and hit the space bar and the screen immediately woke up. A second press of the spacebar and it started playing. A few moments later it paused, then started then paused again - I'm assuming these are because of the play/pause presses I sent from the phone. Now it's paused and doesn't seem to be interested in resuming, at least not from the remote.

While I was typing this, the screen dimmed, then suddenly it woke up and started playing again. Then it paused, resumed, paused, resumed, etc. from me mashing the remote key, and now it's paused but the remote thinks it's playing.

I've also noticed that when waking it up even with no video playing, it's very very slow to respond. Out of frustration, I'll end up mashing a few buttons on the remote (arrow left/right, menu home, etc) and when it finally wakes up, it will replay all the random key strokes.

Any suggestions on what to look for or check? I never had any issues like this running 17.x on the pared back somewhat updated really old Kudibuntu setup I'd been running. Because I've not made any network/hardware changes, I doubt that it's a network related issue (though anything is possible), so I think it's definitely related to the LE update. I doubt that it's anything your fault and I'm not attempting to/interested in assigning blame, I'm just looking to get it fixed.

Thanks!


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2019-02-26

(2019-02-26, 03:05)FreeMan xbmc Wrote: I don't know if this is an issue with Kodi, LibreElec or Kore...

I got my ASUS CN60 updated to the latest EUFI BIOS & a standalone LibreElec 9.0.0 install over the weekend. Now, when I hit pause during playback of any video, if I let it sit long enough that the screen dims (it's set at the 3 minute default) it takes ages for it to wake up. I hit play, and it has literally been sitting for more than 3 minutes (actually more like 5) doing nothing.

I'm using the official Kore remote on my Android phone as my remote. I just walked up to the keyboard that I have plugged into the Chromebox and hit the space bar and the screen immediately woke up. A second press of the spacebar and it started playing. A few moments later it paused, then started then paused again - I'm assuming these are because of the play/pause presses I sent from the phone. Now it's paused and doesn't seem to be interested in resuming, at least not from the remote.

While I was typing this, the screen dimmed, then suddenly it woke up and started playing again. Then it paused, resumed, paused, resumed, etc. from me mashing the remote key, and now it's paused but the remote thinks it's playing.

I've also noticed that when waking it up even with no video playing, it's very very slow to respond. Out of frustration, I'll end up mashing a few buttons on the remote (arrow left/right, menu home, etc) and when it finally wakes up, it will replay all the random key strokes.

Any suggestions on what to look for or check? I never had any issues like this running 17.x on the pared back somewhat updated really old Kudibuntu setup I'd been running. Because I've not made any network/hardware changes, I doubt that it's a network related issue (though anything is possible), so I think it's definitely related to the LE update. I doubt that it's anything your fault and I'm not attempting to/interested in assigning blame, I'm just looking to get it fixed.

Thanks!
 sounds potentially networking related, if a physical keyboard shows no issues but the Android remote does.  Not sure if it's on the Kodi side or LE side, but either the Linux support forum here or the LE forums might give you a wider audience for the issue.  

one note, if you're using a LAN connection (vs wifi), be sure to implement the fix in the wiki troubleshooting section, since it mitigates a kernel bug that cripples the Ethernet throughput


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - FreeMan xbmc - 2019-02-27

(2019-02-26, 07:25)Matt Devo Wrote:
(2019-02-26, 03:05)FreeMan xbmc Wrote:  
 sounds potentially networking related, if a physical keyboard shows no issues but the Android remote does.  Not sure if it's on the Kodi side or LE side, but either the Linux support forum here or the LE forums might give you a wider audience for the issue.  

one note, if you're using a LAN connection (vs wifi), be sure to implement the fix in the wiki troubleshooting section, since it mitigates a kernel bug that cripples the Ethernet throughput  
It seems that it may have been a network issue. I avoid wireless whenever possible, so I implemented the `pci=nomsi` fix and that's definitely helped with browsing videos (non-library files), and it seems to be waking up from the paused state much better too.
Thanks again for your work and support!


ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - giant25 - 2019-02-27

Hey Matt, do you know if a bug report has been submitted for the kernel issue crippling throughout? Just curious. Seems like a pain to keep explaining this as folks upgrade....


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2019-02-27

(2019-02-27, 02:22)giant25 Wrote: Hey Matt, do you know if a bug report has been submitted for the kernel issue crippling throughout? Just curious. Seems like a pain to keep explaining this as folks upgrade....
 I'm not sure yet if it's a kernel bug that disproportionally affects Chromebox users (since they all have the RT8168 Ethernet chip), or if the kernel change simply exposed a coreboot bug that had laid dormant (due to AER not being enabled).  It's on my to-do list to figure that out, then can proceed with how to fix


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - MrBuyakah - 2019-03-01

(2019-02-26, 02:39)Walrus Wrote: Edit: Doing some reading, I'm thinking it might be because I don't have a username or password set to log in to the windows machine. An additional step is to create an additional local account on the windows machine (with username & password 'kodi'), and then under the main windows account, share the folders with the local 'kodi' account. Then.. on the LibreElec machine, add the network location and use 'kodi' for the username and password. I'll report back once I try this. 
This works as it's exactly what I am doing due to Windows only supporting SMBv2 and up.  I went a little further and only allowed that "kodi" user read only access to my shares.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - malcolmbarr - 2019-03-08

Help!

I have installed standalone Libreelec 9.01 on a CN60 Chromebox using the EZ setup script. I have also added the "pci=nomsi" line to grub.cfg as explained in the wiki. But my ethernet link is still unusably bad with buffering occurring all the time when the bitrate of the source material is at all high. The step of adding to grub.cfg does not appear to have meaningfully changed the ethernet performance, and I have checked to see the pci-nomsi addition is there after 'quiet'.

This is accessing media stored locally on the network via SMB. Accessing the same media over the network via SMB from a windows PC, all works well.

Any help much appreciated.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2019-03-08

(2019-03-08, 17:22)malcolmbarr Wrote: Help!

I have installed standalone Libreelec 9.01 on a CN60 Chromebox using the EZ setup script. I have also added the "pci=nomsi" line to grub.cfg as explained in the wiki. But my ethernet link is still unusably bad with buffering occurring all the time when the bitrate of the source material is at all high. The step of adding to grub.cfg does not appear to have meaningfully changed the ethernet performance, and I have checked to see the pci-nomsi addition is there after 'quiet'.

This is accessing media stored locally on the network via SMB. Accessing the same media over the network via SMB from a windows PC, all works well.

Any help much appreciated.
on a fresh install of LE9 in conjunction with my UEFI firmware, the proper file to edit is /flash/syslinux.cfg, not grub.cfg


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - malcolmbarr - 2019-03-09

Thanks for the reply. However, when I open the syslinux.cfg it has no content, and I get the message ‘new file’ at the bottom of the screen.

I was using this Chromebox for OpenELEC but then put it into storage. Coming to it again, I followed the instructions on Ypur site to boot from a Ubuntu USB stick and then reinstall the core boot, etc, and then installed Libreelec. All works well apart from the buffering issue.

Should I put the ‘pci=nomsi’ line in a new syslinux.cfg? The fact the line ending ‘quiet’ is not there suggests to me I shouldn’t......