Softhddevice and openGL OSD with Va-api.

  • I just tested your test branch - it was about time, sorry for the delay!

    Duped Frames count up very fast. With the normal branch and va-api-glx everyhing is ok.


  • Same when I start with -v va-api-glx and -w disable-ogl-osd: ...duped frames...

    The test branch is ok, when I start with -v va-api.

  • Hi.

    It looks like I made a stable solution for openGL OSD and Vaapi. Try anyone interested in test branch.

    If there are no problems, I will include in the main branch.

    Use it with -v va-api-glx. For disable, use -w disable-ogl-osd.

    I wonder that my log says:

    1. [softhddev]:SHADER: Compile-time error: Type: 0 - 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

    I have GLSL ES 3.20.

    And what ist with the problem "Duped Frames count up very fast". With the main branch, it's ok.


    DISPLAY=:0.0 glxinfo | grep "OpenGL"

  • Look at the log more carefully, there is an iteration of shaders versions, there will be an error with an unsupported version and ok with supported.

    In general, VAAPI has a bad implementation of GLX, it requires a lot of resources, so you need to use EGL, as it is done in softhdvaapi. I do not plan to switch to EGL, so the normal implementation of openGL OSD for VAAPI in softdhdevice is still in question.