Announcement

Collapse
No announcement yet.

Issue with RT GPU on OS X

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

  • Issue with RT GPU on OS X

    Hi guys,

    I get this error when I try render with my egpu. Im on a MacBook pro with a built in Nvidia card. my MacBook Pro is a mid 2012 model. I also have a 980 ti in my egpu. octane works fine but if I render a cube in rt everything is fine but anything complex I get an error but not with octane so I think my graphics card can handle it. I think vray is trying to use my laptops graphics card. could I get some advice please. I attached my error dialog from modo.
    Attached Files

  • #2
    It seems like V-Ray is trying to use both devices. You should disable the laptop GPU for computing.
    You can do that by setting env var "VRAY_OPENCL_PLATFORMS_x64=980". If you don't know how to do that, it will be easier just to wait somebody from the Modo team to clarify if there is a way to do that from within the Modo UI.

    Best,
    Blago.
    V-Ray fan.
    Looking busy around GPUs ...
    RTX ON

    Comment


    • #3
      Thought as much, but yeah, I have no idea to do that. Thanks

      Comment


      • #4
        Keep in mind that due to the holidays season, it might take a bit longer than usual for the guys to check it .

        Best,
        Blago.
        V-Ray fan.
        Looking busy around GPUs ...
        RTX ON

        Comment


        • #5
          Hey Mnoloconic,

          Thank you for the feedback. Yes, I am able to reproduce the issue on MAC with the high dense model (13 Milion polygons). I will log it into our system and I'll keep you informed.

          You can still use V-Ray CPU as well.

          Happy holidays
          Boyan Nalchadjiiski | QA Engineer @ Chaos |
          E-mail: boyan.nalchadjiiski@chaos.com

          Comment


          • #6
            Hey Mnoloconic,

            Actually, I need to clarify something I made the tests without egpu on MAC so the issue is not relevant to your request. My fault.

            I will try to answer next week.

            Happy holidays
            Boyan Nalchadjiiski | QA Engineer @ Chaos |
            E-mail: boyan.nalchadjiiski@chaos.com

            Comment


            • #7
              Thank you. I would love to use gpu rendering. Although fantastic, the cpu is just a little too slow but still an incredible engine. Thanks for the help.

              Comment


              • #8
                Happy New Year!

                Greg, can you check how many cards you have to GPU and next to try once again V-Ray RT GPU. How to set up the GPU?

                Open the Application app navigate to ocldeviceselect.bin (if you're used the default installation path the file can be here /Application/ChaosGroup/V-Ray/MODO_x64/vraysl/).
                Run terminal, drop the bin file to it and press Enter. Check the devices and if you eGPU is not listed check the connections, if you see it on the list but don't have a checkmark just inserted it.

                Please, let me know if you have any question.

                Happy rendering.
                Boyan Nalchadjiiski | QA Engineer @ Chaos |
                E-mail: boyan.nalchadjiiski@chaos.com

                Comment


                • #9
                  Hi Boyan, Happy New Year to you too

                  I did what you said and I left my 650 off so it only used the 980, but still the same message came up in modo as the gpu failed. When I try deselect the 650 and keep the 980 ticked, after it fails again I go into terminal again and the tick is automatically added to the 650. I'm confused.
                  Last edited by Mnoloconic; 02-01-2018, 02:14 PM.

                  Comment


                  • #10
                    Hey Greg,

                    Thank you for the answer, I'm guessing but maybe you need root privileges when you've executed the commands. Open the Terminal -> type sudo press Enter -> type password and next drag and drop the bin file also check the Blago first post in this thread. You can add the command line to alias for the future usage.

                    It seems like V-Ray is trying to use both devices. You should disable the laptop GPU for computing.
                    You can do that by setting env var "VRAY_OPENCL_PLATFORMS_x64=980". If you don't know how to do that, it will be easier just to wait somebody from the Modo team to clarify if there is a way to do that from within the Modo UI.
                    You can google it how to set-up environment on MAC, maybe like that

                    defaults write ~/.MacOSX/environment "VRAY_OPENCL_PLATFORMS_x64=gtx 980"

                    or make a new .bash_profile and use BASH export options as well.

                    Cheers,
                    Last edited by boyan; 03-01-2018, 05:23 AM.
                    Boyan Nalchadjiiski | QA Engineer @ Chaos |
                    E-mail: boyan.nalchadjiiski@chaos.com

                    Comment


                    • #11
                      I did manage to get in with root privs. I left only the 980 ticked and clicked ?set devices?. The message I got was that everything was good to go. So launched Modo and tried the vray gpu render. I got the same dialog error. So I went back into terminal and noticed the 650 had a tick next to it too. So doing it that way didn?t work. No idea how to changed env variables so I guess I?m going to have to google it and try get this working. Is there no other way because it seems quite a task just to tell vray to use a certain gpu to render through?

                      Comment


                      • #12
                        Originally posted by Mnoloconic View Post
                        Is there no other way because it seems quite a task just to tell vray to use a certain gpu to render through?
                        In the other OSes it is quite straight forward to do that (we have dialogs in the host apps and the ocldeviceselect tool works ..).
                        In macOS we definetely have to improve that and it is in the todo list.

                        Sorry for the troubles.

                        Best,
                        Blago.
                        V-Ray fan.
                        Looking busy around GPUs ...
                        RTX ON

                        Comment


                        • #13
                          Hey, Greg,

                          Fast reply thank you. Can you try with V-Ray RT GPU Standalone version as well? The same setup for eGPU, just not using the MODO shell and only V-Ray.

                          How to run V-Ray for MODO Standalone and Standalone RT GPU. Open MODO -> Select the scene and export it as vrscene file. Run Terminal -> replace drag and drop with file path ./Application/ChaosGroup/V-Ray/MODO_x64/vraysl/vray.bin -sceneFile="DRAG_AND_DROP_VRSCENE" -rtEngine=5

                          Cheers,



                          Boyan Nalchadjiiski | QA Engineer @ Chaos |
                          E-mail: boyan.nalchadjiiski@chaos.com

                          Comment


                          • #14
                            Thank you for your quick responses too. I will be home inaround 5 hours I will check then. Thanks again for your help. I really appreciate it.

                            Comment


                            • #15
                              Hey, Greg

                              And one more try (I think this will work for you).

                              Open Terminal -> sudo nano /etc/profile

                              Find the line..(at the bottom)

                              ### Chaos registry vray_rt_opencl_device begin
                              export VRAY_OPENCL_PLATFORMS_X64="c++/cpu; apple geforce gt 650 gpu index 1; apple geforce gtx 980 index 2" - add this one or replace the first one.
                              ### Chaos registry vray_rt_opencl_device end

                              Close the file, and try once again.

                              Cheers,
                              Last edited by boyan; 03-01-2018, 06:37 AM.
                              Boyan Nalchadjiiski | QA Engineer @ Chaos |
                              E-mail: boyan.nalchadjiiski@chaos.com

                              Comment

                              Working...
                              X