Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.0.0
-
None
-
-
f50e94601 (dev), 47a9acb7c (6.8), 347c120af (6.7), 508d624ca (tqtc/lts-6.5)
Description
Playback a video with the qml-"mediaplayer" example (using ffmpeg backend!) on some Android device causes performance issues and log spam on each frame:
SPAM: W Adreno-ES20: <core_glTexParameteriv:406>: GL_INVALID_ENUM W OpenGLRenderer: [SurfaceTexture-0-32749-0] bindTextureImage: clearing GL error: 0x500
I got this with two different devices:
armv7 device having: OpenGL VENDOR: Qualcomm RENDERER: Adreno (TM) 306 VERSION: OpenGL ES 3.0 V@145.0 AU@ (GIT@I38fdb1353f)
arm64-v8a: OpenGL VENDOR: ARM RENDERER: Mali-G71 MP2 VERSION: OpenGL ES 3.2 v1.r20p0-01rel0.4c6d55619f9f1f92ee8846114f879226
I attached a patch that fixes this issue:
void QRhiGles2::bindCombinedSampler(...):
- if (caps.texture3D)
+ if (texD->target == GL_TEXTURE_3D)
f->glTexParameteri(texD->target, GL_TEXTURE_WRAP_R, GLint(samplerD->d.glwrapr));
Attachments
Issue Links
- relates to
-
QTBUG-117665 [DeclarativeCamera] Recording and viewing the video multiple times causes the app to crash
- Reported
-
QTBUG-115503 QML MediaPlayer is not able to render video from qrc on Android.
- Closed