Announcement

Collapse
No announcement yet.

RTX slower than CUDA with a particular scene

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

  • RTX slower than CUDA with a particular scene

    An interesting thing happens with a scene I'm working on at the moment. RTX is consistently 5-10% slower than CUDA. I would expect it to be close to CUDA with some scenes, but slower? That can't be normal, right? Please check the render times in History panel:

    Click image for larger version

Name:	vray_GPU_RTX_slowert_than_CUDA.jpg
Views:	271
Size:	139.7 KB
ID:	1118333
    Aleksandar Mitov
    www.renarvisuals.com
    office@renarvisuals.com

    3ds Max 2023.2.2 + Vray 7
    AMD Ryzen 9 9950X 16-core
    96GB DDR5
    GeForce RTX 3090 24GB + GPU Driver 565.90

  • #2
    it does happen.
    Marcin Piotrowski
    youtube

    Comment


    • #3
      Well, evidently it does. The question is, is this to be expected with some scenes or is it a bug? I don't remember the official docs and the RTX marketing materials mentioning that it can be slower. In fact, they make it seem that if you have an RTX card, you should always use RTX and that there are no drawbacks performance wise.

      Here's another example which is even more extreme. CUDA 30% faster than RTX:

      Click image for larger version

Name:	vray_GPU_RTX_slowert_than_CUDA2.jpg
Views:	239
Size:	193.1 KB
ID:	1118412
      Last edited by Alex_M; 02-07-2021, 06:26 PM.
      Aleksandar Mitov
      www.renarvisuals.com
      office@renarvisuals.com

      3ds Max 2023.2.2 + Vray 7
      AMD Ryzen 9 9950X 16-core
      96GB DDR5
      GeForce RTX 3090 24GB + GPU Driver 565.90

      Comment


      • #4
        it is to be expected. it was discussed somewhere here. there is not a lot of raytracing needed in your scene. hence cuda is faster. more raytracing - rtx, more shading - cuda. one of the real world scenarios is for example a scene containing a lot of foliage with opacity maps.
        Marcin Piotrowski
        youtube

        Comment


        • #5
          Hi Alex, as piotrus3333 suggested, in some cases it may be expected. The benefit from RTX will vary depending upon how your scene is constructed and how 'heavy' its shaders are. There might be some CUDA optimizations that are weighing in this scenario, but you can, of course, share the scene so we can test it out further. You can also check the following article (particularly the Mileage varies paragraph) here.
          Nikoleta Garkova | chaos.com

          Comment


          • #6
            Originally posted by nikoleta.garkova View Post
            Hi Alex, as piotrus3333 suggested, in some cases it may be expected. The benefit from RTX will vary depending upon how your scene is constructed and how 'heavy' its shaders are. There might be some CUDA optimizations that are weighing in this scenario, but you can, of course, share the scene so we can test it out further. You can also check the following article (particularly the Mileage varies paragraph) here.
            Thanks for the clarification, Nikoleta. I've actually read this article a few times before (and I've read it again just now), along with the other couple of RTX articles on the website and none of them state or even allude to the fact that RTX can be slower. Please correct me if I'm wrong. I think it would have been a good idea if this was communicated clearly and upfront in these articles and the help docs that there are cases where RTX can be slower, ideally with some examples of such scenes. Statements like "just try the new RTX engine out, as there’s no risk" (from the linked RTX article), along with the fact that none of the examples show cases where RTX can be slower, further solidify the idea for the user that RTX will always be faster and that there are no drawbacks. That's why I was surprised with my findings and posted this thread thinking there must be a bug with Vray.
            Last edited by Alex_M; 05-07-2021, 06:37 AM.
            Aleksandar Mitov
            www.renarvisuals.com
            office@renarvisuals.com

            3ds Max 2023.2.2 + Vray 7
            AMD Ryzen 9 9950X 16-core
            96GB DDR5
            GeForce RTX 3090 24GB + GPU Driver 565.90

            Comment

            Working...
            X