diff --git a/Mesa.changes b/Mesa.changes index b058b41..e6583f3 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,59 @@ +------------------------------------------------------------------- +Sun Dec 20 05:03:08 UTC 2015 - jimmy@boombatower.com + +- Apply patch: st/va: hardlink driver instances to + gallium_drv_video.so + + u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch + +------------------------------------------------------------------- +Thu Dec 17 07:06:21 UTC 2015 - jimmy@boombatower.com + +- Add Mesa-libva. + +------------------------------------------------------------------- +Tue Dec 15 16:17:22 UTC 2015 - mimi.vx@gmail.com + +- update to 11.1.0, new stable release +* New features: + + Note: some of the new features are only available with certain drivers. + + OpenGL 3.1 support on freedreno (a3xx, a4xx) + + OpenGL 3.3 support for VMware guest VM driver (supported by Workstation 12 + and Fusion 8). + + GL_AMD_performance_monitor on nv50 + + GL_ARB_arrays_of_arrays on i965 + + GL_ARB_blend_func_extended on freedreno (a3xx) + + GL_ARB_clear_texture on nv50, nvc0 + + GL_ARB_clip_control on freedreno/a4xx + + GL_ARB_copy_image on nv50, nvc0, radeonsi + + GL_ARB_depth_clamp on freedreno/a4xx + + GL_ARB_fragment_layer_viewport on i965 (gen6+) + + GL_ARB_gpu_shader_fp64 on r600 for Cypress/Cayman/Aruba chips + + GL_ARB_gpu_shader5 on r600 for Evergreen and later chips + + GL_ARB_seamless_cubemap_per_texture on freedreno/a4xx + + GL_ARB_shader_clock on i965 (gen7+) + + GL_ARB_shader_stencil_export on i965 (gen9+) + + GL_ARB_shader_storage_buffer_object on i965 + + GL_ARB_shader_texture_image_samples on i965, nv50, nvc0, r600, radeonsi + + GL_ARB_texture_barrier / GL_NV_texture_barrier on i965 + + GL_ARB_texture_buffer_range on freedreno/a3xx + + GL_ARB_texture_compression_bptc on freedreno/a4xx + + GL_ARB_texture_query_lod on softpipe + + GL_ARB_texture_view on radeonsi and r600 (for evergeen and newer) + + GL_ARB_vertex_type_2_10_10_10_rev on freedreno (a3xx, a4xx) + + GL_EXT_blend_func_extended on all drivers that support the ARB version + + GL_EXT_buffer_storage implemented for when ES 3.1 support is gained + + GL_EXT_draw_elements_base_vertex on all drivers + + GL_EXT_texture_compression_rgtc / latc on freedreno (a3xx & a4xx) + + GL_KHR_debug (GLES) + + GL_NV_conditional_render on freedreno + + GL_OES_draw_elements_base_vertex on all drivers + + EGL_KHR_create_context on softpipe, llvmpipe + + EGL_KHR_gl_colorspace on softpipe, llvmpipe + + new virgl gallium driver for qemu virtio-gpu + + 16x multisampling on i965 (gen9+) + + GL_EXT_shader_samples_identical on i965. +* +many bugfixes, please see relnotes + ------------------------------------------------------------------- Wed Dec 9 19:15:39 UTC 2015 - mimi.vx@gmail.com diff --git a/Mesa.spec b/Mesa.spec index ccd1cf1..11fb451 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -18,7 +18,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 11.0.7 +%define _version 11.1.0 %define with_opencl 0 %ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le s390x %define gallium_loader 1 @@ -42,7 +42,7 @@ %endif %endif Name: Mesa -Version: 11.0.7 +Version: 11.1.0 Release: 0 Summary: System for rendering interactive 3-D graphics License: MIT @@ -63,6 +63,8 @@ Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch Patch13: u_mesa-8.0.1-fix-16bpp.patch # Patch from Fedora, use shmget when available, under llvmpipe Patch15: u_mesa-8.0-llvmpipe-shmget.patch +# to be upstreamed +Patch17: u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: bison @@ -85,6 +87,7 @@ BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.62 BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.56 BuildRequires: pkgconfig(libkms) >= 1.0.0 BuildRequires: pkgconfig(libudev) > 151 +BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(presentproto) BuildRequires: pkgconfig(vdpau) >= 0.4.1 @@ -113,7 +116,7 @@ Obsoletes: Mesa-nouveau3d < %{version} Obsoletes: xorg-x11-Mesa < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch %arm -BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.64 +BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.65 %endif %ifarch x86_64 %ix86 BuildRequires: libelf-devel @@ -529,6 +532,14 @@ Group: System/Libraries This package contains the Mesa OpenCL implementation or GalliumCompute. %endif +%package libva +Summary: Mesa VA-API implementation +Group: System/Libraries +Supplements: Mesa + +%description libva +This package contains the Mesa VA-API implementation provided through gallium. + %prep %setup -q -n %{_name_archive}-%{_version} -b4 # remove some docs @@ -543,6 +554,7 @@ rm -rf docs/README.{VMS,WIN32,OS2} #%patch11 -p1 #%patch15 -p1 #%patch13 -p1 +%patch17 -p1 %build %if 0%{?suse_version} >= 1310 @@ -585,6 +597,7 @@ autoreconf -fvi --enable-r600-llvm-compiler \ --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga \ --enable-vdpau \ + --enable-va \ --enable-xvmc \ %endif %ifarch %arm ppc64 ppc64le @@ -722,11 +735,19 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %postun libOpenCL -p /sbin/ldconfig %endif +%post libva -p /sbin/ldconfig + +%postun libva -p /sbin/ldconfig + %files %defattr(-,root,root) %doc docs/README* docs/COPYING %config %{_sysconfdir}/drirc -%{_libdir}/dri/ +%dir %{_libdir}/dri +%if 0%{?suse_version} < 1315 +%{_libdir}/dri/updates +%endif +%{_libdir}/dri/*_dri.so %if 0%{with_opencl} # only built with opencl %dir %{_libdir}/gallium-pipe/ @@ -917,4 +938,9 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %{_libdir}/libMesaOpenCL.so* %endif +%files libva +%defattr(-,root,root) +%dir %{_libdir}/dri +%{_libdir}/dri/*_drv_video.so + %changelog diff --git a/mesa-11.0.7.tar.xz b/mesa-11.0.7.tar.xz deleted file mode 100644 index 433823a..0000000 --- a/mesa-11.0.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e7e90a332ede6c8fd08eff90786a3fd1605a4e62ebf3a9b514047838194538cb -size 7279276 diff --git a/mesa-11.0.7.tar.xz.sig b/mesa-11.0.7.tar.xz.sig deleted file mode 100644 index fbfe6d8..0000000 Binary files a/mesa-11.0.7.tar.xz.sig and /dev/null differ diff --git a/mesa-11.1.0.tar.xz b/mesa-11.1.0.tar.xz new file mode 100644 index 0000000..e3eb980 --- /dev/null +++ b/mesa-11.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9befe03b04223eb1ede177fa8cac001e2850292c8c12a3ec9929106afad9cf1f +size 7557948 diff --git a/mesa-11.1.0.tar.xz.sig b/mesa-11.1.0.tar.xz.sig new file mode 100644 index 0000000..062c8ab Binary files /dev/null and b/mesa-11.1.0.tar.xz.sig differ diff --git a/u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch b/u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch new file mode 100644 index 0000000..6330cfb --- /dev/null +++ b/u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch @@ -0,0 +1,38 @@ +From 8974248c4147e57552dc21c6d16e4d1817d34fad Mon Sep 17 00:00:00 2001 +From: Jimmy Berry +Date: Sat, 19 Dec 2015 22:49:10 -0600 +Subject: [Mesa-dev] [PATCH] st/va: hardlink driver instances to gallium_drv_video.so + +Removes the need to set LIBVA_DRIVER_NAME=gallium for supported targets and is +consistent with vdpau and general gallium drivers. + +Signed-off-by: Jimmy Berry +--- + src/gallium/targets/va/Makefile.am | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/src/gallium/targets/va/Makefile.am b/src/gallium/targets/va/Makefile.am +index 733e7ac..2cab898 100644 +--- a/src/gallium/targets/va/Makefile.am ++++ b/src/gallium/targets/va/Makefile.am +@@ -64,3 +64,17 @@ if HAVE_MESA_LLVM + gallium_drv_video_la_LIBADD += $(LLVM_LIBS) + gallium_drv_video_la_LDFLAGS += $(LLVM_LDFLAGS) + endif ++ ++# hardlink each megadriver instance, but don't actually have ++# gallium_drv_video.so in the set of final installed files. ++install-data-hook: ++ for i in $(TARGET_DRIVERS); do \ ++ ln -f $(DESTDIR)$(vadir)/gallium_drv_video.so \ ++ $(DESTDIR)$(vadir)/$${i}_drv_video.so; \ ++ done; \ ++ $(RM) $(DESTDIR)$(vadir)/gallium_drv_video.* ++ ++uninstall-hook: ++ for i in $(TARGET_DRIVERS); do \ ++ $(RM) $(DESTDIR)$(vadir)/$${i}_drv_video.so; \ ++ done; +-- +2.6.3 +