Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nvidia-graphics-drivers-535 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/2042301

Title:
  Windows are slow to open shortly after login under X11 session

Status in nvidia-graphics-drivers-535 package in Ubuntu:
  Confirmed
Status in xdg-desktop-portal package in Ubuntu:
  Confirmed
Status in xdg-desktop-portal-gnome package in Ubuntu:
  Confirmed

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/mantic,now 45.0-1ubuntu2 amd64 [installed,automatic]
  mutter/mantic,now 45.0-3ubuntu3 amd64 [installed,automatic]
  nvidia-driver-535/mantic,now 535.113.01-0ubuntu3 amd64 [installed]

  The following might be related. If I open the GUI app Logs I see the 
following error:
  Failed to start xdg-desktop-portal.service - Portal service.

  If I write the following command:

  $ journalctl --user --unit=xdg-desktop-portal

  I get:

  Oct 31 18:19:20 my-pc-hostname systemd[39536]: Starting 
xdg-desktop-portal.service - Portal service...
  Oct 31 18:20:10 my-pc-hostname xdg-desktop-por[44027]: Failed to create 
settings proxy: Error calling StartServiceByName for 
org.freedesktop.impl.portal.desktop.gnome: Timeout was reached
  Oct 31 18:20:35 my-pc-hostname xdg-desktop-por[44027]: Failed to create file 
chooser proxy: Error calling StartServiceByName for 
org.freedesktop.impl.portal.desktop.gnome: Timeout was reached
  Oct 31 18:20:35 my-pc-hostname xdg-desktop-por[44027]: No skeleton to export
  Oct 31 18:20:50 my-pc-hostname systemd[39536]: xdg-desktop-portal.service: 
start operation timed out. Terminating.
  Oct 31 18:20:50 my-pc-hostname systemd[39536]: xdg-desktop-portal.service: 
Failed with result 'timeout'.
  Oct 31 18:20:50 my-pc-hostname systemd[39536]: Failed to start 
xdg-desktop-portal.service - Portal service.
  Oct 31 18:21:21 my-pc-hostname systemd[39536]: Starting 
xdg-desktop-portal.service - Portal service...
  Oct 31 18:21:21 my-pc-hostname systemd[39536]: Started 
xdg-desktop-portal.service - Portal service.
  Oct 31 18:23:46 my-pc-hostname systemd[39536]: Stopping 
xdg-desktop-portal.service - Portal service...
  Oct 31 18:23:46 my-pc-hostname systemd[39536]: Stopped 
xdg-desktop-portal.service - Portal service.

  So during one login and logout the service fails to start at first,
  but succeeds to start later.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2042301/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to