From bbbcd3d53a884cce6d5d6eee80b9b96d3f684a1542d88bd90a8786546b0f1530 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 17 Dec 2015 09:54:35 +0000 Subject: [PATCH 1/3] Accepting request 349031 from home:mimi_vx:branches:X11:XOrg - 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 OBS-URL: https://build.opensuse.org/request/show/349031 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=490 --- Mesa.changes | 44 +++++++++++++++++++++++++++++++++++++++++ Mesa.spec | 6 +++--- mesa-11.0.7.tar.xz | 3 --- mesa-11.0.7.tar.xz.sig | Bin 543 -> 0 bytes mesa-11.1.0.tar.xz | 3 +++ mesa-11.1.0.tar.xz.sig | Bin 0 -> 543 bytes 6 files changed, 50 insertions(+), 6 deletions(-) delete mode 100644 mesa-11.0.7.tar.xz delete mode 100644 mesa-11.0.7.tar.xz.sig create mode 100644 mesa-11.1.0.tar.xz create mode 100644 mesa-11.1.0.tar.xz.sig diff --git a/Mesa.changes b/Mesa.changes index b058b41..c652f7a 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +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..7fe0adb 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 @@ -113,7 +113,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 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 fbfe6d8be2b4eeea059a41e9a29e4a8fc6937c37e63299be0c2867b955844485..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0SEvF1p-!RQKbM12@vhBH?S=0Neu}Q5CDZYrtuIE#!OVoDF{In zTsDX+%i(}dg}v3;NCZ)f#vdRM%D`Ha%C{Od0w<%Wo#*-=UDbdeXPA5U)d8SW0*|2n zVegDFJMJ`jiF9uuS~#xP$_x+;B zQ^f0_QQayww>x}al9~8?srX@+!alZ$Gq>;oOK|B(2VrO9Kk4(EY}l-?+TUoN>$;AI zvQ*MgkX%Q_I+pED1s{QMo%sf?In2;+xjhFR36fds5aDf?V#zp9WuvLt9YjL=hJsLd9MMhos;yIdu!GtWe!D^7Xhs$^{2M;Ja3lxw-ZPe>yI<7 z@RDtY&)KX1v$(Pvjk=nLFS)vBwFkF@t9~?vDOH4Cp7UgN`{$PTJRe|v%KMSg@$&0T zPnB0py}?&`<_spyKwvdHWnW{uSFkQ1-2m1Jurud9*${3QUiZ-P10eW)p_0Po@VJNM zUYuLq+qQfDIJR%6e>!!w*Ofx!F$(77YXFn(37_rp%}!GLoq4DZs*RK|@EzsW`NL z!ANd5ZrSg1T^cv*s{w$i@wzHk6$j{Xfb8l_zaf$Q@zyvdtarPp+o4eduDuf>B&|*y zufOwO~*u_0ZwK_&Mj8Z>AhS6c8fkn1=2ob8x>owNnY%GZaAJ&KCosTL<3(1 z6QhW2|IoXTJrwop#=;#Kdb-?Ka8IS_Snnc&buGLTw&mWWq1L(79YX<_#a3{tVQE Date: Fri, 18 Dec 2015 11:38:07 +0000 Subject: [PATCH 2/3] Accepting request 349404 from home:boombatower:branches:X11:XOrg Add Mesa-libva. OBS-URL: https://build.opensuse.org/request/show/349404 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=491 --- Mesa.changes | 5 +++++ Mesa.spec | 25 ++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/Mesa.changes b/Mesa.changes index c652f7a..c788228 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/Mesa.spec b/Mesa.spec index 7fe0adb..d070bb6 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -85,6 +85,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 @@ -529,6 +530,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 @@ -585,6 +594,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 +732,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 +935,9 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %{_libdir}/libMesaOpenCL.so* %endif +%files libva +%defattr(-,root,root) +%dir %{_libdir}/dri +%{_libdir}/dri/gallium_drv_video.so + %changelog From 9c2a178cae38f684c9011c6dcdd176766446a138addc5435edf4ee1640e4c9b9 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 20 Dec 2015 18:59:28 +0000 Subject: [PATCH 3/3] Accepting request 349699 from home:boombatower:branches:X11:XOrg - Apply patch: st/va: hardlink driver instances to gallium_drv_video.so + u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch OBS-URL: https://build.opensuse.org/request/show/349699 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=492 --- Mesa.changes | 7 ++++ Mesa.spec | 5 ++- ...river-instances-to-gallium_drv_video.patch | 38 +++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch diff --git a/Mesa.changes b/Mesa.changes index c788228..e6583f3 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/Mesa.spec b/Mesa.spec index d070bb6..11fb451 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -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 @@ -552,6 +554,7 @@ rm -rf docs/README.{VMS,WIN32,OS2} #%patch11 -p1 #%patch15 -p1 #%patch13 -p1 +%patch17 -p1 %build %if 0%{?suse_version} >= 1310 @@ -938,6 +941,6 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %files libva %defattr(-,root,root) %dir %{_libdir}/dri -%{_libdir}/dri/gallium_drv_video.so +%{_libdir}/dri/*_drv_video.so %changelog 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 +