You are not logged in.

#1 Yesterday 03:15:11

VLegacy
Member
Registered: 2005-01-29
Posts: 44

[SOLVED] Chrome starts extremely slowly in Sway with nvidia drivers

Posting because I found lots of threads here and elsewhere from users experiencing this problem, and many of them don't seem to have solutions.

Problem: in Wayland (in my case, Sway) with the nvidia driver (in my case, the open driver), Chrome would take 1 minute or longer to launch. The icon would appear immediately in the tray, but the application windows themselves would not appear.

Solution: in my case, what solved it was installing xdg-desktop-portal-gtk. I already had xdg-desktop-portal-wlr installed, but apparently that doesn't provide everything:

Multiple backends can be installed and used at the same time. For example, a Sway setup may use xdg-desktop-portal-wlr for screen sharing support and xdg-desktop-portal-gtk as a fallback for all other interfaces that xdg-desktop-portal-wlr does not implement.

https://wiki.archlinux.org/title/XDG_De … l#Backends

Prior to installing xdg-desktop-portal-gtk, one of the messages when launching Chrome from the command line was a problem finding/calling something like "org.freedesktop.portal.FileChooser" (I don't have the exact message anymore).

I hope this helps someone else struggling to find a solution for this problem!

Last edited by VLegacy (Yesterday 03:15:29)

Offline

Board footer

Powered by FluxBB