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. Using DMA instead of SHM in non OpenGL apps (Wayland)
Forum Updated to NodeBB v4.3 + New Features

Using DMA instead of SHM in non OpenGL apps (Wayland)

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 672 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.
  • ehopperdietzelE Offline
    ehopperdietzelE Offline
    ehopperdietzel
    wrote on last edited by
    #1

    I have noticed that Qt uses shared memory for buffer sharing with Wayland compositors in non-OpenGL rendering applications. However, a more efficient approach would be to use the zwp_linux_dmabuf_v1 protocol. By creating a DMA buffer, mapping it, and performing CPU rendering there, the compositor could directly import the buffers into the GPU, eliminating the need for extra copies. This optimization would significantly improve performance, especially when scaling a large window on HiDPI displays, and the implementation on the Qt side should be almost identical to using shared memory.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      That's something you should bring to the development mailing list. You'll find there Qt's developers/maintainers. This is more a user forum.

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

      ehopperdietzelE 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        That's something you should bring to the development mailing list. You'll find there Qt's developers/maintainers. This is more a user forum.

        ehopperdietzelE Offline
        ehopperdietzelE Offline
        ehopperdietzel
        wrote on last edited by
        #3

        @SGaist Ups, sorry, I didn't know that.

        SGaistS 1 Reply Last reply
        0
        • ehopperdietzelE ehopperdietzel

          @SGaist Ups, sorry, I didn't know that.

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          No worries ! Please post a link to the thread if you open one so people can more easily find it :-)

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

          ehopperdietzelE 1 Reply Last reply
          0
          • SGaistS SGaist

            No worries ! Please post a link to the thread if you open one so people can more easily find it :-)

            ehopperdietzelE Offline
            ehopperdietzelE Offline
            ehopperdietzel
            wrote on last edited by
            #5

            @SGaist Ok, here is the thread link:
            https://lists.qt-project.org/pipermail/development/2023-August/044234.html

            1 Reply Last reply
            2

            • Login

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