Announcement

Collapse
No announcement yet.

3.30.02 beta + Max 2016 SP1: RT stuck when using activeshade as extended viewport

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3.30.02 beta + Max 2016 SP1: RT stuck when using activeshade as extended viewport

    Hi,

    I just installed 3.30.02 beta to check out how RT with ActiveShade performs, as I had some trouble in beta 1 (update rate of viewport navigation was quite slow and often getting stuck). Beta 2 seems to be a bit faster when ActiveShade is launched as floating VFB, but unfortunately whenever I try to launch ActiveShade as extended viewport, it remains stuck on "Waiting for image data..."

  • #2
    Bleh, completely forgot about the extended viewport. CPU or GPU? If you look at the vraylog.txt file, what does it say?

    Best regards,
    Vlado
    Last edited by vlado; 01-12-2015, 12:24 PM.
    I only act like I know everything, Rogers.

    Comment


    • #3
      Also, which 3ds Max version?

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #4
        Hi,

        3ds Max version is Max 2016 SP1 (as written in the thread title)

        Once I ran ActiveShade as extended viewport, this is what log printed:

        [2015/Dec/1|20:37:37] Building scene command queue...
        [2015/Dec/1|20:37:37] [VRayRTMax::renderThreadProc] Thread procedure entered
        [2015/Dec/1|20:37:37] [VRayRTMax::renderThreadProc] sendClose=0
        [2015/Dec/1|20:37:37] [VRayRTMax::renderThreadProc] Calling beginSequence()
        [2015/Dec/1|20:37:37] Preparing renderer...
        [2015/Dec/1|20:37:37] Preparing scene for rendering...
        [2015/Dec/1|20:37:37] 10 % completed.
        [2015/Dec/1|20:37:37] 20 % completed.
        [2015/Dec/1|20:37:37] 30 % completed.
        [2015/Dec/1|20:37:37] 40 % completed.
        [2015/Dec/1|20:37:37] 50 % completed.
        [2015/Dec/1|20:37:37] 60 % completed.
        [2015/Dec/1|20:37:37] 70 % completed.
        [2015/Dec/1|20:37:37] 80 % completed.
        [2015/Dec/1|20:37:37] 90 % completed.
        [2015/Dec/1|20:37:37] [RenderView] startCameraTime=0.000000, endCameraTime=2.000000

        [2015/Dec/1|20:37:37] [RenderView] numCameraTMs=4, numFrames=2, frameSamples=2

        [2015/Dec/1|20:37:37] 1 lights found.
        [2015/Dec/1|20:37:37] Using probabilistic light sampling with 16 lights.
        [2015/Dec/1|20:37:37] [RenderView] startCameraTime=0.000000, endCameraTime=2.000000

        [2015/Dec/1|20:37:37] [RenderView] numCameraTMs=4, numFrames=2, frameSamples=2

        [2015/Dec/1|20:37:37] Max ray intensity is enabled: rendered result may have incorrect brightness.
        [2015/Dec/1|20:37:37] [VRayRTMax::renderThreadProc] Calling beginFrame()
        [2015/Dec/1|20:37:37] ========================

        [2015/Dec/1|20:37:37] Starting frame 0.

        [2015/Dec/1|20:37:37] Preparing camera sampler.
        [2015/Dec/1|20:37:37] Preparing scene for frame...
        [2015/Dec/1|20:37:37] 10 % completed.
        [2015/Dec/1|20:37:37] 20 % completed.
        [2015/Dec/1|20:37:37] 30 % completed.
        [2015/Dec/1|20:37:37] 40 % completed.
        [2015/Dec/1|20:37:37] 50 % completed.
        [2015/Dec/1|20:37:37] 60 % completed.
        [2015/Dec/1|20:37:37] 70 % completed.
        [2015/Dec/1|20:37:37] 80 % completed.
        [2015/Dec/1|20:37:37] 90 % completed.
        [2015/Dec/1|20:37:37] Compiling geometry...
        [2015/Dec/1|20:37:37] 10 % completed.
        [2015/Dec/1|20:37:37] 20 % completed.
        [2015/Dec/1|20:37:37] 30 % completed.
        [2015/Dec/1|20:37:37] 40 % completed.
        [2015/Dec/1|20:37:37] 50 % completed.
        [2015/Dec/1|20:37:37] 60 % completed.
        [2015/Dec/1|20:37:37] 70 % completed.
        [2015/Dec/1|20:37:37] 80 % completed.
        [2015/Dec/1|20:37:37] 90 % completed.
        [2015/Dec/1|20:37:37] Preparing ray server.
        [2015/Dec/1|20:37:37] Using embree ray tracing.
        [2015/Dec/1|20:37:37] Building embree static trees took 216 milliseconds
        [2015/Dec/1|20:37:37] Scene bounding box is [-2851.17,-7276.48,-241.048]-[5968.87,7523.62,3304.14]
        [2015/Dec/1|20:37:37] Preparing direct light manager.
        [2015/Dec/1|20:37:37] 2 render channels in sequence data
        [2015/Dec/1|20:37:37] No additional render channels found; using optimized render channels calculations
        [2015/Dec/1|20:37:37] Preparing global light manager.
        [2015/Dec/1|20:37:37] Irradiance sample size is 84 bytes
        [2015/Dec/1|20:37:37] Using fast GI when possible
        [2015/Dec/1|20:37:37] Waiting for image data...
        [2015/Dec/1|20:37:37] [VRayRTMax::renderThreadProc] Calling renderImage()
        [2015/Dec/1|20:37:37] Running RTEngine
        [2015/Dec/1|20:37:37]
        New data index is 0
        [2015/Dec/1|20:37:37] Setting up 13 thread(s)
        [2015/Dec/1|20:37:37] Progressive sampling base buffer memory usage: 28.21 MB
        [2015/Dec/1|20:37:37] Noise threshold lowered to 0.142857 with 0.0 percent active pixels.
        [2015/Dec/1|20:37:37] Noise threshold lowered to 0.090909 with 0.0 percent active pixels.
        [2015/Dec/1|20:37:37] Noise threshold lowered to 0.052632 with 0.0 percent active pixels.
        [2015/Dec/1|20:37:37] Noise threshold lowered to 0.028571 with 0.0 percent active pixels.
        [2015/Dec/1|20:37:37] Noise threshold lowered to 0.014925 with 0.0 percent active pixels.
        [2015/Dec/1|20:37:37] Noise threshold lowered to 0.007634 with 0.0 percent active pixels.
        [2015/Dec/1|20:37:38] Final noise threshold set: 0.005000
        [2015/Dec/1|20:37:45] Threads completed
        [2015/Dec/1|20:37:45] Closing RTEngine (cancelled)
        [2015/Dec/1|20:37:45] Max. Mpaths per second: 4.830260
        [2015/Dec/1|20:37:45] Sampling level reached: 1 samples per pixel
        [2015/Dec/1|20:37:45] RT Frame took: 8.22s
        [2015/Dec/1|20:37:45] [VRayRTMax::renderThreadProc] Calling endFrame()
        [2015/Dec/1|20:37:45] Number of raycasts: 1153665 (3.29 per pixel)
        [2015/Dec/1|20:37:45] Camera rays: 1054556 (3.01 per pixel)
        [2015/Dec/1|20:37:45] Shadow rays: 36810 (0.11 per pixel)
        [2015/Dec/1|20:37:45] GI rays: 71651 (0.20 per pixel)
        [2015/Dec/1|20:37:45] Reflection rays: 0 (0.00 per pixel)
        [2015/Dec/1|20:37:45] Refraction rays: 0 (0.00 per pixel)
        [2015/Dec/1|20:37:45] Unshaded rays: 0 (0.00 per pixel)
        [2015/Dec/1|20:37:45] Clearing global light manager.
        [2015/Dec/1|20:37:45] Clearing direct light manager.
        [2015/Dec/1|20:37:45] Number of light evaluations: 72697 (0.21 per pixel)
        [2015/Dec/1|20:37:45] Clearing ray server.
        [2015/Dec/1|20:37:45] Clearing geometry.
        [2015/Dec/1|20:37:45] Number of intersectable primitives: 0
        [2015/Dec/1|20:37:45] SD triangles: 0
        [2015/Dec/1|20:37:45] MB triangles: 0
        [2015/Dec/1|20:37:45] Static primitives: 0
        [2015/Dec/1|20:37:45] Moving primitives: 0
        [2015/Dec/1|20:37:45] Infinite primitives: 0
        [2015/Dec/1|20:37:45] Static hair segments: 0
        [2015/Dec/1|20:37:45] Moving hair segments: 0
        [2015/Dec/1|20:37:45] Clearing camera image sampler.
        [2015/Dec/1|20:37:45] Clearing camera sampler.
        [2015/Dec/1|20:37:45] Clearing DMC sampler.
        [2015/Dec/1|20:37:45] Clearing path sampler.
        [2015/Dec/1|20:37:45] Clearing color mapper.
        [2015/Dec/1|20:37:45] [VRayRTMax::renderThreadProc] Calling endSequence()
        [2015/Dec/1|20:37:45] [VRayRTMax::renderThreadProc] Rendering failed
        [2015/Dec/1|20:37:45] [VRayRTMax::renderThreadProc] Exiting thread procedure
        [2015/Dec/1|20:37:46] 0 error(s), 0 warning(s)
        [2015/Dec/1|20:37:46] ================================
        [2015/Dec/1|20:37:46] VRenderer destructor entered.
        [2015/Dec/1|20:37:46] VRenderer destructor done.

        Comment


        • #5
          Ok thanks. Does it never update, or it updates only sporadically? I think I've seen that before...

          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment


          • #6
            Originally posted by vlado View Post
            Ok thanks. Does it never update, or it updates only sporadically? I think I've seen that before...

            Best regards,
            Vlado
            It does not do anything, just completely black screen. I've also got some problems with irregular updates and RT getting stuck, but that was Beta 1, and now it seems resolved in Beta 2, when rendering with floating VFB.

            I can also send you a scene if you want, but so far it happens in pretty much any scene i try.

            Comment


            • #7
              Ok, so this seems to be related to the V-Ray sun. Will fix it.

              Best regards,
              Vlado
              I only act like I know everything, Rogers.

              Comment


              • #8
                Does that apply even if V-Ray Sun is not present in the scene? Because the first scene I noticed it was not working in was scene lit by just one white untextured DomeLight.

                Comment


                • #9
                  Thanks for the feedback. We will do more research on the issue, it might be that the Dome light causes problems as well.
                  Zdravko Keremidchiev | chaos.com
                  Chaos Support Representative | contact us

                  Comment


                  • #10
                    Hi,

                    is this still being worked on? I am using 3.30.04 and ActiveShade as extended viewport still mostly doesn't work. It is stuck in camera view that's centered in scene origin and looking exactly down on Z axis. It doesn't synchronize perspective or camera view regardless of if "view to render" choice is locked in render settings or not.

                    Comment


                    • #11
                      Hello,

                      I managed to reproduce similar behavior if the view I change to extended viewport was initially some orthographic view - for example Left/Front or something like this. In that case I get some fixed view that doesn't react to any navigation. This is something we should check..
                      Is this your case ?


                      If I first change the view to Perspective or some camera - it starts the way it was but if I move something in another viewport it now reacts as expected.

                      Best regards,
                      Yavor
                      Yavor Rubenov
                      V-Ray for 3ds Max developer

                      Comment


                      • #12
                        Originally posted by yavor.rubenov View Post
                        Hello,

                        I managed to reproduce similar behavior if the view I change to extended viewport was initially some orthographic view - for example Left/Front or something like this. In that case I get some fixed view that doesn't react to any navigation. This is something we should check..
                        Is this your case ?


                        If I first change the view to Perspective or some camera - it starts the way it was but if I move something in another viewport it now reacts as expected.

                        Best regards,
                        Yavor
                        Yep, that's the exact behavior I am experiencing. That's my case. Launching it from perspective/camera view works fine.

                        Comment


                        • #13
                          I'm having a similar problem. If I start RT as a CPU render it launches the FBuffer and works fine. If I then try OpenCL it freezes with "Waiting for Data." If I then try Cuda, the FBuffer will come up for about 1/2 second and then disappear. Now none of the 3 protocols will work. I have to restart Max to get back to where CPU will work.

                          Here is a section from my log. I see some things in the last 20 lines or so that might indicate the problem but I don't know how to interpret them:

                          [VRayRTMax::renderThreadProc] Calling renderImage()
                          [2016/Feb/22|22:43:48] Running RTEngine
                          [2016/Feb/22|22:43:48] Initializing CUDA renderer (single kernel version)...
                          [2016/Feb/22|22:43:48] Querying for CUDA devices...
                          [2016/Feb/22|22:43:48] warning: Environment variable VRAY_OPENCL_PLATFORMS_x64 not found - using all available devices
                          [2016/Feb/22|22:43:48] Device Quadro K5200 has compute capability 3.5
                          [2016/Feb/22|22:43:48] Device Timeouts: 1
                          [2016/Feb/22|22:43:48] Setting CUDA stack size to 14000
                          [2016/Feb/22|22:43:48] error: [VRayRTMax::renderThreadProc] Exception occurred during rendering
                          [2016/Feb/22|22:43:48] [VRayRTMax::renderThreadProc] Calling endFrame()
                          [2016/Feb/22|22:43:48] Number of raycasts: 0 (0.00 per pixel)
                          [2016/Feb/22|22:43:48] Camera rays: 0 (0.00 per pixel)
                          [2016/Feb/22|22:43:48] Shadow rays: 0 (0.00 per pixel)
                          [2016/Feb/22|22:43:48] GI rays: 0 (0.00 per pixel)
                          [2016/Feb/22|22:43:48] Reflection rays: 0 (0.00 per pixel)
                          [2016/Feb/22|22:43:48] Refraction rays: 0 (0.00 per pixel)
                          [2016/Feb/22|22:43:48] Unshaded rays: 0 (0.00 per pixel)
                          [2016/Feb/22|22:43:48] Clearing global light manager.
                          [2016/Feb/22|22:43:48] Clearing direct light manager.
                          [2016/Feb/22|22:43:48] Number of light evaluations: 0 (0.00 per pixel)
                          [2016/Feb/22|22:43:48] Clearing ray server.
                          [2016/Feb/22|22:43:48] Clearing geometry.
                          [2016/Feb/22|22:43:48] Number of intersectable primitives: 0
                          [2016/Feb/22|22:43:48] SD triangles: 0
                          [2016/Feb/22|22:43:48] MB triangles: 0
                          [2016/Feb/22|22:43:48] Static primitives: 0
                          [2016/Feb/22|22:43:48] Moving primitives: 0
                          [2016/Feb/22|22:43:48] Infinite primitives: 0
                          [2016/Feb/22|22:43:48] Static hair segments: 0
                          [2016/Feb/22|22:43:48] Moving hair segments: 0
                          [2016/Feb/22|22:43:48] Clearing camera image sampler.
                          [2016/Feb/22|22:43:48] Clearing camera sampler.
                          [2016/Feb/22|22:43:48] Clearing DMC sampler.
                          [2016/Feb/22|22:43:48] Clearing path sampler.
                          [2016/Feb/22|22:43:48] Clearing color mapper.
                          [2016/Feb/22|22:43:48] [VRayRTMax::renderThreadProc] Calling endSequence()
                          [2016/Feb/22|22:43:54] [VRayRTMax::renderThreadProc] Closing ActiveShade window
                          [2016/Feb/22|22:43:54] [VRayRTMax::renderThreadProc] Rendering failed
                          [2016/Feb/22|22:43:54] [VRayRTMax::renderThreadProc] Exiting thread procedure
                          [2016/Feb/22|22:43:54] error: 1 error(s), 1 warning(s)
                          [2016/Feb/22|22:43:54] ================================
                          [2016/Feb/22|22:43:54] VRenderer destructor entered.
                          [2016/Feb/22|22:43:54] VRenderer destructor done.
                          [2016/Feb/22|22:47:07] [VRender] Constructor entered.
                          [2016/Feb/22|22:47:07] Setting default filter kernel.
                          [2016/Feb/22|22:47:07] "default" preset not loaded: [loadPreset] Preset name "default" not found
                          [2016/Feb/22|22:47:07] [VRender] Constructor done.
                          [2016/Feb/22|22:47:07] error: Unrecoverable error happened during the last V-Ray RT session. Restart 3ds Max to continue using V-Ray RT.
                          [2016/Feb/22|22:47:10] error: 1 error(s), 0 warning(s)
                          [2016/Feb/22|22:47:10] ================================
                          [2016/Feb/22|22:47:10] VRenderer destructor entered.
                          [2016/Feb/22|22:47:10] VRenderer destructor done.
                          [2016/Feb/22|22:47:10] [VRender] Constructor entered.
                          [2016/Feb/22|22:47:10] Setting default filter kernel.
                          [2016/Feb/22|22:47:10] "default" preset not loaded: [loadPreset] Preset name "default" not found
                          [2016/Feb/22|22:47:10] [VRender] Constructor done.
                          [2016/Feb/22|22:47:10] error: Unrecoverable error happened during the last V-Ray RT session. Restart 3ds Max to continue using V-Ray RT.
                          [2016/Feb/22|22:47:11] error: 1 error(s), 0 warning(s)
                          [2016/Feb/22|22:47:11] ================================
                          ------------------------------------------------------------
                          V-Ray 6.20.06, 3ds Max (3D Studio thru Max 2025), GIGABYTE X570 AORUS Master Motherboard, Ryzen 9 3950x CPU, Noctua NH-D15S CPU Cooler, 128 GB G.SKILL Trident Z Neo DDR4 Ram, NVidia RTX 4090, Space Pilot Pro, Windows 11, Tri-Monitor, Cintiq 13HD
                          -----------------------------------------
                          Autodesk Expert Elite Member
                          ------------------------------------------------------------

                          Comment


                          • #14
                            Hello,

                            Seeing from the log You have a Quadro K5200 - I guess you mean you try CUDA not OpenCL ? (For nVidia GPUs you should always use CUDA - it'll be faster).

                            If CUDA crashes - does it happen on any scene or only on some of them ?

                            Best regards,
                            Yavor
                            Yavor Rubenov
                            V-Ray for 3ds Max developer

                            Comment


                            • #15
                              Yavor,

                              No, I mean OpenCL and Cuda. The workflow I posted is "exactly" what I did to diagnose and generate the log. I was trying all options to get them to work. It happens on ALL files. I made a new one with just a single teapot and it fails. I have the newest NVidia drivers from this month and I reinstalled V-Ray.

                              What's interesting about the 3 types of RT renders is that they all support different features. CPU supports features that OpenCL and Cuda do not. And, OpenCL supports some that Cuda doesn't so it really boils down to what you need to see. Yes Cuda is faster but if it doesn't render what I need I have to drop back to OpenCL or CPU.

                              I hope we can figure out what is wrong.
                              ------------------------------------------------------------
                              V-Ray 6.20.06, 3ds Max (3D Studio thru Max 2025), GIGABYTE X570 AORUS Master Motherboard, Ryzen 9 3950x CPU, Noctua NH-D15S CPU Cooler, 128 GB G.SKILL Trident Z Neo DDR4 Ram, NVidia RTX 4090, Space Pilot Pro, Windows 11, Tri-Monitor, Cintiq 13HD
                              -----------------------------------------
                              Autodesk Expert Elite Member
                              ------------------------------------------------------------

                              Comment

                              Working...
                              X