Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Problem with QT webengine hardware acceleration
Forum Updated to NodeBB v4.3 + New Features

Problem with QT webengine hardware acceleration

Scheduled Pinned Locked Moved Solved QtWebEngine
2 Posts 1 Posters 5.7k 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.
  • X Offline
    X Offline
    xiao499242740
    wrote on last edited by xiao499242740
    #1

    Hi guys, I had used qt and webengine in my project. but i found my web run slowly. i had checked my config with 'chrome://gpu', the hardware acceleration was not enable by default. my version is qt5.9.0.
    how i can enable the hardware acceleration?
    thanks.
    0_1502709881563_20170814192223.png

    1 Reply Last reply
    1
    • X Offline
      X Offline
      xiao499242740
      wrote on last edited by xiao499242740
      #2

      I had resolved this problem by reading the webengine resources and understanding the usefulness of chromium command line switches. The solution is as follows:
      1.I had finded that the QT resources(Src\qtwebengine\src\core\web_engine_context.cpp) have such a section as following picture shows:
      0_1503887223712_1.png
      This section is used to transmit the chromium command line switches into chromium browser progress .

      2.With the foundation of step one, i used these command lines such as "--ignore-gpu-blacklist" ,"--enable-gpu-rasterization" to my application. Then it works for me!
      0_1503900636579_2.png

      For your all reference.

      1 Reply Last reply
      1

      • Login

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