Giter Site home page Giter Site logo

Comments (6)

link2xt avatar link2xt commented on July 16, 2024

There are also errors like this:

[1745749:1216/152348.415128:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[1745749:1216/152350.073640:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

from deltachat-desktop.

link2xt avatar link2xt commented on July 16, 2024

There are a lot of issues like this with Electron apps:

from deltachat-desktop.

link2xt avatar link2xt commented on July 16, 2024

Maybe this is related to Electron running in Xwayland rather than native wayland?
Should we add --enable-features=UseOzonePlatform --ozone-platform-hint=auto to electron command so it runs natively on Wayland rather than via Xwayland?
With this option killall -9 Xwayland does not kill the app, and without it by default apparently it runs via Xorg.

from deltachat-desktop.

link2xt avatar link2xt commented on July 16, 2024

With native wayland mode there are no issues so far.

from deltachat-desktop.

farooqkz avatar farooqkz commented on July 16, 2024

Does this help? https://unix.stackexchange.com/questions/723481/every-electron-application-blank-screen-when-using-wayland

from deltachat-desktop.

Simon-Laux avatar Simon-Laux commented on July 16, 2024

With native wayland mode there are no issues so far.

in flatpak there is a display scaling issue where it gets blurry, I guess it also exists outside of flatpak but haven't tried personally: flathub/chat.delta.desktop#124 (comment)

  • --enable-features=UseOzonePlatform - this is the default in newer chromium / electron versions, so not needed anymore
  • --ozone-platform-hint=auto - this might still make sense, there is a pr to make it a default on flathub/chat.delta.desktop#124 (which I included in the 1.44 update pr: flathub/chat.delta.desktop#125)

Also we updated electron recently, does this still happen on the newer versions?

from deltachat-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.