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.

Slow UI and busy GPU thread with Electron 6 on Linux (with Intel CPU and no GPU?) #20924

@DeeDeeG

Description

@DeeDeeG

Prerequisites

Description

Atom is slow on certain machines/OSes with Electron 6. (Workaround: Run atom with --disable-gpu).

Steps to Reproduce

  1. Have certain hardware? (I suspect this is limited to machines with no dedicated GPU)
  2. Run Linux
  3. Try to run Atom with Electron 6 (See ⬆️ Electron@6.1.12 #20764)

Expected behavior:

Atom should be reasonably responsive. CPU cores should all be at less than 100% usage when not doing anything in the app.

Actual behavior:

GPU process is very busy, maxing out one of my CPU cores most of the time. UI is not very responsive, taking multiple seconds to do things like draw the close button on tabs.

Reproduces how often:

  • 100% of the time on my machine running Ubuntu.
  • 0% of the time on Windows.
  • (0% of the time on macOS?)

Versions

$ atom-dev --version
Atom    : 1.50.0-dev-39d2bd480
Electron: 6.1.12
Chrome  : 76.0.3809.146
Node    : 12.4.0

$ apm-dev --version
apm  2.5.0
npm  6.14.5
node 10.20.1 x64
atom 1.50.0-dev-39d2bd480
python 
git 2.25.1

Additional Information

See this comment: #20764 (comment)

A workaround if you get this issue is to run Atom from the command-line or terminal with the --disable-gpu flag.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions