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

Atom started flickering after linter update #1372

Closed
merlijn-sebrechts opened this issue Mar 16, 2017 · 11 comments
Closed

Atom started flickering after linter update #1372

merlijn-sebrechts opened this issue Mar 16, 2017 · 11 comments
Labels

Comments

@merlijn-sebrechts
Copy link

merlijn-sebrechts commented Mar 16, 2017

After the last linter update, the Atom UI started flickering. Each Time I change a python a code file with errors, the UI flickers a bit.

I have no idea how to start to debug this so let me know if you need more information.

  • no js errors
  • Ubuntu 16.04, Atom 1.15.0 (from webupd8 ppa)
  • latest version of linter + pylint
@Arcanemagus
Copy link
Collaborator

Can you define "flickers" a bit more? Are things moving around (for example, the panel appearing)? Or is it flashing as if there is a graphics driver bug?

@merlijn-sebrechts
Copy link
Author

Flashing as if there is a graphics driver bug.

I'm using Intel graphics with the default Ubuntu drivers BTW.

@merlijn-sebrechts
Copy link
Author

So, I did some further digging and debugging.

  • Flickering stops when I disable linter.
  • This seems to be an issue of Chrome/Chromium + Ubuntu + Intel Xorg driver + new version of linter. (Atom uses Electron which uses Chromium)
  • Removing the Intel Xorg driver (force falback to modesetting driver) fixes the issue!
sudo apt-get purge xserver-xorg-video-intel
# and reboot

This shouldn't cause any problems. Newer Ubuntu & Debian releases drop the Intel xorg driver because of its poor quality.

PS: It might be best to leave this issue open for other affected people. A lot of people seem to have this issue.

@steelbrain
Copy link
Owner

Thanks for the good find @galgalesh

I wonder if you can just disable GPU on Atom to avoid uninstalling the driver (atom --disable-gpu or just atom --enable-gpu-rasterization)

@jy95
Copy link

jy95 commented Mar 17, 2017

I have same issue with api-workbench that use linter : https://atom.io/packages/api-workbench .

  • Windows 10 X64
  • Atom 1.15.0

I also got this at startup :
bug231

@steelbrain
Copy link
Owner

Hi @jy95

Can you report what you saw in the console?

@jy95
Copy link

jy95 commented Mar 17, 2017

I cannot reproduce now : seems the extra installation for linter dependencies fix this message

@steelbrain
Copy link
Owner

Closing because it's a driver issue

@flamein
Copy link

flamein commented Oct 10, 2017

It's not just Xorg, i have the same thing on Fedora with wayland (maybe uses Xwayland)

@NeetishRaj
Copy link

NeetishRaj commented Dec 26, 2017

atom version is 1.21.0
linter version 2.2.0
linter-ui-default version 1.6.10
linter-htmllint version 1.4.0
linter-csslint version 2.0.0
HTML file tabs in editor flickers in short bursts ( white blocks appear for very short time), whenever text is entered , it started happening when i installed linter plugin, its dependecy linter-ui-deault, lintercss and linterhtml.
Flickering happens while

  • starting to enter text
  • saving the file with CTRL + S
  • selecting all with CTRL + A

and only for html and css files, and I am using linter for only these two, no issues in javascript files for which I have disabled linter.

@Arcanemagus
Copy link
Collaborator

@NeetishRaj Please read the rest of the comments on this issue, this is a driver bug in the Intel drivers on Linux.

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

No branches or pull requests

6 participants