Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

ScanCode Workbench should have a --disable-gpu option

未关闭
#95 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
electron, typescript
领域
desktop

调研方向

从 main.js 和报告中显示的 npm start 命令开始,然后追踪 Electron 的启动方式以及命令行选项的处理位置。当用户能够使用 --disable-gpu 运行 Workbench,并避免在受影响的系统上反复出现 GPU 错误时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Electron enhancement

GPU acceleration for Electron apps is problematic on certain systems, e.g. VM's, certain hardware configurations, etc. The following is the console output when attempting to run the develop branch of AboutCode-Manager on a Ubuntu 14.04 VM:

jono@ubuntu-14-04:~/newfolder/aboutcode-manager$ npm start

> [email protected] start /home/jono/newfolder/aboutcode-manager
> electron main.js

[16420:0524/165939:ERROR:buffer_manager.cc(438)] [.DisplayCompositor-0x30f6a91e6c00]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
[16420:0524/165940:ERROR:texture_manager.cc(2971)] [.RenderCompositor-0x39b3e1d6ac00]GL ERROR :GL_INVALID_ENUM : glTexImage2D: <- error from previous GL command
[16420:0524/165940:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x39b3e1d6ba00]GL ERROR :GL_INVALID_ENUM : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command
[16420:0524/165940:ERROR:gles2_cmd_decoder.cc(2295)] [.RenderWorker-0x39b3e1d6ba00]GL ERROR :GL_INVALID_OPERATION : ScopedTextureBinder::ctor: was unhandled

The set of error messages repeat ad infinitum.

主要语言
TypeScript
星标
174
派生
81
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aboutcode-org/scancode-workbench 的其他 Issue

查看 aboutcode-org/scancode-workbench 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。