[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
On Mantic, I installed the package from mantic-proposed and applied the same steps as I did in jammy (mentioned in comment #19). ``` ubuntu@kria:~$ apt policy xserver-xorg-core xserver-xorg-core: Installed: 2:21.1.7-3ubuntu2.10 Candidate: 2:21.1.7-3ubuntu2.10 Version table: *** 2:21.1.7-3ubuntu2.10 100 100 http://ports.ubuntu.com/ubuntu-ports mantic-proposed/main arm64 Packages 100 /var/lib/dpkg/status ``` After removing all connected usb devices from the board did a suspend/resume test and everything is working fine in mantic version of the package as well. ** Tags removed: verification-needed verification-needed-mantic ** Tags added: verification-done verification-done-mantic -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
Hello Timo, On jammy, ``` No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 22.04.4 LTS Release:22.04 Codename: jammy ``` I was able to reproduce the issue using old version of the xorg-server package(2:21.1.4-2ubuntu1.7~22.04.10), for the ones who are curious about the bug, first you need to boot the board with keyboard/mouse connected to usb and display attached and then login as usual. Then remove all usb device and follow the steps in bug description through tty console. After enabling -proposed and updating xorg-server packages to 2:21.1.4-2ubuntu1.7~22.04.11, I followed the same steps to reproduce the bug. I can confirm that the bug has been fixed with 2:21.1.4-2ubuntu1.7~22.04.11 Thank you all! ** Tags removed: verification-needed-jammy ** Tags added: verification-done-jammy -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
Jammy debdiff(jammy-2.debdiff) rebased on jammy-security Package is also build tested here: https://launchpad.net/~tchavadar/+archive/ubuntu/xorg-server-test/+packages ** Patch added: "jammy-2.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5764321/+files/jammy-2.debdiff -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
Mantic debdiff rebased on mantic-security Package is also build tested here: https://launchpad.net/~tchavadar/+archive/ubuntu/xorg-server-test/+packages ** Patch added: "mantic-1.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5764319/+files/mantic-1.debdiff ** Changed in: xorg-server (Ubuntu Mantic) Assignee: (unassigned) => Talha Can Havadar (tchavadar) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
** Patch added: "noble-1.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5755549/+files/noble-1.debdiff -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
** Patch removed: "noble-1.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5755510/+files/noble-1.debdiff ** Patch added: "jammy-1.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5755548/+files/jammy-1.debdiff ** Patch removed: "jammy-1.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5755512/+files/jammy-1.debdiff -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
fix build error ** Patch added: "jammy-1.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5755512/+files/jammy-1.debdiff ** Patch removed: "noble-0.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5753667/+files/noble-0.debdiff ** Patch removed: "jammy-0.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5753369/+files/jammy-0.debdiff -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
fix build error ** Patch added: "noble-1.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5755510/+files/noble-1.debdiff -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
Daniel, thank you for your time I have attached the debdiff for noble as well. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] Re: [SRU] fix suspend/resume when there are no input devices
** Patch added: "noble-0.debdiff" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+attachment/5753667/+files/noble-0.debdiff -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 2056331] [NEW] [SRU] fix suspend/resume when there are no input devices
Public bug reported: [Impact] Bug is impacting the suspend/resume flow when there is no input device connected to machine. xorg hangs in this case. [Where problems could occur] The problem could occur in places where there is no input device connected to the system but a suspend/resume is triggered. [Test Case] * Enable proposed updates (https://wiki.ubuntu.com/Testing/EnableProposed) * Update xorg-server to the version in -proposed: sudo apt install -t jammy-proposed xorg-server * Unplug all USB devices such as USB drive, keyboard, mouse, etc. * Set RTC timer and suspend the system via UART console $ echo 8 > /proc/sys/kernel/printk $ sudo rtcwake -v -m no -s 240 $ sudo systemctl suspend [Regression Potential] The patch defines a default behavior in systemd_logind_drop_master function so there is a possibility that there might be a regression that may affect all the systems that utilizes systemd_logind_drop_master Upstream Bug: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1387 ** Affects: xorg-server (Ubuntu) Importance: Undecided Status: New ** Tags: patch ** Patch added: "jammy-0.debdiff" https://bugs.launchpad.net/bugs/2056331/+attachment/5753369/+files/jammy-0.debdiff -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/2056331 Title: [SRU] fix suspend/resume when there are no input devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp