[Bug 2063143] Re: Frequent boot to black display
The issue here is the same one that happened in gdm last year where the startup would race with the load of DRM graphics drivers. GDM fixed it by essentially running the equivalent of 'udevadm settle'. The same kind of fix needs to be ported to sddm or systemd needs to be modified to not emit CanGraphical until DRM graphics drivers are fully loaded. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/plymouth/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/plymouth/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Changed in: plymouth Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/plymouth/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** No longer affects: linux ** No longer affects: linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/plymouth/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Changed in: systemd Status: Unknown => New ** Changed in: linux Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Also affects: systemd (Ubuntu) Importance: Undecided Status: New ** Bug watch added: github.com/systemd/systemd/issues #32509 https://github.com/systemd/systemd/issues/32509 ** Also affects: systemd via https://github.com/systemd/systemd/issues/32509 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Changed in: sddm (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
Plymouth not displaying anything is covered by bug 1869655 already so please try kernel parameter: plymouth.use-simpledrm which should solve that. ** Changed in: plymouth (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
here is i915 with a successfull boot. the i915 driver finishes starting before sddm starts. ** Attachment added: "i915-successfull-boot.txt" https://bugs.launchpad.net/sddm/+bug/2063143/+attachment/5770119/+files/i915-successfull-boot.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
here is i915 failed to boot in the same way. you can see the i915 kernel driver does not finish until much after sddm starts ** Attachment added: "i915-fail-boot.txt" https://bugs.launchpad.net/sddm/+bug/2063143/+attachment/5770118/+files/i915-fail-boot.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
I am hitting this on i915 as well with the same 50-75% frequency. I think this need to be upgraded to critical status (at least for non GDM login managers where no mitigation exists) and potentially release blocker depending on how widespread this issue is. Devices I have confirmed affected by this: AMD Framework 13 HP Spectre X360 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
For the plymouth part I think the suggestion above "plymouth.use- simpledrm" makes sense. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Changed in: sddm Status: Unknown => New ** Changed in: plymouth Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Bug watch added: github.com/sddm/sddm/issues #1917 https://github.com/sddm/sddm/issues/1917 ** Also affects: sddm via https://github.com/sddm/sddm/issues/1917 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
AMD kernel developer wants to classify this is as both SDDM bug and plymouth bug https://gitlab.freedesktop.org/drm/amd/-/issues/3341. amdgpu kernel driver is not ready by the time that sddm and plymouth are started in some cases (race condition). Marking this as a sddm and plymouth bug (in addition to linux) because of this. To me it seems that at least a systemd service should be handling blocking starting GUI userspace services until the kernel drivers are actually loaded but that is just my thought. I guess the AMD developer sees this the same way you do Daniel. ** Also affects: sddm (Ubuntu) Importance: Undecided Status: New ** Also affects: plymouth (Ubuntu) Importance: Undecided Status: New ** No longer affects: plymouth (Ubuntu) ** Also affects: plymouth (Ubuntu) Importance: Undecided Status: New ** Bug watch added: gitlab.freedesktop.org/plymouth/plymouth/-/issues #253 https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/253 ** Also affects: plymouth via https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/253 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Changed in: linux Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Bug watch added: gitlab.freedesktop.org/drm/amd/-/issues #3341 https://gitlab.freedesktop.org/drm/amd/-/issues/3341 ** Also affects: linux via https://gitlab.freedesktop.org/drm/amd/-/issues/3341 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
this issue has appeared before on other AMD hardware but was closed due to lack of activity and driver changes. my issue shows that it has re- appeared on new hardware and drivers https://gitlab.freedesktop.org/drm/amd/-/issues/1256 ** Bug watch added: gitlab.freedesktop.org/drm/amd/-/issues #1256 https://gitlab.freedesktop.org/drm/amd/-/issues/1256 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
Going to change this back to linux as the plymouth failing to display indicates an issues with KMS (plymouth uses KMS to display graphics on earlyboot which is what is happening here). The bootlogo from plymouth always shows (even for a very brief time) when SDDM starts and when it boots to a black screen the bootlog NEVER shows from plymouth. Using your reasoning of the race condition I should see the bootlogo at least sometimes in the boot to black screen but this has never happened (I have booted dozens of times to black screen and have always never seen the bootlogo). I do not think this has anything to do with sddm. If KMS is not working then of course everything else that relies on it later in the bootstack will also fail. The Ubuntu default drivers are in use. ** Package changed: sddm (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Changed in: sddm (Ubuntu) Assignee: Kleber Sacilotto de Souza (kleber-souza) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
Plymouth seems to be running, but also terminating within a couple of seconds. Since it's designed to not display anything if it thinks it won't run for very long then I think failing to see a Plymouth boot logo is OK in this case. You might like to try the workaround for bug 1869655 which is to add kernel parameter: plymouth.use-simpledrm I don't know much about sddm, Plasma or KDE, but there's a clear difference in the logs. When the screen remains black you're also missing the sddm log message: Display server started. So it looks like an sddm bug sometimes failing to launch X. Have you installed a graphics driver manually, or are you using the Ubuntu default drivers? ** Package changed: linux (Ubuntu) => sddm (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
Here is my current boot journalctl (where booting to a desktop succeeded) for comparison incase it helps. I will also note that on the boot to black screen I never see any plymouth bootlogos or messages. The screen remains black after grub (with only backlight level changing). When I get a successful boot I see the plymouth bootlogos and messages and then get dropped to sddm login screen. ** Attachment added: "cuttent_boot.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063143/+attachment/5769695/+files/cuttent_boot.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
Attached is the journalctl as instructed. I tried to power it off by short pressing the power button a few times (as you can see in the log at the end) while black screened but wasn't able to do that so hard to force power off. There are no logs in /var/crash/ ** Attachment added: "preboot.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063143/+attachment/5769694/+files/preboot.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
Also, are there any files in /var/crash ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
Next time you have a failed boot followed by a successful boot, please run: journalctl -b-1 > prevboot.txt and attach the resulting text file here. ** Package changed: linux-meta (Ubuntu) => linux (Ubuntu) ** Changed in: linux (Ubuntu) Status: New => Incomplete ** Tags added: amdgpu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2063143] Re: Frequent boot to black display
** Changed in: linux-meta (Ubuntu) Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063143 Title: Frequent boot to black display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/2063143/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs