You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

新笔记本WebGL突然无法加载,求排查原因(附报错信息)

Three.js WebGL上下文创建失败求助

我跟进Three.js教程已有很长时间,从未遇到过问题。刚入手的新笔记本使用了约1个月,此前在该设备上运行项目一切正常,但今天继续教程时,加载项目仅显示白屏,不过lilgui调试程序仍可正常运行。

浏览器控制台出现WebGL上下文创建失败相关报错,具体错误信息如下:

onContextCreationError @ chunk-6P5T4EWA.js?v=580916dd:17367
Show 1 more frame
Show less
chunk-6P5T4EWA.js?v=580916dd:17367 THREE.WebGLRenderer: A WebGL context could not be created. Reason:  Failed to create a WebGL2 context.
onContextCreationError @ chunk-6P5T4EWA.js?v=580916dd:17367
Show 1 more frame
Show less
3chunk-6P5T4EWA.js?v=580916dd:17367 THREE.WebGLRenderer: A WebGL context could not be created. Reason:  Could not create a WebGL context, VENDOR = 0xffff, DEVICE = 0xffff, GL_VENDOR = Google Inc. (Google), GL_RENDERER = ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (LLVM 10.0.0) (0x0000C0DE)), SwiftShader driver-5.0.0), GL_VERSION = 5.0.0, Sandboxed = yes, Optimus = no, AMD switchable = no, Reset notification strategy = 0x8252, ErrorMessage = BindToCurrentSequence failed: .
onContextCreationError @ chunk-6P5T4EWA.js?v=580916dd:17367
Show 1 more frame
Show less
chunk-6P5T4EWA.js?v=580916dd:17367 THREE.WebGLRenderer: A WebGL context could not be created. Reason:  Failed to create a WebGL2 context.
onContextCreationError @ chunk-6P5T4EWA.js?v=580916dd:17367
Show 1 more frame
Show less
2chunk-6P5T4EWA.js?v=580916dd:17367 THREE.WebGLRenderer: A WebGL context could not be created. Reason:  Could not create a WebGL context, VENDOR = 0xffff, DEVICE = 0xffff, GL_VENDOR = Google Inc. (Google), GL_RENDERER = ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (LLVM 10.0.0) (0x0000C0DE)), SwiftShader driver-5.0.0), GL_VERSION = 5.0.0, Sandboxed = yes, Optimus = no, AMD switchable = no, Reset notification strategy = 0x8252, ErrorMessage = BindToCurrentSequence failed: .
onContextCreationError @ chunk-6P5T4EWA.js?v=580916dd:17367
Show 1 more frame
Show less
chunk-6P5T4EWA.js?v=580916dd:17125 THREE.WebGLRenderer: Error creating WebGL context.
WebGLRenderer @ chunk-6P5T4EWA.js?v=580916dd:17125
Show 1 more frame
Show less
chunk-6P5T4EWA.js?v=580916dd:17112 Uncaught Error: Error creating WebGL context.
    at new WebGLRenderer (chunk-6P5T4EWA.js?v=580916dd:17112:19)
    at script.js:161:18
injected.js:4 Retrieving "b5x-stateful-inline-icon" flag errored: timed out - falling back
qy @ injected.js:4
Show 1 more frame
Show less
script.js:140 Uncaught ReferenceError: Cannot access 'renderer' before initialization
    at script.js:140:5

我已尝试重启电脑、重新安装项目目录下的npm依赖,但问题仍未解决,希望有人能帮忙排查问题原因。

问题截图

内容的提问来源于stack exchange,提问作者Bec Asmar

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.25 06:28:09