softhdvaapi, libplacebo et al

  • Nothing changed here:

    Code
    Apr 06 14:56:32 client vdr[3364]: video/glx: glx version 1.4
    Apr 06 14:56:32 client vdr[3364]: [3374] epg data reader thread ended (pid=3364, tid=3374)
    Apr 06 14:56:32 client vdr[3364]: video/vaapi: Can't inititialize VA-API on ':0.0'
    Apr 06 14:56:32 client vdr[3364]: video: 'va-api-glx' output module isn't supported
    Apr 06 14:56:32 client vdr[3364]: [softhddev] ready
    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]
  • -v va-api

    Looks like no vaapi libs.

    libva-devel-2.17.0-1.3

    libva-drm2-2.17.0-1.3

    libva-gl-devel-2.17.0-1.3

    libva-glx2-2.17.0-1.3

    libva-utils-2.17.1-1.2

    libva-wayland2-2.17.0-1.3

    libva-x11-2-2.17.0-1.3

    libva2-2.17.0-1.3

    Mesa-libva-23.0.1-1599.348.pm.5

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]
  • Do

    make

    in plugin's dir

    and post compilation messages.

    Ex:

    Spoiler anzeigen

    CXX softhddevice.o

    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/src/media_build/linux -I/usr/local/src/vdr-2.6.4-mod/include -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/ffmpeg -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DDEBUG -DOSD_DEBUG -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DHAVE_PTHREAD_NAME -DUSE_TS -DUSE_MPEG_COMPLETE -DH264_EOS_TRICKSPEED -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_EGL -DUSE_SCREENSAVER -DUSE_SWSCALE -DUSE_SWRESAMPLE -DUSE_CUVID -DUSE_OPENGLOSD -DGIT_REV='"5c85231"' -g -W -Wall -Wextra -Winit-self -Werror=overloaded-virtual -Wno-unused-parameter -c -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DDEBUG -DOSD_DEBUG -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DHAVE_PTHREAD_NAME -DUSE_TS -DUSE_MPEG_COMPLETE -DH264_EOS_TRICKSPEED -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_EGL -DUSE_SCREENSAVER -DUSE_SWSCALE -DUSE_SWRESAMPLE -DUSE_CUVID -DUSE_OPENGLOSD -DGIT_REV='"5c85231"' -o softhddevice.o softhddevice.cpp

    CC softhddev.o

  • See attachement.

    Dateien

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]
  • -DUSE_VAAPI -DUSE_GLX -DUSE_EGL

    All fine.

    Why....

    Apr 06 14:56:32 client vdr[3364]: video/vaapi: Can't inititialize VA-API on ':0.0'
    Apr 06 14:56:32 client vdr[3364]: video: 'va-api-glx' output module isn't supported

    Enable debug in Makefile, line 50:

    CONFIG += -DDEBUG

    Recompile and post all starting log with va-api-egl ang cpu-egl, let's try to understand the reason.

  • I attached the complete vdr startup journal entries up to "[softhddev] ready" for va-api-egl and cpu-egl - perhaps there is something else wrong or missing.

    Dateien

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]
  • Try -d :0 or -d :1

    I have to use :0.0, because :0.1 and :0.2 are already used for other X displays.

    Using :0 only would make this impossible.

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]
  • dann kommen beim ninja Build die Fehlermeldungen:

    Bei mir auch so. Es liegt tatsächlich am Wechsel von vulkan 1.3.239 auf 1.3.243.

    Ich habe erstmal die alte Vulkan-Version von einem anderen Repository geholt. Denn wenn Vulkan-devel und vulkan-headers deinstalliert werden, dann wird libplacebo ohne vulkan gebaut. Ich will aber die Vulkan-Unterstützung.

    Code
    zypper addrepo https://download.opensuse.org/repositories/home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX/standard_v3/home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX.repo
    zypper ref

    Stefan

    meine VDRs


    Hardware
    VDR Wohnzimmer: Thermaltake DH 102, Pico PSU XLP, Meanwell, Asus B85M-E, Intel G1820, 4 GB RAM (1,35 V), Zotac GT 630 Zone Edition, Samsung 850 EVO SSD, DD Max S8, Jultec Einkabel, IR605Q + Harmony 350 (33 W, Boot: 15 s)
    VDR Hobbyraum: Atlas SF101, be.quiet 300 W, MSI C847MS-E33, 4 GB RAM, SanDisk SSD 32 GB, Samsung F2 EcoGreen 1,5 TB, TT S2-6400, Hauppauge PVR 250
    VDR Backup-Server: Atlas SF101, PicoPSU 80 W, Asus E35M1-M (AMD-VDPAU), 4 GB RAM, Technisat Skystar 2 eXpress HD, SanDisk SSD 32 GB, WD Red 4 TB (31 W, Boot: 26 s)
    VDR Desktop: Silentmaxx ST-11 Pro, be.quiet 300 W, Asus P8H77-M, Intel i7-3770, 16 GB RAM (1,35 V), Zotac GT 630 Zone Edition, 2x OCZ Vertex 4, Samsung F4 EcoGreen 2 TB, DD Cine S2, TT USB IR (44 W)

    Software
    OpenSUSE 42.1, Kernel 4.1.13, VDR 2.2.0

  • Bei mir auch so. Es liegt tatsächlich am Wechsel von vulkan 1.3.239 auf 1.3.243.

    Ich habe erstmal die alte Vulkan-Version von einem anderen Repository geholt. Denn wenn Vulkan-devel und vulkan-headers deinstalliert werden, dann wird libplacebo ohne vulkan gebaut. Ich will aber die Vulkan-Unterstützung.

    Stefan

    Ne, wenn du die submodules mit geholt hast aus dem GIT, hast du wieder alles, was zum Bauern der Vulkan-Unterstützung notwendig ist.

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]
  • I have to use :0.0, because :0.1 and :0.2 are already used for other X displays.

    Using :0 only would make this impossible.

    Nevertheless I tried to use -d :0, but to no avail. See attached journal snippet.

    Again I get video/vaapi: Can't inititialize VA-API on ':0'

    Just an idea: Do I have to use the xf86-video-intel driver instead of the modesetting driver for this to work?

    On the other hand, the modeseeting driver also supports glx:

    Code
    (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
    (II) Module glx: vendor="X.Org Foundation"
    compiled for 1.21.1.8, module version = 1.0.0

    Dateien

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]

    Einmal editiert, zuletzt von nobanzai (9. April 2023 um 20:26)

  • Ich hab den ffmpeg-5 aus packman Tumbleweed Repo installiert - der sollte das AFAIK haben.

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]
  • If cpu-elg works with :d0.0, then all ok.

    You can test

    DISPLAY=:0.0 vainfo

    Oops, this is the first time, I get an error:

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]
  • I am really stupid 8-<

    At one point I had uninstalled intel-media-driver, i.e. the iHD_drv_video module., because I compiled a newer version from Intel. After uninstalling this self compiled version, I forgot to reinstall the package from the Tumbleweed repo.

    After reinistalling it, softhddevice can initialize vaapi as expected.

    lnj: Thx for your help and your patience!

    Just to be sure: va-api-egl is the preferred driver? Or should I use a different one for my Intel(R) Core(TM) i5-10400T CPU @ 2.00GHz?

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]

    Einmal editiert, zuletzt von nobanzai (10. April 2023 um 11:04)

  • For UHD use va-api-egl, also for new Intel driver too.

    For old Intel va-api and va-api-glx.

    Is Intel(R) Core(TM) i5-10400T CPU @ 2.00GHz a new one for this case?

    VDR zwei drei
    • VDR 01 (Server): 2.7.4/6 4 x TT Budget S2-3200
      Plugins: [channellists - control - epgsearch - live - markad - streamdev-server - tvscraper]
    • VDR 02 (Client): 2.6.9 1 x TT Premium S2-6400 (HDMI an TV), 1 x softhddevice (HDMI an TV); TV Grundig 40 VLE 8160 SL; TFT-Display Origen AE 16T
      Plugins: [channellists - control - dvbhddevice - epgsync - graphtftng - mpv - osd2web - osdteletext - skinnopacity - softhddevice - streamdev-client - svdrpservice]

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!