Announcement

Collapse
No announcement yet.

GPU crash with Vantage / and LiveLink-connection question

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

  • GPU crash with Vantage / and LiveLink-connection question

    Hello,

    bug report:
    I was loading a huge scene, and the GPU crashed and workstation needed to be started without chance to close applications.
    Attached a screenshot taken with smartphone.
    Using 2 x gtx1080 ti

    Another question:
    How do I activate the Livelink?
    I opened the scene in Max, I exported a vrscene and I opened the vrscene simultaneously in Vantage.
    The LiveLink was shown as active (at least shown in menu of Vantage)

    But there wa no connection between 3dsMax (2021 Vray5) and Vantage.
    I did not find a description how to connect both.

    Thanks

    Click image for larger version  Name:	Vantage crash GPU IMG_3106.jpg Views:	0 Size:	525.8 KB ID:	1094365
    Attached Files

  • #2
    Hi

    We have a doc page about live linking here: https://docs.chaosgroup.com/display/LAV/Live+Link

    Is this option enabled in your Vantage? It should prevent most crashes, but it's possible it would still crash.
    Click image for larger version

Name:	prefs.png
Views:	1934
Size:	20.0 KB
ID:	1094371
    Attached Files
    Nikola Goranov
    Chaos Developer

    Comment


    • #3
      Thanks for the LiveLink page.

      The GPU options were already both enabled (I just installed it fresh and ran it as it was)

      Comment


      • #4
        Hi, dear support.

        The same on my side too...

        Click image for larger version

Name:	D3D ERROR_201204142418.jpg
Views:	2097
Size:	33.0 KB
ID:	1094520

        Click image for larger version

Name:	D3D ERROR_201204142434.png
Views:	2058
Size:	3.0 KB
ID:	1094521

        - I installed the latest V-Ray 5 Stable nightly.
        - Then opened this scene -> https://drive.google.com/file/d/1fvS...ew?usp=sharing in 3ds Max.
        - Then opened Chaos Vantage.
        - Started the Live link and my display was off, then turned on and I saw this crash.

        I have 2x2080Ti with Nvlink with Nvidia Studio Drivers 457.30 and when I try to start IPR without Chaos Vantage - everything is OK. And I can open .vrscene without 3ds max in Vantage. What's wrong with LiveLink? =)

        Then I saw another strange issue.

        When I started Vantage again - my screen was frozen... Then I tried to restart GPU Driver with WIN+CTRL+SHIFT+B and then again saw this D3D Error.

        How to fix this?

        Thank you and have a great day
        Best regards,
        Andrew.
        My tutorials channel - https://www.youtube.com/AndrewKrivulya
        Portfolio - https://www.artstation.com/artofcharly
        -----
        Win 10, 3080 - 16 Gb Laptop, 64Gb RAM, i9-11980HK - 5Ghz
        AERO 15 OLED YD

        Comment


        • #5
          Tested another scene and had the same crash. But fixed it with turned off "Safe GPU"

          Click image for larger version

Name:	Preferences_201204145726.jpg
Views:	2013
Size:	54.6 KB
ID:	1094530

          And had this FPS Speed =)

          Click image for larger version

Name:	Preferences_201204145739.jpg
Views:	1864
Size:	13.3 KB
ID:	1094531

          But the scene working without any crash.

          One question - Does Vantage support NVLink?

          Thank you and have a great weekend
          Best regards,
          Andrew.
          My tutorials channel - https://www.youtube.com/AndrewKrivulya
          Portfolio - https://www.artstation.com/artofcharly
          -----
          Win 10, 3080 - 16 Gb Laptop, 64Gb RAM, i9-11980HK - 5Ghz
          AERO 15 OLED YD

          Comment


          • #6
            The low framerate is likely worsened by the OS swapping memory back and forth between the GPU and main RAM. That happens when you allow overallocations by disabling the "safe" option.

            I think we discussed NVLink in another thread already. We support it as a faster bus for transferring data between the GPUs. It does not double the amount of memory each GPU can use. This would most likely require complicated code changes, it is not simply a magic switch. We will be looking into this issue though.

            Thanks for the scene, we will try to reproduce the crash. It sounds like the driver itself crashed or had a TDR timeout, because your screen went blank.
            Nikola Goranov
            Chaos Developer

            Comment


            • #7
              What Nikola said, but I have some more questions.

              You are most likely running out of GPU memory, which causes the crashes and slow down.

              I have 2x2080Ti with Nvlink with Nvidia Studio Drivers 457.30 and when I try to start IPR without Chaos Vantage - everything is OK. And I can open .vrscene without 3ds max in Vantage. What's wrong with LiveLink? =)
              When you start the live link, do you have the "use local host" option enabled, i.e. are you simultaneously running V-Ray GPU inside 3ds Max ?
              That will basically double the amount of GPU RAM you need, as both V-Ray GPU and Vantage will have copies of the data.

              Other GPU heavy applications running in the background, like 3dsMax, games or other renderers can also eat up the memory available to Vantage.
              You might have to run Vantage on a GPU that's not simultaneously used by 3ds Max in order to have more memory available.

              - Then opened this scene -> https://drive.google.com/file/d/1fvS...ew?usp=sharing in 3ds Max.
              Can you upload the full scene (.max file and textures) and send me a link on my e-mail.
              We need all of it to try to reproduce the issue and improve the code that checks for an "out of memory" condition, we might be able to avoid the crash.

              Greetings,
              Vladimir Nedev
              Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

              Comment


              • #8
                Hi npg
                Thank you for your answers. Yes, I understand, that NVlink doesn't double GPU RAM in Chaos Vantage, but this will be awesome if you will add this in the future. =)

                The low framerate is likely worsened by the OS swapping memory back and forth between the GPU and main RAM. That happens when you allow overallocations by disabling the "safe" option.
                So, as I understand, this is like turning on the "Out of Core" in V-ray. Right? =) And this is slow down the FPS =) Because scene eats more free GPU RAM than I have on 1x2080Ti, right? =)



                Hi vladimir.nedev

                So, I increase FPS to 20-30 with "use localhost". Thank you =) In the previous test, it was disabled...

                are you simultaneously running V-Ray GPU inside 3ds Max ?
                Like as in the tutorial. Selected "distribution render" - on and started IPR.

                Other GPU heavy applications running in the background, like 3dsMax, games or other renderers can also eat up the memory available to Vantage.
                I just started 3ds max + Vantage. There is no game and etc =)

                You might have to run Vantage on a GPU that's not simultaneously used by 3ds Max in order to have more memory available.
                So, your advice is to disable one GPU in V-ray 3ds max? Or how to do that? =) But why, when I don't use "Safe GPU" option - everything is ok? =)


                Can you upload the full scene (.max file and textures) and send me a link on my e-mail.
                Yes, no problem. Done =)

                We need all of it to try to reproduce the issue and improve the code that checks for an "out of memory" condition, we might be able to avoid the crash.
                Ok. I already sent the scene to your email. Please check =)

                Thank you and have a great day

                Best regards,
                Andrew.
                My tutorials channel - https://www.youtube.com/AndrewKrivulya
                Portfolio - https://www.artstation.com/artofcharly
                -----
                Win 10, 3080 - 16 Gb Laptop, 64Gb RAM, i9-11980HK - 5Ghz
                AERO 15 OLED YD

                Comment


                • #9
                  Yes, it's a bit similar to "Out of core", but it's handled by DirectX and the driver, not our code. The further you go beyond the available budget, the worse it could get for framerate, because it would need to swap more things. And it could crash at some point, so "safe" should be disabled with this in mind and only when necessary.

                  If you do not disable "use local host" V-Ray will also render the scene and you will both eat up your VRAM and compute cores. Vantage can run on a single GPU, but we haven't added UI for it yet (a bit more complicated than it sounds). If you run vantage.exe from the console with argument -d 0 it will use only the first device or -d 1 for only the second.
                  Nikola Goranov
                  Chaos Developer

                  Comment


                  • #10
                    So, I increase FPS to 20-30 with "use localhost". Thank you =) In the previous test, it was disabled...
                    Wait, that doesn't sound right, 'Use local host" should be unchecked/disabled .

                    So, your advice is to disable one GPU in V-ray 3ds max? Or how to do that? =)
                    I meant to disable one GPU for Vantage. Like Nikola explained, by using the command line options for Vantage.

                    But why, when I don't use "Safe GPU" option - everything is ok? =)
                    Because you are running "out-of-core" in this case.
                    Also, note that the Windows operating system will tell Vantage what its GPU memory budget is.
                    When the safe allocations are enabled, Vantage will try to fit within this budget.
                    There could be more GPU memory available, which the OS has set aside for other apps.
                    Hovering over the status bar in Vantage will tell you how much additional (marked as available) memory Vantage can use in addition to the memory already used - shown in the status bar.

                    Ok. I already sent the scene to your email. Please check =)
                    Thanks. The scene uses 8.08 GBs on my 2080 Ti at 720p resolution.
                    Not sure what resolution you use, but higher resolutions will use more memory.

                    The scene has very dense geometry (32 million unique triangles, most visible from the camera) which is part of the reason it's running relatively slow.

                    Greetings,
                    Vladimir Nedev
                    Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

                    Comment


                    • #11
                      Hi vladimir.nedev

                      These are my comments:

                      Wait, that doesn't sound right, 'Use local host" should be unchecked/disabled .
                      Strange, but at that time I turned on it =))))) Enabled =) Checked =) And FPS was increased =) But now I tested again and yeah, with this option Vray VFB rendering in parallel and this decrease FPS =)

                      I meant to disable one GPU for Vantage. Like Nikola explained, by using the command-line options for Vantage.
                      I'm not very familiar with the Vantage command line and I think, If I will disable the 1 GPU - FPS will be decreased twice =) I don't want this =)

                      Because you are running "out-of-core" in this case.
                      Also, note that the Windows operating system will tell Vantage what its GPU memory budget is.
                      When the safe allocations are enabled, Vantage will try to fit within this budget.
                      There could be more GPU memory available, which the OS has set aside for other apps.
                      Hovering over the status bar in Vantage will tell you how much additional (marked as available) memory Vantage can use in addition to the memory already used - shown in the status bar.
                      So. this means that on large stages that use more than 11 GB - I should turn off it every time. Right? Because I tested 5 scenes and every time I had this crazy crash, with turned off displays, then freeze and restart PC =) Because every time after the freeze, when I restart Driver with WIN+CTRL+SHIFT+B and started Vantage again - it was frozen again =) Until I restarted PC =)

                      Thanks. The scene uses 8.08 GBs on my 2080 Ti at 720p resolution.
                      Not sure what resolution you use, but higher resolutions will use more memory.

                      The scene has very dense geometry (32 million unique triangles, most visible from the camera) which is part of the reason it's running relatively slow.
                      Yes. this is a scene from Evermotion =) They create very dense scenes. That is I wanted to test it with my 2x2080TI and NVlink =) haha. Vantage is very fast, even with "Out of Core" vs standard IPR with NVlink =)) ahha. Very soon I will release a tutorial with my tests =) So thank you for this awesome software.

                      About the resolution. Hmm, I didn't change it. Just started 3ds max with this scene and Livelink =) So I used 720p too.

                      Thank you and have a great day
                      Best regards,
                      Andrew.


                      My tutorials channel - https://www.youtube.com/AndrewKrivulya
                      Portfolio - https://www.artstation.com/artofcharly
                      -----
                      Win 10, 3080 - 16 Gb Laptop, 64Gb RAM, i9-11980HK - 5Ghz
                      AERO 15 OLED YD

                      Comment


                      • #12
                        installed this thinking it would be useful for animatics - but it cant even handle a simple scene (albeit one with lots of proxies and 4-8k texture sets) nothing crazy though
                        this is on 2 x 2080s with NVlink

                        i will test this on my 3090 next but have to say unimpressed so far. how are other people loading such massive scenes in like in the feature video?

                        Comment


                        • #13
                          ok appear to be much better without live link - that seems to kill the GPU memory available.
                          looks like live link is not working as expected for me

                          edit - actually it fails on taking a snapshot of a 4k frame lol...

                          will have to try it on a simpler scene, still suffers from the same memory issues as vray gpu it seems
                          Last edited by squintnic; 06-12-2020, 09:52 PM.

                          Comment


                          • #14
                            Originally posted by squintnic View Post
                            ok appear to be much better without live link - that seems to kill the GPU memory available.
                            looks like live link is not working as expected for me

                            edit - actually it fails on taking a snapshot of a 4k frame lol...

                            will have to try it on a simpler scene, still suffers from the same memory issues as vray gpu it seems
                            Maybe they turn off the "Safe GPU" option? =)

                            ok appear to be much better without live link - that seems to kill the GPU memory available.
                            looks like live link is not working as expected for me
                            Still experimental, as mentioned in the docs =) I noticed the same, that Vantage without LiveLink works better =)

                            edit - actually it fails on taking a snapshot of a 4k frame lol...
                            On 3090? Or 2x2080Ti? If 2080Ti, try to disable the "Safe GPU" option. It helped me with the dense scenes.
                            My tutorials channel - https://www.youtube.com/AndrewKrivulya
                            Portfolio - https://www.artstation.com/artofcharly
                            -----
                            Win 10, 3080 - 16 Gb Laptop, 64Gb RAM, i9-11980HK - 5Ghz
                            AERO 15 OLED YD

                            Comment


                            • #15
                              but it cant even handle a simple scene (albeit one with lots of proxies and 4-8k texture sets) nothing crazy though
                              That doesn't sound like a simple scene to me.
                              In any case, Vantage is currently lacking on-demand mipmapping, which means your full textures will get loaded, with 4K textures this could be a lot of memory.
                              We will be working on this in the future.

                              this is on 2 x 2080s with NVlink
                              Like mentioned before, Vantage doesn't use NVLink to share memory.
                              We will most likely attempt this in the future, but it will surely lead to much worse performance, so it's not very high priority.

                              ok appear to be much better without live link - that seems to kill the GPU memory available.
                              looks like live link is not working as expected for me
                              Vantage shouldn't be using any more memory in "live link" mode.
                              However, 3ds Max can be using some of the GPU memory (this happens if 3dsMax is just running in the background and you open a .vrscene in Vantage).

                              edit - actually it fails on taking a snapshot of a 4k frame lol...
                              We need to improve memory usage with large resolutions.
                              There is quite a lot we could do there, but didn't have time for the release.
                              However, Vantage was designed to have the best interactivity possible, rendering large/print resolutions was never its goal.
                              V-Ray CPU/GPU will be better at this at least for some time.

                              Greetings,
                              Vladimir Nedev
                              Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

                              Comment

                              Working...
                              X