Skip to contentSkip to conversation

egl segfault since gallium/radeon: implement PIPE_CAP_INVALIDATE_BUFFER

Bug 93737 [email protected] 1 participant 5 messages Jan 16, 2016 – Jan 18, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=93737

Bug ID: 93737
Summary: egl segfault since gallium/radeon: implement
PIPE_CAP_INVALIDATE_BUFFER
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

R9285 first noticed trying to set up wayland/weston, bisected with eglgears_x11.

Since -

commit 321140d563730b210e6390c5b73c09fdcf9649af

Author: Nicolai Hähnle <[email protected]>
Date:   Thu Jan 14 09:41:04 2016 -0500

gallium/radeon: implement PIPE_CAP_INVALIDATE_BUFFER

I get segfaults trying to run egl.

bt from gears

Program received signal SIGSEGV, Segmentation fault. 0x00007ffff239fb23 in r600_do_invalidate_resource (rctx=0x692b30, rbuffer=0x0) at r600_buffer_common.c:219
219 if (rctx->ws->buffer_is_user_ptr(rbuffer->buf))
(gdb) bt
#0 0x00007ffff239fb23 in r600_do_invalidate_resource (rctx=0x692b30, rbuffer=0x0) at r600_buffer_common.c:219
#1 0x00007ffff2210dd2 in dri_flush (cPriv=<optimized out>, dPriv=<optimized out>, flags=5, reason=<optimized out>) at dri_drawable.c:496
#2 0x00007ffff645ddb8 in dri2_x11_swap_buffers_msc (msc=0, divisor=0, remainder=0, drv=<optimized out>, draw=0x6f9160, disp=<optimized out>) at drivers/dri2/platform_x11.c:837
#3 dri2_x11_swap_buffers (drv=<optimized out>, disp=<optimized out>, draw=0x6f9160) at drivers/dri2/platform_x11.c:873
#4 0x00007ffff6453d76 in eglSwapBuffers (dpy=0x62af30, surface=<optimized out>) at main/eglapi.c:1010

#5  0x0000000000403a71 in _eglutNativeEventLoop () at eglut_x11.c:249
#6  0x000000000040328b in eglutMainLoop () at eglut.c:272
#7  0x0000000000401d16 in main (argc=1, argv=0x7fffffffe108) at eglgears.c:298
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=93737

--- Comment #1 from Nicolai Hähnle <[email protected]> --- Sorry for the regression. I believe Michel already has a fix for this, see
https://patchwork.freedesktop.org/patch/70592/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=93737

--- Comment #2 from Nicolai Hähnle <[email protected]> --- You may also need this one: https://patchwork.freedesktop.org/patch/70593/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=93737

Michel D�nzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Michel D�nzer <[email protected]> ---
Module: Mesa
Branch: master
Commit: 0491dd1deb46ca77545322c53e90f86ae244cdae URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0491dd1deb46ca77545322c53e90f86ae244cdae

Author: Michel D�nzer <[email protected]>
Date:   Fri Jan 15 15:46:31 2016 +0900

st/dri: Don't call invalidate_resource for NULL depth/stencil buffers

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel