Skip to content

[v3.0.0-beta.1] gpu acceleration stopped working #13415

Closed
wireapp/wire-desktop
#2763

Description

@sebakerckhof
  • Electron Version: 3.0.0-beta.1
  • Operating System (Platform and Version): Debian 9.1
  • Last known working Electron version: 2.0.3

I'm trying the most basic thing: opening a browser window (e.g. just running https://github.com/electron/electron-quick-start )

Expected Behavior
I get to see the page

Actual behavior
Window seems to freeze immediately (never get to see the content). The window does emit the 'show' event and I don't see any errors.

I can make it work by disabling gpu usage (app.disableHardwareAcceleration()).

To Reproduce
Run https://github.com/electron/electron-quick-start with electron 3.0.0-beta.1. But it seems OS related, since it does work on my ubuntu 18.04...

I already tried upgrading:

  • Mesa
  • Libva
  • intel-vaapi
  • xserver-xorg-video-intel

But without luck.

I have no problems running chrome 66 with hardware acceleration, and there doesn't seem to be any relevant change in the GPU info with chrome 61. So it seems to be an electron thing. (gpu info for chrome 61/66: chrome-gpu-info.zip )

Activity

  1. changed the title [-][v3.0.0-beta.1] no window on system without window manager[/-] [+][v3.0.0-beta.1] no browser window on system without window manager[/+] on Jun 25, 2018
  2. changed the title [-][v3.0.0-beta.1] no browser window on system without window manager[/-] [+][v3.0.0-beta.1] window freezes[/+] on Jun 25, 2018
  3. changed the title [-][v3.0.0-beta.1] window freezes[/-] [+][v3.0.0-beta.1] window freezes (bluetooth related?)[/+] on Jun 25, 2018
  4. changed the title [-][v3.0.0-beta.1] window freezes (bluetooth related?)[/-] [+][v3.0.0-beta.1] gpu acceleration stopped working[/+] on Jul 2, 2018
  5. nornagon commented on Jul 10, 2018

    @nornagon
    Contributor

    What versions of mesa-va-drivers, libva-intel-vaapi-driver, i965-va-driver, and xserver-xorg-video-intel do you have? (run dpkg -l <package-name> or dpkg -l |grep <package-name> to find out)

  6. added
    blocked/need-info ❌
    on Jul 10, 2018
  7. ckerr commented on Jul 16, 2018

    @ckerr
    Member

    As per element-hq/element-web#13622 this appears to still be present in 3.0.0-beta.2

  8. sebakerckhof commented on Jul 17, 2018

    @sebakerckhof
    ContributorAuthor

    libva: 1.7.3-2
    i965-va-driver: 1.7.3-1
    xserver: 1:7.7+19
    xserver-xorg-video-intel: 2:2.99.917+git20161206-1
    mesa: 13.0.6-1+b2

    This is from before I upgraded all dependencies (don't have that machine anymore).
    But I tried upgrading to what's recommended here: https://01.org/linuxgraphics/downloads/2018q1-intel-graphics-stack-recipe and still didn't run.

  9. removed
    blocked/need-info ❌
    on Jul 26, 2018
  10. supercatexpert commented on Aug 20, 2018

    @supercatexpert

    I have the same problem on Debian Stretch with original mesa driver. But if I update package libgl1-mesa-dri from 13.0.6-1+b2 to 17.3.9-1~bpo9+1 (which is from Stretch backports). GPU acceleration can work again.

  11. sebakerckhof commented on Aug 21, 2018

    @sebakerckhof
    ContributorAuthor

    I can confirm it works with libgl1-mesa-dri 17.3.9-1~bpo9+1, weirdly enough I remember it didn't work with my own build of version 18.

  12. pronebird commented on Sep 26, 2018

    @pronebird

    We could reproduce the same problem and updating libgl1-mesa-dri from 13.x to 17.3 helped to solve the issue on the affected machines. Other machines using version 13.x were not affected and everything worked fine. Perhaps something changed in some of Intel's integrated GPUs that caused this.

  13. added a commit that references this issue on Oct 8, 2018
  14. anszom commented on Nov 2, 2018

    @anszom
    Contributor

    Try running the app without any connection to the tty (./electron (args) < /dev/null >/dev/null 2>/dev/null). If this helps, then see the above PR.

  15. supercatexpert commented on Nov 6, 2018

    @supercatexpert

    After set FDs 0/1/2 to /dev/null, it can work with GPU aceleration now.

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

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