Posts by Marius95

    Hi.

    I recently switched from a Raspberry Pi 3B+ and LE9 to Asus TinkerBoard S and LE10. I'm using a RF remote control with USB receiver from a very old ATI All-in-Wonder GPU+tuner card. Driver used is ati_remote.ko (Kernel config option CONFIG_USB_ATI_REMOTE, "ATI / X10 USB RF remote control").

    It was working fine with RPi, but it doesn't work so well with the new system.

    When I press a button, it repeats 2-3 times. For example when I press arrow down, the cursor moves 2-3 steps down. It is very difficult to use.

    How do I adjust the repeat delay?

    Second problem:

    Most buttons don't work. They never did. Can I remap them? How? Is there a list of button codes that Kodi uses for various actions?

    Thanks.

    I'll try to use cron to run a script that stops containers and DB and then run the backup.

    I want to be able to restore the backups using LibreELEC restore, just like an "original" backup made by LibreELEC. I saw that LibreELEC backups contain just some of the directories in /storage, not entire /storage. Can you tell me the tar command used by LibreELEC? (Or where can I find it?)

    Can I still use LibreELEC restore if I gzip it?

    Thank you.

    RaspberyPi4, 4GB, LibreELEC v9.2.8 with MariaDB addon, Docker addon and a few containers: Portainer CE, WordPress (official), HomeAssistant, PiHole.

    Is it safe to use the LibreELEC backup function while these services are running? I'm worried that a backup made while SQL databases are being written will contain corrupted database files, and possibly other problems related to files being backed up while in an inconsistent state.

    So far I restored a backup twice and it worked, but that might be just luck?

    Thanks.

    Feature request:

    FTP and SFTP client should keep the connection open for a few seconds (10 - 30s ...) and reuse it for the next transfer instead of closing it immediately and negotiate a new one.

    This happens when scanning the FTP files into library and during playback of bad .avi files that are not interleaved (audio is at the end of the file and the player alternatively seeks audio and video). Library update with FTP in LAN is not very slow, but high latency SFTP (to home server from a hotel across the world) becomes annoyingly slow.

    AVI files not interleaved are unplayable even in LAN.

    3D stereoscopic playback is broken on multiple platforms

    Terms used:

    HOU = Half Over/Under

    2D = Monoscopic mode, only a single full-screen frame, like an normal movie.

    2D HOU = The image top and bottom halfs each represent a frame for right and left eye when converted to 3D mode by the TV. The two frames are half the original height.

    3D = The resulting full-screen 3D image generated by the TV from a 2D HOU source.

    Test video used:

    3D HOU, 1920x1080p, 23.976fps, h264 high L4.1, yuv 4:2:0, Matroshka container, downloaded from a torrent.

    Raspberry Pi 4, HDMI, Panasonic P50ST60 (plasma 3D TV), Panasonic 3D shutter glasses

    LibreELEC v9.2.7

    - Kodi interface in "3D" mode (sent to TV as 2D HOU)

    TV detects 3D image and activates 3D glasses. The interface appears as 3D. Menus and popups have "depth". :thumbup:

    - 3D video playback in 2D mode (3D disabled in Kodi)

    The video is sent to the TV unmodified, as 2D HOU.

    When the video is full-screen without subtitles or any Kodi interface visible, the TV detects the 2D HOU video as a 3D source and activates 3D glasses. :thumbup: Notice the double edges in the image below. When viewed through 3D glasses, this image appears 3D.

    When there are subtitles or Kodi menus visible, TV exits 3D mode and the image appears again as 2D HOU. This is expected, but :thumbdown: because 3D mode doesn't work.

    - 3D video playback in 3D mode

    The menus are sent to the TV in the expected mode (2D HOU), but the video appears as normal 2D. It is not 2D HOU. Only one frame is visible and that frame (left eye or right eye - I don't know) is shown full-screen. :thumbdown: :thumbdown: :thumbdown: The TV doesn't detect 3D (because there is none).

    Disabling acceleration (MMAL) doesn't change anything.

    Tinker Board S (Rockchip RK3288), HDMI, Panasonic P42ST60, Panasonic 3D shutter glasses

    LibreELEC v10 beta 4

    - Kodi interface in "3D" mode (sent to TV as 2D HOU) works fine, same as Raspberry Pi. :thumbup:

    - 3D video playback in 2D mode (3D disabled in Kodi)

    The video is sent to the TV unmodified, as 2D HOU. Menus and subtitles break the TV's 3D mode, same as Raspberry Pi.

    - 3D video playback in 3D mode

    Things get really crazy here. The Kodi menus appear fine, as 2D HOU, but the video is Quarter-size Over/Under. :huh: See photo. Top half of the image consists of both left eye and right eye frames (quarter-height each), while the bottom half is black.

    If I disable acceleration ("DRM PRIME"), things get even more crazy. There are now 4 frames on the screen! 8|

    I am available for more tests if needed.

    I really hope this is not a kernel issue!

    I tried LibreELEC-ARMv7.arm-9.80-devel-20201006155018-8945356-rk3288 on Asus Tinkerboard.

    It boots kernel, shows LE logo, resize partition OK, reboots, then show LE logo, but never loads Kodi. TV screen flickers constantly.

    I replaced firefly dtb with tinker-s dtb in extlinux.conf. Now Kodi loads, but screen is still flickering. Changing refresh rate didn't help.

    I just upgraded my old Raspberry Pi 3 with a new Asus Tinker Board S. I have a problem with some refresh rates.

    Video example here (80MB file): tinkerboard-hdmi-flicker.mkv

    My hardware:

    Asus Tinker Board S, the official power source from RPi 3B+, 1.5m HDMI cable, Panasonic ST50 (plasma screen, 2013).

    Latest offcial LibreELEC

    It seems that refresh rates 23.976 and 59.94 Hz are not supported on Tinker Board?

    - 1920x1080p 60Hz = works

    - 1920x1080p 59.94Hz = flickers constantly

    - 1920x1080p 50Hz = works

    - 1920x1080p 24Hz = works

    - 1920x1080p 23.976Hz = blank screen 95% of the time, some very distorted image sometimes appears

    - 1280x720p = same as 1080p

    I tried:

    - changing power source = didn't help

    - changing HDMI cable = didn't help

    - changing HDMI mode (RGB / Ybr422 / Ybr444) = didn't help. Using 422, the flickering corrupts colors, not just the image.

    - change TV (a smaller Panasonic ST50) in another room = didn't help

    - reverse power plug, try other wall socket (ground loop?) = didn't help

    - put back RPi 3B+ = no problems with the same setup

    - other OS = Official Android for TB doesn't have these refresh rates available. Official Debian for TB - I don't know how to change the refresh rate.

    Is this problem known? I couldn't find anything about it. Any ideea what causes it?

    Thanks.

    There is no such file in that directory. There is a file with that name and contents in /usr/lib/modprobe.d/ , but that's read-only.

    Code
    RPi:/ # ls /storage/.config/modprobe.d/
    disable-spdif-for-hd-audio.conf
    RPi:/ # find -name ati_remote.conf
    ./usr/lib/modprobe.d/ati_remote.conf

    I tried copying that file in the directory you indicated and removing that line from it.

    IT WORKS!!! No more kernel oops and I can move the mouse! So problem resolved. Please include the fix in the next LibreELEC release.

    One more thing...

    I don't think the kernel should crash even if that file is wrong. If you have time, maybe take a look why it causes a kernel problem? Or report it to the module developer? Or tell me how to report it?

    Thank you!

    I connected a serial console and this is the error:

    Hi.

    I have a new bug to report.

    LibreELEC 9.0.2 on Raspberry Pi 3B+.

    I have an old remote control from an old ATI tuner card. This is a radio remote, operates in 433MHz band and has a USB receiver.

    The remote includes "mouse" buttons. They are the big round button on top (mouse movement) and the side buttons for click and right click. Pressing any of the mouse buttons instantly causes LibreELEC to freeze. It won't respond to network ping, ssh session freeze, so I'm unable to provide any crash information.

    All other buttons work (act as intended or just don't do anything): play/stop/skip, arrows (bottom arrows), numbers, volume, etc. They never cause a freeze.

    This remote works with Raspbian and OSMC, including the mouse buttons; they really moved the mouse cursor, clicked, etc.

    I tried other kernel modules.

    Notice that Raspbian and OSMC don't show "ati_remote" driver and register two inputs, not just one.

    Thank you.

    I'm testing this build on Raspberry Pi 3B+.

    I paired a bluetooth keyboard: Genius Y-X5A77.

    Bug #1 (also present in older versions, including 8.2.5):

    Enable bluetooth and spend some time in Bluetooth menu, where the devices are listed.

    Exit and enter again. All devices are shown twice.

    After a while, the list is refreshed and all the devices are listed once, as normal.

    Bug #2:

    Settings / LibreELEC / Bluetooth / <keyboard device> / Enable Standby crashes Kodi.

    The crash log might be this one, but I'm not sure, because I had multiple crashes. http://ix.io/1lgf

    Bug #3:

    I restored a backup made in v8.2.5. At that time, the keyboard was paired. After restore, BT keyboard automatically connected but didn't work (pressing keys had no effect) and trying to delete the device from BT menu crashes Kodi.

    I'm testing this build on Raspberry Pi 3B+.

    Bug #1:

    System Tools and Raspberry Pi Tools have a dependency on os.libreelec.tv marked as "Not available". This is minor and does not prevent install.

    Bug #2:

    mc from System Tools shows this error and the display is corrupted. Options / Display Bits is set to 7bit ASCII and can't be changed. Changes are not remembered. Other options are not affected - they are remembered.

    Warning: cannot open /usr/lib/mc/extfs.d directory

    I need to restore a LibreELEC backup located on a network drive on a smaller card than the one originally created from. The backup si 1.4 GB, the free space is 2 GB. It should fit, because the tar is not compressed.

    The usual restore process first downloads the backup file and saves it on the card and then reboots and tries to extract it from there. And fails, because now there are only 0.6 GB of free space remaining. Is there a way to directly extract a backup from a USB stick or network drive?