EGL video output module and NVidia Tegra 2
Hi
I want to play mpeg2 videos on my Toshiba AC100, with a NVidia Tegra 2 chip, running Lubuntu Quantal (https://wiki.ubuntu.com/ARM/TEGRA/AC100), without hardware decoding (it seems to work only with dedicaded code and h264/mpeg4/DivX/Xvid).
With default VLC package (2.0.4), only fbdev2 drivers "works" but without resize and colorspace conversion.
In order to use hardware display (EGL acceleration), I recompile from sources with --enabled-egl option.
But it doesn't work ...
Here a part of the output log :
[0x40c1e540] main vout display debug: looking for vout display module: 1 candidate
[0x40c28e90] main gl debug: looking for opengl module: 1 candidate
[0x40c28e90] egl gl debug: EGL version 1.4 by NVIDIA
[0x40c28e90] egl gl debug: extensions: EGL_NV_system_time EGL_KHR_config_attribs EGL_KHR_surfaceless_context EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_ANDROID_blob_cache EGL_KHR_vg_parent_image EGL_NV_perfmon EGL_KHR_lock_surface EGL_KHR_fence_sync EGL_NV_sync EGL_NV_depth_nonlinear EGL_NV_post_sub_buffer EGL_NV_post_convert_rounding EGL_NV_native_query EGL_KHR_stream EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_stream_consumer_gltexture EGL_KHR_stream_cross_process_fd EGL_EXT_create_context_robustness EGL_IMG_context_priority EGL_NV_3dvision_surface EGL_KHR_reusable_sync EGL_NV_stream_sync EGL_NV_coverage_sample EGL_NV_coverage_sample_resolve
[0x40c28e90] main gl debug: no opengl module matching "egl" could be loaded
[0x40c28e90] main gl debug: TIMER module_need() : 240.170 ms - Total 240.170 ms / 1 intvls (Avg 240.170 ms)
[0x40c1e540] main vout display debug: no vout display module matching "gl" could be loaded
[0x40c1e540] main vout display debug: TIMER module_need() : 351.508 ms - Total 351.508 ms / 1 intvls (Avg 351.508 ms)
And the compile command (difference with default are in bolt):
./configure '--enable-static' '--build=arm-linux-gnueabihf' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--sysconfdir=/etc' '--with-binary-version=3' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libproxy' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-oss' '--enable-pulse' '--enable-qt4' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-shout' '--enable-skins2' '--enable-smb' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-dxva2' '--disable-gnomevfs' '--disable-goom' '--disable-portaudio' '--disable-projectm' '--disable-sqlite' '--disable-telx' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv' '--enable-fbosd' '--disable-libva' '--enable-linsys' '--disable-omxil' '--enable-pvr' '--enable-udev' '--enable-v4l2' '--disable-crystalhd' '--disable-mmx' '--disable-sse' '--disable-neon' '--disable-altivec' '--enable-egl' 'build_alias=arm-linux-gnueabihf'