diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 81566bd..428a67c 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,297 @@ +------------------------------------------------------------------- +Wed Dec 12 15:29:53 UTC 2018 - Dominique Leuenberger + +- Only BuildRequire pkgconfig(vdpau) and pass --enable-vdpau to + configure when building the drivers. Helps us break a build + cycle. + +------------------------------------------------------------------- +Wed Dec 12 11:00:56 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.1 + * This version disables the VK_EXT_pci_bus_info extension due to + last minute issues spotted in the specification. + +------------------------------------------------------------------- +Tue Dec 11 10:45:49 UTC 2018 - sndirsch@suse.com + +- n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch + * Xshm results in render errors and missing screen refreshes on GNOME3 + in a qemu VM (cirrus emulation) [bsc#1118149] + +------------------------------------------------------------------- +Mon Dec 10 15:38:24 UTC 2018 - Ismail Dönmez + +- Fix baselibs.conf entry for Mesa-KHR-devel (missing "-") + +------------------------------------------------------------------- +Fri Dec 7 13:57:32 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0 final release + * The top highlights include: + + GL_AMD_depth_clamp_separate on r600, radeonsi. + + GL_AMD_framebuffer_multisample_advanced on radeonsi. + + GL_AMD_gpu_shader_int64 on i965, nvc0, radeonsi. + + GL_AMD_multi_draw_indirect on all GL 4.x drivers. + + GL_AMD_query_buffer_object on i965, nvc0, r600, radeonsi. + + GL_EXT_disjoint_timer_query on radeonsi and most other Gallium drivers + (ES extension) + + GL_EXT_texture_compression_s3tc on all drivers (ES extension) + + GL_EXT_vertex_attrib_64bit on i965, nvc0, radeonsi. + + GL_EXT_window_rectangles on radeonsi. + + GL_KHR_texture_compression_astc_sliced_3d on radeonsi. + + GL_NV_fragment_shader_interlock on i965. + + EGL_EXT_device_base for all drivers. + + EGL_EXT_device_drm for all drivers. + + EGL_MESA_device_software for all drivers. + * Additional features: + ANV + + VK_EXT_calibrated_timestamps + + VK_EXT_pci_bus_info + + VK_EXT_sampler_filter_minmax + + VK_EXT_vertex_attribute_divisor v3 + + VK_GOOGLE_decorate_string + + VK_GOOGLE_hlsl_functionality1 + + VK_KHR_driver_properties + RADV + + VK_EXT_calibrated_timestamps + + VK_EXT_conservative_rasterization + + VK_EXT_pci_bus_info + + VK_EXT_transform_feedback + + VK_EXT_vertex_attribute_divisor v3 + + VK_GOOGLE_decorate_string + + VK_GOOGLE_hlsl_functionality1 + + VK_KHR_driver_properties +- supersedes u_constify-struct-drisw_loader_funcs.patch, + u_drisw-use-separate-drisw_loader_funcs-for-shm.patch + +------------------------------------------------------------------- +Tue Dec 4 11:20:05 UTC 2018 - bjorn.lie@gmail.com + +- Add u_wayland_egl-Ensure-EGL-surface.patch: wayland/egl: Ensure + EGL surface is resized on DRI update_buffers(). Patch is sent + upstream already. + +------------------------------------------------------------------- +Thu Nov 29 13:12:15 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0-rc5 + * fifth release candidate for Mesa 18.3.0 + +------------------------------------------------------------------- +Tue Nov 27 10:50:17 UTC 2018 - sndirsch@suse.com + +- added libGL-Mesa-devel split-off provides to Mesa-KHR-devel + package, since /usr/include/KHR/khrplatform.h moved between + these two packages (related to bsc#1117365) + +------------------------------------------------------------------- +Tue Nov 27 08:42:43 UTC 2018 - msrb@suse.com + +- Place khrplatform.h into new package Mesa-KHR-devel. It is now + required by all devel packages that need it. (bsc#1117365) + +------------------------------------------------------------------- +Mon Nov 26 15:06:58 UTC 2018 - msrb@suse.com + +- Remove n_drisw-Do-not-use-drisw_put_image_shm.patch, + add u_constify-struct-drisw_loader_funcs.patch + and u_drisw-use-separate-drisw_loader_funcs-for-shm.patch. + * Replace workaround with proper fix for crash in VLC and + possibly other applications. (boo#1113533) + +------------------------------------------------------------------- +Fri Nov 23 17:21:06 UTC 2018 - Tobias Klausmann + +- Use rpm variables for the drirc.d path + +------------------------------------------------------------------- +Thu Nov 22 14:12:45 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0-rc4 + * fourth release candidate for Mesa 18.3.0 + +------------------------------------------------------------------- +Sat Nov 17 21:06:24 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0-rc3 + * third release candidate for Mesa 18.3.0 + +------------------------------------------------------------------- +Thu Nov 15 16:50:48 UTC 2018 - sndirsch@suse.com + +- moved /usr/include/KHR from libEGL-devel to libGL-devel since it's + now being referenced by glext.h + +------------------------------------------------------------------- +Thu Nov 15 15:19:27 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0-rc2 + * second release candidate for Mesa 18.3.0 +- supersedes the following patches: + * U_intel-aubinator-mark-ftruncate_res-as-MAYBE_UNUSED-i.patch + * U_intel-decoder-mark-total_length-as-MAYBE_UNUSED-in-g.patch + * U_python-Fix-rich-comparisons.patch + * U_python-Use-key-functions-when-sorting-containers.patch + * mako_4_radv.patch +- adjusted n_drirc-disable-rgb10-for-chromium-on-amd.patch +- /etc/drirc moved to /usr/share/drirc.d/00-mesa-defaults.conf + +------------------------------------------------------------------- +Tue Nov 13 08:50:56 UTC 2018 - msrb@suse.com + +- n_drisw-Do-not-use-drisw_put_image_shm.patch + * Workaround for applications that create GL context twice with + different loaders. (boo#1113533) + +------------------------------------------------------------------- +Thu Nov 1 13:15:49 UTC 2018 - sndirsch@suse.com + +- Update to 18.2.4 + * Different fixes for different drivers: freedreno, radeonsi, + swr, anv and radv. Also there are fixes for ac, gallium, + spirv and blorp. + +------------------------------------------------------------------- +Thu Oct 25 14:29:20 UTC 2018 - msrb@suse.com + +- n_drirc-disable-rgb10-for-chromium-on-amd.patch + * Disallow rgb10 configs for chromium with radeonsi to prevent + broken colors in video. (boo#1113211) + +------------------------------------------------------------------- +Mon Oct 22 13:24:59 UTC 2018 - sndirsch@suse.com + +- Update to 18.2.3 + * Different patches for the DirectX9 and DRI state trackers. + * Several fixes and workarounds for different games, inlcuding + RAGE, Yakuza and The Evil Within, Wolfenstein The Old Blood + ARMA 3, or No Mans Sky. + * A bunch of fixes for different drivers, including r600, + nouveau, radeonsi, anv, radv, virgl, i965, nvc0 or nv50. + Worth to mention a fix for GPU hangs in Radeonsi. + * State Trackers also get different fixes and corrections. + * Finally, fixes for GLSL and NIR are also in this queue. + +------------------------------------------------------------------- +Fri Oct 5 19:04:01 UTC 2018 - bjorn.lie@gmail.com + +- Update to 18.2.2 + * Different patches for the DirectX9 and DRI state trackers. + * A patch to implement vkAcquireNextImage2 in the Intel and AMD + vulkan drivers, as well as a patch for adding support for + protected memory properties in GetPhysicalDeviceProperties2() + for the former driver. + * RADV also gets a patch to fix some issues with reflections in + GTA V, and a patch to fix a GPU hang in SteamVR with Vega. + * Finally, there are more fixes for Radeonsi, nvc0, vc4, and + vulkan code. +- Drop usage of sha1sum, use sig and keyring verification instead. + Following this, add key from Juan A. Suarez to keyring. +- Drop u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch + Fixed upstream. + +------------------------------------------------------------------- +Fri Sep 21 20:38:47 UTC 2018 - Ondřej Súkup + +- update to 18.2.1 + * Lot of fixes for Vulkan drivers. + +------------------------------------------------------------------- +Tue Sep 11 13:28:26 UTC 2018 - sndirsch@suse.com + +- get rid of libwayland-egl1/libwayland-egl-devel completely; also + for older Leap versions + +------------------------------------------------------------------- +Mon Sep 10 13:29:24 UTC 2018 - sndirsch@suse.com + +- update to 18.2.0 + * This release consists of nearly 2200 commits from approximately + 130 developers. + * The top highlights include: + - OpenGL 4.3 on virgl. + - OpenGL 4.4 Compatibility profile on radeonsi. + - OpenGL ES 3.2 on radeonsi and virgl. + - GL_ARB_ES3_2_compatibility on radeonsi. + - GL_ARB_fragment_shader_interlock on i965. + - GL_ARB_sample_locations and GL_NV_sample_locations on nvc0 (GM200+). + - GL_ANDROID_extension_pack_es31a on radeonsi. + - GL_KHR_texture_compression_astc_ldr on radeonsi. + - GL_NV_conservative_raster and GL_NV_conservative_raster_dilate on + nvc0 (GM200+). + - GL_NV_conservative_raster_pre_snap_triangles on nvc0 (GP102+). + - multisampled images on nvc0 (GM107+) (now supported on GF100+). + * Additional features: + - ANV Extensions: + - VK_KHR_bind_memory2. + - VK_KHR_external_fence. + - VK_KHR_external_fence_capabilities. + - VK_KHR_external_semaphore. + - VK_KHR_external_semaphore_capabilities. + - VK_KHR_maintenance2. + - VK_KHR_maintenance3. + - VK_KHR_multiview. + - VK_KHR_relaxed_block_layout. + - VK_KHR_sampler_ycbcr_conversion. + - VK_KHR_8bit_storage. + - VK_KHR_create_renderpass2. + - VK_KHR_display. + - VK_KHR_display_swapchain. + - VK_KHR_external_fence_fd. + - VK_KHR_external_semaphore_fd. + - VK_KHR_get_display_properties2. + - VK_KHR_image_format_list. + - RADV Extensions: + - VK_KHR_bind_memory2. + - VK_KHR_external_fence. + - VK_KHR_external_fence_capabilities. + - VK_KHR_maintenance2. + - VK_KHR_maintenance3. + - VK_KHR_multiview. + - VK_KHR_relaxed_block_layout. + - VK_KHR_create_renderpass2. + - VK_KHR_display. + - VK_KHR_display_swapchain. + - VK_KHR_draw_indirect_count. + - VK_KHR_external_fence_fd. + - VK_KHR_get_display_properties2. + - VK_KHR_get_surface_capabilities2. + - VK_KHR_image_format_list. + - New GL extensions supported by all drivers: + - GL_OES_EGL_image_external. + - GL_OES_EGL_image_external_essl3. + - freedreno: + - GL 3.0's multisample anti-aliasing support on a5xx. + - GL_ARB_texture_multisample support on a5xx. + - GLES3.1's GS5 Packing/bitfield/conversion functions support on a5xx. + - Dynamically uniform UBO array indices. + - Packing/bitfield/conversion functions. + - Enhanced textureGather. + - GL_OES_texture_buffer. + - GL_ARB_seamless_cubemap_per_texture. + - i965: + - GL_OES_texture_view on gen8+. + - GL_EXT_texture_norm16. + - nouveau: + - GL_ARB_post_depth_coverage. + - GL_ARB_sample_locations. + - GL_EXT_texture_norm16. + - r600: + - GL_EXT_texture_norm16. + - radeonsi: + - GL_EXT_texture_norm16. + - virgl: + - GL_ARB_seamless_cubemap_per_texture. + - GL_ARB_shader_stencil_export. +- supersedes u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch, + u_intel_anv-make-scripts-python-2-3-compat.patch +- U_intel-decoder-mark-total_length-as-MAYBE_UNUSED-in-g.patch, + U_intel-aubinator-mark-ftruncate_res-as-MAYBE_UNUSED-i.patch, + U_python-Fix-rich-comparisons.patch, + U_python-Use-key-functions-when-sorting-containers.patch + * buildfixes ... + ------------------------------------------------------------------- Mon Aug 27 12:07:28 UTC 2018 - sndirsch@suse.com diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 8286b1a..11266e0 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -42,7 +42,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 18.1.7 +%define _version 18.3.1 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -112,7 +112,7 @@ %endif Name: Mesa-drivers -Version: 18.1.7 +Version: 18.3.1 Release: 0 Summary: System for rendering 3-D graphics License: MIT @@ -123,8 +123,8 @@ URL: http://www.mesa3d.org # Source: ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz Source: ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz # Source1: ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz.sig -# Source1: ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz.sig -Source1: %{_name_archive}-%{_version}.tar.xz.sha1sum +Source1: ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz.sig +# Source1: %%{_name_archive}-%%{_version}.tar.xz.sha1sum Source2: baselibs.conf Source3: README.updates Source4: manual-pages.tar.bz2 @@ -134,11 +134,11 @@ Source7: Mesa.keyring Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch # currently needed for libglvnd support Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch -# Upstream -Patch43: u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch -Patch44: u_intel_anv-make-scripts-python-2-3-compat.patch -Patch47: u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch -Patch48: mako_4_radv.patch + +Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch +Patch57: u_wayland_egl-Ensure-EGL-surface.patch + +Patch60: n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch BuildRequires: autoconf >= 2.60 BuildRequires: automake @@ -168,7 +168,9 @@ BuildRequires: pkgconfig(libglvnd) >= 0.1.0 BuildRequires: pkgconfig(libkms) >= 1.0.0 BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(presentproto) +%if %{drivers} BuildRequires: pkgconfig(vdpau) >= 1.1 +%endif BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb-dri2) @@ -178,6 +180,7 @@ BuildRequires: pkgconfig(xcb-present) BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) +BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xshmfence) BuildRequires: pkgconfig(xvmc) BuildRequires: pkgconfig(xxf86vm) @@ -215,7 +218,7 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8 BuildRequires: pkgconfig(wayland-server) >= 1.11 %endif %if 0%{with_llvm} -BuildRequires: llvm-devel >= 3.9.0 +BuildRequires: llvm-devel >= 6.0.0 %endif %if 0%{with_opencl} @@ -274,9 +277,6 @@ Provides: s2tc-devel = %{version} Obsoletes: s2tc-devel < %{version} Provides: libtxc_dxtn-devel = %{version} Obsoletes: libtxc_dxtn-devel < %{version} -%if 0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})) -Requires: libwayland-egl-devel -%endif %description devel Mesa is a 3-D graphics library with an API which is very similar to @@ -331,6 +331,14 @@ OpenGL|ES and OpenVG. This package provides the development environment for compiling programs against the EGL library. +%package KHR-devel +Summary: Mesa Khronos development headers +Group: Development/Libraries/C and C++ +Provides: Mesa-libGL-devel:/usr/include/KHR/khrplatform.h + +%description KHR-devel +Mesa Khronos development headers. + %package libGL1 Summary: The GL/GLX runtime of the Mesa 3D graphics library Group: System/Libraries @@ -352,6 +360,7 @@ the X Window System. %package libGL-devel Summary: GL/GLX development files of the OpenGL API Group: Development/Libraries/C and C++ +Requires: Mesa-KHR-devel = %{version} Requires: Mesa-libGL1 = %{version} %if 0%{?libglvnd} Requires: libglvnd-devel >= 0.1.0 @@ -383,6 +392,7 @@ OpenGL|ES 1.x provides an API for fixed-function hardware. %package libGLESv1_CM-devel Summary: Development files for the OpenGL ES 1.x API Group: Development/Libraries/C and C++ +Requires: Mesa-KHR-devel = %{version} Requires: Mesa-libGLESv1_CM1 = %{version} Requires: pkgconfig(egl) %if 0%{?libglvnd} @@ -422,6 +432,7 @@ ES 3 entry points. %package libGLESv2-devel Summary: Development files for the OpenGL ES 2.x API Group: Development/Libraries/C and C++ +Requires: Mesa-KHR-devel = %{version} Requires: Mesa-libGLESv2-2 = %{version} Requires: pkgconfig(egl) %if 0%{?libglvnd} @@ -443,6 +454,7 @@ applications using the OpenGL|ES 2.x APIs. %package libGLESv3-devel Summary: Development files for the OpenGL ES 3.x API Group: Development/Libraries/C and C++ +Requires: Mesa-KHR-devel = %{version} Requires: pkgconfig(egl) %if 0%{?libglvnd} == 0 Requires: Mesa-libGLESv2-2 = %{version} @@ -574,24 +586,6 @@ openwfd. This package provides the development environment for compiling programs against the GBM library. -%package -n libwayland-egl1 -Summary: Additional egl functions for wayland -Group: System/Libraries - -%description -n libwayland-egl1 -This package provides additional functions for egl-using programs -that run within the wayland framework. This allows for applications -that need not run full-screen and cooperate with a compositor. - -%package -n libwayland-egl-devel -Summary: Development files for libwayland-egl1 -Group: Development/Libraries/C and C++ -Requires: libwayland-egl1 = %{version} - -%description -n libwayland-egl-devel -This package is required to link wayland client applications to the EGL -implementation of Mesa. - %package -n Mesa-libd3d Summary: Mesa Direct3D9 state tracker # Manually provide d3d library (bnc#918294) @@ -744,10 +738,9 @@ rm -rf docs/README.{VMS,WIN32,OS2} %patch31 -p1 %endif -%patch43 -p1 -%patch44 -p1 -%patch47 -p1 -%patch48 -p1 +%patch54 -p1 +%patch57 -p1 +%patch60 -p1 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when # disabling libglvnd build; ugly ... @@ -809,7 +802,9 @@ export PYTHON2=%{_bindir}/python3 --enable-llvm \ --enable-llvm-shared-libs \ %endif +%if %{drivers} --enable-vdpau \ +%endif --enable-va \ --enable-xvmc \ %if 0%{with_vulkan} @@ -846,18 +841,16 @@ make %{?_smp_mflags} V=1 %make_install find %{buildroot} -type f -name "*.la" -delete -print -%if !(0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse}))) # libwayland-egl is provided by wayland itself rm -f %{buildroot}/%{_libdir}/libwayland-egl.so* rm -f %{buildroot}/%{_libdir}/pkgconfig/wayland-egl.pc -%endif %if %{drivers} # Delete things that we do not package in the Mesa-drivers variant, but can # not disable from buildling and installing. # in Mesa -rm %{buildroot}/%{_sysconfdir}/drirc +rm -rf %{buildroot}/%{_datadir}/drirc.d # in Mesa-libGL-devel rm -rf %{buildroot}/%{_includedir}/GL @@ -877,6 +870,9 @@ rm %{buildroot}/%{_includedir}/gbm.h rm %{buildroot}/%{_libdir}/libgbm.so* rm %{buildroot}/%{_libdir}/pkgconfig/gbm.pc +# in KHR-devel +rm -rf %{buildroot}/%{_includedir}/KHR + %else %if 0%{?libglvnd} == 0 # Make a symlink to libGL.so.1.2 for compatibility (bnc#809359, bnc#831306) @@ -941,10 +937,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %postun libglapi0 -p /sbin/ldconfig -%post -n libwayland-egl1 -p /sbin/ldconfig - -%postun -n libwayland-egl1 -p /sbin/ldconfig - %post -n Mesa-libd3d -p /sbin/ldconfig %postun -n Mesa-libd3d -p /sbin/ldconfig @@ -953,7 +945,8 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files %license docs/license.html %doc docs/README* -%config %{_sysconfdir}/drirc +%dir %{_datadir}/drirc.d +%config %{_datadir}/drirc.d/* %files libEGL1 %if 0%{?libglvnd} @@ -967,12 +960,15 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files libEGL-devel %{_includedir}/EGL -%{_includedir}/KHR %if !0%{?libglvnd} %{_libdir}/libEGL.so %endif %{_libdir}/pkgconfig/egl.pc +%files KHR-devel +%dir %{_includedir}/KHR +%{_includedir}/KHR + %files libGL1 %if 0%{?libglvnd} %{_libdir}/libGLX_mesa.so* @@ -1017,8 +1013,8 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files libGLESv3-devel %{_includedir}/GLES3 -#%_libdir/libGLESv3.so -#%_libdir/pkgconfig/glesv3.pc +#%%_libdir/libGLESv3.so +#%%_libdir/pkgconfig/glesv3.pc %files -n libOSMesa8 %{_libdir}/libOSMesa.so.8.0.0 @@ -1029,15 +1025,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %{_libdir}/libOSMesa.so %{_libdir}/pkgconfig/osmesa.pc -%if 0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})) -%files -n libwayland-egl1 -%{_libdir}/libwayland-egl.so.1* - -%files -n libwayland-egl-devel -%{_libdir}/libwayland-egl.so -%{_libdir}/pkgconfig/wayland-egl.pc -%endif - %files -n libgbm1 %{_libdir}/libgbm.so.1* @@ -1197,7 +1184,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files -n Mesa-libVulkan-devel %dir %{_includedir}/vulkan -%{_includedir}/vulkan +%{_includedir}/vulkan/* %endif %changelog diff --git a/Mesa.changes b/Mesa.changes index 81566bd..428a67c 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,297 @@ +------------------------------------------------------------------- +Wed Dec 12 15:29:53 UTC 2018 - Dominique Leuenberger + +- Only BuildRequire pkgconfig(vdpau) and pass --enable-vdpau to + configure when building the drivers. Helps us break a build + cycle. + +------------------------------------------------------------------- +Wed Dec 12 11:00:56 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.1 + * This version disables the VK_EXT_pci_bus_info extension due to + last minute issues spotted in the specification. + +------------------------------------------------------------------- +Tue Dec 11 10:45:49 UTC 2018 - sndirsch@suse.com + +- n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch + * Xshm results in render errors and missing screen refreshes on GNOME3 + in a qemu VM (cirrus emulation) [bsc#1118149] + +------------------------------------------------------------------- +Mon Dec 10 15:38:24 UTC 2018 - Ismail Dönmez + +- Fix baselibs.conf entry for Mesa-KHR-devel (missing "-") + +------------------------------------------------------------------- +Fri Dec 7 13:57:32 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0 final release + * The top highlights include: + + GL_AMD_depth_clamp_separate on r600, radeonsi. + + GL_AMD_framebuffer_multisample_advanced on radeonsi. + + GL_AMD_gpu_shader_int64 on i965, nvc0, radeonsi. + + GL_AMD_multi_draw_indirect on all GL 4.x drivers. + + GL_AMD_query_buffer_object on i965, nvc0, r600, radeonsi. + + GL_EXT_disjoint_timer_query on radeonsi and most other Gallium drivers + (ES extension) + + GL_EXT_texture_compression_s3tc on all drivers (ES extension) + + GL_EXT_vertex_attrib_64bit on i965, nvc0, radeonsi. + + GL_EXT_window_rectangles on radeonsi. + + GL_KHR_texture_compression_astc_sliced_3d on radeonsi. + + GL_NV_fragment_shader_interlock on i965. + + EGL_EXT_device_base for all drivers. + + EGL_EXT_device_drm for all drivers. + + EGL_MESA_device_software for all drivers. + * Additional features: + ANV + + VK_EXT_calibrated_timestamps + + VK_EXT_pci_bus_info + + VK_EXT_sampler_filter_minmax + + VK_EXT_vertex_attribute_divisor v3 + + VK_GOOGLE_decorate_string + + VK_GOOGLE_hlsl_functionality1 + + VK_KHR_driver_properties + RADV + + VK_EXT_calibrated_timestamps + + VK_EXT_conservative_rasterization + + VK_EXT_pci_bus_info + + VK_EXT_transform_feedback + + VK_EXT_vertex_attribute_divisor v3 + + VK_GOOGLE_decorate_string + + VK_GOOGLE_hlsl_functionality1 + + VK_KHR_driver_properties +- supersedes u_constify-struct-drisw_loader_funcs.patch, + u_drisw-use-separate-drisw_loader_funcs-for-shm.patch + +------------------------------------------------------------------- +Tue Dec 4 11:20:05 UTC 2018 - bjorn.lie@gmail.com + +- Add u_wayland_egl-Ensure-EGL-surface.patch: wayland/egl: Ensure + EGL surface is resized on DRI update_buffers(). Patch is sent + upstream already. + +------------------------------------------------------------------- +Thu Nov 29 13:12:15 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0-rc5 + * fifth release candidate for Mesa 18.3.0 + +------------------------------------------------------------------- +Tue Nov 27 10:50:17 UTC 2018 - sndirsch@suse.com + +- added libGL-Mesa-devel split-off provides to Mesa-KHR-devel + package, since /usr/include/KHR/khrplatform.h moved between + these two packages (related to bsc#1117365) + +------------------------------------------------------------------- +Tue Nov 27 08:42:43 UTC 2018 - msrb@suse.com + +- Place khrplatform.h into new package Mesa-KHR-devel. It is now + required by all devel packages that need it. (bsc#1117365) + +------------------------------------------------------------------- +Mon Nov 26 15:06:58 UTC 2018 - msrb@suse.com + +- Remove n_drisw-Do-not-use-drisw_put_image_shm.patch, + add u_constify-struct-drisw_loader_funcs.patch + and u_drisw-use-separate-drisw_loader_funcs-for-shm.patch. + * Replace workaround with proper fix for crash in VLC and + possibly other applications. (boo#1113533) + +------------------------------------------------------------------- +Fri Nov 23 17:21:06 UTC 2018 - Tobias Klausmann + +- Use rpm variables for the drirc.d path + +------------------------------------------------------------------- +Thu Nov 22 14:12:45 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0-rc4 + * fourth release candidate for Mesa 18.3.0 + +------------------------------------------------------------------- +Sat Nov 17 21:06:24 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0-rc3 + * third release candidate for Mesa 18.3.0 + +------------------------------------------------------------------- +Thu Nov 15 16:50:48 UTC 2018 - sndirsch@suse.com + +- moved /usr/include/KHR from libEGL-devel to libGL-devel since it's + now being referenced by glext.h + +------------------------------------------------------------------- +Thu Nov 15 15:19:27 UTC 2018 - sndirsch@suse.com + +- Update to 18.3.0-rc2 + * second release candidate for Mesa 18.3.0 +- supersedes the following patches: + * U_intel-aubinator-mark-ftruncate_res-as-MAYBE_UNUSED-i.patch + * U_intel-decoder-mark-total_length-as-MAYBE_UNUSED-in-g.patch + * U_python-Fix-rich-comparisons.patch + * U_python-Use-key-functions-when-sorting-containers.patch + * mako_4_radv.patch +- adjusted n_drirc-disable-rgb10-for-chromium-on-amd.patch +- /etc/drirc moved to /usr/share/drirc.d/00-mesa-defaults.conf + +------------------------------------------------------------------- +Tue Nov 13 08:50:56 UTC 2018 - msrb@suse.com + +- n_drisw-Do-not-use-drisw_put_image_shm.patch + * Workaround for applications that create GL context twice with + different loaders. (boo#1113533) + +------------------------------------------------------------------- +Thu Nov 1 13:15:49 UTC 2018 - sndirsch@suse.com + +- Update to 18.2.4 + * Different fixes for different drivers: freedreno, radeonsi, + swr, anv and radv. Also there are fixes for ac, gallium, + spirv and blorp. + +------------------------------------------------------------------- +Thu Oct 25 14:29:20 UTC 2018 - msrb@suse.com + +- n_drirc-disable-rgb10-for-chromium-on-amd.patch + * Disallow rgb10 configs for chromium with radeonsi to prevent + broken colors in video. (boo#1113211) + +------------------------------------------------------------------- +Mon Oct 22 13:24:59 UTC 2018 - sndirsch@suse.com + +- Update to 18.2.3 + * Different patches for the DirectX9 and DRI state trackers. + * Several fixes and workarounds for different games, inlcuding + RAGE, Yakuza and The Evil Within, Wolfenstein The Old Blood + ARMA 3, or No Mans Sky. + * A bunch of fixes for different drivers, including r600, + nouveau, radeonsi, anv, radv, virgl, i965, nvc0 or nv50. + Worth to mention a fix for GPU hangs in Radeonsi. + * State Trackers also get different fixes and corrections. + * Finally, fixes for GLSL and NIR are also in this queue. + +------------------------------------------------------------------- +Fri Oct 5 19:04:01 UTC 2018 - bjorn.lie@gmail.com + +- Update to 18.2.2 + * Different patches for the DirectX9 and DRI state trackers. + * A patch to implement vkAcquireNextImage2 in the Intel and AMD + vulkan drivers, as well as a patch for adding support for + protected memory properties in GetPhysicalDeviceProperties2() + for the former driver. + * RADV also gets a patch to fix some issues with reflections in + GTA V, and a patch to fix a GPU hang in SteamVR with Vega. + * Finally, there are more fixes for Radeonsi, nvc0, vc4, and + vulkan code. +- Drop usage of sha1sum, use sig and keyring verification instead. + Following this, add key from Juan A. Suarez to keyring. +- Drop u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch + Fixed upstream. + +------------------------------------------------------------------- +Fri Sep 21 20:38:47 UTC 2018 - Ondřej Súkup + +- update to 18.2.1 + * Lot of fixes for Vulkan drivers. + +------------------------------------------------------------------- +Tue Sep 11 13:28:26 UTC 2018 - sndirsch@suse.com + +- get rid of libwayland-egl1/libwayland-egl-devel completely; also + for older Leap versions + +------------------------------------------------------------------- +Mon Sep 10 13:29:24 UTC 2018 - sndirsch@suse.com + +- update to 18.2.0 + * This release consists of nearly 2200 commits from approximately + 130 developers. + * The top highlights include: + - OpenGL 4.3 on virgl. + - OpenGL 4.4 Compatibility profile on radeonsi. + - OpenGL ES 3.2 on radeonsi and virgl. + - GL_ARB_ES3_2_compatibility on radeonsi. + - GL_ARB_fragment_shader_interlock on i965. + - GL_ARB_sample_locations and GL_NV_sample_locations on nvc0 (GM200+). + - GL_ANDROID_extension_pack_es31a on radeonsi. + - GL_KHR_texture_compression_astc_ldr on radeonsi. + - GL_NV_conservative_raster and GL_NV_conservative_raster_dilate on + nvc0 (GM200+). + - GL_NV_conservative_raster_pre_snap_triangles on nvc0 (GP102+). + - multisampled images on nvc0 (GM107+) (now supported on GF100+). + * Additional features: + - ANV Extensions: + - VK_KHR_bind_memory2. + - VK_KHR_external_fence. + - VK_KHR_external_fence_capabilities. + - VK_KHR_external_semaphore. + - VK_KHR_external_semaphore_capabilities. + - VK_KHR_maintenance2. + - VK_KHR_maintenance3. + - VK_KHR_multiview. + - VK_KHR_relaxed_block_layout. + - VK_KHR_sampler_ycbcr_conversion. + - VK_KHR_8bit_storage. + - VK_KHR_create_renderpass2. + - VK_KHR_display. + - VK_KHR_display_swapchain. + - VK_KHR_external_fence_fd. + - VK_KHR_external_semaphore_fd. + - VK_KHR_get_display_properties2. + - VK_KHR_image_format_list. + - RADV Extensions: + - VK_KHR_bind_memory2. + - VK_KHR_external_fence. + - VK_KHR_external_fence_capabilities. + - VK_KHR_maintenance2. + - VK_KHR_maintenance3. + - VK_KHR_multiview. + - VK_KHR_relaxed_block_layout. + - VK_KHR_create_renderpass2. + - VK_KHR_display. + - VK_KHR_display_swapchain. + - VK_KHR_draw_indirect_count. + - VK_KHR_external_fence_fd. + - VK_KHR_get_display_properties2. + - VK_KHR_get_surface_capabilities2. + - VK_KHR_image_format_list. + - New GL extensions supported by all drivers: + - GL_OES_EGL_image_external. + - GL_OES_EGL_image_external_essl3. + - freedreno: + - GL 3.0's multisample anti-aliasing support on a5xx. + - GL_ARB_texture_multisample support on a5xx. + - GLES3.1's GS5 Packing/bitfield/conversion functions support on a5xx. + - Dynamically uniform UBO array indices. + - Packing/bitfield/conversion functions. + - Enhanced textureGather. + - GL_OES_texture_buffer. + - GL_ARB_seamless_cubemap_per_texture. + - i965: + - GL_OES_texture_view on gen8+. + - GL_EXT_texture_norm16. + - nouveau: + - GL_ARB_post_depth_coverage. + - GL_ARB_sample_locations. + - GL_EXT_texture_norm16. + - r600: + - GL_EXT_texture_norm16. + - radeonsi: + - GL_EXT_texture_norm16. + - virgl: + - GL_ARB_seamless_cubemap_per_texture. + - GL_ARB_shader_stencil_export. +- supersedes u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch, + u_intel_anv-make-scripts-python-2-3-compat.patch +- U_intel-decoder-mark-total_length-as-MAYBE_UNUSED-in-g.patch, + U_intel-aubinator-mark-ftruncate_res-as-MAYBE_UNUSED-i.patch, + U_python-Fix-rich-comparisons.patch, + U_python-Use-key-functions-when-sorting-containers.patch + * buildfixes ... + ------------------------------------------------------------------- Mon Aug 27 12:07:28 UTC 2018 - sndirsch@suse.com diff --git a/Mesa.keyring b/Mesa.keyring index 88815dd..05dfc68 100644 --- a/Mesa.keyring +++ b/Mesa.keyring @@ -5983,3 +5983,105 @@ c+ySywEAhp1VMo7r1mcCy5R97Eamu0ER36n4AUlWanHbNhXhzU0BAMGqQ5bzN1Wy ukC25btsJ0pEFojomfOv9LgvRTFBT7YA =rQnY -----END PGP PUBLIC KEY BLOCK----- + +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFrxh8QBEACmRH99FIPaqrH29i2N8nuTJZ/CJ/05zxwQx2v+7lkCCJOMXogs +PEzbQM/LogiDAl3cIyRtIJ2zFxhoKpkFglGztQ0aJHJM6Xh6674Wf7xVQSQ5ImSC +4jPv5Y1mZxqI+NRPsW0pI96hSTEnl8y7OgFFADrth6fQXq8j5qF25pZ36sWIqhIr +QgwFBpfrGtPRZNk0G7O6UdjGY2T7u79en9uwLNEqFfw/by+G8C5Uhd/wSlLBoEVk +pJXqQkHcnQ+CXiUPmXEiyI84XhePhaIem10usnSXKnpTTbTlGMcHYIsQrJ8cHTzT +fe4qnaBiXXEN6vVIADAEw+mh5IrtSkbn9EQ9WJ0PinMMRQk+mg9qIretgcz0Yk+2 +N4p/wipWwGpdXtTwqClb1vyZaigMPfW2rSOJbeUWcEd3tzEDYmEVLOuKOrY709vv +dfXUe98gMLAQs1SbiBdms+WZGjhqsFOFSgNBogAfBwA5LPtOnZabrwAAT0atPI0J +Phtjjt32ApCDJBS4UvgAUE17uQ3XsZ8cMXIyg2jHhgcR1hdwvGS2X8lZM3BbNi+3 +gyuRKHRTeWovZfMUsVIz6XONVbhJW0UPBepWD3FSMxwNRBYYhWh9eWGahZ5UQiNK +h5iixh6wXh9q/evDQq9X5KK8KhBhQwqP/2s3ILRTr4Ca5Y6i1XsPBujyNQARAQAB +tCRKdWFuIEEuIFN1YXJleiA8amFzdWFyZXpAaWdhbGlhLmNvbT6JAlQEEwEKAD4W +IQSlzJ/sk/L4N8sES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3E3gKwRA +7VQeKOrR3qSFObFF0Zde+tGDvy7p +=tfFV +-----END PGP PUBLIC KEY BLOCK----- + diff --git a/Mesa.spec b/Mesa.spec index 3d0cc35..e5596cd 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -41,7 +41,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 18.1.7 +%define _version 18.3.1 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -111,7 +111,7 @@ %endif Name: Mesa -Version: 18.1.7 +Version: 18.3.1 Release: 0 Summary: System for rendering 3-D graphics License: MIT @@ -122,8 +122,8 @@ URL: http://www.mesa3d.org # Source: ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz Source: ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz # Source1: ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz.sig -# Source1: ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz.sig -Source1: %{_name_archive}-%{_version}.tar.xz.sha1sum +Source1: ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz.sig +# Source1: %%{_name_archive}-%%{_version}.tar.xz.sha1sum Source2: baselibs.conf Source3: README.updates Source4: manual-pages.tar.bz2 @@ -133,11 +133,11 @@ Source7: Mesa.keyring Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch # currently needed for libglvnd support Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch -# Upstream -Patch43: u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch -Patch44: u_intel_anv-make-scripts-python-2-3-compat.patch -Patch47: u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch -Patch48: mako_4_radv.patch + +Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch +Patch57: u_wayland_egl-Ensure-EGL-surface.patch + +Patch60: n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch BuildRequires: autoconf >= 2.60 BuildRequires: automake @@ -167,7 +167,9 @@ BuildRequires: pkgconfig(libglvnd) >= 0.1.0 BuildRequires: pkgconfig(libkms) >= 1.0.0 BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(presentproto) +%if %{drivers} BuildRequires: pkgconfig(vdpau) >= 1.1 +%endif BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb-dri2) @@ -177,6 +179,7 @@ BuildRequires: pkgconfig(xcb-present) BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) +BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xshmfence) BuildRequires: pkgconfig(xvmc) BuildRequires: pkgconfig(xxf86vm) @@ -214,7 +217,7 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8 BuildRequires: pkgconfig(wayland-server) >= 1.11 %endif %if 0%{with_llvm} -BuildRequires: llvm-devel >= 3.9.0 +BuildRequires: llvm-devel >= 6.0.0 %endif %if 0%{with_opencl} @@ -273,9 +276,6 @@ Provides: s2tc-devel = %{version} Obsoletes: s2tc-devel < %{version} Provides: libtxc_dxtn-devel = %{version} Obsoletes: libtxc_dxtn-devel < %{version} -%if 0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})) -Requires: libwayland-egl-devel -%endif %description devel Mesa is a 3-D graphics library with an API which is very similar to @@ -330,6 +330,14 @@ OpenGL|ES and OpenVG. This package provides the development environment for compiling programs against the EGL library. +%package KHR-devel +Summary: Mesa Khronos development headers +Group: Development/Libraries/C and C++ +Provides: Mesa-libGL-devel:/usr/include/KHR/khrplatform.h + +%description KHR-devel +Mesa Khronos development headers. + %package libGL1 Summary: The GL/GLX runtime of the Mesa 3D graphics library Group: System/Libraries @@ -351,6 +359,7 @@ the X Window System. %package libGL-devel Summary: GL/GLX development files of the OpenGL API Group: Development/Libraries/C and C++ +Requires: Mesa-KHR-devel = %{version} Requires: Mesa-libGL1 = %{version} %if 0%{?libglvnd} Requires: libglvnd-devel >= 0.1.0 @@ -382,6 +391,7 @@ OpenGL|ES 1.x provides an API for fixed-function hardware. %package libGLESv1_CM-devel Summary: Development files for the OpenGL ES 1.x API Group: Development/Libraries/C and C++ +Requires: Mesa-KHR-devel = %{version} Requires: Mesa-libGLESv1_CM1 = %{version} Requires: pkgconfig(egl) %if 0%{?libglvnd} @@ -421,6 +431,7 @@ ES 3 entry points. %package libGLESv2-devel Summary: Development files for the OpenGL ES 2.x API Group: Development/Libraries/C and C++ +Requires: Mesa-KHR-devel = %{version} Requires: Mesa-libGLESv2-2 = %{version} Requires: pkgconfig(egl) %if 0%{?libglvnd} @@ -442,6 +453,7 @@ applications using the OpenGL|ES 2.x APIs. %package libGLESv3-devel Summary: Development files for the OpenGL ES 3.x API Group: Development/Libraries/C and C++ +Requires: Mesa-KHR-devel = %{version} Requires: pkgconfig(egl) %if 0%{?libglvnd} == 0 Requires: Mesa-libGLESv2-2 = %{version} @@ -573,24 +585,6 @@ openwfd. This package provides the development environment for compiling programs against the GBM library. -%package -n libwayland-egl1 -Summary: Additional egl functions for wayland -Group: System/Libraries - -%description -n libwayland-egl1 -This package provides additional functions for egl-using programs -that run within the wayland framework. This allows for applications -that need not run full-screen and cooperate with a compositor. - -%package -n libwayland-egl-devel -Summary: Development files for libwayland-egl1 -Group: Development/Libraries/C and C++ -Requires: libwayland-egl1 = %{version} - -%description -n libwayland-egl-devel -This package is required to link wayland client applications to the EGL -implementation of Mesa. - %package -n Mesa-libd3d Summary: Mesa Direct3D9 state tracker # Manually provide d3d library (bnc#918294) @@ -743,10 +737,9 @@ rm -rf docs/README.{VMS,WIN32,OS2} %patch31 -p1 %endif -%patch43 -p1 -%patch44 -p1 -%patch47 -p1 -%patch48 -p1 +%patch54 -p1 +%patch57 -p1 +%patch60 -p1 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when # disabling libglvnd build; ugly ... @@ -808,7 +801,9 @@ export PYTHON2=%{_bindir}/python3 --enable-llvm \ --enable-llvm-shared-libs \ %endif +%if %{drivers} --enable-vdpau \ +%endif --enable-va \ --enable-xvmc \ %if 0%{with_vulkan} @@ -845,18 +840,16 @@ make %{?_smp_mflags} V=1 %make_install find %{buildroot} -type f -name "*.la" -delete -print -%if !(0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse}))) # libwayland-egl is provided by wayland itself rm -f %{buildroot}/%{_libdir}/libwayland-egl.so* rm -f %{buildroot}/%{_libdir}/pkgconfig/wayland-egl.pc -%endif %if %{drivers} # Delete things that we do not package in the Mesa-drivers variant, but can # not disable from buildling and installing. # in Mesa -rm %{buildroot}/%{_sysconfdir}/drirc +rm -rf %{buildroot}/%{_datadir}/drirc.d # in Mesa-libGL-devel rm -rf %{buildroot}/%{_includedir}/GL @@ -876,6 +869,9 @@ rm %{buildroot}/%{_includedir}/gbm.h rm %{buildroot}/%{_libdir}/libgbm.so* rm %{buildroot}/%{_libdir}/pkgconfig/gbm.pc +# in KHR-devel +rm -rf %{buildroot}/%{_includedir}/KHR + %else %if 0%{?libglvnd} == 0 # Make a symlink to libGL.so.1.2 for compatibility (bnc#809359, bnc#831306) @@ -940,10 +936,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %postun libglapi0 -p /sbin/ldconfig -%post -n libwayland-egl1 -p /sbin/ldconfig - -%postun -n libwayland-egl1 -p /sbin/ldconfig - %post -n Mesa-libd3d -p /sbin/ldconfig %postun -n Mesa-libd3d -p /sbin/ldconfig @@ -952,7 +944,8 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files %license docs/license.html %doc docs/README* -%config %{_sysconfdir}/drirc +%dir %{_datadir}/drirc.d +%config %{_datadir}/drirc.d/* %files libEGL1 %if 0%{?libglvnd} @@ -966,12 +959,15 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files libEGL-devel %{_includedir}/EGL -%{_includedir}/KHR %if !0%{?libglvnd} %{_libdir}/libEGL.so %endif %{_libdir}/pkgconfig/egl.pc +%files KHR-devel +%dir %{_includedir}/KHR +%{_includedir}/KHR + %files libGL1 %if 0%{?libglvnd} %{_libdir}/libGLX_mesa.so* @@ -1016,8 +1012,8 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files libGLESv3-devel %{_includedir}/GLES3 -#%_libdir/libGLESv3.so -#%_libdir/pkgconfig/glesv3.pc +#%%_libdir/libGLESv3.so +#%%_libdir/pkgconfig/glesv3.pc %files -n libOSMesa8 %{_libdir}/libOSMesa.so.8.0.0 @@ -1028,15 +1024,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %{_libdir}/libOSMesa.so %{_libdir}/pkgconfig/osmesa.pc -%if 0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})) -%files -n libwayland-egl1 -%{_libdir}/libwayland-egl.so.1* - -%files -n libwayland-egl-devel -%{_libdir}/libwayland-egl.so -%{_libdir}/pkgconfig/wayland-egl.pc -%endif - %files -n libgbm1 %{_libdir}/libgbm.so.1* @@ -1196,7 +1183,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files -n Mesa-libVulkan-devel %dir %{_includedir}/vulkan -%{_includedir}/vulkan +%{_includedir}/vulkan/* %endif %changelog diff --git a/baselibs.conf b/baselibs.conf index 7f07edd..a8a8b35 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -23,7 +23,6 @@ Mesa-devel requires "Mesa-libglapi-devel- = " requires "libOSMesa-devel- = " requires "libgbm-devel- = " - requires "libwayland-egl-devel- = " requires "libglvnd-devel- >= 0.1.0" obsoletes "XFree86-Mesa-devel- xorg-x11-Mesa-devel-" provides "XFree86-Mesa-devel- xorg-x11-Mesa-devel-" @@ -40,21 +39,25 @@ Mesa-libGL1 requires "libglvnd- >= 0.1.0" Mesa-libGL-devel requires "Mesa-libGL1- = " + requires "Mesa-KHR-devel- = " requires "libglvnd-devel- >= 0.1.0" Mesa-libGLESv1_CM1 requires "libglvnd- >= 0.1.0" Mesa-libGLESv1_CM-devel requires "Mesa-libEGL-devel- = " requires "Mesa-libGLESv1_CM1- = " + requires "Mesa-KHR-devel- = " requires "libglvnd-devel- >= 0.1.0" Mesa-libGLESv2-2 requires "libglvnd- >= 0.1.0" Mesa-libGLESv2-devel requires "Mesa-libEGL-devel- = " requires "Mesa-libGLESv2-2- = " + requires "Mesa-KHR-devel- = " requires "libglvnd-devel- >= 0.1.0" Mesa-libGLESv3-devel requires "Mesa-libEGL-devel- = " + requires "Mesa-KHR-devel- = " libOSMesa8 obsoletes "libOSMesa9- < " provides "libOSMesa9- = " @@ -63,12 +66,6 @@ libOSMesa-devel libgbm1 libgbm-devel requires "libgbm1- = " -libwayland-egl-devel - targetarch aarch64 requires "libwayland-egl1- = " - targetarch ppc64 requires "libwayland-egl1- = " - targetarch ppc64le requires "libwayland-egl1- = " - targetarch s390x requires "libwayland-egl1- = " - targetarch x86_64 requires "libwayland-egl1- = " Mesa-libglapi0 Mesa-libglapi-devel requires "Mesa-libglapi0- = " @@ -105,7 +102,6 @@ libvdpau_nouveau libvdpau_r300 libvdpau_r600 libvdpau_radeonsi -libwayland-egl1 Mesa-dri-vc4 Mesa-dri-nouveau Mesa-dri diff --git a/mako_4_radv.patch b/mako_4_radv.patch deleted file mode 100644 index ac37124..0000000 --- a/mako_4_radv.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: mesa-18.1.2/m4/ax_check_python_mako_module.m4 -=================================================================== ---- mesa-18.1.2.orig/m4/ax_check_python_mako_module.m4 -+++ mesa-18.1.2/m4/ax_check_python_mako_module.m4 -@@ -48,8 +48,8 @@ try: - except ImportError as err: - sys.exit(err) - else: -- ver_req = map(int, '$1'.split('.')) -- ver_act = map(int, mako.__version__.split('.')) -+ ver_req = list(map(int, '$1'.split('.'))) -+ ver_act = list(map(int, mako.__version__.split('.'))) - sys.exit(int(ver_req > ver_act)) - " | $PYTHON2 - - diff --git a/mesa-18.1.7.tar.xz b/mesa-18.1.7.tar.xz deleted file mode 100644 index c5a0690..0000000 --- a/mesa-18.1.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:655e3b32ce3bdddd5e6e8768596e5d4bdef82d0dd37067c324cc4b2daa207306 -size 11136580 diff --git a/mesa-18.1.7.tar.xz.sha1sum b/mesa-18.1.7.tar.xz.sha1sum deleted file mode 100644 index aeb93b6..0000000 --- a/mesa-18.1.7.tar.xz.sha1sum +++ /dev/null @@ -1 +0,0 @@ -8f86e16a1c03665e55bc284c0e4a5b0a953bcadc mesa-18.1.7.tar.xz diff --git a/mesa-18.3.1.tar.xz b/mesa-18.3.1.tar.xz new file mode 100644 index 0000000..18eeb5d --- /dev/null +++ b/mesa-18.3.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b1f827d28684a25f6657289f8b7d47ac56395988c7ac23e0ec9a62b644bdc63 +size 11865960 diff --git a/mesa-18.3.1.tar.xz.sig b/mesa-18.3.1.tar.xz.sig new file mode 100644 index 0000000..c641a46 Binary files /dev/null and b/mesa-18.3.1.tar.xz.sig differ diff --git a/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch b/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch new file mode 100644 index 0000000..8638449 --- /dev/null +++ b/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch @@ -0,0 +1,32 @@ +From cd5af5c511b50890abe24d1e212ba9817f4074dd Mon Sep 17 00:00:00 2001 +From: Stefan Dirsch +Date: Tue, 11 Dec 2018 11:36:26 +0100 +Subject: [PATCH] Disable Xshm for now since it results in render errors + +Xshm results in render errors and missing screen refreshes on GNOME3 +in a qemu VM (cirrus emulation); see also +https://bugzilla.suse.com/show_bug.cgi?id=1118149 +--- + src/glx/drisw_glx.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c +index 7b99e49f00..d6bebfb292 100644 +--- a/src/glx/drisw_glx.c ++++ b/src/glx/drisw_glx.c +@@ -232,7 +232,11 @@ swrastXPutImage(__DRIdrawable * draw, int op, + ximage->bytes_per_line = stride ? stride : bytes_per_line(w * ximage->bits_per_pixel, 32); + ximage->data = data; + +- if (pdp->shminfo.shmid >= 0) { ++ /* disable Xshm for now since it results in render errors and missing screen refreshes ++ on GNOME3 in a qemu VM (cirrus emulation); see also ++ https://bugzilla.suse.com/show_bug.cgi?id=1118149 ++ */ ++ if (0 && pdp->shminfo.shmid >= 0) { + ximage->width = ximage->bytes_per_line / ((ximage->bits_per_pixel + 7)/ 8); + ximage->height = h; + XShmPutImage(dpy, drawable, gc, ximage, 0, 0, x, y, w, h, False); +-- +2.16.4 + diff --git a/n_drirc-disable-rgb10-for-chromium-on-amd.patch b/n_drirc-disable-rgb10-for-chromium-on-amd.patch new file mode 100644 index 0000000..f837ea3 --- /dev/null +++ b/n_drirc-disable-rgb10-for-chromium-on-amd.patch @@ -0,0 +1,15 @@ +Index: mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf +=================================================================== +--- mesa-18.3.0-rc2.orig/src/util/00-mesa-defaults.conf ++++ mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf +@@ -334,5 +334,10 @@ TODO: document the other workarounds. + + ++ ++ ++ ++ + + diff --git a/u_intel_anv-make-scripts-python-2-3-compat.patch b/u_intel_anv-make-scripts-python-2-3-compat.patch deleted file mode 100644 index 854bf64..0000000 --- a/u_intel_anv-make-scripts-python-2-3-compat.patch +++ /dev/null @@ -1,138 +0,0 @@ -Index: mesa-18.1.0-rc1/src/intel/vulkan/anv_extensions.py -=================================================================== ---- mesa-18.1.0-rc1.orig/src/intel/vulkan/anv_extensions.py -+++ mesa-18.1.0-rc1/src/intel/vulkan/anv_extensions.py -@@ -29,13 +29,15 @@ import copy - import re - import xml.etree.cElementTree as et - -+ - def _bool_to_c_expr(b): - if b is True: -- return 'true'; -+ return 'true' - elif b is False: -- return 'false'; -+ return 'false' - else: -- return b; -+ return b -+ - - class Extension: - def __init__(self, name, ext_version, enable): -@@ -43,11 +45,13 @@ class Extension: - self.ext_version = int(ext_version) - self.enable = _bool_to_c_expr(enable) - -+ - class ApiVersion: - def __init__(self, max_patch_version, enable): - self.max_patch_version = max_patch_version - self.enable = _bool_to_c_expr(enable) - -+ - # Supported API versions. Each one is the maximum patch version for the given - # version. Version come in increasing order and each version is available if - # it's provided "enable" condition is true and all previous versions are -@@ -60,7 +64,7 @@ API_VERSIONS = [ - ApiVersion('1.1.0', 'device->has_syncobj_wait'), - ] - --MAX_API_VERSION = None # Computed later -+MAX_API_VERSION = None # Computed later - - # On Android, we disable all surface and swapchain extensions. Android's Vulkan - # loader implements VK_KHR_surface and VK_KHR_swapchain, and applications -@@ -113,6 +117,7 @@ EXTENSIONS = [ - 'device->has_context_priority'), - ] - -+ - class VkVersion: - def __init__(self, string): - split = string.split('.') -@@ -146,14 +151,59 @@ class VkVersion: - patch = self.patch if self.patch is not None else 0 - return (self.major << 22) | (self.minor << 12) | patch - -- def __cmp__(self, other): -+ def __eq__(self, other): -+ # If only one of them has a patch version, "ignore" it by making -+ # other's patch version match self. -+ if (self.patch is None) != (other.patch is None): -+ other = copy.copy(other) -+ other.patch = self.patch -+ -+ return self.__int_ver() == other.__int_ver() -+ -+ def __ne__(self, other): -+ # If only one of them has a patch version, "ignore" it by making -+ # other's patch version match self. -+ if (self.patch is None) != (other.patch is None): -+ other = copy.copy(other) -+ other.patch = self.patch -+ -+ return self.__int_ver() != other.__int_ver() -+ -+ def __lt__(self, other): -+ # If only one of them has a patch version, "ignore" it by making -+ # other's patch version match self. -+ if (self.patch is None) != (other.patch is None): -+ other = copy.copy(other) -+ other.patch = self.patch -+ -+ return self.__int_ver() < other.__int_ver() -+ -+ def __le__(self, other): -+ # If only one of them has a patch version, "ignore" it by making -+ # other's patch version match self. -+ if (self.patch is None) != (other.patch is None): -+ other = copy.copy(other) -+ other.patch = self.patch -+ -+ return self.__int_ver() <= other.__int_ver() -+ -+ def __ge__(self, other): -+ # If only one of them has a patch version, "ignore" it by making -+ # other's patch version match self. -+ if (self.patch is None) != (other.patch is None): -+ other = copy.copy(other) -+ other.patch = self.patch -+ -+ return self.__int_ver() >= other.__int_ver() -+ -+ def __gt__(self, other): - # If only one of them has a patch version, "ignore" it by making - # other's patch version match self. - if (self.patch is None) != (other.patch is None): - other = copy.copy(other) - other.patch = self.patch - -- return self.__int_ver().__cmp__(other.__int_ver()) -+ return self.__int_ver() > other.__int_ver() - - - MAX_API_VERSION = VkVersion('0.0.0') -Index: mesa-18.1.0-rc1/src/intel/vulkan/anv_entrypoints_gen.py -=================================================================== ---- mesa-18.1.0-rc1.orig/src/intel/vulkan/anv_entrypoints_gen.py -+++ mesa-18.1.0-rc1/src/intel/vulkan/anv_entrypoints_gen.py -@@ -145,7 +145,7 @@ static const struct string_map_entry str - /* Hash table stats: - * size ${len(strmap.sorted_strings)} entries - * collisions entries: --% for i in xrange(10): -+% for i in range(10): - * ${i}${'+' if i == 9 else ' '} ${strmap.collisions[i]} - % endfor - */ -@@ -507,7 +507,7 @@ def get_entrypoints(doc, entrypoints_to_ - assert e.core_version is None - e.extensions.append(ext) - -- return [e for e in entrypoints.itervalues() if e.enabled] -+ return [e for e in entrypoints.values() if e.enabled] - - - def get_entrypoints_defines(doc): diff --git a/u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch b/u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch deleted file mode 100644 index b3d34d3..0000000 --- a/u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch +++ /dev/null @@ -1,137 +0,0 @@ -From 62f6252476505bf556d1ad9e7c58cf7c1c6e510c Mon Sep 17 00:00:00 2001 -From: Stefan Dirsch -Date: Thu, 1 Mar 2018 16:38:37 +0100 -Subject: [PATCH] r600/egd_tables.py: make the script python 2+3 compatible - -Patch by "Tomas Chvatal" with modifications -by "Michal Srb" to not break python 2. - -https://bugzilla.suse.com/show_bug.cgi?id=1082303 - -v2: -- no longer try to encode a unicode -- make use of 'from __future__ import print_function', so semantics - of print statements in python2 are closer to print functions in python3 - -https://lists.freedesktop.org/archives/mesa-dev/2018-February/187056.html - -Signed-off-by: Stefan Dirsch -Reviewed-by: Tomas Chvatal -Reviewed-by: Dylan Baker ---- - src/gallium/drivers/r600/egd_tables.py | 53 +++++++++++++++++----------------- - 1 file changed, 27 insertions(+), 26 deletions(-) - -diff --git a/src/gallium/drivers/r600/egd_tables.py b/src/gallium/drivers/r600/egd_tables.py -index d7b78c7fb1..4796456330 100644 ---- a/src/gallium/drivers/r600/egd_tables.py -+++ b/src/gallium/drivers/r600/egd_tables.py -@@ -1,3 +1,4 @@ -+from __future__ import print_function - - CopyRight = ''' - /* -@@ -60,7 +61,7 @@ class StringTable: - """ - fragments = [ - '"%s\\0" /* %s */' % ( -- te[0].encode('string_escape'), -+ te[0], - ', '.join(str(idx) for idx in te[2]) - ) - for te in self.table -@@ -217,10 +218,10 @@ def write_tables(regs, packets): - strings = StringTable() - strings_offsets = IntTable("int") - -- print '/* This file is autogenerated by egd_tables.py from evergreend.h. Do not edit directly. */' -- print -- print CopyRight.strip() -- print ''' -+ print('/* This file is autogenerated by egd_tables.py from evergreend.h. Do not edit directly. */') -+ print('') -+ print(CopyRight.strip()) -+ print(''' - #ifndef EG_TABLES_H - #define EG_TABLES_H - -@@ -242,20 +243,20 @@ struct eg_packet3 { - unsigned name_offset; - unsigned op; - }; --''' -+''') - -- print 'static const struct eg_packet3 packet3_table[] = {' -+ print('static const struct eg_packet3 packet3_table[] = {') - for pkt in packets: -- print '\t{%s, %s},' % (strings.add(pkt[5:]), pkt) -- print '};' -- print -+ print('\t{%s, %s},' % (strings.add(pkt[5:]), pkt)) -+ print('};') -+ print('') - -- print 'static const struct eg_field egd_fields_table[] = {' -+ print('static const struct eg_field egd_fields_table[] = {') - - fields_idx = 0 - for reg in regs: - if len(reg.fields) and reg.own_fields: -- print '\t/* %s */' % (fields_idx) -+ print('\t/* %s */' % (fields_idx)) - - reg.fields_idx = fields_idx - -@@ -266,34 +267,34 @@ struct eg_packet3 { - while value[1] >= len(values_offsets): - values_offsets.append(-1) - values_offsets[value[1]] = strings.add(strip_prefix(value[0])) -- print '\t{%s, %s(~0u), %s, %s},' % ( -+ print('\t{%s, %s(~0u), %s, %s},' % ( - strings.add(field.name), field.s_name, -- len(values_offsets), strings_offsets.add(values_offsets)) -+ len(values_offsets), strings_offsets.add(values_offsets))) - else: -- print '\t{%s, %s(~0u)},' % (strings.add(field.name), field.s_name) -+ print('\t{%s, %s(~0u)},' % (strings.add(field.name), field.s_name)) - fields_idx += 1 - -- print '};' -- print -+ print('};') -+ print('') - -- print 'static const struct eg_reg egd_reg_table[] = {' -+ print('static const struct eg_reg egd_reg_table[] = {') - for reg in regs: - if len(reg.fields): -- print '\t{%s, %s, %s, %s},' % (strings.add(reg.name), reg.r_name, -- len(reg.fields), reg.fields_idx if reg.own_fields else reg.fields_owner.fields_idx) -+ print('\t{%s, %s, %s, %s},' % (strings.add(reg.name), reg.r_name, -+ len(reg.fields), reg.fields_idx if reg.own_fields else reg.fields_owner.fields_idx)) - else: -- print '\t{%s, %s},' % (strings.add(reg.name), reg.r_name) -- print '};' -- print -+ print('\t{%s, %s},' % (strings.add(reg.name), reg.r_name)) -+ print('};') -+ print('') - - strings.emit(sys.stdout, "egd_strings") - -- print -+ print('') - - strings_offsets.emit(sys.stdout, "egd_strings_offsets") - -- print -- print '#endif' -+ print('') -+ print('#endif') - - - def main(): --- -2.13.6 - diff --git a/u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch b/u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch deleted file mode 100644 index 6aa3789..0000000 --- a/u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch +++ /dev/null @@ -1,33 +0,0 @@ -Author: Michal Srb -Subject: st/dri: don't set queryDmaBufFormats/queryDmaBufModifiers if the driver does not implement it -Patch-mainline: To be upstreamed -References: fdo#104926 - -This is equivalent to commit a65db0ad1c3, but for dri_kms_init_screen. Without -this gbm_dri_is_format_supported always returns false. - -Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104926 ---- - src/gallium/state_trackers/dri/dri2.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c -index 415002d2cd..59740b1301 100644 ---- a/src/gallium/state_trackers/dri/dri2.c -+++ b/src/gallium/state_trackers/dri/dri2.c -@@ -2162,8 +2162,10 @@ dri_kms_init_screen(__DRIscreen * sPriv) - dri2ImageExtension.createImageFromFds = dri2_from_fds; - dri2ImageExtension.createImageFromDmaBufs = dri2_from_dma_bufs; - dri2ImageExtension.createImageFromDmaBufs2 = dri2_from_dma_bufs2; -- dri2ImageExtension.queryDmaBufFormats = dri2_query_dma_buf_formats; -- dri2ImageExtension.queryDmaBufModifiers = dri2_query_dma_buf_modifiers; -+ if (pscreen->query_dmabuf_modifiers) { -+ dri2ImageExtension.queryDmaBufFormats = dri2_query_dma_buf_formats; -+ dri2ImageExtension.queryDmaBufModifiers = dri2_query_dma_buf_modifiers; -+ } - } - - sPriv->extensions = dri_screen_extensions; --- -2.13.6 - diff --git a/u_wayland_egl-Ensure-EGL-surface.patch b/u_wayland_egl-Ensure-EGL-surface.patch new file mode 100644 index 0000000..0c9b08f --- /dev/null +++ b/u_wayland_egl-Ensure-EGL-surface.patch @@ -0,0 +1,61 @@ +From 15ad1cb4502f00df6cec88e3cc9090449146a347 Mon Sep 17 00:00:00 2001 +From: Carlos Garnacho +Date: Tue, 20 Nov 2018 18:06:38 +0100 +Subject: [PATCH] wayland/egl: Ensure EGL surface is resized on DRI + update_buffers() + +Fullscreening and unfullscreening a totem window while playing a video +sometimes results in the video subsurface not changing size along. This +is also reproducible with epiphany. + +If a surface gets resized while we have an active back buffer for it, the +resized dimensions won't get neither immediately applied on the resize +callback, nor correctly synchronized on update_buffers(), as the +(now stale) surface size and currently attached buffer size still do match. + +There's actually 2 things to synchronize here, first the surface query +size might not be updated yet to the wl_egl_window's (i.e. resize_callback +happened while there is a back buffer), and second the wayland buffers +would need dropping if new surface size differs with the currently attached +buffer. These are done in separate steps now. + +https://bugzilla.redhat.com/show_bug.cgi?id=1650929 + +Signed-off-by: Carlos Garnacho +Tested-by: Bastien Nocera +--- + src/egl/drivers/dri2/platform_wayland.c | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c +index 8122c81128..d9e484eaed 100644 +--- a/src/egl/drivers/dri2/platform_wayland.c ++++ b/src/egl/drivers/dri2/platform_wayland.c +@@ -597,10 +597,8 @@ update_buffers(struct dri2_egl_surface *dri2_surf) + struct dri2_egl_display *dri2_dpy = + dri2_egl_display(dri2_surf->base.Resource.Display); + +- if (dri2_surf->base.Width != dri2_surf->wl_win->attached_width || +- dri2_surf->base.Height != dri2_surf->wl_win->attached_height) { +- +- dri2_wl_release_buffers(dri2_surf); ++ if (dri2_surf->base.Width != dri2_surf->wl_win->width || ++ dri2_surf->base.Height != dri2_surf->wl_win->height) { + + dri2_surf->base.Width = dri2_surf->wl_win->width; + dri2_surf->base.Height = dri2_surf->wl_win->height; +@@ -608,6 +606,11 @@ update_buffers(struct dri2_egl_surface *dri2_surf) + dri2_surf->dy = dri2_surf->wl_win->dy; + } + ++ if (dri2_surf->base.Width != dri2_surf->wl_win->attached_width || ++ dri2_surf->base.Height != dri2_surf->wl_win->attached_height) { ++ dri2_wl_release_buffers(dri2_surf); ++ } ++ + if (get_back_bo(dri2_surf) < 0) { + _eglError(EGL_BAD_ALLOC, "failed to allocate color buffer"); + return -1; +-- +2.19.1 +