On Sat, Feb 28, 2015 at 07:01:10PM -0600, Bruce Dubbs wrote: > Ken Moffat wrote: > >On Sat, Feb 28, 2015 at 06:10:40PM -0600, Bruce Dubbs wrote: > >>[email protected] wrote: > >>>Author: ken > >>>Date: Sat Feb 28 16:02:12 2015 > >>>New Revision: 15586 > >>> > >>>Log: > >>>libva-intel fix and intel tags > >> > >> > >>>Modified: trunk/BOOK/x/installing/libva.xml > >>>============================================================================== > >>>--- trunk/BOOK/x/installing/libva.xml Sat Feb 28 02:24:11 2015 > >>>(r15585) > >>>+++ trunk/BOOK/x/installing/libva.xml Sat Feb 28 16:02:12 2015 > >>>(r15586) > >>>@@ -50,7 +50,7 @@ > >> > >>>- &lfs76_built; > >>>+ &lfs77_built; > >> > >> > >>Ken, just checking. Should this be changed to _checked? > >> > >> -- Bruce > >> > > No. I do not know what actually uses it - I guess some sort of > >video app _might_, but I'm unsure if my SandyBridge will be good > >enough to take advantage of it. Also, I'm some hours away from > >building any video apps on this machine. > > > >test that in the next day or two. > > On my current build system I do not have Intel video, but my previous one > did. I had a library there that linked them in: > > $ ldd i965_drv_video.so > linux-vdso.so.1 (0x00007fff487fd000) > libpthread.so.0 => /lib/libpthread.so.0 (0x00007fd31ce6b000) > libdl.so.2 => /lib/libdl.so.2 (0x00007fd31cc67000) > libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007fd31ca5a000) > libdrm_intel.so.1 => /usr/lib/libdrm_intel.so.1 (0x00007fd31c83a000) > libva.so.1 => /opt/xorg/lib/libva.so.1 (0x00007fd31c624000) > libm.so.6 => /lib/libm.so.6 (0x00007fd31c31e000) > libc.so.6 => /lib/libc.so.6 (0x00007fd31bf7b000) > /lib64/ld-linux-x86-64.so.2 (0x00007fd31d420000) > libpciaccess.so.0 => /opt/xorg/lib/libpciaccess.so.0 (0x00007fd31bd73000) >
That library in /usr/lib/dri does indeed come from the libva-intel driver. But I see no evidence that anything in basic Xorg / Mesa necessarily uses it. Certainly, dri/i965_dri.so from Mesa does not load it (indeed, it is not built until after Mesa in my build) and running strings on i965_dri.so finds no matches for drv. Looking at the configure script for xf86-video-intel-2.99.917 there are no matches for libva. I'll take a look at vlc, to see if I can find any evidence it will be used: OK, on this intel machine vlc's libaccess_avio_plugin, libavcodec_plugin, libvaapi_plugin, libvdpau_plugin and libavformat_plugin all link to it, prompting me to look at ffmpeg where libavcodec, libavfilter, libavformat all link to it. Vlc's Preferences | Video section shows Accelerated video output (Overlay) is enabled. (/me runs vlc) It played .mp4 and .mov files (as well as .mkv, .wmv, .ogv) so I guess it is working. Will promote libva from built to checked. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
