Posts by Hydrosaure
-
-
Okay I think I found the issue:
I was testing with my audio system off and apparently having the default audio output pointing to the wrong output device causes something to be stuck in a loop that ends up blocking video playback.
Here is an attached debug log with 1st playback working fine when using audio device hdmi:CARD=HDMI,DEV=1 "ABT iScan Duo on HDMI #1"
and secondly, reproducing the issue, when playing back while having audio device set to hdmi:CARD=HDMI,DEV=0 "HDMI #0"
Download link
WeTransfer1 item 01_KODI.log 974 KB -
Same behavior in official 9.0.2 build.
Works perfectly fine on 8.2.5.
-
Issue is present in both official 9.2.2 binaries and self build from master
CodeLibreELEC (community): devel-20200414225037-837464c (Generic.x86_64) LibreELEC:~ # cat /proc/version Linux version 5.6.0 (hydro@ubuntu) (gcc version 9.3.0 (GCC)) #1 SMP Tue Apr 14 23:12:49 CEST 2020
The test is simply booting off installation media in live mode and playing a 1080p file from local SSD (ie. a saved YouTube video): payback starts fine but after a few seconds video freezes (interface and controls still work) and Kodi binary starts pegging 100% of one core:
Code
Display MoreLibreELEC:~ # top top - 07:02:41 up 2 min, 1 user, load average: 1.90, 0.77, 0.29 Tasks: 113 total, 3 running, 110 sleeping, 0 stopped, 0 zombie %Cpu(s): 51.9 us, 1.2 sy, 0.7 ni, 43.3 id, 3.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 7340.1 total, 6674.0 free, 239.7 used, 426.4 buff/cache MiB Swap: 0.0 total, 0.0 free, 0.0 used. 6899.9 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1036 root 20 0 1529392 224100 67084 R 106.6 3.0 1:41.94 /usr/lib/kodi/kodi.bin --standalone -fs 1004 root 20 0 433284 19916 12940 S 0.7 0.3 0:01.45 /usr/bin/Xorg -nolisten tcp vt01 -s 0 -noreset -allowMou+ 1 root 20 0 90564 7164 5504 S 0.0 0.1 0:00.74 /usr/lib/systemd/systemd 598 root 0 -20 0 0 0 D 0.3 0.0 0:00.37 [kworker/u5:2+i915_flip] 5 root 20 0 0 0 0 I 0.3 0.0 0:00.29 [kworker/0:0-events] 153 root 20 0 0 0 0 I 0.0 0.0 0:00.23 [kworker/u4:5-events_unbound] 154 root 20 0 0 0 0 I 0.3 0.0 0:00.19 [kworker/u4:6-events_unbound]
Playback hardware is a Pentium G3258 with HD Graphics.
-
-
-
-
20170807 for generic uploaded:
Codekernel-firmware: band aid additions for libreelec-8.2 mesa: update to 29df4de (17.2-rc3) sqlite: update to 3.20 llvm: update to 4.0.1 gcc: update to 7.2-RC-20170802 binutils: update to 2.29 linux: update to 4.12.5 e2fsprogs: update to 1.43.5 xfsprogs: update to 4.12.0 btrfs-progs-system: update to 4.12
Looks like it's a bit too big for 512MB so won't fit for those on a regular sized partition. I'll push out an image without nvidia-legacy later.EDIT: I've experimented a bit with different squashfs compression methods and found that xz had way better compression ratio. Haven't done any testing on boot time and such but most likely the differences aren't that big and now everything fits in one image.
Tried this version found in the Haswell directory on Google Drive and it crashes immediately at boot with a kernel panic.
-
Using an Z97I-PLUS board I couldn't get bluetooth to work with its integrated controller.
Looking at DMESG output I notice there is a reference to a missing file: BCM20702A1-0b05-17cf.hcd
Code
Display MoreLibreELEC:~ # dmesg | grep -i blue [ 2.801891] Bluetooth: Core ver 2.22 [ 2.801896] Bluetooth: HCI device and connection manager initialized [ 2.801898] Bluetooth: HCI socket layer initialized [ 2.801899] Bluetooth: L2CAP socket layer initialized [ 2.801901] Bluetooth: SCO socket layer initialized [ 2.817332] Bluetooth: hci0: BCM: chip id 63 [ 2.833175] Bluetooth: hci0: LibreELEC [ 2.834750] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000 [ 2.834915] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0b05-17cf.hcd failed with error -2 [ 2.834916] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0b05-17cf.hcd not found [ 2.894888] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.894889] Bluetooth: BNEP filters: protocol multicast [ 2.894891] Bluetooth: BNEP socket layer initialized [ 7.052233] Bluetooth: RFCOMM TTY layer initialized [ 7.052236] Bluetooth: RFCOMM socket layer initialized [ 7.052238] Bluetooth: RFCOMM ver 1.11
After manually inserting that file into SYSTEM image and trying again, I can confirm it works fine now with a PS3 controller.
Log with firmware present:Code
Display MoreLibreELEC:~ # dmesg | grep -i blue [ 2.646980] Bluetooth: Core ver 2.22 [ 2.646990] Bluetooth: HCI device and connection manager initialized [ 2.646992] Bluetooth: HCI socket layer initialized [ 2.646993] Bluetooth: L2CAP socket layer initialized [ 2.646998] Bluetooth: SCO socket layer initialized [ 2.656557] Bluetooth: hci0: BCM: chip id 63 [ 2.673510] Bluetooth: hci0: ubuntu [ 2.674556] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000 [ 2.753927] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.753928] Bluetooth: BNEP filters: protocol multicast [ 2.753930] Bluetooth: BNEP socket layer initialized [ 3.309599] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1469 [ 3.326041] Bluetooth: hci0: Broadcom Bluetooth Device [ 6.866824] Bluetooth: RFCOMM TTY layer initialized [ 6.866826] Bluetooth: RFCOMM socket layer initialized [ 6.866829] Bluetooth: RFCOMM ver 1.11
Would it be possible to add this firmware into next builds so it works out of the box on this motherboard?
-
-
Since upgrading to 7.95 Betas I've noticed that TVHeadend fails to detect my "Mygica T230 DVB-T/T2/C" usb adapter at boot.
Doing a PM suspend/resume seems to properly initialize the device as after that it is detected and operates correctly.Dmesg from boot:
Code
Display More[ 2.089360] WARNING: You are using an experimental version of the media stack. [ 2.089360] As the driver is backported to an older kernel, it doesn't offer [ 2.089360] enough quality for its usage in production. [ 2.089360] Use it with care. [ 2.089360] Latest git patches (needed if you report a bug to [email protected]): [ 2.089360] a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading. [ 2.090093] WARNING: You are using an experimental version of the media stack. [ 2.090093] As the driver is backported to an older kernel, it doesn't offer [ 2.090093] enough quality for its usage in production. [ 2.090093] Use it with care. [ 2.090093] Latest git patches (needed if you report a bug to [email protected]): [ 2.090093] a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading. [ 2.091644] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state. [ 2.092640] usbcore: registered new interface driver btusb [ 2.101718] Bluetooth: hci0: BCM: chip id 63 [ 2.109197] intel_rapl: Found RAPL domain package [ 2.109198] intel_rapl: Found RAPL domain core [ 2.109199] intel_rapl: Found RAPL domain uncore [ 2.109199] intel_rapl: Found RAPL domain dram [ 2.113615] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input7 [ 2.113638] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input8 [ 2.114660] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input9 [ 2.114682] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input10 [ 2.114702] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card1/input11 [ 2.114720] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card1/input12 [ 2.114739] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input13 [ 2.117975] Bluetooth: hci0: BCM20702A [ 2.119212] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000 [ 2.119523] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0b05-17cf.hcd failed with error -2 [ 2.119524] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0b05-17cf.hcd not found [ 2.190344] wl: module license 'MIXED/Proprietary' taints kernel. [ 2.190346] Disabling lock debugging due to kernel taint [ 2.334412] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 2.334456] dvbdev: DVB: registering new adapter (Mygica T230 DVB-T/T2/C) [ 2.343284] i2c i2c-8: Added multiplexed i2c bus 9 [ 2.343286] si2168 8-0064: Silicon Labs Si2168-B40 successfully identified [ 2.343287] si2168 8-0064: firmware version: B 4.0.2 [ 2.345494] si2157 9-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached [ 2.345498] usb 3-4: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)... [ 2.345651] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-4/input/input14 [ 2.346068] dvb-usb: schedule remote query interval to 100 msecs. [ 2.346216] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and connected. [ 2.346230] usbcore: registered new interface driver dvb_usb_cxusb [ 2.371137] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2.372301] wlan0: Broadcom BCM43b1 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334) [ 2.372301] [ 2.697718] clocksource: Switched to clocksource tsc [ 4.537731] dvb-usb: recv bulk message failed: -110 [ 5.216397] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx [ 5.216434] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 5.221965] 8021q: 802.1Q VLAN Support v1.8 [ 15.782802] si2168 8-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 16.489855] si2168 8-0064: firmware version: B 4.0.11 [ 16.507729] si2157 9-0060: found a 'Silicon Labs Si2158-A20' [ 16.508655] si2157 9-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw' [ 17.669254] si2157 9-0060: firmware version: 2.1.9 [ 17.669276] usb 3-4: DVB: adapter 0 frontend 0 frequency 0 out of range (42000000..870000000)
After a resume from suspend:
Code
Display More[ 1922.351178] PM: resume devices took 0.630 seconds [ 1922.351233] PM: Finishing wakeup. [ 1922.351234] Restarting tasks ... done. [ 1922.369955] video LNXVIDEO:00: Restoring backlight state [ 1922.764624] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state. [ 1923.007023] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 1923.007118] dvbdev: DVB: registering new adapter (Mygica T230 DVB-T/T2/C) [ 1923.018989] i2c i2c-8: Added multiplexed i2c bus 9 [ 1923.018994] si2168 8-0064: Silicon Labs Si2168-B40 successfully identified [ 1923.018996] si2168 8-0064: firmware version: B 4.0.2 [ 1923.022954] si2157 9-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached [ 1923.022966] usb 3-4: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)... [ 1923.024180] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-4/input/input18 [ 1923.024598] dvb-usb: schedule remote query interval to 100 msecs. [ 1923.024703] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and connected. [ 1923.353847] si2168 8-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 1924.058234] si2168 8-0064: firmware version: B 4.0.11 [ 1924.067675] usb 3-4: DVB: adapter 0 frontend 0 frequency 0 out of range (42000000..870000000) [ 1924.938827] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx [ 2131.188793] usb 3-4: DVB: adapter 0 frontend 0 frequency 4294967286 out of range (42000000..870000000)
-
Having an issue with TVHeadend backend service that fails to run and will restart itself forever.
After digging a bit around the issue and lauching the program manually, it seems to be related to a timeout occuring during startup.
Namely TVheadend is trying to figure out "satips" and eventual throw the error
before continuing. (It runs fine after)The problem is that this hiccup, about 2 minutes of pause, is causing systemd to think the service fails and triggers a restart.
Here is an extract from systemd logs:Code
Display MoreLibreELEC:~/.kodi/addons/service.multimedia.tvheadend/bin # journalctl -f -- Logs begin at Sun 2016-10-09 09:06:14 CEST. -- Oct 09 10:32:29 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Main process exited, code=exited, status=1/FAILURE Oct 09 10:32:29 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Unit entered failed state. Oct 09 10:32:29 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Failed with result 'exit-code'. Oct 09 10:32:31 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Service hold-off time over, scheduling restart. Oct 09 10:32:31 LibreELEC systemd[1]: Stopped TVHeadend Service. Oct 09 10:32:31 LibreELEC systemd[1]: Started TVHeadend Service. Oct 09 10:32:38 LibreELEC systemd[1]: Stopping TVHeadend Service... Oct 09 10:32:38 LibreELEC systemd[1]: Stopped TVHeadend Service. Oct 09 10:34:20 LibreELEC systemd[1]: Reloading. Oct 09 10:34:24 LibreELEC systemd[1]: Started TVHeadend Service. Oct 09 10:36:32 LibreELEC tvheadend[1868]: main: Log started Oct 09 10:36:32 LibreELEC tvheadend[1868]: satips: Unable to determine the HTTP/RTSP address Oct 09 10:36:32 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Main process exited, code=exited, status=1/FAILURE Oct 09 10:36:32 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Unit entered failed state. Oct 09 10:36:32 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Failed with result 'exit-code'. Oct 09 10:36:34 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Service hold-off time over, scheduling restart. Oct 09 10:36:34 LibreELEC systemd[1]: Stopped TVHeadend Service. Oct 09 10:36:34 LibreELEC systemd[1]: Started TVHeadend Service. Oct 09 10:38:41 LibreELEC tvheadend[1901]: main: Log started Oct 09 10:38:41 LibreELEC tvheadend[1901]: satips: Unable to determine the HTTP/RTSP address Oct 09 10:38:41 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Main process exited, code=exited, status=1/FAILURE Oct 09 10:38:41 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Unit entered failed state. Oct 09 10:38:41 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Failed with result 'exit-code'. Oct 09 10:38:43 LibreELEC systemd[1]: service.multimedia.tvheadend.service: Service hold-off time over, scheduling restart. Oct 09 10:38:43 LibreELEC systemd[1]: Stopped TVHeadend Service. Oct 09 10:38:43 LibreELEC systemd[1]: Started TVHeadend Service.
it'll repeat foreverRelevant version information:
CodeLibreELEC:~/.kodi/addons/service.multimedia.tvheadend/bin # tvheadend -v tvheadend: version 4.0.9 ~ LibreELEC Tvh-addon v7.0.101
see also this thread where it seems to be exactly what is happening in my case:
Tvheadend delay during startup - Tvheadend