vaapi via drm broken
Philip Höhlein
philip.hoehlein at googlemail.com
Tue Nov 27 08:52:27 CET 2018
Hi,
it seems that vaapi-drm module does not work with newer vlc 3.0.x and vlc
4.0.0 versions.
The following settings I took:
vout=gl
avcodec-hw=vaapi_drm
Any way to fix that?
kind regards
Philip
---------------------------------
[00005573584aa570] main libvlc debug: VLC media player - 4.0.0-dev Otto
Chriek
[00005573584aa570] main libvlc debug: Copyright © 1996-2018 the VideoLAN
team
[00005573584aa570] main libvlc debug: revision
4.0.0~rc1~~git20181110+r78230+164~ubuntu18.04.1
[00005573584aa570] main libvlc debug: configured with ./configure
'--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include'
'--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info'
'--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules'
'--libdir=${prefix}/lib/x86_64-linux-gnu'
'--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run'
'--disable-maintainer-mode' '--disable-dependency-tracking'
'--config-cache' '--disable-update-check' '--enable-fast-install'
'--docdir=/usr/share/doc/vlc'
'--with-binary-version=4.0.0~rc1~~git20181110+r78230+164~ubuntu18.04.1'
'--enable-a52' '--enable-aom' '--enable-aribsub' '--enable-avahi'
'--enable-bluray' '--enable-caca' '--enable-chromaprint'
'--enable-chromecast' '--enable-dbus' '--enable-dca' '--enable-dvbpsi'
'--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth'
'--enable-freetype' '--enable-fribidi' '--enable-gles2' '--enable-gnutls'
'--enable-harfbuzz' '--enable-jack' '--enable-kate' '--enable-libass'
'--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555'
'--enable-mad' '--enable-matroska' '--enable-mod' '--enable-mpc'
'--enable-mpg123' '--enable-mtp' '--enable-ncurses' '--enable-notify'
'--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt'
'--enable-samplerate' '--enable-sdl-image' '--enable-sftp' '--enable-shine'
'--enable-shout' '--enable-skins2' '--enable-sndio' '--enable-soxr'
'--enable-spatialaudio' '--enable-speex' '--enable-svg' '--enable-svgdec'
'--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp'
'--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264'
'--enable-x265' '--enable-zvbi'
'--with-kde-solid=/usr/share/solid/actions/' '--disable-d3d11va'
'--disable-decklink' '--disable-directx' '--disable-dsm' '--disable-dxva2'
'--disable-fdkaac' '--disable-fluidlite' '--disable-freerdp'
'--disable-goom' '--disable-gst-decode' '--disable-libtar'
'--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit'
'--disable-mfx' '--disable-opencv' '--disable-projectm'
'--disable-schroedinger' '--disable-sparkle' '--disable-srt'
'--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi'
'--disable-wayland' '--enable-alsa' '--enable-dc1394' '--enable-dv1394'
'--enable-libplacebo' '--enable-linsys' '--enable-nfs' '--enable-omxil'
'--enable-udev' '--enable-v4l2' '--enable-libva' '--enable-vcd'
'--enable-smbclient' '--disable-oss' '--enable-crystalhd' '--enable-mmx'
'--enable-sse' '--disable-neon' '--disable-altivec'
'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2
-fdebug-prefix-map=/build/vlc-ql4DVg/vlc-4.0.0~rc1~~git20181110+r78230+164~ubuntu18.04.1=.
-fstack-protector-strong -Wformat -Werror=format-security '
'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed'
'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2
-fdebug-prefix-map=/build/vlc-ql4DVg/vlc-4.0.0~rc1~~git20181110+r78230+164~ubuntu18.04.1=.
-fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g
-O2
-fdebug-prefix-map=/build/vlc-ql4DVg/vlc-4.0.0~rc1~~git20181110+r78230+164~ubuntu18.04.1=.
-fstack-protector-strong -Wformat -Werror=format-security'
...
[00007f6148087ea0] main window debug: resized to 1920x1080
[00007f6148058970] main video output debug: Opening vout display wrapper
[00007f61400012c0] main vout display debug: looking for vout display module
matching "gl": 13 candidates
[00007f6140003340] main gl debug: looking for opengl module matching "any":
3 candidates
[00007f6160c08550] ts demux error: libdvbpsi error (EIT decoder):
'last_section_number' differs whereas no discontinuity has occured
[00007f6148087ea0] main window debug: resized to 1854x720
[00007f6140003340] egl_x11 gl debug: EGL version 1.4 (DRI2) by Mesa Project
[00007f6140003340] egl_x11 gl debug: extensions:
EGL_ANDROID_native_fence_sync EGL_CHROMIUM_sync_control EGL_EXT_buffer_age
EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority
EGL_KHR_config_attribs EGL_KHR_create_context
EGL_KHR_create_context_no_error EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context
EGL_KHR_reusable_sync EGL_KHR_surfaceless_context
EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context
EGL_MESA_drm_image EGL_MESA_image_dma_buf_export
EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display
[00007f6140003340] main gl debug: using opengl module "egl_x11"
[00007f6140602f30] main generic debug: looking for glconv module matching
"any": 3 candidates
libva info: VA-API version 1.1.0
[00007f6160c08550] ts demux error: libdvbpsi error (EIT decoder):
'last_section_number' differs whereas no discontinuity has occured
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_1
libva info: va_openDriver() returns 0
[00007f6140003340] gl gl debug:
=== Fragment shader for fourcc: NV12, colorspace: 2 ===
#version 120
uniform sampler2D Texture0;
varying vec2 TexCoord0;
uniform sampler2D Texture1;
varying vec2 TexCoord1;
vec4 _main_0_0(vec4 color) {
// pl_shader_color_map
{
}
return color; }
uniform vec4 Coefficients[4];
uniform vec4 FillColor;
void main(void) {
float val;vec4 colors;
colors = texture2D(Texture0, TexCoord0);
val = colors.r;
vec4 color0 = vec4(val, val, val, 1);
colors = texture2D(Texture1, TexCoord1);
val = colors.r;
vec4 color1 = vec4(val, val, val, 1);
val = colors.g;
vec4 color2 = vec4(val, val, val, 1);
vec4 result = (color0 * Coefficients[0]) + Coefficients[3];
result = (color1 * Coefficients[1]) + result;
result = (color2 * Coefficients[2]) + result;
result = _main_0_0(result);
gl_FragColor = result * FillColor;
}
[00007f6140602f30] main generic debug: using glconv module
"glconv_vaapi_x11"
[00007f6140003340] gl gl debug:
=== Vertex shader for fourcc: VAOP ===
#version 120
varying vec2 TexCoord0;
attribute vec4 MultiTexCoord0;
varying vec2 TexCoord1;
attribute vec4 MultiTexCoord1;
attribute vec3 VertexPosition;
uniform mat4 OrientationMatrix;
uniform mat4 ProjectionMatrix;
uniform mat4 XRotMatrix;
uniform mat4 YRotMatrix;
uniform mat4 ZRotMatrix;
uniform mat4 ZoomMatrix;
void main() {
TexCoord0 = vec4(OrientationMatrix * MultiTexCoord0).st;
TexCoord1 = vec4(OrientationMatrix * MultiTexCoord1).st;
gl_Position = ProjectionMatrix * ZoomMatrix * ZRotMatrix * XRotMatrix *
YRotMatrix * vec4(VertexPosition, 1.0);
}
[00007f6160c08550] ts demux error: libdvbpsi error (EIT decoder):
'last_section_number' differs whereas no discontinuity has occured
[00007f6140003340] gl gl debug:
=== Fragment shader for fourcc: RV32, colorspace: 0 ===
#version 120
uniform sampler2D Texture0;
varying vec2 TexCoord0;
uniform vec4 FillColor;
void main(void) {
float val;vec4 colors;
vec4 color0 = texture2D(Texture0, TexCoord0);
vec4 result = color0;
gl_FragColor = result * FillColor;
}
[00007f6140003340] gl gl debug:
=== Vertex shader for fourcc: RV32 ===
#version 120
varying vec2 TexCoord0;
attribute vec4 MultiTexCoord0;
attribute vec3 VertexPosition;
uniform mat4 OrientationMatrix;
uniform mat4 ProjectionMatrix;
uniform mat4 XRotMatrix;
uniform mat4 YRotMatrix;
uniform mat4 ZRotMatrix;
uniform mat4 ZoomMatrix;
void main() {
TexCoord0 = vec4(OrientationMatrix * MultiTexCoord0).st;
gl_Position = ProjectionMatrix * ZoomMatrix * ZRotMatrix * XRotMatrix *
YRotMatrix * vec4(VertexPosition, 1.0);
}
[00007f6160c08550] ts demux debug: first packet for pid=20 cc=0x8
[00007f61400012c0] main vout display debug: using vout display module "gl"
[00007f6148058970] main video output debug: original format sz 1920x1080,
of (0,0), vsz 1920x1080, 4cc VAOP, sar 1:1, msk r0x0 g0x0 b0x0
[00007f614805c5f0] main spu text debug: removing module "freetype"
[00007f614805c5f0] main spu text debug: looking for text renderer module
matching "any": 2 candidates
[00007f614805c5f0] freetype spu text debug: Building font databases.
[00007f614805c5f0] freetype spu text debug: Took -18791 microseconds
[00007f6160c08550] ts demux error: libdvbpsi error (EIT decoder):
'last_section_number' differs whereas no discontinuity has occured
[00007f614805c5f0] main spu text debug: using text renderer module
"freetype"
[00007f614809e2a0] main generic debug: looking for hw decoder module
matching "vaapi_drm": 3 candidates
[00007f614809e2a0] main generic debug: no hw decoder modules matched
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20181127/49b3b45b/attachment.html>
More information about the vlc-devel
mailing list