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.
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.
Yes, osd has one code for all modules. No idea yet on how to reproduce this problem with osdteletext.
at least we know that it is not an issue with Nvidia driver.
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.
Stefan
Jan 29 18:18:37 vdr2 vdr[5485]: audio/alsa: supports pause: yes
Jan 29 18:18:37 vdr2 vdr[5485]: [5487] epg data reader thread ended (pid=5485, tid=5487)
Jan 29 18:18:37 vdr2 vdr[5485]: audio: 44100Hz supports 2 2 2 2 2 2 2 2 channels
Jan 29 18:18:37 vdr2 vdr[5485]: audio: 48000Hz supports 2 2 2 2 2 2 2 2 channels
Jan 29 18:18:37 vdr2 vdr[5485]: audio: 192000Hz supports 0 0 0 0 0 0 0 0 channels
Jan 29 18:18:37 vdr2 vdr[5485]: video/glx: glx version 1.4
Jan 29 18:18:37 vdr2 vdr[5485]: video/vaapi: libva 1.10 (Intel i965 driver for Intel(R) Coffee Lake - 2.4.1) initialized
Jan 29 18:18:37 vdr2 vdr[5485]: video/vaapi: background-color is supported
Jan 29 18:18:37 vdr2 vdr[5485]: video/vaapi: supports video processing
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 0 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 1 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 2 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 3 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 4 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: [softhddev] ready
...
Jan 29 18:18:37 vdr2 systemd[1]: Started VDR.
Jan 29 18:18:37 vdr2 vdr[5485]: [5503] SVDRP vdr2 opening port 6419/tcp
Jan 29 18:18:37 vdr2 vdr[5485]: [5503] SVDRP vdr2 listening on port 6419/tcp
Jan 29 18:18:37 vdr2 vdr[5485]: [5504] [softhddev]stopping OpenGL Worker Thread
Jan 29 18:18:37 vdr2 vdr[5485]: [5504] [softhddev]OpenGL Worker Thread stopped
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] OSD size changed to 1920x1080 @ 1
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] skindesigner: initializing skin estuary4vdr
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] skindesigner: using decimal point ,
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] skindesigner: using channel logo path /var/lib/vdr/plugins/logos/
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] skindesigner: using icon path /var/lib/vdr/plugins/skindesigner/skins/estuary4vdr/themes/default/
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] skindesigner: using skinparts path /var/lib/vdr/plugins/skindesigner/skins/estuary4vdr/themes/default/skinparts/
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] skindesigner: using svgtemplate path /var/lib/vdr/plugins/skindesigner/skins/estuary4vdr/svgtemplates/
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] skindesigner: using language de_DE
Jan 29 18:18:37 vdr2 vdr[5485]: [5504] [softhddev]stopping OpenGL Worker Thread
Jan 29 18:18:37 vdr2 vdr[5485]: [5504] [softhddev]OpenGL Worker Thread stopped
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 0 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 1 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 2 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 3 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: Selected deinterlacer for resolution 4 is not supported by HW
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] skindesigner: templates successfully validated and parsed
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] [softhddev]Trying to start OpenGL Worker Thread
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] oglThread thread started (pid=5485, tid=5505, prio=high)
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]OpenGL Context initialized
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Try compile #version 330 core
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [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
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Try compile #version 320 es
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Compiled ok
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Try compile #version 330 core
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Compile-time error: Type: 1 - 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
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Try compile #version 320 es
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Compiled ok
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Try compile #version 330 core
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Compile-time error: Type: 2 - 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
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Try compile #version 320 es
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]:SHADER: Compiled ok
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]Shaders initialized
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]Vertex buffers initialized
Jan 29 18:18:37 vdr2 vdr[5485]: [5505] [softhddev]Maximum Pixmap size: 16384x16384px
Jan 29 18:18:37 vdr2 vdr[5485]: [5485] [softhddev]OpenGL Worker Thread successfully started
Jan 29 18:18:38 vdr2 vdr[5485]: [5486] video directory scanner thread ended (pid=5485, tid=5486)
Jan 29 18:18:38 vdr2 vdr[5485]: audio/alsa: using device 'hw:0,7'
Jan 29 18:18:38 vdr2 vdr[5485]: audio/alsa: start delay 336ms
Jan 29 18:18:38 vdr2 vdr[5485]: codec: YUV 420 supported
Jan 29 18:18:38 vdr2 vdr[5485]: Using entrypoint for vpp: 10
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: can't destroy postproc context!
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: can't destroy config!
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: noise reduction supported
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: 0,00 - 1,00 ++ 0,03 = 0,50
Jan 29 18:18:38 vdr2 vdr[5485]: Enabling denoise filter (pos = 0)
Jan 29 18:18:38 vdr2 vdr[5485]: Selected deinterlacer for resolution 0 is not supported by HW
Jan 29 18:18:38 vdr2 vdr[5485]: Selected deinterlacer for resolution 1 is not supported by HW
Jan 29 18:18:38 vdr2 vdr[5485]: Selected deinterlacer for resolution 2 is not supported by HW
Jan 29 18:18:38 vdr2 vdr[5485]: Selected deinterlacer for resolution 3 is not supported by HW
Jan 29 18:18:38 vdr2 vdr[5485]: Selected deinterlacer for resolution 4 is not supported by HW
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: deinterlacing supported
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: bob deinterlace supported
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: motion adaptive deinterlace supported
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: motion compensated deinterlace supported
Jan 29 18:18:38 vdr2 vdr[5485]: Enabling Deint (pos = 1)
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: sharpening supported
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: 0,00 - 1,00 ++ 0,03 = 0,50
Jan 29 18:18:38 vdr2 vdr[5485]: Enabling sharpening filter (pos = 0)
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: enabling color balance filters
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: Supported color balance filter count: 4
Jan 29 18:18:38 vdr2 vdr[5485]: Hue (-180,00 - 180,00 ++ 1,00 = 0,00) (pos = 2)
Jan 29 18:18:38 vdr2 vdr[5485]: Saturation (0,00 - 10,00 ++ 0,10 = 1,00) (pos = 2)
Jan 29 18:18:38 vdr2 vdr[5485]: Brightness (-100,00 - 100,00 ++ 1,00 = 0,00) (pos = 2)
Jan 29 18:18:38 vdr2 vdr[5485]: Contrast (0,00 - 10,00 ++ 0,10 = 1,00) (pos = 2)
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: skin tone enhancement supported
Jan 29 18:18:38 vdr2 vdr[5485]: video/vaapi: 0,00 - 4,00 ++ 1,00 = 0,00
Jan 29 18:18:38 vdr2 vdr[5485]: Enabling skin tone filter (pos = 3)
Jan 29 18:18:38 vdr2 vdr[5485]: Allocating 1 forward reference surfaces for postprocessing
Jan 29 18:18:38 vdr2 vdr[5485]: Allocating 0 backward reference surfaces for postprocessing
Jan 29 18:18:39 vdr2 vdr[5485]: Surface 0 query status = 0x6: invalid VASurfaceID
Jan 29 18:18:39 vdr2 vdr[5485]: Surface 0 query status = 0x6: invalid VASurfaceID
Jan 29 18:18:40 vdr2 vdr[5485]: [5485] skindesigner: templates and images cached
Jan 29 18:18:40 vdr2 vdr[5485]: [5485] skindesigner: cached 71 icons - size internal mem 0,00MB, high level mem 1,79MB
Jan 29 18:18:40 vdr2 vdr[5485]: [5485] skindesigner: cached 201 logos - size 11172,43MB internal mem
Jan 29 18:18:40 vdr2 vdr[5485]: [5485] skindesigner: cached 8 skinparts - size internal mem 0,00MB, high level mem 19,06MB
Jan 29 18:18:40 vdr2 vdr[5485]: [5485] skindesigner: templates loaded and caches created - needed 2552 ms
Jan 29 18:18:40 vdr2 vdr[5485]: [5571] animator thread thread started (pid=5485, tid=5571, prio=high)
Jan 29 18:18:45 vdr2 vdr[5485]: [5571] animator thread thread ended (pid=5485, tid=5571)
Jan 29 18:18:48 vdr2 vdr[5485]: video: 8:10:07.757 +105 442 240/\ms 9+5 v-buf
Jan 29 18:18:59 vdr2 vdr[5485]: video: 8:10:17.997 +109 430 240/\ms 16+5 v-buf
Jan 29 18:19:09 vdr2 vdr[5485]: video: 8:10:28.077 +104 425 240/\ms 10+5 v-buf
Jan 29 18:19:19 vdr2 vdr[5485]: video: 8:10:38.237 +94 431 240/\ms 14+5 v-buf
Jan 29 18:19:29 vdr2 vdr[5485]: video: 8:10:48.597 +114 435 240/\ms 10+5 v-buf
Jan 29 18:19:39 vdr2 vdr[5485]: video: 8:10:58.797 +111 431 240/\ms 10+5 v-buf
Jan 29 18:19:48 vdr2 vdr[5485]: video: 8:11:07.797 +115 436 240/\ms 13+5 v-buf
Jan 29 18:19:57 vdr2 vdr[5485]: video: 8:11:16.357 +114 443 240/\ms 15+5 v-buf
Jan 29 18:20:05 vdr2 vdr[5485]: video: 8:11:24.877 +98 427 240/\ms 11+5 v-buf
Display More
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:
[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.
Stefan
DISPLAY=:0.0 glxinfo | grep "OpenGL"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (CFL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 20.3.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Display More
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.
Don’t have an account yet? Register yourself now and be a part of our community!