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.

Atom crashes my system due to linux nVidia drivers #6557

Closed

Description

@ronjouch

I originally asked this question in PR #2789 , but since I've been told on atom-discuss/#13975 that editor.useHardwareAcceleration is deprecated, here's an issue.

I'm in a nVidia driver hell since upgrading to Ubuntu 15.04, and though Chrome's --disable-gpu does prevent it from crashing my whole system, Atom's (0.196) editor.useHardwareAcceleration doesn't, ending in a rather painful way: cursor jitter, screen flickering, regular keyboard/mouse input loss, impossible to switch to a non-X tty → restart with REISUB.

Is there a workaround or a way to be more drastic about disabling gpu acceleration like the Chrome flag does? Or is it too antagonistic to improving performance?

I'll be glad to provide debug info. EDIT I no longer have access to the nVidia machine and can no longer help, unsubscribing from this issue I created.

Activity

  1. changed the title [-]Atom crashes my system due to nVidia drivers[/-] [+]Atom crashes my system due to linux nVidia drivers[/+] on Apr 28, 2015
  2. driehuis commented on May 11, 2015

    @driehuis

    I'm having render artifacts with Atom. This is one of the manifestations of a bug in several Linux distro's, regarding compositing, that affects Chrome. This log winded bug report gives some background:
    https://code.google.com/p/chromium/issues/detail?id=370022

    Seeing that Atom is built on top of Chrome, it comes as no surprise that this issue affects Atom as well.

    RFE: Atom should expose Chrome's "Use hardware acceleration where available" setting.

  3. oraculus commented on Jun 2, 2015

    @oraculus

    having the same problem, but with AMD driver (fglrx) on Kubuntu 15.04.
    It happens randomly and I had the same issue with Brakets.io and Chromium Browser.
    Arrived here searching for a way to disable hardware acceleration, as that fixed the bug on Chromium.

    Please, please, please... make it possible to disable hardware acceleration.

  4. ronjouch commented on Jun 3, 2015

    @ronjouch
    Author

    Also, if anyone here has suggestions to find relevant logs and maybe report a bug to the distro / gpu vendor, I'm interested. I grepped my syslog/x11 logs unsuccessfully.

  5. oraculus commented on Jun 3, 2015

    @oraculus

    I’m not really sure where we have to fill the bug, probably is a bug on Chromium as affects multiple distros, multiple GPUs and drivers (nvidia in your case, AMD in mine) and multiple applications but all have in common that are build using Chromium.

    In my case the bug is not as catastrophic as in yours, my system don’t crash, is just the individual application that it gets so slow to the point that is unusable (only the code editor though), for the symptoms I’m getting I would guess that has something to do with a bad vsync when using hardware acceleration. Closing and opening again Atom fixes the issue for a while. Maybe is a related but not the same bug (?)

  6. blufor commented on Jun 29, 2015

    @blufor

    Is there currently any way how to fiddle with settings usually accessible in chrome via chrome://flags/ ?

    I'm running on i915 (2 hosts) and those glitches are really bugging me :/

    This really needs to be fixed somehow, I've already dealt with saying goodbye to Terminus bitmap font ;)

  7. blufor commented on Jun 29, 2015

    @blufor

    ...please :)

  8. driehuis commented on Jun 29, 2015

    @driehuis

    I think this issue is getting less attention than it deserves because it has the label "question" attached to it. It should have the label RFE, but I think only the maintainers can add or remove labels. Maybe I should open a fresh issue with just the RFE oneliner from my comment above in it:

    RFE: Atom should expose Chrome's "Use hardware acceleration where available" setting.

  9. added
    linux
    on Jun 30, 2015
  10. blufor commented on Jun 30, 2015

    @blufor

    @driehuis Either RFE for that, or directly a bug for the glitch issue (but that's probably for the chrome devs, I guess :/)

  11. nahuel commented on Aug 25, 2015

    @nahuel

    So, there is a way to pass "--disable-gpu" to the underliying chrome engine in Atom 1.0.7?

  12. oraculus commented on Aug 25, 2015

    @oraculus

    Although is not the ideal solution, disabling the compositor at startup it seems to do the trick. At least if you use KDE, go to System Settings > Display > Compositor and uncheck the checkbox

    Disable Compositor

  13. circunspecter commented on Sep 4, 2015

    @circunspecter

    In the issue linked by @driehuis, a user has posted a possible solution/workaround for Intel graphics users by changing the acceleration method.

    I had the "redrawing" problem and, for the moment, has been fixed. A "Disable hardware acceleration" option would be ideal, anyway.

  14. jrmedd commented on Sep 8, 2015

    @jrmedd

    @circunspecter I used the potential solution in that Chromium issue ("AccelMethod" "UXA") to no avail. Only experience it on an older machine with integrated graphics (X3100): a brief hang followed by a total crash.

  15. xserrat commented on Oct 30, 2015

    @xserrat

    You could try @jrmedd's solution at #8708 (comment). It worked for me 😄

  16. Tectract commented on Nov 6, 2016

    @Tectract

    I don't have time to spend all day trying to change out the graphics drivers on my machine, which may leave my machine in a quasi-bootable state, in order to get atom IDE running. Can we just get a flag to disable hardware acceleration instead? Actually now, I remember, this machine is sort of a dev machine and server, and I have it running an old Radeon miner GPU on one screen and the integrated GPU on another screen, and it the motherboard just can't do hardware accel for this setup, so changing graphics drivers won't even help me...

  17. iamsophiesk commented on Oct 12, 2017

    @iamsophiesk

    Chiming in with nVidia graphics in a laptop with a Displaylink dock. I have no problems on my laptop but when I plug in the dock with external displays I get constant flickering. Atom is by far and away the best editor for the work I'm doing currently but it's starting to give me headaches!

    Running atom --disable-gpu works - it would be nice to see this as a config item in the program itself.

  18. stale commented on Oct 12, 2018

    @stale

    Thanks for your contribution!

    This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:

    1. Verify that you can still reproduce the issue in the latest version of Atom
    2. Comment that the issue is still reproducible and include:
      • What version of Atom you reproduced the issue on
      • What OS and version you reproduced the issue on
      • What steps you followed to reproduce the issue

    Issues that are labeled as triaged will not be automatically marked as stale.

  19. lock commented on Apr 25, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  20. locked as resolved and limited conversation to collaborators on Apr 25, 2019
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

    enhancementlinuxquestionstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions