iris sigsev under heavy load in ytiled_to_linear
Before submitting your bug report:
- Check if a new version of Mesa is available which might have fixed the problem.
- If you can, check if the latest development version (git master) works better.
- Check if your bug has already been reported here.
- For any logs, backtraces, etc - use code blocks
- As examples of good bug reports you may review one of these - #2598 (closed), #2615 (closed), #2608 (closed)
Otherwise, please fill the requested information below. And please remove anything that doesn't apply to keep things readable :)
System information
Please post inxi -GSC -xx
output OR fill information below manually
- OS: Arch Linux
- GPU: HD Graphics 530
- Kernel version: 5.6.4-arch1-1
- Mesa version: 4.6 (Compatibility Profile) Mesa 20.0.4
- Xserver version (if applicable): 1.20.8
- Desktop manager and compositor: XFWM4
If applicable
- DXVK version: N/A
- Wine/Proton version: N/A
Describe the issue
Under heavy load, when FPS are low, the program using mesa iris crashes with sigsev. A stack trace is attached.
Regression
Unknown if it is a regression.
Log files as attachment
- Backtrace. Short enough for pasting. The core file is massive (2.8G LZ4 compressed).
Please let me know if you need more stuff.
Core was generated by `./TransportFever'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f15ed1427d6 in _mm_stream_load_si128 (__X=0x0)
at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/smmintrin.h:584
584 return (__m128i) __builtin_ia32_movntdqa ((__v2di *) __X);
[Current thread is 1 (Thread 0x7f15f13a4ec0 (LWP 1806730))]
(gdb) bt
#0 0x00007f15ed1427d6 in _mm_stream_load_si128 (__X=0x0)
at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/smmintrin.h:584
#1 _memcpy_streaming_load (count=16, src=0x0, dest=0xf81f8fe0)
at ../mesa-20.0.4/src/intel/isl/isl_tiled_memcpy.c:577
#2 ytiled_to_linear (mem_copy_align16=<optimized out>, mem_copy=<optimized out>,
swizzle_bit=<optimized out>, dst_pitch=<optimized out>, src=<optimized out>, dst=0xf81f8fe0 "",
y3=<optimized out>, y0=<optimized out>, x3=<optimized out>, x2=<optimized out>,
x1=<optimized out>, x0=<optimized out>) at ../mesa-20.0.4/src/intel/isl/isl_tiled_memcpy.c:531
#3 ytiled_to_linear_faster (x0=0, x1=0, x2=128, x3=128, y0=y0@entry=0, y1=y1@entry=32,
dst=0xf81f8fe0 "", src=0x0, dst_pitch=512, swizzle_bit=0, copy_type=ISL_MEMCPY_STREAMING_LOAD)
at ../mesa-20.0.4/src/intel/isl/isl_tiled_memcpy.c:792
#4 0x00007f15ed144a03 in intel_tiled_to_linear (copy_type=ISL_MEMCPY_STREAMING_LOAD,
tiling=ISL_TILING_Y0, has_swizzling=false, src_pitch=512, dst_pitch=512, src=0x0,
dst=0xf81f8fe0 "", yt2=256, yt1=0, xt2=512, xt1=0)
at ../mesa-20.0.4/src/intel/isl/isl_tiled_memcpy.c:999
#5 _isl_memcpy_tiled_to_linear_sse41 (xt1=0, xt2=512, yt1=0, yt2=256, dst=0xf81f8fe0 "", src=0x0,
dst_pitch=512, src_pitch=512, has_swizzling=false, tiling=ISL_TILING_Y0,
copy_type=ISL_MEMCPY_STREAMING_LOAD) at ../mesa-20.0.4/src/intel/isl/isl_tiled_memcpy_sse41.c:58
#6 0x00007f15ed12e20d in isl_memcpy_tiled_to_linear (xt1=<optimized out>, xt2=<optimized out>,
yt1=<optimized out>, yt2=<optimized out>, dst=<optimized out>, src=src@entry=0x0, dst_pitch=512,
src_pitch=512, has_swizzling=<optimized out>, tiling=ISL_TILING_Y0,
copy_type=ISL_MEMCPY_STREAMING_LOAD) at ../mesa-20.0.4/src/intel/isl/isl.c:73
#7 0x00007f15ecf581e3 in iris_map_tiled_memcpy (map=0xf8104c90)
at ../mesa-20.0.4/src/gallium/drivers/iris/iris_resource.c:1712
#8 iris_transfer_map (ctx=<optimized out>, resource=<optimized out>, level=<optimized out>,
usage=<optimized out>, box=<optimized out>, ptransfer=<optimized out>)
at ../mesa-20.0.4/src/gallium/drivers/iris/iris_resource.c:1896
#9 0x00007f15ed2b3974 in u_transfer_helper_transfer_map (pctx=0x2083d30, prsc=0xdee37f00, level=0,
usage=2, box=0x7ffdf8f1cf10, pptrans=0x7ffdf8f1cfe8)
at ../mesa-20.0.4/src/gallium/auxiliary/util/u_transfer_helper.c:243
#10 0x00007f15ec43191b in pipe_transfer_map_3d (transfer=0x7ffdf8f1cfe8, d=<optimized out>, h=256,
w=256, z=0, y=0, x=1, access=2, level=<optimized out>, resource=<optimized out>,
context=<optimized out>) at ../mesa-20.0.4/src/gallium/auxiliary/util/u_inlines.h:509
#11 st_texture_image_map (st=st@entry=0x20aeaa0, stImage=stImage@entry=0xf7c75c80,
usage=usage@entry=PIPE_TRANSFER_WRITE, x=x@entry=0, y=y@entry=0, z=z@entry=0, w=256, h=256,
d=<optimized out>, transfer=0x7ffdf8f1cfe8)
at ../mesa-20.0.4/src/mesa/state_tracker/st_texture.c:279
#12 0x00007f15ec421078 in fallback_copy_texsubimage (height=256, width=256, srcY=0, srcX=0, slice=0,
destY=0, destX=0, baseFormat=<optimized out>, stImage=0xf7c75c80, strb=0x37a7fc0, ctx=0x2093d60)
at ../mesa-20.0.4/src/mesa/state_tracker/st_cb_texture.c:2323
#13 st_CopyTexSubImage (ctx=0x2093d60, dims=<optimized out>, texImage=0xf7c75c80, destX=0, destY=0,
slice=0, rb=0x37a7fc0, srcX=0, srcY=0, width=256, height=256)
at ../mesa-20.0.4/src/mesa/state_tracker/st_cb_texture.c:2562
#14 0x00007f15ec5be06d in copy_texture_sub_image (ctx=ctx@entry=0x2093d60, dims=dims@entry=2,
texObj=0xf750e390, texObj@entry=0x100, target=target@entry=3553, level=level@entry=0,
xoffset=<optimized out>, xoffset@entry=32533, yoffset=<optimized out>, zoffset=0,
x=<optimized out>, y=<optimized out>, width=<optimized out>, height=<optimized out>)
at ../mesa-20.0.4/src/mesa/main/teximage.c:4218
#15 0x00007f15ec5c1d52 in copy_texture_sub_image_err (ctx=ctx@entry=0x2093d60, dims=dims@entry=2,
texObj=0x100, target=target@entry=3553, level=level@entry=0, xoffset=32533, xoffset@entry=0,
yoffset=<optimized out>, zoffset=<optimized out>, x=<optimized out>, y=<optimized out>,
width=<optimized out>, height=<optimized out>, caller=0x7f15ed300f92 "glCopyTexSubImage2D")
--Type <RET> for more, q to quit, c to continue without paging--
at ../mesa-20.0.4/src/mesa/main/teximage.c:4256
#16 0x00007f15ec5c9ba7 in _mesa_CopyTexSubImage2D (target=3553, level=0, xoffset=0, yoffset=0, x=0,
y=0, width=256, height=256) at ../mesa-20.0.4/src/mesa/main/teximage.c:4629
#17 0x000000000058897f in ?? ()
#18 0x000000000058f509 in ?? ()
#19 0x0000000000595699 in ?? ()
#20 0x0000000000cd90ef in ?? ()
#21 0x0000000000cd9124 in ?? ()
#22 0x0000000000cd9124 in ?? ()
#23 0x0000000000cddea9 in ?? ()
#24 0x0000000000ce1793 in ?? ()
#25 0x000000000042c1a0 in ?? ()
#26 0x00000000004259f9 in ?? ()
#27 0x00007f15f2f14023 in __libc_start_main () from /usr/lib/libc.so.6
#28 0x000000000042a16f in ?? ()
Screenshots/video files (if applicable)
Not applicable.