Created attachment 127795 [details] Part of the comiple log Compiling using GCC 5.3.0 multilib. LLVM git installed. Over time I have tried to comiple mesa git with different versions of libva, libvdpau and llvm but still get the same compile error as shown in the attached log. I am a still able to install the libGL.so by forcing make (make -k) but I no longer have VA-API decode ability like in the past.
Please attach the output of make V=1 and the corresponding config.log file.
When you say "... I no longer have VA-API decode ability like in the past" do you have an estimate when (what gcc/llvm/etc. combination) it was working ? Also, please make sure that you start a clean build if managing gallium llvm (--enable-gallium-llvm and permutations). Atm if you build with --enable and then reconfigure/rebuild with --disable things will break similar to your log.
The "gcc/llvm/etc. combination" that mesa-va was last working at occurred perhaps near the beginning of the year 2016. "Atm if you build with --enable and then reconfigure/rebuild with --disable things will break similar to your log." I can try deleting all of x and llvm with no changes in my configure options although I think I have done that before with no change in the mesa compile error. I'll try it again.
Created attachment 127855 [details] mesa config.log
Created attachment 127856 [details] mesa build.log Generated with "make V=1 -j${threads} 2>&1 | tee build.log"
Created attachment 127857 [details] libva.cfg
Created attachment 127858 [details] environment variable used when compiling libva
Created attachment 127859 [details] Default variables that get added to all components being built.
Created attachment 127860 [details] Varibles used to configure mesa.
Solved I think these are the minimum steps used to fix my bug: 1) delete all installed files (includes and libraries) related to libva, libvdpau and mesa. 2) compile in the following order: mesa with "./configure --disable-va --disable-vdpau" then 3) libva 4) libvdpau 5) mesa with "./configure --enable-va --enable-vdpau" After building mesa I also built the rest of x in the correct order. I request that the mesa build instructions be updated at "https://www.x.org/wiki/Development/BuildingX" Side note for those who may encounter this issue in the future: After the fix I can now use "vo=vdpau" in mplayer's config file. You can check or export which video driver would use vdpau acceleration with: export VDPAU_DRIVER=$(grep -i vdpau /var/log/Xorg.0.log | sed 's/.*: *//') echo $VDPAU_DRIVER
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.