-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.0 Beta2
-
None
When playing content with QML it uses double the GPU usage compared to playing the same file via QWebEngine:
import QtQuick import QtQuick.Window import QtMultimedia Window { width: 640 height: 480 visible: true title: qsTr("Hello World") color: "red" MediaPlayer { id: player source: Qt.resolvedUrl("file:///C:/Program Files (x86)/Steam/steamapps/workshop/content/672870/2396624849/videoplayback.webm") videoOutput: videoOutput } VideoOutput { id: videoOutput anchors.fill: parent Component.onCompleted: player.play() fillMode: VideoOutput.PreserveAspectCrop } }
This has about 45%-55% GPU and 12% CPU usage.
The same wallpaper played with 5.15.2 WebEngine takes: 25%GPU and 0.7% CPU usage.
VLC has needs about 5%-7% GPU 5% CPU.
My setup:
CPU - AMD 5950x
GPU - AMD Vega VII 16GB
I cannot attach the video (120mb) so I uploaded it to my google drive: https://drive.google.com/file/d/1CXxshC-vB21gwKzs9XTmgRD2Jyq80qHV/view?usp=sharing