Giter VIP home page Giter VIP logo

Comments (9)

GlenKPeterson avatar GlenKPeterson commented on July 26, 2024 5

Removing the GPU cache folder might be a better workaround:

rm -rf ~/.var/app/com.bitwarden.desktop/config/Bitwarden/Partitions/bitwarden/GPUCache

Source: bitwarden/clients#6732 (comment)

from com.bitwarden.desktop.

leodip avatar leodip commented on July 26, 2024 5

I have this issue on Fedora 38, Gnome, Wayland.

I have removed this folder, and it fixed the issue.

rm -rf ~/.var/app/com.bitwarden.desktop/config/Bitwarden/Partitions/bitwarden/GPUCache

from com.bitwarden.desktop.

GlenKPeterson avatar GlenKPeterson commented on July 26, 2024 1

Workaround: I turned off GPU Acceleration in Flatseal and Bitwarden works. See other issue for details: bitwarden/clients#6732

from com.bitwarden.desktop.

sandhilt avatar sandhilt commented on July 26, 2024 1

Workaround via terminal:

$ flatpak override --user --nodevice=dri com.bitwarden.desktop

from com.bitwarden.desktop.

kparal avatar kparal commented on July 26, 2024 1

This might be yet another manifestation of this issue:
https://discussion.fedoraproject.org/t/chromium-based-browsers-display-garbled-web-pages-after-mesa-is-updated/83438
https://bugs.chromium.org/p/chromium/issues/detail?id=1442633

from com.bitwarden.desktop.

ghisvail avatar ghisvail commented on July 26, 2024

You need to clear the GPU cache:

I have this issue on Fedora 38, Gnome, Wayland.

I have removed this folder, and it fixed the issue.

rm -rf ~/.var/app/com.bitwarden.desktop/config/Bitwarden/Partitions/bitwarden/GPUCache

from com.bitwarden.desktop.

kparal avatar kparal commented on July 26, 2024

@ghisvail Please don't close this issue. Clearing the cache is just a workaround, not a solution, and will happen again the next time mesa libraries are updates. Also, only a negligible percentage of users will find this workaround.

This needs a proper solution. What about removing GPU acceleration until the problem is resolved? For Bitwarden it's not needed anyway.

from com.bitwarden.desktop.

ghisvail avatar ghisvail commented on July 26, 2024

It's an issue with many Electron apps, not specifically Bitwarden. The issue should be forwarded elsewhere.

What about removing GPU acceleration until the problem is resolved?

Besides, where do I track the "until the problem is resolved" part? So far, I have got no visibility.

from com.bitwarden.desktop.

kparal avatar kparal commented on July 26, 2024

It's an issue with many Electron apps, not specifically Bitwarden. The issue should be forwarded elsewhere.

Yes, I agree, the core issue is not in Bitwarden, and needs to be solved elsewhere. But Bitwarden users are affected, so we need at least some mitigation until the the problem is resolved. If we rely on people finding this ticket and pruning their cache regularly, we'll have 99% of user base leaving annoyed either at Bitwarden or at Flatpak.

I think dropping --device=dri from the manifest is a very simple thing to do at this moment, with essentially zero drawbacks.

Besides, where do I track the "until the problem is resolved" part? So far, I have got no visibility.

I think the proper upstream bug is this one:
https://bugs.chromium.org/p/chromium/issues/detail?id=1442633

It looks like this got fixed a few weeks back, so hopefully this should be resolved once Electron picks up the fixed Chromium version and then Electron is updated in Bitwarden flatpak, if I understand the deps right?

from com.bitwarden.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.