From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 111802] SegFault missing slots in framebuffer Date: Tue, 24 Sep 2019 13:47:35 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0967190430==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9BEB289CA8 for ; Tue, 24 Sep 2019 13:47:35 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0967190430== Content-Type: multipart/alternative; boundary="15693328551.0CeedCebf.9803" Content-Transfer-Encoding: 7bit --15693328551.0CeedCebf.9803 Date: Tue, 24 Sep 2019 13:47:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D111802 Bug ID: 111802 Summary: SegFault missing slots in framebuffer Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: not set Priority: not set Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: jeroen@blender.org QA Contact: dri-devel@lists.freedesktop.org This fault has been detected when using Blender (2.80 or master branch) Steps to reproduce the error: 1. Start Blender 2. Go to edit mode (press tab) 3. Start Merge vertices tool (press ALT-M) 4. Select any mode (press ENTER) And a segmentation fault happens. This has been tested on Mesa 18.2.2, 19.0.8 and 19.3.0~dev. The root cause is that you have a framebuffer with multiple color slots with empty slots in between. If there is an empty color slot between the color slots, all textures after this slot are apparently skipped/discarded. Our work around is to reuse empty slots with other slots. `gpu_framebuffer_update_attachments_and_fill_empty_slots` in https://developer.blender.org/diffusion/B/browse/master/source/blender/gpu/= intern/gpu_framebuffer.c$429-483 This issue also existed in the official AMD drivers, but has been solved to= our knowledge. https://developer.blender.org/T70187 --=20 You are receiving this mail because: You are the assignee for the bug.= --15693328551.0CeedCebf.9803 Date: Tue, 24 Sep 2019 13:47:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 111802
Summary SegFault missing slots in framebuffer
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity not set
Priority not set
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter jeroen@blender.org
QA Contact dri-devel@lists.freedesktop.org

This fault has been detected when using Blender (2.80 or maste=
r branch)
Steps to reproduce the error:

1. Start Blender
2. Go to edit mode (press tab)
3. Start Merge vertices tool (press ALT-M)
4. Select any mode (press ENTER)

And a segmentation fault happens.
This has been tested on Mesa 18.2.2, 19.0.8 and 19.3.0~dev.

The root cause is that you have a framebuffer with multiple color slots with
empty slots in between. If there is an empty color slot between the color
slots, all textures after this slot are apparently skipped/discarded.

Our work around is to reuse empty slots with other slots.
`gpu_framebuffer_update_attachments_and_fill_empty_slots`
in
https://developer.blender.org/=
diffusion/B/browse/master/source/blender/gpu/intern/gpu_framebuffer.c$429-4=
83

This issue also existed in the official AMD drivers, but has been solved to=
 our
knowledge.

https://developer.blender.=
org/T70187


You are receiving this mail because:
  • You are the assignee for the bug.
= --15693328551.0CeedCebf.9803-- --===============0967190430== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0967190430==--