Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] app showing black screen with cursor blinking on dark theme after OS update #6818

Open
1 task done
ivan-ivanov-sciant opened this issue Nov 7, 2023 · 10 comments
Open
1 task done
Labels
bug desktop Desktop Application

Comments

@ivan-ivanov-sciant
Copy link

ivan-ivanov-sciant commented Nov 7, 2023

Steps To Reproduce

  1. Click on 'Click on Bitwarden app to open

Expected Result

To show app main/login screen.

Actual Result

Shows only a black screen with a blinking cursor. Whenever you write the correct credentials and login, still the screen is black.

Screenshots or Videos

Снимка от 2023-11-07 10-02-26

Additional Context

The issue appears after the OS update from Linux Mint 21.1 Cinnamon to Linux Mint 21.2 Cinnamon (Cinnamon version: 5.8.4, kernel: 5.15.0-88-generic).

Operating System

Linux

Operating System Version

Mint 21.2 Cinnamon

Installation method

Other (Build in Software Manager)

Build Version

2023.10.0

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@ivan-ivanov-sciant ivan-ivanov-sciant added bug desktop Desktop Application labels Nov 7, 2023
@gilgwath
Copy link

gilgwath commented Nov 7, 2023

Hello everybody,

This happened to me as well. I can even unlock my vault, but it's all just black. One interesting tidbit is, that the Todoist Desktop application has the same issue. I suspect there is some weird interaction between Flatpak, Electron and Wayland. I use the Flatpak com.bitwarden.desktop 2023.10.0

System info:

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Kernel Version: 6.5.9-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-5930K CPU @ 3.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: MSI
Product Name: MS-7A20
System Version: 1.0

What I've already tried unsuccessfully:

  • Turning it off and on again (whole system).
  • Removing and reinstalling the flatpak
  • Different combinations of access to windowing systems in the flatpak confinement settings
  • Setting the system theme to white (yeiks, my eyes)
  • Switching back to X11

Workarounds I've found:

Using the rpm, I can use Bitwarden just fine, in dark or light mode. I also tried downgrading the flatpak. The last commit ID which works for me is: d484e7474b902fb30a39acafd054b2027cf6ec4acca65266319e517a9fdce902, which is Bitwarden-2023.9.2.

If you are using flatpak, try downgrading using the following command:

sudo flatpak update --commit=d484e7474b902fb30a39acafd054b2027cf6ec4acca65266319e517a9fdce902 com.bitwarden.desktop

Commits can be listed using:

sudo flatpak remote-info --log flathub com.bitwarden.desktop

Please note that I'm not a Bitwarden dev, downgrading may or may not have security implications. The release notes do not say anything obvious about security fixes. Use your own judgement.

@darkBuddha
Copy link

Same issue on Fedora 38, in dark + white mode! Not cool at all

@Krychaz
Copy link
Member

Krychaz commented Nov 7, 2023

Hi there,

Thank you for your report!

I was able to reproduce this issue, and I have flagged this to our engineering team.

@ivan-ivanov-sciant
Copy link
Author

Uninstalling and installing again the flatpack doesn't resolve the issue for me, too. Currently, I was able to run on the black theme after uninstalling the flatpack and installing the Debian pack - Bitwarden-2023.10.1-amd64.deb.

@darkBuddha
Copy link

reinstalling fixed it for me, but also the version changed (2023.10.1 works)

@Alex99y
Copy link

Alex99y commented Nov 14, 2023

After Installing the latest version manually (dpkg -i .deb) it worked again

@FlameSoulis
Copy link

If you are using flatpak, try downgrading using the following command:

sudo flatpak update --commit=d484e7474b902fb30a39acafd054b2027cf6ec4acca65266319e517a9fdce902 com.bitwarden.desktop

Running this was the only way to restore the rendering.

System:
Kernel: 5.15.0-89-generic x86_64 bits; Distro: Linux Mint 21.2 on Cinnamon 5.8.4

@amarshall
Copy link
Contributor

amarshall commented Nov 29, 2023

Occurred for me in both light and dark mode. Removing the app data directory seemed to resolve, so perhaps it’s some bad cache data.

@FlameSoulis
Copy link

Occurred for me in both light and dark mode. Removing the app data directory seemed to resolve, so perhaps it’s some bad cache data.

For Flatpak, it was under ~/.var/com.bitwarden.desktop. Clearing the cache didn't solve the issue, and only worked after I cleared the entire directory.

If you clear the cache, it will generate the following errors:

------------------------
// Vertex SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 sk_RTAdjust;in float2 position;in half4 color;flat out half4 vcolor_S0;void main() {// Primitive Processor QuadPerEdgeAAGeometryProcessor
vcolor_S0 = color;sk_Position = position.xy01;}
// Fragment SKSL
#extension GL_NV_shader_noperspective_interpolation: require
flat in half4 vcolor_S0;void main() {// Stage 0, QuadPerEdgeAAGeometryProcessor
half4 outputColor_S0;outputColor_S0 = vcolor_S0;const half4 outputCoverage_S0 = half4(1);{ // Xfer Processor: Porter Duff
sk_FragColor = outputColor_S0 * outputCoverage_S0;}}
// Vertex GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
uniform highp vec4 sk_RTAdjust;
in highp vec2 position;
in mediump vec4 color;
flat out mediump vec4 vcolor_S0;
void main() {
    vcolor_S0 = color;
    gl_Position = vec4(position, 0.0, 1.0);
    gl_Position = vec4(gl_Position.xy * sk_RTAdjust.xz + gl_Position.ww * sk_RTAdjust.yw, 0.0, gl_Position.w);
}

// Fragment GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
flat in mediump vec4 vcolor_S0;
void main() {
    mediump vec4 outputColor_S0;
    outputColor_S0 = vcolor_S0;
    {
        sk_FragColor = outputColor_S0;
    }
}


Errors:
link failed but did not provide an info log

Considering this bug is rendering related, I'm wondering how much of it is due to some deployment issue.

@im007
Copy link

im007 commented Dec 22, 2023

Occurred for me in both light and dark mode. Removing the app data directory seemed to resolve, so perhaps it’s some bad cache data.

Reinstalling did not work for me, but removing the app data did.
Using AppImage on the latest version of Fedora Wayland.

When it was not working the app's display was completely blank, but I was:

  • able to login (blinking cursor in password field).
  • able to launch Inspect Element (although that was also blank -- nothing was visible, but I could hover over & click on elements).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug desktop Desktop Application
Projects
None yet
Development

No branches or pull requests

8 participants