Hi *,
nachdem ich jetzt eine gute Woche damit herum gebastelt habe, mit meiner doch sehr neuen CPU die diversen VDR output plugins zum Laufen zu bringen, wollte ich hier mal einen Status abgeben.
Ggf. kann die eine oder der andere ja noch hilfreiche Tips dazu abgeben.
Meine CPU ist eine Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz.
Dazu ist am System folgende DVBS2-USB-Box angeschlossen: Bus 001 Device 004: ID 0572:6831 Conexant Systems (Rockwell), Inc. DVBSky S960 DVB-S2 tuner.
Das System selbst ist eine openSUSE Leap 15.2 mit den zusätzlichen Repos packman und X11::Xorg.
Außerdem habe ich noch die aktuellste ffmpeg-4-Version aus dem git geholt, übersetzt und installiert, dazu den aktuellen Intel iHD Treiber.
vaainfo sagt aktuell:
DISPLAY=:1 vainfo
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 1.10.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.9.1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.3.0 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
Alles anzeigen
Getestet habe ich softhddevice von lnj, softhdcuvid/softhdvaapi von jojo61 sowie die schon etwas in die Jahre gekommene letzte Version von xineliboutput.
Im Folgenden ist ein Ausschnitt aus meinem VDR-Startscript zu sehen, das für die diversen Plugins die Startparameter-Kombinationen und die damit derzeit erzielten Ergebnisse zeigt.
VDR_STARTX_DISP steht aktuell immer auf 1.
case "$VDR_OUTPLUG" in # {
softhddevice) # {
# --
# 2020-12-28
# - Tevi frames -> no, OSD -> no, sound -> ok, misc: -
# "video/vaapi: no osd subpicture yet"
# "video/vaapi: vaSyncSurface failed: operation failed"
VDR_PLUGIN_ARGS_softhddevice="-v va-api -d :${VDR_STARTX_DISP} -g 1920x1080+0+0 -a plughw:0,3 -l 3"
# --
# 2020-12-28
# - Tevi frames -> ok, OSD -> no, sound -> ok, misc: -
# "video/vaapi: no osd subpicture yet"
VDR_PLUGIN_ARGS_softhddevice="-v va-api -d :${VDR_STARTX_DISP} -g 1920x1080+0+0 -a plughw:0,3 -l 3 -w no-hw-decoder"
# --
# 2020-12-28
# - Tevi frames -> ok, OSD -> ok, sound -> ok, misc:
# !! actual best combination !!
VDR_PLUGIN_ARGS_softhddevice="-v va-api-glx -d :${VDR_STARTX_DISP} -g 1920x1080+0+0 -a plughw:0,3 -l 3 -w no-hw-decoder"
# --
;; # } // end case softhddevice
softhdvaapi) # {
# 2020-12-28
# - Tevi frames -> no, OSD -> no, sound -> ok, Misc: -
# "Failed to create Vulkan Device"
VDR_PLUGIN_ARGS_softhdvaapi="-d :${VDR_STARTX_DISP} -g 1920x1080+0+0 -a plughw:0,3"
# 2020-12-28
# - Tevi frames -> no, OSD -> no, sound -> ok, Misc: -
# "Failed to create Vulkan Device"
VDR_PLUGIN_ARGS_softhdvaapi="-d :${VDR_STARTX_DISP} -g 1920x1080+0+0 -a plughw:0,3 -w no-hw-decoder"
;; # } // end case softhdvaapi
xineliboutput) # {
# 2020-12-28
# - Tevi frames -> sometimes distorted/slow channel switching, OSD -> no, sound -> ok, Misc: -
VDR_PLUGIN_ARGS_xineliboutput="--local=sxfe --display=:${VDR_STARTX_DISP} --fullscreen --video=vaapi --audio=alsa:plughw:0,3"
# 2020-12-28
# - Tevi frames -> ok/slow channel switching, OSD -> ok, sound -> ok, Misc: Crashes sometimes
VDR_PLUGIN_ARGS_xineliboutput="--local=sxfe --display=:${VDR_STARTX_DISP} --fullscreen --video=opengl2 --audio=alsa:plughw:0,3 --post tvtime:method=Linear,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1"
;; # } // end case xineliboutput
esac
;; # } // end case( $VDR_OUTPLUG )
Alles anzeigen
Ciao.
Michael.