aboutcode-org / aboutcode-org/scancode-workbench

ScanCode Workbench should have a --disable-gpu option

未关闭
#95 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Electron enhancement
主要语言
TypeScript
星标
173
派生
81
PR 合并指标
30 天内没有已合并 PR

描述

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

> aboutcode-manager@2.0.0-rc2 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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