BishopFox / unredacter

Never ever ever use pixelation as a redaction technique
GNU General Public License v3.0
7.81k stars 729 forks source link

GPU process isn't usable #20

Open madchap opened 2 years ago

madchap commented 2 years ago

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"
dan-bishopfox commented 2 years ago

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.

deltreed commented 2 years ago

Same error.

Arch Linux, also nvidia gpu with cuda drivers.

Despe01 commented 2 years ago

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

meme-lord commented 10 months ago

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

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