[Bug 36978] Radeon 7500 [rv200] - hardware tcl don't work corretly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 9 06:57:18 PDT 2011


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

--- Comment #8 from Alex Deucher <agd5f at yahoo.com> 2011-05-09 06:57:17 PDT ---
(In reply to comment #7)
> and one moment about  "I'd start with r200EnsureEmitSize() in r200_tcl.c"
> rv200 is an R100-based chipset, so driver is r100

radeonEnsureEmitSize() in radeon_tcl.c is called from radeon_run_tcl_render().
radeonEnsureEmitSize() walks through the pending state to make sure it will all
fit in the current command buffer, but it appears to be missing some additional
state that's being emitted.  If you run the game from the terminal, it should
print out a warning:
   if (emit_end < rmesa->radeon.cmdbuf.cs->cdw)
      WARN_ONCE("Rendering was %d commands larger than predicted size."
          " We might overflow  command buffer.\n", rmesa->radeon.cmdbuf.cs->cdw
- emit_end);


Most likely:
radeonEmitArrays()
radeonEmitEltPrimitive()
radeonEmitPrimitive()
is emitting more state than radeonEnsureEmitSize() thinks it should.

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


More information about the dri-devel mailing list