V2EX 10月13日 14:18
VS Code GPU进程崩溃问题及其排查
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

近期有用户在使用VS Code时遇到GPU进程频繁崩溃的问题,已累计崩溃次数达到6次,并最终导致GPU进程不可用。用户尝试了添加`--no-sandbox`和`--display-gpu`启动参数,但均未能解决问题。该用户使用的是Ubuntu 24系统,AMD R7集成显卡。重装官网下载的VS Code也未奏效。通过Snap安装的旧版本VS Code虽然正常运行,但中文输入法支持不佳。用户正在寻找是否有其他遇到类似问题的用户,以及可能的解决方案。

💥 **GPU进程反复崩溃**:VS Code的GPU进程出现严重问题,已连续崩溃6次,最终导致进程失效,影响了软件的正常运行。

💻 **系统与硬件环境**:问题出现在Ubuntu 24系统上,使用的是AMD R7集成显卡,这可能与特定版本的驱动或系统兼容性有关。

🛠️ **尝试的解决措施**:用户尝试了添加`--no-sandbox`和`--display-gpu`命令行参数,但这些方法未能解决GPU崩溃问题。

📦 **不同安装方式的对比**:官网下载的VS Code出现崩溃,而通过Snap安装的旧版本VS Code工作正常,这暗示了版本差异可能是关键因素,但Snap版本的中文输入法支持不佳。

❓ **寻求社区帮助**:用户希望找到有相似经历的社区成员,共同探讨问题原因并寻求有效的解决方案。

he GPU process has crashed 2 time(s)[main 2025-10-13T03:09:18.017Z] lifecycle (main): phase changed (value: 4)[1013/110918.459742:ERROR:third_party/crashpad/crashpad/util/file/directory_reader_posix.cc:43] opendir /home/xda/.config/Code/Crashpad/attachments/66ba24bc-a058-4610-bd54-3dd62b652a95: No such file or directory (2)[25867:1013/110919.122704:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139[25867:1013/110919.122731:WARNING:content/browser/gpu/gpu_process_host.cc:1398] The GPU process has crashed 3 time(s)[25867:1013/110920.380629:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139[25867:1013/110920.380667:WARNING:content/browser/gpu/gpu_process_host.cc:1398] The GPU process has crashed 4 time(s)[1013/110920.583579:ERROR:third_party/crashpad/crashpad/util/file/directory_reader_posix.cc:43] opendir /home/xda/.config/Code/Crashpad/attachments/dea68ffc-0f03-4bc9-b5a7-ee93f4fafde5: No such file or directory (2)[25867:1013/110921.619739:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139[25867:1013/110921.619772:WARNING:content/browser/gpu/gpu_process_host.cc:1398] The GPU process has crashed 5 time(s)[1013/110922.715479:ERROR:third_party/crashpad/crashpad/util/file/directory_reader_posix.cc:43] opendir /home/xda/.config/Code/Crashpad/attachments/76eef9da-e28f-4a46-8556-1f62aad6aac5: No such file or directory (2)[25867:1013/110922.872595:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139[25867:1013/110922.872632:WARNING:content/browser/gpu/gpu_process_host.cc:1398] The GPU process has crashed 6 time(s)[25867:1013/110922.872646:FATAL:content/browser/gpu/gpu_data_manager_impl_private.cc:415] GPU process isn't usable. Goodbye.[1013/110922.880430:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found

之前正常的,不知道更新了啥东西.

加上 --no-sanbox 不正常;加上 --display-gpu 不正常;

ubuntu 24平台 AMD R7 集显重装官网下载的 vs code 也无解

用内置 snap 安装的 vs code 正常,应该版本比较旧的缘故,但对中文输入法支持太差

不知道又没有 v 友遇到的.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

VS Code GPU崩溃 Ubuntu 24 AMD R7 软件问题 VS Code Crash GPU Process Ubuntu Troubleshooting
相关文章