Announcement

Collapse
No announcement yet.

Setting default task priority for VRaySpawner service in Win

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

  • Setting default task priority for VRaySpawner service in Win

    Hi Guys,
    thanks to Chaos for the backdated ver of VRay, I've finally got my DR up and running again.

    Now for a quick question - does anyone know how I can set the VRaySpawner60.exe service and 3dsviz.exe which is called from it to run at the "Lowest Priority" setting in Windows? This way nobody in the office will know I'm leeching their processors....


    Cheers
    -- DJ

  • #2
    This should help.

    http://xona.com/2004/07/22.html

    Comment


    • #3
      Thanks,
      but I'm not sure how I can implement that with vrayspawner.

      I've tried putting in a batch (3dsviz.bat) file:
      start "viz" /low "c:\program files\autodesk viz 2005\3dsviz.exe"

      then changing the vrayspawner ini file to call the batch file instead, but that just opened about 15 copies then gave me a BSOD.

      Hmm. I almost need someone to write an app that watches for the task to start, then switch's it's priority.

      Any other ideas?
      -- DJ

      Edit: It actually opened about 30 copies... lol

      Comment


      • #4
        hmmmm LOL 30 hey... hahah that is odd.
        Did you try the batch file by itself just to see if it opened viz properly in the first place?

        Im pretty sure there are apps around.. for instance i know there was one that would change the CPU affinity of a program when it started.. so im SURE there would be one for changing the process.

        Google

        Comment


        • #5
          havent tried this program but it looks like it might do what you want it to:

          http://www.liutilities.com/products/...papers/paper5/

          I pulled it up with a Google search for:

          "task manager priorities"
          LunarStudio Architectural Renderings
          HDRSource HDR & sIBL Libraries
          Lunarlog - LunarStudio and HDRSource Blog

          Comment


          • #6
            Thanks,
            but I've got my programmer making a quick little application which polls at a set interval, checks if viz is running then sets it to a low priority.

            I'll post when it's done.

            Cheers.
            -- DJ

            Comment


            • #7
              wicked!!!

              Jujubee:
              I have seen that around seem pretty cool.

              Comment


              • #8
                This will work too (well it works in Max not sure if viz supports sysinfo.maxpriority in maxscript)


                Just create a .ms in in .../scripts/startup containing:
                Code:
                try (if maxfilename == "vraydummy60.max" then sysinfo.maxpriority = #low)
                	catch ()
                Eric Boer
                Dev

                Comment


                • #9
                  This one is even simpler:

                  http://www.scriptspot.com/download.asp?ID=2410&inf=1

                  Comment


                  • #10
                    handy scripts

                    I always knock max down to atleast "belownormal" before starting any work.
                    So i will certainly find a use for these.

                    Comment


                    • #11
                      Ooh, handy - thanks.

                      Now I have a new problem - my Distributed Rendering has started playing up again
                      The older release hasn't made a difference. The render node returns black squares, even though the paths are correct. I can render the scene on that PC by itself, but can't use it was a render node. Nooo!

                      Is anyone able to write some clear instructions/post settings for using backburner with split scanline and vray? I tried it the other day but it outputted an extremely morphed image!

                      Cheers
                      -- DJ

                      Comment


                      • #12
                        There's also ProcessSwitch, a freeware app that changes priority of tasks (recommended here at the end). It's worked well for me. You can pick it up at http://www.majorgeeks.com/ProcessSwitch_d429.html
                        www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

                        Comment

                        Working...
                        X