<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000099" bgcolor="#ffffff">
    Sorry, should read,<br>
    ...if render Emitter and Parents are checked, Viewport performance
    is okay after Cycles render...<br>
    <br>
    Cycles Viewport is not affected<br>
    <div class="moz-forward-container"><br>
      <br>
      -------- Original Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
            </th>
            <td>Fwd: Re: [Bf-cycles] Blender Viewport performance issue
              after Cycles render (since changing to CUDA Toolkit 5.0)</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
            <td>Sun, 23 Jun 2013 23:56:36 +0100</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
            <td>David Black <a class="moz-txt-link-rfc2396E" href="mailto:db4tech@yahoo.co.uk">&lt;db4tech@yahoo.co.uk&gt;</a></td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:bf-cycles@blender.org">bf-cycles@blender.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      After further tests, systematically stripping my complex scene, I
      have been able to narrow it down to which object is affected.
      Leaving just a heavy particle carpet (particles made from complex
      geometry as an Object Group).<br>
      <br>
      I have also been able to identify when the Viewport F12 Cycles
      render issue happens.<br>
      <br>
      With the particle carpet, (Particle settings) if render Emitter
      and Parents are checked, Cycles Viewport performance is okay after
      Cycles render, if only Parents is checked, then the Viewport slows
      right down to a crawl until, either Viewport shading is changed to
      Texture shading then back to Solid shading, or scene is reloaded.<br>
      <br>
      Hope this is helpful!<br>
      David<br>
      <div class="moz-forward-container"><br>
        -------- Original Message --------
        <table class="moz-email-headers-table" border="0"
          cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:

              </th>
              <td>Re: [Bf-cycles] Blender Viewport performance issue
                after Cycles render (since changing to CUDA Toolkit 5.0)</td>
            </tr>
            <tr>
              <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date:
              </th>
              <td>Sun, 23 Jun 2013 22:17:12 +0100</td>
            </tr>
            <tr>
              <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From:
              </th>
              <td>David Black <a moz-do-not-send="true"
                  class="moz-txt-link-rfc2396E"
                  href="mailto:db4tech@yahoo.co.uk">&lt;db4tech@yahoo.co.uk&gt;</a></td>
            </tr>
            <tr>
              <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Reply-To:

              </th>
              <td><a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:bf-cycles@blender.org">bf-cycles@blender.org</a></td>
            </tr>
            <tr>
              <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
              <td><a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:bf-cycles@blender.org">bf-cycles@blender.org</a></td>
            </tr>
          </tbody>
        </table>
        <br>
        <br>
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">You are welcome.<br>
          <br>
          <pre wrap="">* What is the performance like with the NVidia card, is it also 2fps
or somewhere in between?</pre>
          <br>
          Tested NVIDIA GTX 580m (cannot test GTX 580 yet due to data
          backup), same result, Viewport slowdown to a crawl after F12
          Cycles render. Also tried an Intel HD 3000, plus a virtual
          machine, VMware running Windows 7 x64, same result in each
          case.<br>
          <br>
          As an aside, your requested tests have produced an interesting
          (none Cycles) finding, as I expected the GTX 580m is slower
          than a HD 3000 for Solid shaded Viewport (due to Double sided
          Normals), what I find interesting is, Texture shaded Viewport
          is faster (smoother) than Solid with a GTX 580m. If okay to
          ask, is this due to present OpenGL implementation, or does
          Texture shaded Viewport automatically disable doubled sided
          shading?<br>
          <br>
          Texture shaded is a little slower than Solid for HD 3000,
          which I imagine is due to processing performance.<br>
          <br>
          Would you still like me to test Viewport performance after F12
          Cycles render with a GTX 580, once data backup is finished?<br>
          <br>
          David<br>
          <div class="moz-signature">--
            <p style="font-size:small;"><a moz-do-not-send="true"
                href="http://www.3d-designs-davidblack.blogspot.com">3d-designs-davidblack.blogspot.com</a></p>
          </div>
          On 23/06/2013 20:12, Brecht Van Lommel wrote:<br>
        </div>
        <blockquote
cite="mid:CAKFUgC24AQ6Y+9PJA3Y+KbiAT2E5BNdtCArftFjqRxgAx8yX5Q@mail.gmail.com"
          type="cite">
          <pre wrap="">Thanks for the detailed reported, it will help a lot in fixing this bug.

On Sun, Jun 23, 2013 at 8:00 PM, David Black <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:db4tech@yahoo.co.uk">&lt;db4tech@yahoo.co.uk&gt;</a> wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">On 23/06/2013 18:03, Brecht Van Lommel wrote:

I have no idea how this is possible, all the toolkit changes is code
that runs on the NVidia graphics card, not how it interacts with other
graphics drivers. So perhaps it's another recent change in Cycles or
elsewhere in Blender that is causing this?

Apologies, not Toolkit 5.0 related, after performing your tests below
discovered it goes back further.


* What is the version number of the build before the toolkit change
that still gave good performance (to narrow down the revisions)?

blender-2.67-r57293-win64 is okay, Viewport performance same before and
after F12 Cycles render.

blender-2.67-r57348-mingw64 Is okay except for border render issue,
otherwise same as above.

blender-2.67-r57476-win64 First versions (I have) that shows the issue,
Viewport performance same as previous version until F12 Cycles render, then
very slow jerky Viewport performance.


* Does this really only happen with GPU rendering, CPU rendering does
not show the same issue?

Interesting test idea. Same issue after either GPU or CPU F12 Cycles render



* What is performance like with VBO's switched off before rendering
(in case the rendering somehow switches them off)?

Not as smooth, around 10-15fps but still faster than after rendering, which
then feels around 2fps.



* What is the performance like with the NVidia card, is it also 2fps
or somewhere in between?

Not yet tested, once wiring configurations are changed will email results.
Thought quick reply with above answers would be appreciated.


* Is a Blender restart needed or does reopening the scene solve the issue
too?


Interesting, reopening the same scene without restarting Blender also solves
the issue, until an F12 Cycles render is performed.

David


Can anyone else confirm this problem?

On Sun, Jun 23, 2013 at 5:36 PM, David Black <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:db4tech@yahoo.co.uk">&lt;db4tech@yahoo.co.uk&gt;</a> wrote:

Hi Brecht,

Just discovered an interesting issue, seems to have been introduced since
Blender changed to CUDA Toolkit 5.0. Not related to Cycles render speeds,
which consequently have received a great boost after code re-factoring.
Issue is connected with Viewport performance after performing a Cycles
render.

Issue outlined below:

Upon opening a complex scene, with a heavy particle system (particles
Viewport setting of 1, Child particles 0), Viewport navigation (VOBs
enabled) with an Intel HD 4000 (part of i7 CPU) is extremely fluid, like
30fps or more, (much slower on GTX 580 due to double sided Normals
restrictions).
With recent Blender versions, everything is fine until a F12 Cycles render
is performed (does not happen with Viewport render), after which Viewport
navigation becomes extremely sluggish, feels like 2fps. Hiding the heavy
particle object returns full Viewport performance, once object is unhidden
Viewport is back to a crawl. Closing and opening Blender with the same scene
and everything is back to normal, until the next F12 render is performed.

Blender versions prior to Toolkit 5.0 changes, Viewport performance remains
just as fluid after a F12 Cycles render, also tested Blender 2.67b.

Today's BuildBot version (official) blender-2.67-r57660-win64 produces the
sluggish Viewport issue after a F12 Cycles render.

David
--

3d-designs-davidblack.blogspot.com


_______________________________________________
Bf-cycles mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-cycles">http://lists.blender.org/mailman/listinfo/bf-cycles</a>

_______________________________________________
Bf-cycles mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-cycles">http://lists.blender.org/mailman/listinfo/bf-cycles</a>



_______________________________________________
Bf-cycles mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-cycles">http://lists.blender.org/mailman/listinfo/bf-cycles</a>

</pre>
          </blockquote>
          <pre wrap="">_______________________________________________
Bf-cycles mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-cycles">http://lists.blender.org/mailman/listinfo/bf-cycles</a>

</pre>
        </blockquote>
        <br>
        <br>
      </div>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>