Open 3DMicks opened 6 months ago
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)
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?
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