Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 6 CUDA to OpenGL performance loss
Forum Updated to NodeBB v4.3 + New Features

Qt 6 CUDA to OpenGL performance loss

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 118 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mccartnm
    wrote on 21 Feb 2025, 18:09 last edited by
    #1

    We have an application that was running 5.15.X and are in the process of upgrading to 6.8.X.

    During our development in Qt5, we implemented NVDEC to decode movie files and used CUDA's excellent cuGrapghicsGLRegisterBuffer to copying from the cuda context into OGL textures provided by Qt.

    After upgrading, we 're seeing a huge spike in the CUDA device-to-device copy operation and we're wondering if something about the new RHI or other interface in Qt6 is causing the copy to switch contexts or something of the sort. We've lost a significant amount of performance but haven't changed the CUDA code in any way, only the Qt version.

    Any insight into how the render interfaces might have effected this would be great. We've confirmed that all RHI settings are OpenGL (desktop) via QSG_INFO=1 and the qt.rhi is reporting OpenGL and right graphics card.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Feb 2025, 20:00 last edited by
      #2

      Hi and welcome to devnet,

      Intriguing issue ! I would recommend bringing it to the interest mailing list. You'll find there Qt developers/maintainers. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      21 Feb 2025, 18:09

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved