** Also affects: xdg-desktop-portal (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  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 r>
  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 w>
  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 tart later.
+ succeeds to start later.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to