Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt WebGL Streaming without GPU
Forum Updated to NodeBB v4.3 + New Features

Qt WebGL Streaming without GPU

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 754 Views 2 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.
  • C Offline
    C Offline
    condo4
    wrote on 29 Jan 2020, 10:03 last edited by
    #1

    Hi all,

    On https://www.qt.io/blog/2018/11/23/qt-quick-webgl-release-512 in the "Use cases" topic, I can read that WegGL Streaming can be used with low-end device without GPU.
    I'm very interesting by this feature...

    I have an already working solution, in the same "environment" (Qt 5.12.6, Linux 4.9, Yocto branch "warrior"), but on a Wandboard (iMX6 with Vivante GPU, with open source driver armada+etnaviv and Xorg).

    I'm currently trying to use it with a "Zynq 7000" eval board (Xilinx CPU + FPGA in a simple chip but without GPU).

    But, I can't build the qtwebglplugin because I can't find the good "configure" options.
    On many Qt WebGL blog pages, I can read that to enable Qt WebGL Plugin, I need to build with "-open es" configure option.
    But, on a device without GPU, I need to build Qt with the "-no-opengl" configure option...

    My question is : Is it possible to build the Qt WebGL plugin for hardware without GPU (with -no-opengl ?) and which version used ? (I'm trying with 5.12, perhaps 5.14 fix this issue ?)

    Thanks for any solutions or lead to resolve this issue.
    Fabien

    1 Reply Last reply
    0
    • C Offline
      C Offline
      condo4
      wrote on 21 Feb 2020, 10:18 last edited by
      #2

      I find the solution myself.
      With Yocto branch Warrior (Qt 5.12), I build Qt with OpenGL enable:

      PACKAGECONFIG_GL_pn-qtbase = "gles2"
      PACKAGECONFIG_append_pn-mesa += "gles"
      

      In this case, like I said, a QML application is very slow, butn if I set the variable

      export QMLSCENE_DEVICE=softwarecontext
      

      The application works like with no-opengl.

      And, I'm able to run this application in WebGL, by adding " -platform webgl:port=xxx" option (in this case, QMLSCENE_DEVICE must be unset)

      P 1 Reply Last reply 21 Feb 2020, 14:32
      3
      • C condo4
        21 Feb 2020, 10:18

        I find the solution myself.
        With Yocto branch Warrior (Qt 5.12), I build Qt with OpenGL enable:

        PACKAGECONFIG_GL_pn-qtbase = "gles2"
        PACKAGECONFIG_append_pn-mesa += "gles"
        

        In this case, like I said, a QML application is very slow, butn if I set the variable

        export QMLSCENE_DEVICE=softwarecontext
        

        The application works like with no-opengl.

        And, I'm able to run this application in WebGL, by adding " -platform webgl:port=xxx" option (in this case, QMLSCENE_DEVICE must be unset)

        P Offline
        P Offline
        Pablo J. Rogina
        wrote on 21 Feb 2020, 14:32 last edited by
        #3

        @condo4 said in Qt WebGL Streaming without GPU:

        I find the solution myself.

        great and thank you for sharing it.
        please don't forget to mark this post as solved then!

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        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