pag概率性报错glCheckError: 1281,困扰已久,请大佬们协助指点迷津
Open
@kevingpqi123 is already working on this.
Since Oct 15, 2025.
- Dominant language
- HTML
- Stars
- 5.8k
- Forks
- 531
- Avg merge
- 8d 55m
- Merged PRs (30d)
- 17
Description
【版本信息】
implementation 'com.tencent.tav:libpag:v4.0.5.17'
【平台信息】
应用:Android 原生 ,Activity的GLSurfaceView使用PAGPlayer播放pag文件作为首页的背景动效,实现思路参照官方Demo: com.tencent.libpag.sample.libpag_sample.TextureDemoActivity
平台:vivoX300pro MTK 天玑9500,9300均有复现,也在高通平台的机器尝试复现过没有复现到或者复现概率更低
【预期的表现】
pag作为MainActivity-GLSurfaceView中的背景动效能正常播放
【实际的情况】
启动进入(会重建gl上下文),偶现pag资源播放异常(表现为显示异常或者直接不显示,重新进入界面才可恢复)
【Demo及附件】
相关日志如附件(超过大小,分了两个txt文件)(按进程号12991过滤的,可以粘贴到notepad查看),异常时刻10:24:16 至 10:24:18。
异常日志第一部分.zip
异常日志-第二部分.zip
如需其他日志可留言我补充,感谢!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.