Re: [vdr] Need help for LIRC + remote on serial COM port on recent Linux distrib

2020-01-25 Thread Karim AFIFI

Hi,

Finally, I dropped Buster, and moved to Mint 19.3 Tricia.
No problem with this version, lirc is working like a charm.

Thanks for your support !
Karim


Le 09/01/2020 à 22:59, Karim AFIFI a écrit :
Hello, I finally managed to get working for the fist two steps : mode2 
and irrecord are OK. There is only one problem left : lircd KO 
/sbin/lircd: symbol lookup error: /sbin/lircd: undefined symbol: 
release_map_remotes


Could someone could help me to fix this problem ?

Thanks a lot !
Karim




Le 04/01/2020 à 23:02, Mikko Tuumanen a écrit :

- lirc_serial move out of staging (is no longer part of the kernel)
and/or rename to serial_ir.

Here are my notes about those lirc changes from March 2019.


You still need to release the serial port from normal serial driver:
setserial /dev/ttyS0 uart none

Load serial_ir module, no need for lirc_serial.

serial_ir will create a /dev/lircN device, and also a /dev/input/eventM

Load one of the ir_*_decoder modules too, for example ir_rc5_decoder or
ir_rc6_decoder depending on the type of your remote. This way you'll probably
don't need to teach remotes to lircd with irrecord, but can just read events
from /dev/input/eventM

Do a
cat /sys/class/rc/rc*/protocols
That will show you list(s) of supported remote models and you can change the
model by writing your choice back to the protocols file.

Before I knew all this, I tried to teach remote to lircd with irrecord, like
irrecord -H default -d /dev/lircN

This way I couldn't get irrecord to learn about a Technotrend remote I have.

After I chose rc-5 with the protocols file, I started to get events from /dev/
input/eventM. This wasn't enough to get lircd to react to the events, so I had
to teach them to lircd by running
irrecord -H devinput -d /dev/input/eventM

After that I ran lircd with
lircd -e lirc -H devinput \
-d /dev/input/by-path/platform-serial_ir.0-event-ir \
/etc/lircd.conf

And now lirc works again!



Unfortunately I still couldn't figure out how I could use the Technotrend
remote with built-in ir receiver of CT2-4400. There is a /dev/input/event-
device for it, but no events come through.




___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] vdr-2.4.1 and vaapi => issues audio and video

2020-01-25 Thread Karim AFIFI

Hello,

I continue to buid my new vdrbox  :
Mint 19.3 / Desktop Cinnamon 3840x2160 @ 60 Hz / intel gpu / vaapi 
plugin / vdr-2.4.1


Driver seems to be OK :
    vainfo
    libva info: VA-API version 1.1.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open 
/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so

    libva info: Found init function __vaDriverInit_1_1
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 1.1 (libva 2.1.0)
    vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 
2.1.0

    vainfo: Supported profile and entrypoints
    VAProfileMPEG2Simple    :    VAEntrypointVLD
    VAProfileMPEG2Simple    :    VAEntrypointEncSlice
    VAProfileMPEG2Main  :    VAEntrypointVLD
    VAProfileMPEG2Main  :    VAEntrypointEncSlice
    VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
    VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
    VAProfileH264ConstrainedBaseline:    VAEntrypointEncSliceLP
    VAProfileH264Main   :    VAEntrypointVLD
    VAProfileH264Main   :    VAEntrypointEncSlice
    VAProfileH264Main   :    VAEntrypointEncSliceLP
    VAProfileH264High   :    VAEntrypointVLD
    VAProfileH264High   :    VAEntrypointEncSlice
    VAProfileH264High   :    VAEntrypointEncSliceLP
    VAProfileH264MultiviewHigh  :    VAEntrypointVLD
    VAProfileH264MultiviewHigh  :    VAEntrypointEncSlice
    VAProfileH264StereoHigh :    VAEntrypointVLD
    VAProfileH264StereoHigh :    VAEntrypointEncSlice
    VAProfileVC1Simple  :    VAEntrypointVLD
    VAProfileVC1Main    :    VAEntrypointVLD
    VAProfileVC1Advanced    :    VAEntrypointVLD
    VAProfileNone   :    VAEntrypointVideoProc
    VAProfileJPEGBaseline   :    VAEntrypointVLD
    VAProfileJPEGBaseline   :    VAEntrypointEncPicture
    VAProfileVP8Version0_3  :    VAEntrypointVLD
    VAProfileVP8Version0_3  :    VAEntrypointEncSlice
    VAProfileHEVCMain   :    VAEntrypointVLD
    VAProfileHEVCMain   :    VAEntrypointEncSlice
    VAProfileHEVCMain10 :    VAEntrypointVLD
    VAProfileHEVCMain10 :    VAEntrypointEncSlice
    VAProfileVP9Profile0    :    VAEntrypointVLD
    VAProfileVP9Profile0    :    VAEntrypointEncSlice
    VAProfileVP9Profile2    :    VAEntrypointVLD


Running mpv from a terminal is OK :

    mpv -vo=vaapi --hwdec=vaapi /DATA/file1080p.mkv
    Playing: /DATA/file1080p.mkv
    (+) Video --vid=1 (*) (h264 1920x800 24.000fps)
    (+) Audio --aid=1 --alang=fre (*) (dts 6ch 48000Hz)
    (+) Subs  --sid=1 --slang=fre (*) 'Forced' (subrip)
    AO: [pulse] 48000Hz 5.1(side) 6ch float
    Using hardware decoding (vaapi).
    VO: [vaapi] 1920x800 vaapi[nv12]
    AV: 00:00:09 / 01:27:44 (0%) A-V:  0.000


I have some issues with VDR and vaapi-plugin :
- pictures are extremely slow on every channels (dvbt and dvbs)
- no sound on dvbt (beause eac3 ?) , picture and sound out of sync on dvbs

I found many errors in syslog (see below) , but I don't know what's wrong.
Could you please help me to fix this isssue ?

Thanks a lot.
Karim


syslog

    Jan 25 12:03:03 pctest vdr: [2546] VDR version 2.4.1 started
    Jan 25 12:03:03 pctest vdr: [2546] switched to user 'test'
    Jan 25 12:03:03 pctest vdr: [2546] codeset is 'UTF-8' - known
    Jan 25 12:03:03 pctest vdr: [2546] found 28 locales in 
/usr/local/src/vdr-2.4.1/locale
    Jan 25 12:03:03 pctest vdr: [2546] loading plugin: 
/usr/local/src/vdr/PLUGINS/lib/libvdr-femon.so.2.4.1
    Jan 25 12:03:03 pctest vdr: [2546] loading plugin: 
/usr/local/src/vdr/PLUGINS/lib/libvdr-mpv.so.2.4.1
    Jan 25 12:03:03 pctest vdr: [2546] loading plugin: 
/usr/local/src/vdr/PLUGINS/lib/libvdr-vaapidevice.so.2.4.1
    Jan 25 12:03:03 pctest vdr: [2546] loading plugin: 
/usr/local/src/vdr/PLUGINS/lib/libvdr-skinsoppalusikka.so.2.4.1

    Jan 25 12:03:03 pctest vdr: [2546] loading /DATA/configVDR/setup.conf
    ...
    Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display 
buffer empty, duping frame (1/0) 0
    Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display 
buffer empty, duping frame (2/0) 0
    Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display 
buffer empty, duping frame (3/0) 0
    Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display 
buffer empty, duping frame (4/0) 0
    Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display 
buffer empty, duping frame (5/0) 0
    Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display 
buffer empty, duping frame (6/0) 0
    Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display 
buffer empty, duping frame (7/0) 0
    Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR: video: display 
buffer empty, duping frame (8/0) 0
    Jan 25 12:03:05 pctest vdr: [2577] VAAPI-ERROR