Kodi Community Forum

Full Version: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
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
(2018-03-22, 18:10)popcornmix Wrote: [ -> ]
(2018-03-22, 01:46)J_E_F_F Wrote: [ -> ]Had a kodi crash/reboot today playing an 8 bit hevc file on a RP3 with #0320 about 35 min into a 50 min show. Hope this is useful http://ix.io/10Jh
Not a lot in the crash log (a crash log from a debug build may be better).
Is this crash repeatable? Can you play the same part of file again, and does it crash again? 
it played through the part after the auto reboot, and it played the same file without error today.
(2018-03-23, 00:17)frank74 Wrote: [ -> ]and my nfs-export file:
Code:
/srv/exports        192.168.16.0/255.255.240.0(rw,async,no_root_squash,no_all_squash,insecure,no_subtree_check,fsid=0)

Did you mean this to be 192.168.16.0 and not 192.168.18.0?

You might also need to set your tftp-root to be /srv/exports/leboot
(2018-03-22, 21:25)Aux_ Wrote: [ -> ]Does anyone have a problem with AC3 on LiveTV? No DD5.1 in LiveTV but movies from the NAS no problem.
When I switch to OMXPlayer DD5.1 is fine in LiveTV

Build #0321

Edit: 
I am using passtrough via AV Receiver
There is no passthrough anymore for live streams since v17 IIRC. Reason is, that for live streams there is not enough buffer to handle passthrough well. You have to enable AC3 transcoding if you insist on an AC3 stream being sent to your TV or if you use SPDIF connection. But if you don't need SPIDF, there is no technical reason to require AC3 passthrough for liveTV since sound quality of 5.1 PCM will just be as good/bad.
(2018-03-23, 09:57)da-anda Wrote: [ -> ]
(2018-03-22, 21:25)Aux_ Wrote: [ -> ]Does anyone have a problem with AC3 on LiveTV? No DD5.1 in LiveTV but movies from the NAS no problem.
When I switch to OMXPlayer DD5.1 is fine in LiveTV

Build #0321

Edit: 
I am using passtrough via AV Receiver
There is no passthrough anymore for live streams since v17 IIRC. Reason is, that for live streams there is not enough buffer to handle passthrough well. You have to enable AC3 transcoding if you insist on an AC3 stream being sent to your TV or if you use SPDIF connection. But if you don't need SPIDF, there is no technical reason to require AC3 passthrough for liveTV since sound quality of 5.1 PCM will just be as good/bad. 
First, thanks for the answer.

I use neither PCM cable nor SPDIF but HDMI and I believe that it had worked in earlier versions of v18.
I will test an older version.
(2018-03-23, 10:16)Aux_ Wrote: [ -> ]I use neither PCM cable nor SPDIF but HDMI and I believe that it had worked in earlier versions of v18.
you'll get 5.1 or 7.1 PCM via your HDMI connection - there is no special cable for that. Only SPDIF is limited to two audio channels and thus requires AC3 or DTS passthrough to get surround sound to the AVR (5.1 audio is encoded onto the two available audio channels of SPIDF). So when your AVR is displaying PCM 5.1 when watching liveTV, all is fine and you won't have any quality loss over any AC3 or DTS passthrough. It doesn't matter if Kodi is decoding AC3 into 5.1 PCM or if it's the AVR that does it - the result will always be the same digital audio signal (unless the AVR is applying custom post processing).
Passthrough was mostly relevant for SPIDF connections, since it was the only way to get "true" surround sound to your AVR (ProLogic just wasn't it). With HDMI connections, passthrough is basically obsolete these days, except for Dolby ATMOS, for which the AVR requires the metadata of the original audio stream to correctly place the audio signals in the virtual space, since the metadata is lost/gone on decoded PCM streams.
(2018-03-23, 11:34)da-anda Wrote: [ -> ]
(2018-03-23, 10:16)Aux_ Wrote: [ -> ]I use neither PCM cable nor SPDIF but HDMI and I believe that it had worked in earlier versions of v18.
you'll get 5.1 or 7.1 PCM via your HDMI connection - there is no special cable for that. Only SPDIF is limited to two audio channels and thus requires AC3 or DTS passthrough to get surround sound to the AVR (5.1 audio is encoded onto the two available audio channels of SPIDF). So when your AVR is displaying PCM 5.1 when watching liveTV, all is fine and you won't have any quality loss over any AC3 or DTS passthrough. It doesn't matter if Kodi is decoding AC3 into 5.1 PCM or if it's the AVR that does it - the result will always be the same digital audio signal (unless the AVR is applying custom post processing).
Passthrough was mostly relevant for SPIDF connections, since it was the only way to get "true" surround sound to your AVR (ProLogic just wasn't it). With HDMI connections, passthrough is basically obsolete these days, except for Dolby ATMOS, for which the AVR requires the metadata of the original audio stream to correctly place the audio signals in the virtual space, since the metadata is lost/gone on decoded PCM streams.  
thanks for the explanation @da-anda 

I do not quite understand,
my AV Receiver shows stereo on Live TV, but when I use OMXPlayer, he shows Dolby Digital on display, why that?

My AV receiver see signature
Quote:Did you mean this to be 192.168.16.0 and not 192.168.18.0?

You might also need to set your
Code:
tftp-root
to be /srv/exports/leboot 

The directory structure is a little bit different but this works (i made pxe boot stuff since years) and the network address includes the next class c networks, because of the netmask:
192.168.16.0/255.255.240.0
so 192.168.18.x for the network devices is correct.

TFTP ist workng well, and all relevant files will be downloaded!

My Directory structure looks like this:
/srv/exports/leboot
is a copy of the bootloader dir from the latest libreelec alpha tar.gz + the renamed KERNEL file (to kernel.img) and the SYSTEM file + the cmdline.txt and config.txt with the (correct) settings

then i create a symlink to the tftp root folder in /srv/exports for bootcode.bin
and an symlink from the /srv/exports/leboot directory to a directory with the serial number (i think, i get this from the tftp log in early tests) of the Raspberry Pi

so
- the Raspberry Pi gets the bootcode.bin via tftp
- looking for the additional files in /srv/exports/29b116bf (this is the symlink dir from /srv/exports/leboot) via tftp
- after about 15sec i got the message that the nfs share can not be mounted
  
Code:
*** Error in mount_flash: mount_common: Could not mount 192.168.18.12:/srv/exports/leboot ***

from another server I'm able to mount this directory!
(2018-03-23, 11:43)Aux_ Wrote: [ -> ]I do not quite understand,
my AV Receiver shows stereo on Live TV, but when I use OMXPlayer, he shows Dolby Digital on display, why that?
that's likely because omxplayer still allows for passthrough on live streams, while videoplayer does not. Try setting the number of speakers in System -> Audio settings to the number of your physical speakers (5.1 or 7.1, whatever you have). After that, you should get 5.1 PCM. The limit to 2 speakers for passthrough is only needed for SPDIF connections AFAIK.
(2018-03-23, 11:53)frank74 Wrote: [ -> ]My Directory structure looks like this:
/srv/exports/leboot
Can you paste the contents of this folder (ie. ls -la /srv/exports/leboot)? Also /srv/exports/29b116bf?

I've tested the latest #0322 build, netbooting an RPi3 and that works as expected, but unfortunately my pre-production RPi3+ doesn't appear to have netboot support so I can't confirm that is working (although, unless there's something wrong with Pi3+ bootcode I'd expect a production board to work, and chances are there's a misconfiguration with your server, eg. all files must be owned by root).
(2018-03-23, 13:57)Milhouse Wrote: [ -> ]
(2018-03-23, 11:53)frank74 Wrote: [ -> ]My Directory structure looks like this:
/srv/exports/leboot
Can you paste the contents of this folder (ie. ls -la /srv/exports/leboot)? Also /srv/exports/29b116bf?

I've tested the latest #0322 build, netbooting an RPi3 and that works as expected, but unfortunately my pre-production RPi3+ doesn't appear to have netboot support so I can't confirm that is working (although, unless there's something wrong with Pi3+ bootcode I'd expect a production board to work, and chances are there's a misconfiguration with your server, eg. all files must be owned by root).     
 this is the content of /srv/exports/leboot:

Code:

root@server02b:/srv/exports/leboot# ls -l
insgesamt 149300
-rw-rw-r-- 1 root root     22264 Mär 22 22:21 bcm2708-rpi-0-w.dtb
-rw-rw-r-- 1 root root     21761 Mär 22 22:21 bcm2708-rpi-b.dtb
-rw-rw-r-- 1 root root     22020 Mär 22 22:21 bcm2708-rpi-b-plus.dtb
-rw-rw-r-- 1 root root     21474 Mär 22 22:21 bcm2708-rpi-cm.dtb
-rw-rw-r-- 1 root root     23044 Mär 22 22:21 bcm2709-rpi-2-b.dtb
-rw-rw-r-- 1 root root     24240 Mär 22 22:21 bcm2710-rpi-3-b.dtb
-rw-rw-r-- 1 root root     24503 Mär 22 22:21 bcm2710-rpi-3-b-plus.dtb
-rw-rw-r-- 1 root root     22952 Mär 22 22:21 bcm2710-rpi-cm3.dtb
-rw-rw-r-- 1 root root     52064 Mär 22 22:21 bootcode.bin
-rw-r--r-- 1 root root       111 Mär 23 12:09 cmdline.txt
-rw-r--r-- 1 root root       110 Mär 22 22:24 cmdline.txt.bak
-rw-rw-r-- 1 root root      3287 Mär 22 15:05 config.txt
-rw-rw-r-- 1 root root      3201 Mär 21 22:39 config.txt.orig
-rw-rw-r-- 1 root root       976 Mär 22 22:21 distroconfig.txt
-rw-rw-r-- 1 root root      9724 Mär 22 22:21 fixup.dat
-rw-r--r-- 1 root root   6969736 Mär 22 22:21 kernel.img
-rw-rw-r-- 1 root root      1494 Mär 22 22:21 LICENCE.broadcom
drwxrwxr-x 2 root root      4096 Mär 22 22:21 overlays
-rw-rw-r-- 1 root root   3911396 Mär 22 22:21 start.elf
-rw-r--r-- 1 root root 141709312 Mär 22 22:21 SYSTEM

/srv/exports/29b116bf has the same content, because it's a link to /srv/exports/leboot
(I configured a raspi3b about 6 month ago also for pxe network booting and this worked well! but at the moment i have only a 2b and a 3b+ available / i can est it with a 2b and an sd card only with bootcode.bin if this will help?!)

Update:
A Raspi2b with an micro-sd card only with bootcode.bin works out of the box after i created the symlink to the serial number! Smile

Update2:
Can it be a network problem after PXE network boot? because i will not see a dhcp request from the the OS (Linux)! with my raspi2b i see the following:
Code:

Mar 23 14:36:28 server02b dnsmasq-dhcp[49590]: 2091881633 verfügbare(s) DHCP-Subnetz: 192.168.18.255/255.255.255.0
Mar 23 14:36:28 server02b dnsmasq-dhcp[49590]: 2091881633 verfügbare(s) DHCP-Subnetz: 192.168.18.255/255.255.255.0
Mar 23 14:36:28 server02b dnsmasq-dhcp[49590]: 2091881633 Klient stellt Name bereit: kodi01
Mar 23 14:36:28 server02b rpc.mountd[527]: authenticated mount request from 192.168.18.48:711 for /srv/exports/leboot (/srv/exports)
Mar 23 14:36:29 server02b rpc.mountd[527]: authenticated mount request from 192.168.18.48:717 for /srv/exports/lestorage/29b116bf (/srv/exports)
the log before is the same.
(2018-03-23, 12:41)da-anda Wrote: [ -> ]
(2018-03-23, 11:43)Aux_ Wrote: [ -> ]I do not quite understand,
my AV Receiver shows stereo on Live TV, but when I use OMXPlayer, he shows Dolby Digital on display, why that?
that's likely because omxplayer still allows for passthrough on live streams, while videoplayer does not. Try setting the number of speakers in System -> Audio settings to the number of your physical speakers (5.1 or 7.1, whatever you have). After that, you should get 5.1 PCM. The limit to 2 speakers for passthrough is only needed for SPDIF connections AFAIK. 
if I turn on in the audio settings PLL adjustment, then everything appears correctly on the display of AV Receiver. It shows PLII C when 2.0 dolby, Dolby Digital when 5.1 dolby. When I disable PLL adjustment it only shows stereo or "multi channel stereo".
(2018-03-23, 15:21)frank74 Wrote: [ -> ]this is the content of /srv/exports/leboot:

OK, got my Pi3+ to network boot once I'd removed the tiny USB memory stick I'd forgotten about - d'oh!

I also get the same mount failure as you - turns out I'd configured the LAN78XX as a module in the kernel, which meant although the bootcode could haul in the kernel, the kernel couldn't bring up the network. Second d'oh. This will be fixed tonight in #0323, so once you update your NFS server with #0323 you should be able to boot. Thanks for reporting it!

Unfortunately this does mean LE 8.2.4 users won't be able to netboot a Pi3+ unless we respin an 8.2.5... Sad
(2018-03-23, 16:50)Milhouse Wrote: [ -> ]I also get the same mount failure as you - turns out I'd configured the LAN78XX as a module in the kernel, which meant although the bootcode could haul in the kernel, the kernel couldn't bring up the network. Second d'oh. This will be fixed tonight in #0323, so once you update your NFS server with #0323 you should be able to boot. Thanks for reporting it!

Thanks for your quickfixSmile
is anything known about failed mp3 playback ? In my case CAudioDecoder can't init codec while loading mp3 file.
(2018-03-23, 18:16)hawkeyexp Wrote: [ -> ]is anything known about failed mp3 playback ? In my case CAudioDecoder can't init codec while loading mp3 file.
 Everything's fine in my case.
MP3 works normally
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