Skip to content

Some electron apps flicker #8127

Closed
Closed

Description

@Akronix
  • Electron version: Not applicable. Franz: 4.0.4, GitKraken: 1.9.1 Atom: 1.12.6
  • Operating system: Ubuntu 16.04

Actual behavior

Apps based on electron flicker sometimes.

How to reproduce

Web view blinks sometimes within electron apps. Apparently, when they are doing "heavy" graphics tasks.
For example, try using Telegram inside Franz and look for a gif (for instance, "Ralph") using @gif inline bot. Screen momentarily flickers as you're scrolling though the gif lists. Curiously, it seems to happen only when Franz window is maximized ("full size").

I have experienced same momentarily flickers in GitKraken or, less often, in Atom.

Seem to be related to chromium because I can reproduce this opening WebTelegram in a chromium browser tab but not in Firefox.

Activity

  1. MarshallOfSound commented on Dec 2, 2016

    @MarshallOfSound
    Member

    Without a consistently reproducible example their isn't much we can do.

    FWIW though I've seen this before on my app and I fixed it my not calling app.disableHardwareAcceleration() on macOS

  2. added
    blocked/need-info ❌
    on Dec 2, 2016
  3. r4v5 commented on Dec 19, 2016

    @r4v5

    If you are running with Intel graphics, you may be seeing the effects of an issue documented in chromium bug 606152.

  4. Akronix commented on Dec 19, 2016

    @Akronix
    Author
  5. alexeyten commented on Dec 22, 2016

    @alexeyten

    It looks like tiny horizontal lines. Here in Slack

    screenshot from 2016-12-22 20 21 18

  6. kevinsawicki commented on Jan 12, 2017

    @kevinsawicki
    Contributor

    If you are running with Intel graphics, you may be seeing the effects of an issue documented in chromium bug 606152.

    Thanks for finding this @r4v5. I'm going to close this out since it looks to be an open Chrome bug, please subscribe to it there for updates.

  7. novoj commented on Mar 7, 2017

    @novoj

    Problem in chrome can be fixed by appending these arguments:

    --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers

    Unfortunatelly passing same arguments to Electron based app (Mattermost) doesn't help. Are arguments taken into account in Electron app?

  8. ccnokes commented on Jun 20, 2017

    @ccnokes
    Contributor

    @novoj how are you appending those arguments? Like app.commandLine.appendArgument('enable-native-gpu-memory-buffers')? appendSwitch doesn't seem to accept arbitrary arguments so just thought I'd double check.

  9. novoj commented on Jun 20, 2017

    @novoj

    Directly to the commandline when running MaterMost application:

    /opt/Mattermost/mattermost-desktop --hidden --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers

  10. ethernomad commented on Nov 29, 2018

    @ethernomad

    Ran

    discord --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers

    and now discord no longer flickers on my ubuntu thinkpad with intel graphics!

    Cheers @novoj

  11. novoj commented on Nov 29, 2018

    @novoj

    Meanwhile I've upgraded to Ubuntu 18.04 and problem vanished. But because entire system was wiped, there are many things that could have affected the result (including MattermostMost/Electron upgrade). I can't verify your recommendation but nevertheless I thank you.

  12. betimbryma commented on Mar 22, 2019

    @betimbryma

    i still have the same problem on Fedora 29, i mean i use --disable-gpu-driver-bug-workarounds, but it's just interesting to see why this is still an issue.

  13. simform-solutions commented on Aug 5, 2019

    @simform-solutions

    I am still facing flicking issue on macOS HighSierra 10.13.6 and Graphics .NVIDIA GeForce GT 710 2047 MB

    Note: The App is frameless and has a transparent background

    Using Electron version : 6.0.0
    Expected behaviour was working fine on electron version: 4.2.8 but getting now as shown below in latest version

    ezgif com-video-to-gif

    Please help:
    @MarshallOfSound @ccnokes

  14. floating commented on Sep 23, 2019

    @floating

    @SimformSolutions I'm seeing this as well.

    Have you found a solution for this other than downgrading? If not we should open a new issue for this particular case.

  15. bolatovumar commented on Oct 18, 2019

    @bolatovumar

    I'm also experiencing this issue. See LN-Zap/zap-desktop#2938 for details (includes video). This started happening exactly when the project was upgraded from Electron v5 to v6.

  16. itsthisjustin commented on Nov 7, 2019

    @itsthisjustin

    @SimformSolutions I'm seeing this as well.

    Have you found a solution for this other than downgrading? If not we should open a new issue for this particular case.

    No we haven't found any fix. I see this issue is closed. Is there a fix inbound?

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

    blocked/need-info ❌

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions