Skip to contentSkip to conversation

SegFault missing slots in framebuffer

Bug 111802 [email protected] 1 participant 2 messages Sep 24, 2019 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

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

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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

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

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

#1 lore raw

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

GitLab Migration User <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #1 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1432.

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

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