All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 111802] SegFault missing slots in framebuffer
Date: Tue, 24 Sep 2019 13:47:35 +0000	[thread overview]
Message-ID: <bug-111802-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1543 bytes --]

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: 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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3078 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2019-09-24 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-24 13:47 bugzilla-daemon [this message]
2019-09-25 18:50 ` [Bug 111802] SegFault missing slots in framebuffer bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-111802-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.