Open villalvilla opened 5 years ago
Looks like the issue is related to your setup, not to our tool:
[b2c0ea50] xcb_x11 vout display error: shared memory allocation error: Function not implemented and libEGL warning: DRI2: failed to authenticate libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri) are especially suspicious.
Make sure you're trying to use the video output we support (X11 via XCB) and not anything else (e.g. Xv).
Hi Paul,
Thanks for the feedback. Sorry for the noob question, but where should I select the video output? I'm reviewing my configuration and don't have nothing related to this...
If you mean vlan configuration, it was done, following your indications in your wiki:
Tools > Preferences > Input / Codecs > Codecs > Hardware-accelerated decoding > VA-API video decoder
Tools > Preferences > Video > Display > Output > X11 video output (XCB)
Something I'm missing in kernel/modules configuration? I've activated all the kernel extra configurations that you mentioned:
CONFIG_MEDIA_SUPPORT CONFIG_MEDIA_CONTROLLER CONFIG_V4L_MEM2MEM_DRIVERS CONFIG_VIDEO_SUNXI_CEDRUS
Thanks, Miguel
It looks like it's not trying to use VAAPI at all. Are you running with a recent VLC version and userspace? Do you get correct formats enumerated with vainfo?
When I compile libva-v4l2-request, note the error below:
Making all in src
make[1]: Entering directory '/root/libva-v4l2-request/src'
make all-am
make[2]: Entering directory '/root/libva-v4l2-request/src'
/bin/bash ../libtool --tag=CC --mode=link gcc -I../include -I/usr/include/libdrm -g -O2 -module -
libtool: link: gcc -shared -fPIC -DPIC .libs/v4l2_request_drv_video_la-request.o .libs/v4l2_requesto
.libs/v4l2_request_drv_video_la-image.o: In function `copy_surface_to_image':
/root/libva-v4l2-request/src/image.c:159: undefined reference to `tiled_to_planar'
collect2: error: ld returned 1 exit status
Makefile:512: recipe for target 'v4l2_request_drv_video.la' failed
make[2]: *** [v4l2_request_drv_video.la] Error 1
make[2]: Leaving directory '/root/libva-v4l2-request/src'
Makefile:427: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/libva-v4l2-request/src'
Makefile:416: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
There is an error when compiling libva-v4l2-request,there is no cc85E1Qs.s in /tmp, please help me
root@orangepi3:~/libva-v4l2-request# make Making all in src make[1]: Entering directory '/root/libva-v4l2-request/src' make all-am make[2]: Entering directory '/root/libva-v4l2-request/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/libdrm -o /tmp/cc85E1Qs.s: Assembler messages: /tmp/cc85E1Qs.s:7: Error: character following name is not '#' Makefile:643: recipe for target 'v4l2_request_drv_video_la-image.lo' failed make[2]: [v4l2_request_drv_video_la-image.lo] Error 1 make[2]: Leaving directory '/root/libva-v4l2-request/src' Makefile:427: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: Leaving directory '/root/libva-v4l2-request/src' Makefile:416: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
Sorry to inform about it, but I'm experiencing the same troubles with vlc:
Anything I'm missing?
Thanks