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:	244
Size:	139.7 KB
ID:	1118333
    Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
    AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB (rendering) | GeForce GTX 1080 Ti FE 11GB (display) | GPU Driver 546.01 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

  • #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:	216
Size:	193.1 KB
ID:	1118412
      Last edited by Alex_M; 02-07-2021, 06:26 PM.
      Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
      AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB (rendering) | GeForce GTX 1080 Ti FE 11GB (display) | GPU Driver 546.01 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

      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.
            Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
            AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB (rendering) | GeForce GTX 1080 Ti FE 11GB (display) | GPU Driver 546.01 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

            Comment

            Working...
            X