BishopFox/unredacter

GPU process isn't usable

madchap opened this issue · 4 comments

  • % of customers impacted: [100]%
  • Affected Users: [me]
  • Is revenue impacted: [No]
  • Urgency: [Low]
  • Deadline: [none - thanks for the POC! :)]

Description of Bug

I am on Linux Opensuse, Nvidia GPU with proprietary drivers. Definitely not an npm/atom guy. Just thought I'd report. I read things about electron and possible issue with new glibc, but I don't have time to dig further now. So probably not an issue with your stuff in the first place.

$ npm start  

> unredacter@1.0.0 start
> npm run build && electron ./dist/main.js


> unredacter@1.0.0 build
> tsc


(electron:27559): Gtk-WARNING **: 18:31:27.762: Theme parsing error: gtk.css:21:4: Junk at end of value for padding
(node:27559) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:27604) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[27559:0313/183130.262907:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

What should the expected behavior be

App comes up.

Platform Affected

[x] Playground
[ ] Dev
[ ] Preview
[ ] Production

Steps to Reproduce

Follow the README.

Additional context

OS, Desktop/Mobile, Browser, Date/Time,

NAME="openSUSE Tumbleweed"
# VERSION="20220302"
ID="opensuse-tumbleweed"
VERSION_ID="20220302"

Wow, that's interesting. We don't even use the GPU explicitly. I mean, other than just ordinary rendering of the electron window. No clue why that's failing honestly.

Same error.

Arch Linux, also nvidia gpu with cuda drivers.

Same there, Fedora also with nvidia gpu and cuda drivers.

You can get past this error by editing package.json:

"start": "npm run build && electron --in-process-gpu ./dist/main.js"