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. OpenGL with export display
Forum Updated to NodeBB v4.3 + New Features

OpenGL with export display

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.8k 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
    elimac
    wrote on last edited by
    #1

    Hello,
    I use a computer without X server, and I want to run Qt-4.8.4 OpenGL demos and examples while exporting the display on another computer running an X server with OpenGL 4.4.

    I tested these demos :
    demos/boxes
    demos/qtdemo
    demos/sub-attaq
    demos/deform

    and I also tested all the examples/opengl programs :
    2dpainting, framebufferobject, framebufferobject2, grabber, hellogl, overpainting, pbuffers, pbuffers2, samplebuffers and textures.

    Only the grabber example worked. The other ones either crashed, were totally empty or displayed only non-OpenGL elements.
    The boxes demo displayed an error MessageBox saying that I needed OpenGL 1.5 to run it, whereas the distant machine has OpenGL 4.0.

    Is this normal ? Is there a way to use OpenGL with Qt on a remote display ?

    Thank you

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

      Hi and welcome to devnet,

      For this use case, I'd recommend asking this on the interest mailing list you'll find there Qt's 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
      • B Offline
        B Offline
        billconan
        wrote on last edited by
        #3

        I'm kinda surprised that there was one example worked. it seems to me that without x windows, opengl driver should not work at all.

        egl can support offline rendering, but it's not supported by nvidia driver I think.

        you can use mesa to do offline rendering and send it to remote computer in form of a video. and display the video on the other side.

        I knew someone did a remote opengl es on raspberry pi, can't find the link anymore.

        basically he sends opengl es commands via tcp.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          elimac
          wrote on last edited by
          #4

          X runs on the distant computer, so I think everything should work... Moreover, some OpenGL without Qt applications work, so OpenGL does not seem to be the problem....

          1 Reply Last reply
          0

          • Login

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