Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win10 游戏画面卡住不动 #2210

Open
qq461787436 opened this issue Oct 14, 2024 · 10 comments
Open

win10 游戏画面卡住不动 #2210

qq461787436 opened this issue Oct 14, 2024 · 10 comments

Comments

@qq461787436
Copy link

  • axmol version:2.1.5
  • devices test on:win 10
  • developing environments
    • NDK version: r23c
    • Xcode version: 14.2+
    • Visual Studio:
      • VS version: 2022 (17.11.3)
      • MSVC version: 19.39+
      • Windows SDK version: 10.0.22621.0+
    • cmake version:
      Steps to Reproduce:
      win 10下常时间放着不动,会出现游戏画面卡住,游戏没有崩溃,没退出,计时器正常,点击有日志输出!你们有没有遇到过,哪位大佬知道这个问题怎么解决?
      QQ_1728875332571
@halx99
Copy link
Collaborator

halx99 commented Oct 14, 2024

如何重现,放多久?

@qq461787436
Copy link
Author

不固定,大概率是放了一个晚上,画面就卡住了

@halx99
Copy link
Collaborator

halx99 commented Oct 14, 2024

开控制台窗口了吗?如果开了,在控制台窗口敲一下回车看看?

@qq461787436
Copy link
Author

我那时候用的是release版本,没有控制台,至于日志是上传给日志服务器,才看到那些日志信息的

@qq461787436
Copy link
Author

win下运行修改成全屏模式了

@qq461787436
Copy link
Author

qq461787436 commented Oct 14, 2024

3CD4FF22-4880-4CA3-97E0-43A9E66E40D3_1_201_a_副本

用debug模式运行后,日志输出如图,这个日志无限循环,程序没有崩溃
页面是在播放spine动画,版本AX_SPINE_VERSION 0x030700

@halx99
Copy link
Collaborator

halx99 commented Oct 14, 2024

3CD4FF22-4880-4CA3-97E0-43A9E66E40D3_1_201_a_副本

用debug模式运行后,日志输出如图,这个日志无限循环,程序没有崩溃 页面是在播放spine动画,版本AX_SPINE_VERSION 0x030700

看上去是 OpenGL 状态异常了,这次出现没有一晚上?看看是否和 spine 有关?

@halx99
Copy link
Collaborator

halx99 commented Oct 15, 2024

我挂了一晚上没出现

@qq461787436
Copy link
Author

qq461787436 commented Oct 16, 2024

有时候挺快的,昨天我挂了一晚上,也没出现,我开了两组一个开spine动画,一个没开spine动画再挂看看
我查了下官方对0x0507报错说明:
GL_CONTEXT_LOST, 0x0507 (with OpenGL 4.5 or ARB_KHR_robustness)
Given if the OpenGL context has been lost, due to a graphics card reset.
我都没动它,也手动释放资源呀

@halx99
Copy link
Collaborator

halx99 commented Oct 16, 2024

那应该是 ANGLE 的 d3d device lost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants