Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0, 6.5.2, 6.6.0 Beta1
-
None
Description
The default multimedia backend and graphics API for 6.5.0 is FFMPEG + D3D11. However, it causes crash, and the error message is:
D3D11: Removing Device.
failed to get textures for frame false
Device loss detected in Present()
Graphics device lost, cleaning up scenegraph and releasing RHI
Running QML media player example can reproduce the issue. I have to either switch multimedia backend to 'windows', or change graphics API to 'OpenGL' or 'Vulkan' to make the example work. Also, macOS does not show the issue since its default graphics API is Metal.
qputenv("QT_DISABLE_HW_TEXTURES_CONVERSION", "true"); does not help. Also, the QWidget based media player example does not crash, although 'Device loss detected in Present()' warning message keeps coming.
The issue may be related to hardware, since some people say they cannot reproduce the issue I am facing. So here is my HW and OS specs:
Device name Chen
Processor AMD Ryzen 5 PRO 6650U with Radeon Graphics 2.90 GHz
Installed RAM 16.0 GB (11.8 GB usable)
Device ID C21699A3-79E1-44EA-B9FE-85050DFEFC46
Product ID 00342-22087-60091-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Edition Windows 11 Home
Version 22H2
Installed on 12/29/2022
OS build 22621.1702
Experience Windows Feature Experience Pack 1000.22641.1000.0
Attachments
Issue Links
- relates to
-
QTBUG-111975 QVideoFrame::toImage has a memory leak at 3840 * 2160 resolution
- Closed
-
QTBUG-113832 6.5.1 Qt MM crashes when playing a simple mp4 on AMD cards
- Closed
-
QTBUG-108427 Hardware accelerated video decoding on Windows
- Closed
-
QTBUG-115637 AMD Memory leak during FFMPEG media playback on Windows
- Closed