Windows are slow to open shortly after login under X11 session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-535 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
xdg-desktop-portal (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
xdg-desktop-portal-gnome (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 23.10 after I install the Nvidia driver v535 I get noticeable latency of about 10-15 seconds after I click on any application, be it Nautilus, Terminal, Firefox. The problem lasts for about one minute. More precise steps:
1. Install Nvidia drivers (using sudo ubuntu-drivers install)
2. Reboot
3. Login to X11 session (which becomes the default when Nvidia drivers are installed)
4. Quickly open Nautilus, Firefox and Terminal by clicking on their icons
5. The mouse cursor turns to circle. After 10-15 seconds, some window will appear
After about one minute opening any of these apps will open immediately, as expected. If I logout and login to Wayland the issue is not present. If I logout and login into X11 the issue can be reproduced, so it is not related to boot but to login. If I uninstall nvidia drivers the issue is gone.
It might be an issue with mutter or gnome-shell.
$ apt list nvidia-driver-535 mutter gnome-shell
Listing... Done
gnome-shell/
mutter/mantic,now 45.0-3ubuntu3 amd64 [installed,
nvidia-
The following might be related. If I open the GUI app Logs I see the following error:
Failed to start xdg-desktop-
If I write the following command:
$ journalctl --user --unit=
I get:
Oct 31 18:19:20 my-pc-hostname systemd[39536]: Starting xdg-desktop-
Oct 31 18:20:10 my-pc-hostname xdg-desktop-
Oct 31 18:20:35 my-pc-hostname xdg-desktop-
Oct 31 18:20:35 my-pc-hostname xdg-desktop-
Oct 31 18:20:50 my-pc-hostname systemd[39536]: xdg-desktop-
Oct 31 18:20:50 my-pc-hostname systemd[39536]: xdg-desktop-
Oct 31 18:20:50 my-pc-hostname systemd[39536]: Failed to start xdg-desktop-
Oct 31 18:21:21 my-pc-hostname systemd[39536]: Starting xdg-desktop-
Oct 31 18:21:21 my-pc-hostname systemd[39536]: Started xdg-desktop-
Oct 31 18:23:46 my-pc-hostname systemd[39536]: Stopping xdg-desktop-
Oct 31 18:23:46 my-pc-hostname systemd[39536]: Stopped xdg-desktop-
So during one login and logout the service fails to start at first, but succeeds to start later.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.