Public bug reported:

[ Impact ]

 * On Wayland only devices, when the Wayland display server fails to
   start occasionally, the gdm3 will only retry the unsupported Xorg
   display server instead of Wayland display server.
   The retry mechanism ineffective on these Wayland only devices,
   which in turn causes these devices to be unable to start graphics
   due to an occasional failure.

 * This patch backport from upstream and it will give 5 tries for
   the preferred display server (Wayland on our case).

[ Test Plan ]

 This patch can be verified on ubuntu Desktop by following these steps:
 * Download attached gdm-crash-test.sh and save it into
   /usr/local/bin/gdm-crash-test.sh
   (This script will emulate a start fail of gdm)
 * Run "chmod +x /usr/local/bin/gdm-crash-test.sh"
 * Edit /usr/share/applications/org.gnome.Shell.desktop.
   Replace the line starts with "Exec=" to:

     Exec=/usr/local/bin/gdm-crash-test.sh
 * Reboot
 * - If this device does not support Xorg display server, you will
     unable to see the Ubuntu login screen.
   - If this device supports Xorg display server, in the Ubuntu login
     screen, you will noticed that Wayland option is unusable.
 * Then, install the test package on system and reboot.
 * With new package, the login screen will show normally, and the wayland
   option is usable.
 
[ Where problems could occur ]

 * This patch adds 4 extra launch chances for the preferred display server.
   This may increase the delay in gdm selecting a fallback display server
   if the preferred display server is truly completely unavailable.

[ Other Info ]

 * This patch has just been merged into gdm main branch, and it will be in
   the next gdm release.

 * This bug originally raised by our customer Adventech (LP: #2099664)

 * Upstream Issue: https://gitlab.gnome.org/GNOME/gdm/-/issues/973

** Affects: gdm3 (Ubuntu)
     Importance: Undecided
     Assignee: Zhaoxuan Zhai (kxuan)
         Status: New

** Changed in: gdm3 (Ubuntu)
     Assignee: (unassigned) => Zhaoxuan Zhai (kxuan)

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

Title:
  [SRU]Fix preferred display server has not been retried on start

Status in gdm3 package in Ubuntu:
  New

Bug description:
  [ Impact ]

   * On Wayland only devices, when the Wayland display server fails to
     start occasionally, the gdm3 will only retry the unsupported Xorg
     display server instead of Wayland display server.
     The retry mechanism ineffective on these Wayland only devices,
     which in turn causes these devices to be unable to start graphics
     due to an occasional failure.

   * This patch backport from upstream and it will give 5 tries for
     the preferred display server (Wayland on our case).

  [ Test Plan ]

   This patch can be verified on ubuntu Desktop by following these steps:
   * Download attached gdm-crash-test.sh and save it into
     /usr/local/bin/gdm-crash-test.sh
     (This script will emulate a start fail of gdm)
   * Run "chmod +x /usr/local/bin/gdm-crash-test.sh"
   * Edit /usr/share/applications/org.gnome.Shell.desktop.
     Replace the line starts with "Exec=" to:

       Exec=/usr/local/bin/gdm-crash-test.sh
   * Reboot
   * - If this device does not support Xorg display server, you will
       unable to see the Ubuntu login screen.
     - If this device supports Xorg display server, in the Ubuntu login
       screen, you will noticed that Wayland option is unusable.
   * Then, install the test package on system and reboot.
   * With new package, the login screen will show normally, and the wayland
     option is usable.
   
  [ Where problems could occur ]

   * This patch adds 4 extra launch chances for the preferred display server.
     This may increase the delay in gdm selecting a fallback display server
     if the preferred display server is truly completely unavailable.

  [ Other Info ]

   * This patch has just been merged into gdm main branch, and it will be in
     the next gdm release.

   * This bug originally raised by our customer Adventech (LP: #2099664)

   * Upstream Issue: https://gitlab.gnome.org/GNOME/gdm/-/issues/973

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2120413/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to