daisy / daisy/ace

CLI outputs "GPU process exited unexpectedly"

Open
#407 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
98
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Ace version: 1.3.2
Node version: 20.11.1
OS: Windows 10

On some PCs with this configuration, the output only shows:
```
[4408:0325/100924.638:ERROR:gpu_process_host.ec(954)] GPU process exited unexpectedly: exit_code=34
[4408:0325/100942.775:ERROR:gpu_process_host.ee(954)] GPU process exited unexpectedly: exit_code=34
[4408:0325/100945.986:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=34
```
The HTML report and the log-file are okay. The log-file shows no errors:
```
info: Parsing EPUB
info: Analyzing accessibility metadata
info: Checking package...
info: - EPUB\book.opf: 1 issues found
info: Checking documents...
info: - cover.xhtml: No issues found
info: - book-meta.xhtml: 2 issues found
info: - int.xhtml: No issues found
info: - p1.xhtml: No issues found
...
info: Consolidating results...
info: Copying data
info: Saving JSON report
info: Saving HTML report
```

This suggests that the problem occurs when ACE copies a summary to the standard output.
The problem occurs for every epub file, but only on some PCs. On another PC (with a different GPU) everything works fine, and the ouput summarizes the issues.

A Google search suggests that the "GPU process exited unexpectedly: exit_code=34" error is generated by Electron. Since I am using the CLI, I would expect Electron not to be used, but apparently it is used when copying the summary to stdout.

Some Electron applications have a (config) option to disable GPU acceleration, but I don't see this in ACE. Such an option might help, but would not solve the underlying issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.