Posts by topper

    # vainfo

    libva info: VA-API version 1.4.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_4

    libva info: va_openDriver() returns 0

    vainfo: VA-API version: 1.4 (libva 2.4.0)

    vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.3.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

    VAProfileHEVCMain : VAEntrypointVLD

    VAProfileHEVCMain10 : VAEntrypointVLD

    VAProfileVP9Profile0 : VAEntrypointVLD

    VAProfileVP9Profile2 : VAEntrypointVLD

    # ffmpeg -hwaccels

    output is:

    ffmpeg version 4.1.4-1~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers

    built with gcc 8 (Debian 8.3.0-6)

    configuration: --prefix=/usr --extra-version='1~deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared

    libavutil 56. 22.100 / 56. 22.100

    libavcodec 58. 35.100 / 58. 35.100

    libavformat 58. 20.100 / 58. 20.100

    libavdevice 58. 5.100 / 58. 5.100

    libavfilter 7. 40.101 / 7. 40.101

    libavresample 4. 0. 0 / 4. 0. 0

    libswscale 5. 3.100 / 5. 3.100

    libswresample 3. 3.100 / 3. 3.100

    libpostproc 55. 3.100 / 55. 3.100

    Hardware acceleration methods:

    vdpau

    vaapi

    drm

    If I set plugin argument -v vaapi I see syslog error:

    ...

    Jun 29 21:58:01 SM-MC vdr: video: 'vaapi' output module isn't supported
    ...

    Jun 29 21:58:02 SM-MC vdr: [3440] [softhddev]SetPlayMode: 1

    Jun 29 21:58:02 SM-MC vdr: Set Playmode 1

    Jun 29 21:58:02 SM-MC vdr: softhddev: TrickSpeed called without hw decoder

    Jun 29 21:58:02 SM-MC vdr: [softhddev]GetOsdSize: 3840x2160 1

    Jun 29 21:58:02 SM-MC vdr: video/egl: video.c:5535 error 12296 Invalid EGL display

    Jun 29 21:58:02 SM-MC vdr: video/egl: can't create thread egl context

    Jun 29 21:58:02 SM-MC systemd[1]: vdr.service: Main process exited, code=killed, status=6/ABRT

    Hi,

    Using Intel graphics driver i965-va-driver Version: 2.3.0+dfsg1-1 (intel-vaapi-driver)

    In Debian 10.1.0-amd64 I built libvdr-softhdvaapi from source https://github.com/jojo61/vdr-plugin-softhdcuvid

    In makefile I set flags

    VAAPI ?= 1

    PLUGIN = softhdvaapi

    LIBPLACEBO ?= 0

    and enabled DEBUG output flag in makefile also

    Installed the plugin and when I start vdr with plugin vdr stops with ABORT signal: codec: can't allocate HW video codec context err ffffffea

    Or I should set -v device in plugin command line option?

    In Makefile parameters were VAAPI ?= 1 CUVID ?= 0, but LIBPLACEBO was set. So Now it builds if I clear LIBPLACEBO ?= 0.

    /etc/vdr/conf.avail/softhdvaapi.conf:

    [softhdvaapi]

    -v vaapi

    When I run vdr with softhdvaapi (module from vdr-plugin-softhdcuvid) the vdr starts normally, plugin gets loaded and then the plugin crashes: code=killed, status=6/ABRT, see syslog.

    I am unable to find any info of Intel GT2-520 GPU decoding frames slowly. I made test where I used CVLC player with playlist containing some UHD DVB-S2 channels and this VLC is playing the channels perfectly, with 60 FPS @ 3840x2160. VLC output is not indicating any dropped or late frames - see vlc debug (-vvv) output.

    Is it possible to use VLC (cvlc) as VDR output?

    Ok, thank you for the hint.

    I also try to build softhddevice from different repository https://salsa.debian.org/vdr-team/vdr-plugin-softhddevice

    And this version seems to work better on most of the channels on UHD screen resolution. Video and audio is in synck, but in vdr menu of SoftHDdevice I see the count of dropped frames still counts up, but on syslog I can not see frame dropping, Only on UHD channels play I see "audio/alsa: avail underrun error? 'Broken pipe'" and frame dropping in syslog.

    I also add my build log of commit:

    commit 1fb6cb8d29345c17d66b77055b2b778655b8a918 (HEAD -> vdpau+vaapi+cuvid, origin/vdpau+vaapi+cuvid, origin/HEAD)

    Author: root <ua0lnj@bk.ru>

    Date: Sun May 17 00:48:59 2020 +1000

    Added DTS audio.

    These are the dependences I installed:

    apt install vdr-dev libasound2-dev libdrumstick-dev libva-dev libavcodec-dev libswscale-dev libswresample-dev libxcb-dpms0-dev libx11-dev libx11-xcb-dev libxcb-icccm4-dev libxcb-screensaver0-dev libxcb-ewmh-dev

    Configuration related to softhddevice:

    /etc/vdr/setup.conf