Posts by Lyx

    Hello,

    My configuration : Linux Debian "Bookworm" (stable), vdr (2.6.0-1.1), Kodi (2.20) and a NAS to store the TV records. My NAS is a Glusterfs NAS, replication mode with 2 nodes under Linux Debian "Bookworm".

    With a classic configuration : VDR, Tuner DVB, USB hard drive for the TV records, VNI Server and Kodi, I see all my TV records of my hard drive.

    But, after a warning about my USB hard drive, I've used my Glusterfs NAS to store my TV records. With "vdr-sxfe", I see all my TV records on my NAS. No trouble to record a TV program, to see the full list of the records or watch a TV record.

    Kody accepts to program a record from the Guide. With my remote, I can use the "record" button. So Kodi accepts to use the Glusterfs NAS to make the TV records. The user of VDR application is "vdr", all records are readable for all users. My login is in the group "vdr" when I use Kodi.

    With Kodi, the problem is that I see only some few TV records. As example, the list of

    • "Recent records" contains few records since 16/11/2023 to 28/09/2024
    • "Records" show only a a part of the records since 07/05/2020 to 28/09/2024

    Some different mount points for Glusterfs was tested, but nothing change :

    • in "/etc/fstab" : glusternode:/vol_vdr /mnt/glusterfs glusterfs defaults,_netdev 0 0
    • with "autofs" : glusterfs -fstype=glusterfs glusternode:/vol_vdr, mounted in "/mnt/autofs/glusterfs"
    • an other mount point created with "mount --bind <real mount point> <mount point for Kodi>"

    In the "Videos" Kodi's section, the TV records directory is used : all TV records are listed and usable :wand

    I don't know if I've missed something an other time ;) or If something is to do in the Kodi setup.

    Thank you for any help :)

    Have a good day !

    Solved :)

    <back>KEY_EXIT</back> added.

    With your help, I've found that the problem is not many KEY_ENTER, but <enter>Enter</enter> and tt]<enter>Enter</enter>[/tt] for my remote. I could investigate later.

    As I've modified an existing configuration, the error could be here. For example, the <remote device="mceusb"> has

    Quote

    <select>OK</select>

    <select>KEY_OK</select>

    <enter>KEY_ENTER</enter>

    Thank you again for the help :)

    Sorry, a mistake during the edition ... :(

    Hello,

    The output of irw :

    Quote
    Zitat 0004000400000083 00 KEY_EXIT urc7145_stb_panasonic
    000400040000005c 00 KEY_ENTER urc7145_stb_panasoni

    I have no troubles with VDR and "vdr-sxfe", so "/etc/vdr/remote.conf" is good. My problem is only with "kodi", where the "KEY_EXIT" or "KEY_EXIT" are ignored. Impossible to select/valid something or to escape from dialog box or a menu.

    The problem is the usage of the remote with "kodi". I would select with the "KEY_ENTER" and go bback, exit with "KEY_EXIT'.

    Hello,

    I have a remote command One For All Evolve 4 (URC-7145) / One For All Evolve 4 URC 7145. I use the STB mode "Set Top Box, Satellite Receiver, Cable Converter,Freeview, DVB-T, IPTV, Media, Streamer" configured for a Panasonic device.

    I've used "ir-keytable" to build my configuration and write a file for "lirc", "/etc/lirc/lircd.conf.d/urc7145_stb_panasonic.lircd.conf" joined and renamed "*.txt". As I have 3 tuners "USB RTL2832 with tuner R820T2" with a IR receiver. As "root", I've set a crontab "@reboot /usr/bin/sleep 15; /usr/bin/ir-keytable -c -p rc-6" to initialize the first USB DVB-T receiver. I give you my "/etc/vdr/remote.conf" renamed "*.txt". With "vdr-sxfe" under Linux, Debian Bookworm ("stable" 09/2024) the remote works.

    Now I try to set the remote for Kodi, I've used HOW-TO:Set up an MCE remote control in Linux. I've set my file "/home/<login>/.kodi/userdata/Lircmap.xml", the file is joined renamed "*.txt". I've added the configuration of my URC-7145 remote to this file. As there is no "Subtitles" button, I use the "Power" button to have the subtitles.

    With Kodi and my remote, my problem is I can't select, validate, etc. a choice or exit. The arrows and all other buttons are working but impossible to select something or exit. When I use the TV menu with VDR, if a dialog box give the choice between the direct or replay, I can't make a selection nor quit this dialog box, no "exit" possible. With the keyboard, I can use the "TAB", "ESC" and "RETURN" keys, but with my remote I have no buttons to replace the keyboard actions.

    Could you help me to finalize my configuration ?

    Thank you in advance for your help.

    Lyx

    Hello,

    With the help of e-tobi a solution was found. Thank you to him :)

    Even with his help, the problems persists with 'vdr-sxfe'.

    The solution was to use the e-tobi's packages and Kodi. The device Softhddevice doesn't help in my case, it was removed for Kodi.

    With Kodi is not possible to cut a video, so I use 'vdr-sxfe' to do that.

    To use the e-tobi's packages remove all references to his mirror. A key must be added to use the mirror. The solution given is :

    Quote from E-Tobis

    The VDR's packages :

    Code
    apt install vdr vdr-plugin-epgsearch vdr-plugin-femon vdr-plugin-xineliboutput xineliboutput-sxfe vdr-plugin-vnsiserver kodi kodi-pvr-vdr-vnsi

    Hello,

    The replay is perfect with VDR, just now I've checked it. The direct is perfect with VLC and MPV.

    Under Bullseye, nothing is returned by "apt-file search softhdvaapi".

    What is "softhdvappi" ?

    How to install this ?

    The forgotten packages for the video card :

    Code
    i965-va-driver-shaders/stable,now 2.4.1-1 amd64  [installé]
    xserver-xorg-video-intel/stable,now 2:2.99.917+git20200714-1+b1 amd64  [installé, automatique]

    Hello,

    I use Debian Bullseye with a USB DVB tuner Realtek RTL2832. If I don't use VDR ("systemctl stop vdr") and use "VLC" or "mpv" I can see all HD TV channels, so I suppose that there is no hardware problem.

    With VDR, the sound has not the good speed, too fast, sometimes not synchronized with the video. But always, the sound and the video freeze after few seconds and restart continuously. The same situation is produced with the commands "vdr-sxfe" or "xine xvdr://".

    I've tried to change the parameters like "engine.buffers ..." in "~/.xine/config_xineliboutput" and directly (as "root") in "/var/lib/vdr/plugins/xineliboutput/config" (restart of the service done) without succes for "vdr-sxfe". The file "~/.xine/config_xineliboutput" is re-written at each time after living 'vdr-sxfe'. The parameters with "Xine" are persistent.

    I don't understand why "~/.xine/config_xineliboutput" is re-written after "vdr-sxfe" and loose the values that I set.

    The replay works perfectly even if there is some freezes.

    I hope that someone could help me :)

    Best regards.

    Lyx


    The VDR packages installed :

    Display Spoiler

    libxine2-bin/stable,now 1.2.10-4+b1 amd64 [installed,automatic]

    libxine2-doc/stable,now 1.2.10-4 all [installed,automatic]

    libxine2-plugins/stable,now 1.2.10-4 all [installed,automatic]

    libxine2-vdr/stable,now 1.2.10-4+b1 amd64 [installed,automatic]

    libxine2-xvdr/stable,now 2.1.0+git20191101-1.1 amd64 [installed,automatic]

    libxine2/stable,now 1.2.10-4+b1 amd64 [installed]

    vdr-plugin-epgsearch/stable,now 2.4.0+git20191101-1 amd64 [installed]

    vdr-plugin-femon/stable,now 2.4.0-3 amd64 [installed]

    vdr-plugin-xine/stable,now 0.9.4-17 amd64 [installed]

    vdr-plugin-xineliboutput/stable,now 2.1.0+git20191101-1.1 amd64 [installed]

    vdr/stable,now 2.4.1-4.1 amd64 [installed]

    vdradmin-am/stable,now 3.6.10-4.1 all [installed]

    xine-console/stable,now 0.99.9-2 amd64 [installed]

    xine-ui/stable,now 0.99.9-2 amd64 [installed]

    xineliboutput-sxfe/stable,now 2.1.0+git20191101-1.1 amd64 [installed]

    The USB DVB Tuner :

    Realtek RTL2832 (DVB-T)

    ~$ lsdvb

    lsdvb: Simple utility to list PCI/PCIe DVB devices

    Version: 0.0.4

    Copyright (C) Manu Abraham

    usb (0:0 0:0) on PCI Domain:2 Bus:0 Device:14 Function:-2147483648

    DEVICE:0 ADAPTER:0 FRONTEND:0 (Realtek RTL2832 (DVB-T))

    FE_OFDM Fmin=174MHz Fmax=862MHz

    The loading of the DVB's driver :

    dmesg -Hw | grep -i dvb

    root@black:~# dmesg -Hw | grep -i dvb

    [ +0.009687] usb 1-3.4: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state

    [ +0.014295] usb 1-3.4: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer

    [ +0.000005] dvbdev: DVB: registering new adapter (Realtek RTL2832U reference design)

    [ +0.000175] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.

    [ +0.000007] usb 1-3.4: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...

    [ +0.000003] dvbdev: dvb_create_media_entity: media entity 'Realtek RTL2832 (DVB-T)' registered.

    [ +0.000094] rc rc0: lirc_dev: driver dvb_usb_rtl28xxu registered at minor = 0, raw IR receiver, no transmitter

    [ +0.000459] usb 1-3.4: dvb_usb_v2: schedule remote query interval to 200 msecs

    [ +0.009105] usb 1-3.4: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected

    [ +0.000092] usbcore: registered new interface driver dvb_usb_rtl28xxu

    The video card with the output of some tools :

    Intel Corporation HD Graphics 630 (rev 04)

    ~$ inxi -G

    Graphics:

    Device-1: Intel HD Graphics 630 driver: i915 v: kernel

    Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting

    unloaded: fbdev,vesa resolution: 1680x1050~60Hz

    OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.3.5


    # lshw -c display

    *-display

    description: VGA compatible controller

    product: HD Graphics 630

    vendor: Intel Corporation

    physical id: 2

    bus info: pci@0000:00:02.0

    version: 04

    width: 64 bits

    clock: 33MHz

    capabilities: pciexpress msi pm vga_controller bus_master cap_list rom

    configuration: driver=i915 latency=0

    resources: irq:131 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff


    # lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {}

    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) (prog-if 00 [VGA controller])

    DeviceName: Onboard IGD

    Subsystem: Gigabyte Technology Co., Ltd HD Graphics 630

    Flags: bus master, fast devsel, latency 0, IRQ 131, IOMMU group 1

    Memory at f6000000 (64-bit, non-prefetchable) [size=16M]

    Memory at e0000000 (64-bit, prefetchable) [size=256M]

    I/O ports at f000 [size=64]

    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]

    Capabilities: [40] Vendor Specific Information: Len=0c <?>

    Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00

    Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-

    Capabilities: [d0] Power Management version 2

    Capabilities: [100] Process Address Space ID (PASID)

    Capabilities: [200] Address Translation Service (ATS)

    Capabilities: [300] Page Request Interface (PRI)

    Kernel driver in use: i915

    Kernel modules: i915

    # intel_gpu_frequency

    cur: 350 MHz

    min: 350 MHz

    RP1: 350 MHz

    max: 1150 MHz

    The packages for the video card :

    Display Spoiler

    i965-va-driver-shaders/stable,now 2.4.1-1 amd64 [installed]

    xserver-xorg-video-intel/stable,now 2:2.99.917+git20200714-1+b1 amd64 [installed,automatic]

    The audio :

    Intel Corporation 200 Series PCH HD Audio

    ~# lshw -c sound

    *-multimedia

    description: Audio device

    product: 200 Series PCH HD Audio

    vendor: Intel Corporation

    physical id: 1f.3

    bus info: pci@0000:00:1f.3

    version: 00

    width: 64 bits

    clock: 33MHz

    capabilities: pm msi bus_master cap_list

    configuration: driver=snd_hda_intel latency=32

    resources: irq:133 memory:f7140000-f7143fff memory:f7120000-f712ffff

    ~# lspci | grep -i audio

    00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio

    The loaded modules :

    lsmod | egrep -i -e '2832|audio'

    root@black:~# lsmod | egrep -i -e '2832|audio'

    rtl2832_sdr 40960 0

    videobuf2_vmalloc 20480 1 rtl2832_sdr

    videobuf2_v4l2 36864 1 rtl2832_sdr

    videobuf2_common 65536 2 rtl2832_sdr,videobuf2_v4l2

    videodev 286720 3 rtl2832_sdr,videobuf2_v4l2,videobuf2_common

    rtl2832 28672 1

    i2c_mux 16384 1 rtl2832

    dvb_core 155648 2 dvb_usb_v2,rtl2832

    ledtrig_audio 16384 1 snd_hda_codec_generic

    usbcore 323584 8 rtl2832_sdr,xhci_hcd,dvb_usb_v2,usbhid,dvb_usb_rtl28xxu,usb_storage,xhci_pci,uas

    The ' ~/.xine/config_xineliboutput' used by 'vdr-sxfe' :

    Code
    ~/.xine$ grep -v '#' config_xineliboutput| grep [a-z]
    .version:2
    audio.synchronization.av_sync_method:resample
    video.processing.ffmpeg_thread_count:4
    effects.goom.fps:25
    effects.goom.height:576
    effects.goom.width:720
    engine.buffers.video_num_buffers:250
    engine.performance.memcpy_method:libc

    The '~/.xine/config' used by 'xine xvdr:://'

    The command "intel-gpu-top" with the VDR service stopped :

    intel-gpu-top Render/3D/0 9.04%

    # intel-gpu-top

    intel-gpu-top - 150/ 150 MHz; 78% RC6; 0.20 Watts; 451 irqs/s

    IMC reads: 982 MiB/s

    IMC writes: 289 MiB/s

    ENGINE BUSY MI_SEMA MI_WAIT

    ENGINE BUSY MI_SEMA MI_WAIT

    Render/3D/0 9.04% |███ | 0% 0%

    Blitter/0 0.00% | | 0% 0%

    Video/0 0.00% | | 0% 0%

    VideoEnhance/0 0.00% | | 0% 0%

    The command "intel-gpu-top" with only "mpv" without the VDR service running :

    intel-gpu-top Render/3D/0 52.03%

    intel-gpu-top - 293/ 293 MHz; 34% RC6; 0.59 Watts; 633 irqs/s

    IMC reads: 2005 MiB/s

    IMC writes: 785 MiB/s

    ENGINE BUSY MI_SEMA MI_WAIT

    Render/3D/0 52.03% |██████████████████▏ | 0% 0%

    Blitter/0 0.00% | | 0% 0%

    Video/0 0.00% | | 0% 0%

    VideoEnhance/0 0.00% | | 0% 0%

    With the VDR service running and 'vdr-sxfe' running on Arte when audio video are, roughly, synchronized :

    intel-gpu-top Render/3D/0 25.04%

    intel-gpu-top - 702/ 702 MHz; 54% RC6; 2.39 Watts; 846 irqs/s

    IMC reads: 2218 MiB/s

    IMC writes: 956 MiB/s

    ENGINE BUSY MI_SEMA MI_WAIT

    Render/3D/0 25.40% |████████▉ | 0% 0%

    Blitter/0 0.00% | | 0% 0%

    Video/0 0.00% | | 0% 0%

    VideoEnhance/0 0.00% | | 0% 0%

    But when the audio and video freeze the display is :

    intel-gpu-top Render/3D/0 8.36%

    intel-gpu-top - 142/ 141 MHz; 79% RC6; 0.19 Watts; 442 irqs/s

    IMC reads: 1043 MiB/s

    IMC writes: 248 MiB/s

    ENGINE BUSY MI_SEMA MI_WAIT

    Render/3D/0 8.36% |██▉ | 0% 0%

    Blitter/0 0.00% | | 0% 0%

    Video/0 0.00% | | 0% 0%

    VideoEnhance/0 0.00% | | 0% 0%


    If if use "xine xvdr://" the display is identical even if the software configuration of Xine is not the same.