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

Bitwarden takes over a minute to open #188

Open
3DMicks opened this issue Mar 16, 2024 · 2 comments
Open

Bitwarden takes over a minute to open #188

3DMicks opened this issue Mar 16, 2024 · 2 comments

Comments

@3DMicks
Copy link

3DMicks commented Mar 16, 2024

The problem

Currently, Bitwarden takes about 1 minute and 31 seconds to startup on my machine but, after finally starting, it does work as expected. This didn't happen before the recent updates, and I can't find a similar issue on the Bitwarden repo, so it could be flatpak-related.

Update: After checking btop while it opened, I noticed that there was a lot of journal activity, and, as it turns out, Bitwarden spams [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000200] Cannot create sg_table for NvKmsKapiMemory 0x000000002bf7fadb thousands of times before finally opening.
As a workaround, disabling GPU acceleration using Flatseal fixes the spam, and Bitwarden opens without delay.

Log

bitwarden-startup.log

System Info

NVIDIA PRIME (550.67) + Intel 10th Gen (Mesa 1:24.0.3-2)
Kernel: 6.7.9-arch1-1
DE: KDE Plasma 6.0.2
WM: KWin (Wayland)
Bitwarden: 2024.3.0

@3DMicks
Copy link
Author

3DMicks commented Mar 24, 2024

I updated the issue with some new info and a workaround: disabling GPU acceleration.

For the record, games and other stuff work fine for me, and I'm not running Bitwarden using prime-run or anything similar (i.e., it should be using my Intel iGPU but for some reason is having problems with NVIDIA)

@ghisvail
Copy link
Collaborator

Thanks for investigating. I don't think Bitwarden benefits very much from hardware acceleration, so it's probably better to disable it if it accelerates load times.

Could you provide a PR for it?

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

No branches or pull requests

2 participants