Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-81807

WebPage which needs webgl cannot be opened

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 5.12.5
    • WebEngine
    • None
    • Linux/X11

    Description

       The following tester tries to open the url which needs webgl, ("http://carvisualizer.plus360degrees.com/threejs") using WebEngineView, but it failed to open it. 

       

      I was using Qt 5.12.5

      It works on MacOSX.

      However, this failed on Ubuntu 18.04 and Embedded linux (Jetson TX2)

      import QtQuick 2.12
      import QtQuick.Window 2.12
      import QtWebEngine 1.3
      
      Window {
          id: root
          width: 1280
          height: 720
          visible: true
      
          WebEngineView {
              id: webView
              anchors.fill: parent
              url: "http://carvisualizer.plus360degrees.com/threejs/"
          }
      }
      

       

      The log shows as below

      [Ubuntu 18.04]

       

      QML debugging is enabled. Only use this in a safe environment.
       WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
       js: The Web Audio autoplay policy will be re-enabled in Chrome 70 (October 2018). Please check that your website is compatible with it. https://goo.gl/7K7WLu
       js: Error creating WebGL context.
       js: Uncaught TypeError: Cannot read property 'getExtension' of null
       js: Uncaught TypeError: Cannot read property 'render' of undefined 
      

       

      [Jetson TX2]

      "DBUS_SESSION_BUS_ADDRESS" "unix:abstract=/tmp/dbus-iSo0fHyrPh,guid=a424382f7b5108d647bcd2805dde85e2"
       "QML2_IMPORT_PATH" "/data/user/qt/qmlplugins"
       "QSG_RENDER_LOOP" "basic"
       "QTWEBENGINE_DISABLE_SANDBOX" "1"
       "QT_IM_MODULE" "qtvirtualkeyboard"
       "QT_QPA_EGLFS_FORCE888" "0"
       "QT_QUICK_CONTROLS_1_STYLE" "Flat"
       "XDG_RUNTIME_DIR" "/run/user/0"
       "/opt/Test/bin/Test" ("--backend", "webkit")
       QML debugging is enabled. Only use this in a safe environment.
       Setting framebuffer size is only available with DRM atomic API
       Unable to query physical screen size, defaulting to 100 dpi.
       To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
       Sandboxing disabled by user.
       WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
       js: The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
       js: Error creating WebGL context.
       js: Uncaught TypeError: Cannot read property 'getExtension' of null
       [2864:2875:1127/151546.670485:ERROR:cert_verify_proc_nss.cc(974)] CERT_PKIXVerifyCert for www.dropbox.com failed err=-8181
       [2864:2877:1127/151546.671503:ERROR:ssl_client_socket_impl.cc(962)] handshake failed; returned -1, SSL error code 1, net_error -201
       js: Uncaught TypeError: Cannot read property 'render' of undefined 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mibrunin Michael Bruning
            hyunkook_khang Hyunkook Khang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes