Skip to contentSkip to conversation

intel/intel_bufmgr_gem.c:1361: do_bo_emit_reloc: Assertion `offset <= bo->size - 4' failed.

Bug 41913 [email protected] 1 participant 5 messages Oct 18, 2011 – Mar 3, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

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

Chris Wilson <[email protected]> changed:

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

         AssignedTo|[email protected]    |[email protected]
                   |                            |.org
            Product|DRI                         |Mesa
          Component|DRM/Intel                   |Drivers/DRI/i830
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 41913] [865] intel/intel_bufmgr_gem.c:1361: do_bo_emit_reloc: Assertion `offset <= bo->size - 4' failed.

In reply to a message not in the archive

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

Chris Wilson <[email protected]> changed:

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

            Summary|intel/intel_bufmgr_gem.c:13 |[865]
                   |61: do_bo_emit_reloc:       |intel/intel_bufmgr_gem.c:13
                   |Assertion `offset <=        |61: do_bo_emit_reloc:
                   |bo->size - 4' failed.       |Assertion `offset <=
                   |                            |bo->size - 4' failed.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 41913] [865] intel/intel_bufmgr_gem.c:1361: do_bo_emit_reloc: Assertion `offset <= bo->size - 4' failed.

In reply to a message not in the archive

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

Christopher Yeleighton <[email protected]> changed:

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

                URL|                            |https://bugs.kde.org/show_b
                   |                            |ug.cgi?id=292706

--- Comment #1 from Christopher Yeleighton <[email protected]> 2012-01-29 03:54:32 PST --- Ping from Bug KDE 292706

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 41913] [865] intel/intel_bufmgr_gem.c:1361: do_bo_emit_reloc: Assertion `offset <= bo->size - 4' failed.

In reply to a message not in the archive

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

Daniel Vetter <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #2 from Daniel Vetter <[email protected]> 2012-01-29 04:19:51 PST --- Can we have the full backtrace here for this bug, please? Plus versions of libdrm xf86-video-intel and mese. And maybe slightly more details as to how this happens.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
author Reviewed-by Eric Anholt
#5 lore raw

[Bug 41913] [865] intel/intel_bufmgr_gem.c:1361: do_bo_emit_reloc: Assertion `offset <= bo->size - 4' failed.

In reply to a message not in the archive

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

Eric Anholt <[email protected]> changed:

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

             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Eric Anholt <[email protected]> 2012-03-02 17:51:05 PST --- 3 links to bug reports elsewhere instead of putting the info in the bug report, and none of them even have a backtrace. Sigh.

Anyway, this got fixed thanks to another bug report:

commit 024ece7523f1735d2fca0067c0a3bdcf53fde8f9

Author: Kurt Roeckx <[email protected]>
Date:   Fri Mar 2 15:34:45 2012 -0800

i915: Compute maximum number of verts using the actual batchbuffer size.

We were looking at the size of batch.map for how big the batchbuffer was, but on 865 we just use a single-page batchbuffer due to hardware limits.

v2: Removed check for sizeof map < bo->size, since that's always false.
[change by anholt]
NOTE: This is a candidate for release branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41495

33b07893e92dcee495908c549be872887096c894

Author: Chris Wilson <[email protected]>
Date:   Wed Nov 9 22:21:16 2011 +0000

i830: Compute initial number of vertices from remaining batch space

In order to prevent an overflow of the batch buffer when emitting triangles, we need to limit the initial primitive to fit within the current batch. To do we need to measure the remaining space and thence compute the maximum number of vertices that fit into that space.

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

NOTE: This is a candidate for release branches.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.