Posts by DeViLRuNNeR-dev

    I justed wanted to update that I managed to get LibreELEC working inside a privileged LXC container.

    below is the proxmox conf I am using;

    I needed to tune it a little to get gpu PRIME hardware acceleration working - see below;

    chewitt Just tested your build on my Nanopi R6S and it works very good; gpu acceleration, 5.1 PCM and even DD passthrough was working.

    It's a shame I cannot get this level of functionality on my EDK2 Uefi + Grub + current-rockchip64(armbian 6.18) build running PxVirt.

    It would be lovely to spin up LE in an LXC while also running some other things.

    btw which uboot version are you using?

    I noticed full multichannel PCM audio works on RK3588s (Nanopi R6S) in these builds.

    Would love to see that support in mainline armbian builds.

    chewitt are you able to point me to specific patchsets that made this possible?

    I believe the issue in mainline has to do with the ALSA rockchip-i2s-tdm driver needing to support more than 8 TDM slots or support the HDMI multi-TDM mapping for 5.1 / 7.1 ?

    I justed wanted to update that I managed to get LibreELEC working inside a privileged LXC container.

    below is the proxmox conf I am using;

    In the debug log, I found the following message for each input device:
    debug <general>: libinput: event2 - skip unconfigured input device '/dev/input/event2'

    Adding "lxc.mount.auto: sys:rw" to the LXC configuration fixed the issue - the keyboard now works properly.

    Now I am going to try CEC over HDMI.

    Would you be able to post your full lxc config file?

    I wanted to run a virtualized HTPC preferably Kodi in a lightweight JEOS LXC so went for LibreELEC. I was amazed no LXC image or template was available so I created it myself.

    Basically;

    1. Created a VM based on (LibreELEC-Generic.x86_64-12.2.0.img.gz) using a VirGL GPU - as I also want to use actual hardware acceleration / passthrough later.
    2. Converted it to an LXC using (proxmox-vm-to-ct script)
    3. Added my GPU, Render, framebuffer and tty to said LXC (mainly using this guide) and was greeted by the Kodi screen on my HDMI monitor - all great so far !

    Luckily I setup remote control through web interface chrorus2 because I cannot seem to get my USB (keyboards) inputs to control the Kodi interface.

    My keyboard is present in /dev/ as event2 and I can test it and see keys coming in with evtest - see below

    Code
    LibreELEC-test2:~ # ls /dev/input -la
    crw-rw----    1 root     root       13,  66 Oct 17 16:26 event2
    Code
    LibreELEC-test2:~ # evtest
    No device specified, trying to scan all of /dev/input/event*
    Available devices:
    /dev/input/event2:      Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )
    Code
    Testing ... (interrupt to exit)
    Event: time 1760711288.223959, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70052
    Event: time 1760711288.223959, type 1 (EV_KEY), code 103 (KEY_UP), value 1
    Event: time 1760711288.223959, -------------- SYN_REPORT ------------
    Event: time 1760711288.263947, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70052
    Event: time 1760711288.263947, type 1 (EV_KEY), code 103 (KEY_UP), value 0
    Event: time 1760711288.263947, -------------- SYN_REPORT ------------

    However it doesn't seem to be controlling the Kodi GUI whatsoever.

    GPU, audio passthrough and hardware acceleration all work perfectly so didn't expect something as trivial like USB HID passthrough not to work.

    It would be amazing to run LibreELEC in a lightweight LXC container as it kinda fits the whole JEOS vibe opposed to a VM or bare metal wasting resources.

    Does anybody have any ideas or pointers how to fix this?