[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-27 Thread Daniel van Vugt
Despite comment #30 we probably don't want to *fix* the kernel. It
sounds like this plymouth patch would be a better idea:

https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/138.patch

** Changed in: linux (Ubuntu)
   Status: In Progress => Triaged

** Changed in: linux (Ubuntu)
 Assignee: Daniel van Vugt (vanvugt) => (unassigned)

** Changed in: linux (Ubuntu)
   Status: Triaged => Won't Fix

** Summary changed:

- At shutdown the spinner logo disappears and a second later it comes back 
frozen for a while (in kernel 5.11 but 5.10.16 works)
+ [i915] At shutdown the spinner logo disappears and a second later it comes 
back frozen for a while (in kernel 5.11 and later)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  [i915] At shutdown the spinner logo disappears and a second later it
  comes back frozen for a while (in kernel 5.11 and later)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-27 Thread Daniel van Vugt
It only took a week of bisecting to track down the kernel regression:

fe0f1e3bfdfeb53e18f1206aea4f40b9bd1f291c is the first bad commit
commit fe0f1e3bfdfeb53e18f1206aea4f40b9bd1f291c
Author: Ville Syrjälä 
Date:   Thu Oct 1 18:16:35 2020 +0300

drm/i915: Shut down displays gracefully on reboot

Implement the pci .shutdown() hook in order to quiesce the
hardware prior to reboot. The main purpose here is to turn
all displays off. Some displays/other drivers tend to get
confused if the state after reboot isn't exactly as they
expected.

One specific example was the Dell UP2414Q in MST mode.
It would require me to pull the power cord after a reboot
or else it would just not come back to life. Sadly I don't
have that at hand anymore so not sure if it's still
misbehaving without the graceful shutdown, or if we
managed to fix something else since I last tested it.

For good measure we do a gem suspend as well, so that
we match the suspend flow more closely. Also stopping
all DMA and whatnot is probably a good idea for kexec.
I would expect that some kind of GT reset happens on
normal reboot so probably not totally necessary there.

v2: Use the pci .shutdown() hook instead of a reboot notifier (Lukas)
Do the gem suspend for kexec (Chris)

Cc: Lukas Wunner 
Cc: Chris Wilson 
Signed-off-by: Ville Syrjälä 
Link: 
https://patchwork.freedesktop.org/patch/msgid/20201001151640.14590-1-ville.syrj...@linux.intel.com
Reviewed-by: Jani Nikula 
Reviewed-by: Chris Wilson 

 drivers/gpu/drm/i915/i915_drv.c | 16 
 drivers/gpu/drm/i915/i915_drv.h |  1 +
 drivers/gpu/drm/i915/i915_pci.c |  8 
 3 files changed, 25 insertions(+)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  [i915] At shutdown the spinner logo disappears and a second later it
  comes back frozen for a while (in kernel 5.11 and later)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-27 Thread Daniel van Vugt
Comment #27 does sound like it fixes the same issue
(https://bugzilla.redhat.com/show_bug.cgi?id=1941329). The plymouth fix
will be in future version 0.9.6 (or later).


** Also affects: plymouth (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: plymouth (Ubuntu)

** Bug watch added: Red Hat Bugzilla #1941329
   https://bugzilla.redhat.com/show_bug.cgi?id=1941329

** Also affects: plymouth (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=1941329
   Importance: Unknown
   Status: Unknown

** Also affects: plymouth (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: plymouth (Ubuntu)
   Importance: Undecided => Medium

** Changed in: plymouth (Ubuntu)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  At shutdown the spinner logo disappears and a second later it comes
  back frozen for a while (in kernel 5.11 but 5.10.16 works)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-23 Thread Sebastien Bacher
** Tags added: rls-ii-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  At shutdown the spinner logo disappears and a second later it comes
  back frozen for a while (in kernel 5.11 but 5.10.16 works)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-22 Thread Per-Inge
My Impish installation don't behave like that.
At restart
I see the spinner for about 4 sec, then black screen for about 12 sec until I 
see the "Asus logo" and a second later the grub menu.
The only customization is some extensions:
ArcMenu
Just Perfection to move the panel to bottom of the screen
Places Status Indicator
Vitals
Weather in The Clock
Ubuntu Dock is turned off
p-i@pi-asus-b550m-wifi:~$ inxi -Fz
System:Kernel: 5.13.0-14-generic x86_64 bits: 64 Desktop: GNOME 40.2 
Distro: Ubuntu 21.10 (Impish Indri) 
Machine:   Type: Desktop System: ASUS product: N/A v: N/A serial:  
   Mobo: ASUSTeK model: TUF GAMING B550M-PLUS (WI-FI) v: Rev X.0x 
serial:  UEFI: American Megatrends v: 1804 
   date: 02/02/2021 
CPU:   Info: 6-Core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP cache: 
L2: 3 MiB 
   Speed: 2876 MHz min/max: 2200/3700 MHz Core speeds (MHz): 1: 2876 2: 
2878 3: 3599 4: 2875 5: 3595 6: 2876 7: 2446 
   8: 2236 9: 2235 10: 2238 11: 2236 12: 2885 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 
OEM/5600 XT / 5700/5700 XT] driver: amdgpu 
   v: kernel 
   Device-2: Logitech Webcam C250 type: USB driver: 
snd-usb-audio,uvcvideo 
   Display: wayland server: X.Org 1.21.1.2 driver: loaded: amdgpu note: 
n/a (using device driver) 
   resolution: 2560x1440~60Hz 
   OpenGL: renderer: AMD Radeon RX 5700 (NAVI10 DRM 3.41.0 
5.13.0-14-generic LLVM 12.0.1) v: 4.6 Mesa 21.1.4 
Audio: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio 
driver: snd_hda_intel 
   Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio 
driver: snd_hda_intel 
   Device-3: Logitech Webcam C250 type: USB driver: 
snd-usb-audio,uvcvideo 
   Sound Server-1: ALSA v: k5.13.0-14-generic running: yes 
   Sound Server-2: PulseAudio v: 15.0 running: yes 
   Sound Server-3: PipeWire v: 0.3.32 running: yes 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi 
   IF: wlp6s0 state: down mac:  
   Device-2: Realtek RTL8125 2.5GbE driver: r8169 
   IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac:  
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb 
   Report: hciconfig ID: hci0 state: up address:  bt-v: 3.0 
Drives:Local Storage: total: 1.36 TiB used: 55.86 GiB (4.0%) 
   ID-1: /dev/nvme0n1 vendor: Corsair model: Force MP600 size: 465.76 
GiB 
   ID-2: /dev/nvme1n1 vendor: Kingston model: SA2000M8500G size: 465.76 
GiB 
   ID-3: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 
GiB 
Partition: ID-1: / size: 456.89 GiB used: 55.83 GiB (12.2%) fs: ext4 dev: 
/dev/sda2 
   ID-2: /boot/efi size: 511 MiB used: 33.9 MiB (6.6%) fs: vfat dev: 
/dev/nvme0n1p1 
Swap:  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: 
/swapfile 
Sensors:   System Temperatures: cpu: 35.6 C mobo: 40.0 C gpu: amdgpu temp: 42.0 
C 
   Fan Speeds (RPM): fan-1: 730 fan-2: 938 fan-3: 720 fan-7: 929 gpu: 
amdgpu fan: 0 
Info:  Processes: 373 Uptime: 3m Memory: 15.54 GiB used: 1.81 GiB (11.7%) 
Shell: Bash inxi: 3.3.06 
p-i@pi-asus-b550m-wifi:~$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  At shutdown the spinner logo disappears and a second later it comes
  back frozen for a while (in kernel 5.11 but 5.10.16 works)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-20 Thread Norbert
plymouth have a rework of the shutdown handling in the git.

https://cgit.freedesktop.org/plymouth/log/

Maybe that helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  At shutdown the spinner logo disappears and a second later it comes
  back frozen for a while (in kernel 5.11 but 5.10.16 works)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-20 Thread Daniel van Vugt
I can confirm the bug is still in the latest kernels and that it was
introduced in the 5.11 series:

5.10.16 - good
5.10.60 - good
5.11.1  - broken
5.14.0-051400rc6drmtip20210820 - broken

Next will be to bisect in git but I won't have time to do that this
week.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  At shutdown the spinner logo disappears and a second later it comes
  back frozen for a while (in kernel 5.11 but 5.10.16 works)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-20 Thread Daniel van Vugt
** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Daniel van Vugt (vanvugt)

** Changed in: linux (Ubuntu)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  At shutdown the spinner logo disappears and a second later it comes
  back frozen for a while (in kernel 5.11 but 5.10.16 works)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-09 Thread Daniel van Vugt
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  At shutdown the spinner logo disappears and a second later it comes
  back frozen for a while (in kernel 5.11 but 5.10.16 works)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-08-09 Thread Kai-Heng Feng
Please test latest drm-tip kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/current/

Headers are not needed.

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  At shutdown the spinner logo disappears and a second later it comes
  back frozen for a while (in kernel 5.11 but 5.10.16 works)

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


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

[Bug 1923335] Re: At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 but 5.10.16 works)

2021-07-05 Thread Daniel van Vugt
Thanks Norbert. Reddit seems convinced this is a kernel regression in
5.11 which would line up with the findings here, so let's go with that
for now.


** Summary changed:

- At shutdown the spinner logo disappears and a second later it comes back 
frozen for a while
+ At shutdown the spinner logo disappears and a second later it comes back 
frozen for a while (in kernel 5.11 but 5.10.16 works)

** Package changed: plymouth (Ubuntu) => linux (Ubuntu)

** No longer affects: snapd (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923335

Title:
  At shutdown the spinner logo disappears and a second later it comes
  back frozen for a while (in kernel 5.11 but 5.10.16 works)

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

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