https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12020-03-26T11:17:02ZDolphin bug trackerEmulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7387992020-03-26T11:17:02Zryanebola16
<ul></ul><p>Stage download link: <a href="http://forums.kc-mm.com/Gallery/BrawlView.php?Number=31626" class="external">http://forums.kc-mm.com/Gallery/BrawlView.php?Number=31626</a></p>
<p>I looked into this a little further. I'm certain the problem has something to do with structures2.mdl0</p>
<p>Exporting then re-importing the model via BrawlBox did not change the problem so it's likely unrelated to materials or shaders.</p>
<p>This model has a very large number of facepoints for a model imported into Brawl (80969). Perhaps that is relevant here?</p>
Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7388032020-03-26T21:37:51Zryanebola16
<ul></ul><p>Removing some of the objects from the model made this problem go away. Now the question is does Dolphin rightfully complain about about the abnormally large model?</p>
Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7450502022-10-24T05:04:53ZJMC4789JMC4789@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Invalid</i></li></ul><p>I'm assuming it would crash on console. Feel free to reopen if the broken model works on Wii.</p>
Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7450512022-10-24T05:18:16ZJMC4789JMC4789@gmail.com
<ul><li><strong>Status</strong> changed from <i>Invalid</i> to <i>Accepted</i></li></ul><p>Oops, I didn't read.</p>
Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7457542023-01-03T01:04:12Zpokechu22
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-3 priority-high3 closed" href="/issues/6135">Emulator Issues #6135</a>: Super Mario Sunshine Grass Broken by Vertex Loader Cleanup</i> added</li></ul> Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7457552023-01-03T01:08:12Zpokechu22
<ul></ul><p>This is entirely a dolphin error, and in fact the message is incorrect (we already <em>do</em> reset them on flush). All that's happening is that you're sending more than 0xffff vertices with the same configuration; dolphin likes to merge together groups of vertices with the same configuration because that's faster, but at some point a new batch needs to be started. That message indicates that a new batch should be started; I'm pretty sure it just predates the code that actually started a new batch (it was added for <a class="issue tracker-1 status-3 priority-3 priority-high3 closed" title="Emulator Issues: Super Mario Sunshine Grass Broken by Vertex Loader Cleanup (Fixed)" href="https://bugs.dolphin-emu.org/issues/6135">#6135</a> in <a href="https://github.com/dolphin-emu/dolphin/commit/470c9ff08a79514f70666b0077ef5d2bedab8b3c" class="external">this 2013 commit</a>, and I <em>think</em> we start a new batch in <a href="https://github.com/dolphin-emu/dolphin/commit/52feed04dbf9d487138944ed834bd877620eef74" class="external">this 2014 commit</a> but I'm not 100% sure).</p>
Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7457622023-01-03T01:08:42Zpokechu22
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-2 priority-default closed" href="/issues/13136">Emulator Issues #13136</a>: Vertex Explosion in Pocoyo Racing</i> added</li></ul> Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7457652023-01-03T02:17:21Zpokechu22
<ul></ul><p>For reference, the grass in <a class="issue tracker-1 status-3 priority-3 priority-high3 closed" title="Emulator Issues: Super Mario Sunshine Grass Broken by Vertex Loader Cleanup (Fixed)" href="https://bugs.dolphin-emu.org/issues/6135">#6135</a> is rendered in 4 primitive commands, each containing 63000 vertices. The broken rendering of the grass was fixed in <a href="https://dolphin-emu.org/download/dev/470c9ff08a79514f70666b0077ef5d2bedab8b3c/" class="external">3.5-1063</a> (and is present in <a href="https://dolphin-emu.org/download/dev/59b360028404050b5e31de2c9618cb855917cad9/" class="external">3.5-1062</a>).</p>
<p>There was a regression in <a href="https://dolphin-emu.org/download/dev/bfd0b7275e8dee8a72563a1b897e7e53b09c9076/" class="external">4.0-699</a> which caused the "Too little remaining index values. Use 32-bit or reset them on flush." message to be spammed for the grass case; this did not happen in <a href="https://dolphin-emu.org/download/dev/650bae12e1ddbebe992714db9b3eb9d38f2621fe/" class="external">4.0-692</a>. More precisely, the regression happened in <a href="https://dolphin-emu.org/download/dev/52feed04dbf9d487138944ed834bd877620eef74/" class="external">StreamBuffers-4.0-695</a> and did not exist in <a href="https://dolphin-emu.org/download/dev/128fcdac26a9f7b6eb5174b88483c7ca023f210b/" class="external">StreamBuffers-4.0-694</a>. All that changed in that version was that <code>Flush()</code> no longer directly resets the index generator, but instead <code>PrepareForAdditionalData()</code> does it afterwards if a flush occurred, so the message is incorrectly shown. (I'm also a bit confused about the message saying "reset them on flush" as even in 3.5-1063 <code>Flush()</code> called <code>ResetBuffer()</code> which reset them.) Strangely this is <u>not</u> the version where this issue was introduced; I'm guessing something changed at some point that allowed the separate draws there to be merged together. But it's where the underlying issue came from.</p>
<p>For whatever reason I can't comment on <a class="issue tracker-1 status-3 priority-3 priority-high3 closed" title="Emulator Issues: Super Mario Sunshine Grass Broken by Vertex Loader Cleanup (Fixed)" href="https://bugs.dolphin-emu.org/issues/6135">#6135</a> (I think it uses a field that no longer exists), so I'm putting this here.</p>
Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7457672023-01-03T03:36:31Zpokechu22
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>Fix pending</i></li></ul><p><a href="https://github.com/dolphin-emu/dolphin/pull/11402" class="external">https://github.com/dolphin-emu/dolphin/pull/11402</a></p>
Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7457902023-01-07T22:36:22Zpokechu22
<ul><li><strong>Status</strong> changed from <i>Fix pending</i> to <i>Fixed</i></li><li><strong>Fixed in</strong> set to <i>5.0-18171</i></li></ul><p><a href="https://dolphin-emu.org/download/dev/cc14d60bbb9fd069e831bd3d84b8dc4fa1b3ddee/" class="external">https://dolphin-emu.org/download/dev/cc14d60bbb9fd069e831bd3d84b8dc4fa1b3ddee/</a></p>
Emulator - Emulator Issues #10312: VertexManagerBase.cpp:95 E[Video]: Too little remaining index values. Use 32-bit or reset them on flush. (non-fatal)https://bugs.dolphin-emu.org/issues/10312?journal_id=7468322024-01-15T05:54:45Zpokechu22
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-2 priority-default closed" href="/issues/13453">Emulator Issues #13453</a>: Trauma Team: Skeleton bug (Demons & Death mission)</i> added</li></ul>