Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU process isn't usable #20

Open
madchap opened this issue Mar 13, 2022 · 4 comments
Open

GPU process isn't usable #20

madchap opened this issue Mar 13, 2022 · 4 comments

Comments

@madchap
Copy link

madchap commented Mar 13, 2022

  • % 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"
@dan-bishopfox
Copy link
Member

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
Copy link

Same error.

Arch Linux, also nvidia gpu with cuda drivers.

@Despe01
Copy link

Despe01 commented Aug 10, 2022

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

@meme-lord
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants