Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

[Arch Linux] GPU process isn't usable #23608

Open

Description

@Lithimlin

Prerequisites

Description

When starting up atom, it crashes with a fatal error

Steps to Reproduce

  1. Run atom, atom --safe, or atom --disable-gpu

Expected behavior:

Atom starts successfully.

Actual behavior:

Atom crashes with a GPU error:

/usr/bin/atom: line 86:  5746 Illegal instruction     (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
[...]
[5746:0215/121832.223620:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
[...]

Reproduces how often:

100%

Versions

❯ atom --version
Atom    : 1.58.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1
❯ apm --version
apm  2.6.4
npm  6.14.9
node 17.3.1 x64
atom 1.58.0
python 3.10.2
git 2.35.1

OS: Arch Linux x86_64
Kernel: 5.16.9-arch1-1

Activity

  1. changed the title [-]GPU process isn't usable[/-] [+][Arch Linux] GPU process isn't usable[/+] on Feb 15, 2022
  2. Theraa0 commented on Feb 15, 2022

    @Theraa0

    Experiencing the same problem.
    I found an old issue where they used atom --in-progress-gpu or atom --no-sandbox as a temporary solution, but i have no clue what those do, so I can't really recommend using them.

  3. hummeltech commented on Feb 15, 2022

    @hummeltech

    Yeah, it seems related to a recently updated package, but I haven't figured out which one yet, here are some that I think might be the cause:

    [2022-02-14T08:23:41-0700] [ALPM] upgraded npm (8.4.1-1 -> 8.5.0-1)
    [2022-02-14T21:07:22-0700] [ALPM] upgraded glibc (2.33-5 -> 2.35-2)
    [2022-02-14T21:07:24-0700] [ALPM] upgraded gcc-libs (11.1.0-3 -> 11.2.0-3)
    [2022-02-14T21:07:36-0700] [ALPM] upgraded nodejs (17.3.0-1 -> 17.3.1-1)
    

    I was unable to get it stably working using only --in-progress-gpu, using both (I.E. atom --in-progress-gpu --no-sandbox) does seem to work and I will have to use it until a proper fix can be made.

  4. builderdev212 commented on Feb 16, 2022

    @builderdev212

    Can confirm that this is in fact an issue. I also am using arch. It appears that this may be caused by depreciated electron renderer modules? The terminal output during the crash says to see this issue. I assume the depreciated renderer modules cause that "GPU process isn't usable." warning. Sadly, I am not familiar enough with node or electron to fix this issue.

  5. garpu commented on Feb 22, 2022

    @garpu

    This happens to me on slackware-current with glibc 2.35. Launches with --no-sandbox.

  6. Leniwcowaty commented on Feb 23, 2022

    @Leniwcowaty

    Same on Manjaro

  7. daneenjah commented on Feb 25, 2022

    @daneenjah

    Same issue on Artix.

  8. tassosblackg commented on Feb 28, 2022

    @tassosblackg

    I've noticed the same issue after updating Manjaro:

    After running atom --safe

    /usr/bin/atom: line 86: 12151 Illegal instruction (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
    (node:12211) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/pathwatcher/build/Release/pathwatcher.node'. This is deprecated, see electron/electron#18397.
    (node:12211) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/oniguruma/build/Release/onig_scanner.node'. This is deprecated, see electron/electron#18397.
    (node:12211) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/superstring/build/Release/superstring.node'. This is deprecated, see electron/electron#18397.
    (node:12211) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/tree-sitter/build/Release/tree_sitter_runtime_binding.node'. This is deprecated, see electron/electron#18397.
    (node:12211) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/@atom/nsfw/build/Release/nsfw.node'. This is deprecated, see electron/electron#18397.
    (node:12211) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/git-utils/build/Release/git.node'. This is deprecated, see electron/electron#18397.
    [12151:0228/185626.154074:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
    --2022-02-28 18:56:26-- https://atom.io/crash_reports
    SSL_INIT
    Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
    Resolving atom.io (atom.io)... 18.205.222.128, 52.202.168.65, 54.161.241.46, ...
    Connecting to atom.io (atom.io)|18.205.222.128|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2022-02-28 18:56:28 (0.00 B/s) - ‘/dev/fd/4’ saved [0]

    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id:
    --2022-02-28 18:56:28-- https://atom.io/crash_reports
    SSL_INIT
    Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
    Resolving atom.io (atom.io)... 18.205.222.128, 52.202.168.65, 54.161.241.46, ...
    Connecting to atom.io (atom.io)|18.205.222.128|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2022-02-28 18:56:31 (0.00 B/s) - ‘/dev/fd/4’ saved [0]

    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id:

    If I use atom --in-process-gpu it works fine.

  9. Fluffy-Bean commented on Mar 3, 2022

    @Fluffy-Bean

    Having same issue when starting atom with atom or with atom --disable-gpu. I can only get it to start with atom --in-process-gpu

  10. icecream17 commented on Mar 3, 2022

    @icecream17
    Contributor
  11. MollyMaclachlan commented on Mar 10, 2022

    @MollyMaclachlan

    Also on Slackware Current with this issue, atom --no-sandbox makes it work. It also seems to be affecting Microsoft Teams (same symptoms, same fix), so it might not be Atom-specific?

  12. dhdeangelis commented on Mar 11, 2022

    @dhdeangelis

    This happens too in openSUSE Tumbleweed. As noted above, the same problem and the same solution happens with MS Teams. Very probably not Atom specific.

  13. Shifulor commented on Mar 14, 2022

    @Shifulor

    atom --no-sandbox fixes it on gentoo too

  14. 3dprogramin commented on Mar 15, 2022

    @3dprogramin

    Issue is not from atom but from electron (or some library used by it).
    I had the same issue with an electron app I've built, and solution was the same as mentioned, to start it with the arguments.
    The arguments are a workaround if you ask me, still looking for an alternative, but the workaround is better than nothing though.

  15. MollyMaclachlan commented on Mar 15, 2022

    @MollyMaclachlan

    Is there an issue for it open on the Electron repository? If not, it's probably best that one's opened there instead of us spamming the Atom devs. =)

  16. 6 remaining items

  17. Lithimlin commented on Apr 13, 2022

    @Lithimlin
    Author

    I'm just confused as to why on my Laptop, the beta seems to be in the regular community package while on my desktop, it's a separate AUR package.

  18. alerque commented on Apr 13, 2022

    @alerque

    @Lithimlin Because you installed different packages. The [community] package is atom and currently at version 1.61.0-beta0 like I said. The [AUR] package you probably have installed there is atom-editor-beta-bin and also at the same version as of this moment. You are welcome to use either, but they are completely different. The [community] package will do things like use the Arch system Electron package, the Arch apm package, etc. The AUR package is just a binary blob with all of that bundled inside however upstream builds it. Pick your poison.


    Again as the Arch Linux maintainer for the [community] package I'd like to reiterate that this whole issue is not an upstream Atom Editor issue and this issue can be closed. If you have trouble with the Arch packaging please use Arch Linux's bug tracker (or the AUR comments if you are using the AUR pakcage). Otherwise this issue tracker should be used for issues with the actual editor, not the distro packaging.

  19. portlandhodl commented on Apr 25, 2022

    @portlandhodl

    Same issue on centos9 stream. Using --in-process-gpu fixes it.

  20. stanier commented on Apr 27, 2022

    @stanier

    Same on Pop!_OS 22.04, --in-process-gpu and --no-sandbox both fix. Worked peachy back on 21.10

  21. JeremyPerpignani commented on May 3, 2022

    @JeremyPerpignani

    Same on Pop!_OS 22.04, --in-process-gpu and --no-sandbox both fix. Worked peachy back on 21.10

    Are using these arguments going to matter at all? I am having this same issue in Pop!_OS 22.04 and they are the only way I can run Atom. I need to use it for a course and just want to make sure I will be fine running it like this. Thanks.

  22. portlandhodl commented on May 3, 2022

    @portlandhodl

    Same on Pop!_OS 22.04, --in-process-gpu and --no-sandbox both fix. Worked peachy back on 21.10

    Are using these arguments going to matter at all? I am having this same issue in Pop!_OS 22.04 and they are the only way I can run Atom. I need to use it for a course and just want to make sure I will be fine running it like this. Thanks.

    For your use case it likely will not matter at all, Drawing performance and cpu usage is affected if I am correct.

  23. stanier commented on May 6, 2022

    @stanier

    So is Atom officially deprecated in favor of VS Code?

    Or does Github just wanna let it fade into obscurity because people can't launch it?

  24. garpu commented on May 6, 2022

    @garpu

    So is Atom officially deprecated in favor of VS Code?

    Or does Github just wanna let it fade into obscurity because people can't launch it?

    ? It works fine, so long as you start it with --no-sandbox. I believe the beta version is using the patched version of electron, as well.

  25. blueglyph commented on May 12, 2022

    @blueglyph

    Same issue on Manjaro in a VirtualBox VM. The crash reporter itself doesn't seem able to transmit the information and crashes.

    While it may be an Electron issue, I have no idea how it's implemented, and I have no issue with other Electron applications in the same environment, so I'll post the details here. IMO it's up to the dev to know whether it needs to be reported to Electron by them with details on how it's used in this application.

    For example, Code - OSS runs fine, but I see it relies on electron17, not electron9. Chromium works fine.

    atom --no-sandbox is the only workaround I could try that allows Atom to run.

    Versions:

    System: Linux manj 5.15.32-1-MANJARO #1 SMP PREEMPT Mon Mar 28 09:16:36 UTC 2022 x86_64 GNU/Linux
    Graphics:
    Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.19.0.0
    Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: vmware
    unloaded: modesetting gpu: vmwgfx resolution: 1493x822~60Hz

    Atom downloaded from here, version 1.60.0-amd64. Same problem with the Manjaro's repository version which is stuck at 1.58 at the moment.

    Atom : 1.60.0
    Electron: 9.4.4
    Chrome : 83.0.4103.122
    Node : 12.14.1

    or

    Atom : 1.58.0
    Electron: 9.4.4
    Chrome : 83.0.4103.122
    Node : 12.14.1

    Feedback on the console of version 1.60:

    [1169:0512/143250.331533:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
    --2022-05-12 14:32:50-- https://atom.io/crash_reports
    Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
    Resolving atom.io (atom.io)... 20.119.16.4
    Connecting to atom.io (atom.io)|20.119.16.4|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2022-05-12 14:32:52 (0,00 B/s) - ‘/dev/fd/4’ saved [0]

    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id:
    --2022-05-12 14:32:52-- https://atom.io/crash_reports
    Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
    Resolving atom.io (atom.io)... 20.119.16.4
    Connecting to atom.io (atom.io)|20.119.16.4|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2022-05-12 14:32:53 (0,00 B/s) - ‘/dev/fd/4’ saved [0]

    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id:
    Illegal instruction (core dumped)

    Feedback on the console of version 1.58: (the repetition below is not a copy/paste mistake on my part)

    /usr/bin/atom: line 86: 2002 Illegal instruction (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
    [2002:0512/145355.377070:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
    --2022-05-12 14:53:55-- https://atom.io/crash_reports
    Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
    Resolving atom.io (atom.io)... 20.119.16.4
    Connecting to atom.io (atom.io)|20.119.16.4|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2022-05-12 14:53:56 (0,00 B/s) - ‘/dev/fd/4’ saved [0]

    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id:
    --2022-05-12 14:53:56-- https://atom.io/crash_reports
    Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
    Resolving atom.io (atom.io)... 20.119.16.4
    Connecting to atom.io (atom.io)|20.119.16.4|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2022-05-12 14:53:57 (0,00 B/s) - ‘/dev/fd/4’ saved [0]

    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id:

  26. blueglyph commented on May 12, 2022

    @blueglyph

    Interestingly, I see that after installing Atom, an "Electron" was added to the menu. Code - OSS added one of its own too.

    If I launch electron9, I get the same issue. If I launch electron17, it's fine. So a change in the dependencies seem to be necessary indeed.

    (node:1290) UnhandledPromiseRejectionWarning: Error: Image could not be created from /usr/share/pixmaps/electron.png
    at createWindow (/usr/lib/electron9/resources/default_app.asar/default_app.js:57:18)
    at async exports.loadFile (/usr/lib/electron9/resources/default_app.asar/default_app.js:83:18)
    (node:1290) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    (node:1290) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    [1290:0512/152349.482221:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
    Trace/breakpoint trap (core dumped)

  27. stanier commented on Jun 9, 2022

    @stanier

    So is Atom officially deprecated in favor of VS Code?

    Or does Github just wanna let it fade into obscurity because people can't launch it?

    Just popping back in to say "CALLED IT!"

  28. misterBart commented on Jun 18, 2022

    @misterBart

    Same problem, after upgrading Ubuntu Linux from 21.10 to 22.04.
    Used atom --in-process-gpu to work around the issue.

    $ atom --version
    Atom    : 1.60.0
    Electron: 9.4.4
    Chrome  : 83.0.4103.122
    Node    : 12.14.1
    
  29. jj15warrior commented on Aug 16, 2022

    @jj15warrior

    same issue (and workaround with --no-sandbox) with betterdiscord-installer on manjaro

  30. tomishiyo commented on Sep 7, 2022

    @tomishiyo

    Hi, I'm experiencing the same problem in a Kali 5.18 running in VirtualBox. I can also confirm that running with --no-sandbox and --in-progress-gpu simultaneously circumvented the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions