-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.8, 6.2.3, 6.3.0 Beta1
-
Windows 10 21H2
See attached screenshots and reports from chrome://gpu/
When the --disable-gpu option is passed to the web engine, chrome://gpu/ reports that all hardware acceleration is disabled. However, when loading and scrolling a webpage,
- Google Chrome 98.0.4758.82 truly does not use any GPU
- Qt WebEngine still uses the GPU (tested with the Simple Browser example)
Notice that Qt WebEngine's copy of the report still contains --create-default-gl-context --use-gl=desktop --in-process-gpu --gpu-preferences=...
Partial workaround
Setting the environment variable QT_QUICK_BACKEND=software will properly disable the GPU. However, this requires sacrificing hardware acceleration in all Qt Quick code.
For Gerrit Dashboard: QTBUG-100713 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
397728,6 | Improve glType detection | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
397737,4 | Do not add glType to command line again | 94-based | qt/qtwebengine-chromium | Status: MERGED | +2 | 0 |
400330,2 | Improve glType detection | 6.3 | qt/qtwebengine | Status: MERGED | +2 | 0 |