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 669 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.
  • E Offline
    E Offline
    ehopperdietzel
    wrote on 4 Aug 2023, 20:38 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 5 Aug 2023, 20:10 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

      E 1 Reply Last reply 7 Aug 2023, 04:31
      0
      • S SGaist
        5 Aug 2023, 20:10

        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.

        E Offline
        E Offline
        ehopperdietzel
        wrote on 7 Aug 2023, 04:31 last edited by
        #3

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

        S 1 Reply Last reply 7 Aug 2023, 19:31
        0
        • E ehopperdietzel
          7 Aug 2023, 04:31

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

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Aug 2023, 19:31 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

          E 1 Reply Last reply 10 Aug 2023, 02:07
          0
          • S SGaist
            7 Aug 2023, 19:31

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

            E Offline
            E Offline
            ehopperdietzel
            wrote on 10 Aug 2023, 02:07 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

            1/5

            4 Aug 2023, 20:38

            • Login

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