Opened 4 years ago

Closed 4 years ago

#13072 closed enhancement (fixed)

mesa-19.3.3

Reported by: Douglas R. Reno Owned by: Bruce Dubbs
Priority: normal Milestone: 9.1
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New point version

Hi list,

I'd like to announce mesa 19.3.3. This release was delayed due to bugs caught in
CI that needed to be resolved before the release could be made. Due to the
slightly longer cycle there's slightly more patches than would normally be
present in the release.

I've also started using a new script to find the patches in master to pick, so
please ignore any .pick_status.json: commits, they're generated by the new
script.

There's plenty of changes here, but intel, docs, radeonsi, and aco are the
biggest sets of changes.

Dylan


Shortlog
========

Adam Jackson (1):
      drisw: Cache the depth of the X drawable

Andrii Simiklit (1):
      mesa/st: fix a memory leak in get_version

Bas Nieuwenhuizen (2):
      radv: Disable VK_EXT_sample_locations on GFX10.
      radv: Remove syncobj_handle variable in header.

Caio Marcelo de Oliveira Filho (1):
      intel/fs: Only use SLM fence in compute shaders

Daniel Schürmann (2):
      aco: fix unconditional demote_to_helper
      aco: rework lower_to_cssa()

Dylan Baker (5):
      docs: add SHA256 sums for 19.3.2
      cherry-ignore: Update for 19.3.3
      .pick_status.json: Update to c787b8d2a16d5e2950f209b1fcbec6e6c0388845
      docs: Add relnotes for 19.3.3 release
      VERSION: bump version to 19.3.3

Eric Anholt (1):
      mesa: Fix detection of invalidating both depth and stencil.

Eric Engestrom (1):
      meson: use github URL for wraps instead of completely unreliable wrapdb

Erik Faye-Lund (8):
      docs: fix typo in html tag name
      docs: fix paragraphs
      docs: open paragraph before closing it
      docs: use code-tag instead of pre-tag
      docs: use code-tags instead of pre-tags
      docs: use code-tags instead of pre-tags
      docs: move paragraph closing tag
      docs: remove double-closed definition-list

Francisco Jerez (3):
      glsl: Fix software 64-bit integer to 32-bit float conversions.
      intel/fs/gen11+: Handle ROR/ROL in lower_simd_width().
      intel/fs/gen8+: Fix r127 dst/src overlap RA workaround for EOT message payload.

Hyunjun Ko (1):
      turnip: fix invalid VK_ERROR_OUT_OF_POOL_MEMORY

Jan Vesely (1):
      clover: Initialize Asm Parsers

Jason Ekstrand (8):
      anv: Flag descriptors dirty when gl_NumWorkgroups is used
      intel/vec4: Support scoped_memory_barrier
      intel/blorp: Fill out all the dwords of MI_ATOMIC
      anv: Don't over-advertise descriptor indexing features
      anv: Memset array properties
      anv/blorp: Rename buffer image stride parameters
      anv: Canonicalize buffer formats for image/buffer copies
      anv: Stop allocating WSI event fences off the instance

Jonathan Marek (1):
      st/mesa: don't lower YUV when driver supports it natively

Kenneth Graunke (2):
      intel/compiler: Fix illegal mutation in get_nir_image_intrinsic_image
      intel: Fix aux map alignments on 32-bit builds.

Lasse Lopperi (1):
      freedreno/drm: Fix memory leak in softpin implementation

Lionel Landwerlin (4):
      anv: fix intel perf queries availability writes
      anv: only use VkSamplerCreateInfo::compareOp if enabled
      intel/perf: expose timestamp begin for mdapi
      intel/perf: report query split for mdapi

Marek Olšák (4):
      ac/gpu_info: always use distributed tessellation on gfx10
      radeonsi: work around an LLVM crash when using llvm.amdgcn.icmp.i64.i1
      radeonsi: clean up how internal compute dispatches are handled
      radeonsi: don't invoke decompression inside internal launch_grid

Nataraj Deshpande (1):
      egl/android: Restrict minimum triple buffering for android color_buffers

Pierre-Eric Pelloux-Prayer (8):
      radeonsi: release saved resources in si_retile_dcc
      radeonsi: release saved resources in si_compute_expand_fmask
      radeonsi: release saved resources in si_compute_clear_render_target
      radeonsi: release saved resources in si_compute_copy_image
      radeonsi: release saved resources in si_compute_do_clear_or_copy
      radeonsi: fix fmask expand compute shader
      radeonsi: make sure fmask expand is done if needed
      util: call bind_sampler_states before setting sampler_views

Rhys Perry (8):
      aco: set vm for pos0 exports on GFX10
      aco: fix imageSize()/textureSize() with large buffers on GFX8
      aco: fix uninitialized data in the binary
      aco: set exec_potentially_empty for demotes
      aco: disable add combining for ds_swizzle_b32
      aco: don't DCE atomics with return values
      aco: check if multiplication/clamp is live when applying output modifier
      aco: fix off-by-one error when initializing sgpr_live_in

Samuel Pitoiset (2):
      radv: only use VkSamplerCreateInfo::compareOp if enabled
      radv: fix double free corruption in radv_alloc_memory()

Samuel Thibault (1):
      meson: Do not require libdrm for DRI2 on hurd

Tapani Pälli (1):
      egl/android: fix buffer_count for applications setting max count

Thong Thai (1):
      mesa: Prevent _MaxLevel from being less than zero

Timur Kristóf (1):
      aco/gfx10: Fix VcmpxExecWARHazard mitigation.




git tag: mesa-19.3.3

Attachments (1)

mesa-19.3.3-fix_svga_vmwgfx_segfaults-1.patch (9.0 KB ) - added by Douglas R. Reno 4 years ago.
Fix SVGA and VMWGFX segmentation faults that prevent X from starting

Download all attachments as: .zip

Change History (4)

comment:1 by Bruce Dubbs, 4 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Douglas R. Reno, 4 years ago

The SVGA driver needs a patch to work, and has been broken since 19.2.0 with the introduction of OpenGL 4.5 and Vulkan 1.1, but it has gotten worse with the introduction of OpenGL 4.6. Without this, trying to start X on anything that needs the SVGA driver results in a segmentation fault like so:

[   822.674] (EE) 
[   822.674] (EE) Backtrace:
[   822.674] (EE) 0: /usr/libexec/Xorg (xorg_backtrace+0x40) [0x588230]
[   822.674] (EE) 1: /usr/libexec/Xorg (0x400000+0x18bba8) [0x58bba8]
[   822.674] (EE) 2: /lib/libpthread.so.0 (0x7f8231f9d000+0x130f0) [0x7f8231fb00f0]
[   822.674] (EE) 3: /lib/libc.so.6 (gsignal+0x141) [0x7f8231700771]
[   822.674] (EE) 4: /lib/libc.so.6 (abort+0x127) [0x7f82316ea55b]
[   822.674] (EE) 5: /lib/libc.so.6 (0x7f82316c8000+0x2242f) [0x7f82316ea42f]
[   822.674] (EE) 6: /lib/libc.so.6 (0x7f82316c8000+0x310a2) [0x7f82316f90a2]
[   822.674] (EE) 7: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0x4cde73) [0x7f822ab5be73]
[   822.674] (EE) 8: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0x4ce1d7) [0x7f822ab5c1d7]
[   822.674] (EE) 9: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0x4ceb6c) [0x7f822ab5cb6c]
[   822.674] (EE) 10: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0x6d3d52) [0x7f822ad61d52]
[   822.674] (EE) 11: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0x6d4d9d) [0x7f822ad62d9d]
[   822.674] (EE) 12: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0x5fee08) [0x7f822ac8ce08]
[   822.674] (EE) 13: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0x5fee57) [0x7f822ac8ce57]
[   822.674] (EE) 14: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0xcea72) [0x7f822a75ca72]
[   822.674] (EE) 15: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0xca060) [0x7f822a758060]
[   822.674] (EE) 16: /usr/lib/dri/vmwgfx_dri.so (0x7f822a68e000+0xc7255) [0x7f822a755255]
[   822.674] (EE) 17: /usr/lib/libgbm.so.1 (0x7f822b9ef000+0x564e) [0x7f822b9f464e]
[   822.674] (EE) 18: /usr/lib/libgbm.so.1 (0x7f822b9ef000+0x59f8) [0x7f822b9f49f8]
[   822.674] (EE) 19: /usr/lib/libgbm.so.1 (gbm_create_device+0x44) [0x7f822b9f2654]
[   822.674] (EE) 20: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x53) [0x7f822ba181b3]
[   822.674] (EE) 21: /usr/lib/xorg/modules/drivers/modesetting_drv.so (0x7f822ba44000+0xaeb3) [0x7f822ba4eeb3]
[   822.674] (EE) 22: /usr/libexec/Xorg (InitOutput+0x9da) [0x47e20a]
[   822.674] (EE) 23: /usr/libexec/Xorg (0x400000+0x42fc4) [0x442fc4]
[   822.674] (EE) 24: /lib/libc.so.6 (__libc_start_main+0xeb) [0x7f82316ebdeb]
[   822.674] (EE) 25: /usr/libexec/Xorg (_start+0x2a) [0x42df7a]
[   822.674] (EE)
[   822.674] (EE)
Fatal server error:
[   822.674] (EE) Caught signal 6 (Aborted). Server aborting
[   822.674] (EE)
[   822.674] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   822.676] (EE) Please also check the log file at "/home/renodr/.local/share/xorg/Xorg.0.log" for additional information.
[   822.676] (EE)
[   822.678] (EE) Server terminated with error (1). Closing log file.

I traced this down originally to one of three things last night: The Kernel (ruled out after upgrading to 5.5 and reverting to the previous version of 5.2.14 that was on this system), Xorg-Server (downgraded to 1.20.5 and had no difference), and Mesa (I tried versions all the way back to 19.1.6 which was the last known one to work with this system). After this, I did some digging this morning to find out that OpenGL 4.5 and Vulkan support was facilitated in the kernel via additional memory management routines in Linux-5.3+, and did some more digging through PRs in the SVGA driver for Mesa (SVGA == vmwgfx in the tree).

After reaching out to them on IRC early this morning, some fixes were made that resulted in the patch that I've attached to allow it to function. It's also confirmed that it's been broken since 19.2.0.

by Douglas R. Reno, 4 years ago

Fix SVGA and VMWGFX segmentation faults that prevent X from starting

comment:3 by Bruce Dubbs, 4 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 22613.

Note: See TracTickets for help on using tickets.