Bug 1211975 - freeze with flip_done time out when external monitor attached
Summary: freeze with flip_done time out when external monitor attached
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-02 23:18 UTC by Matthew Mah
Modified: 2024-03-26 16:13 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
tiwai: needinfo? (mattm3a)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Mah 2023-06-02 23:18:17 UTC
Only when external monitor is attached, display freezes for a Lenovo T14. External monitor is connected via HDMI. Mean time between freeze ~1 hour. 

Output from terminal (CTRL+ALT+F1) looks something like this (from image, not copied in text form):

[374.123930][ T1729] i915 0000:00:02.0: [drm] *ERROR* flip_done timed out
[374.123938][ T1729] i915 0000:00:02.0: [drm] *ERROR* [PLANE:82:plane 1B] commit wait timed out

lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics] (rev 0c)

lsb-release -a
LSB Version:    n/a
Distributor ID: openSUSE
Description:    openSUSE Tumbleweed
Release:        20230531
Codename:       n/a

uname -srvp
Linux 6.3.4-1-default #1 SMP PREEMPT_DYNAMIC Mon May 29 06:22:29 UTC 2023 (2c66b1f) x86_64

I think this issue first appeared for me in mid-May, but I'm unsure of exactly what Tumbleweed update that was.
Comment 1 Takashi Iwai 2023-06-05 13:11:01 UTC
Could you try the older kernels found in TW history repo and verify which one works and which not?
  http://download.opensuse.org/history/
Comment 2 Matthew Mah 2023-06-05 14:38:48 UTC
Is there documentation on how to switch to older Tumbleweed kernels?
Comment 3 Takashi Iwai 2023-06-05 14:57:39 UTC
Just download kernel-default.rpm from the history repo.
e.g. the oldest one found right now is:
  http://download.opensuse.org/history/20230514/tumbleweed/repo/oss/x86_64/kernel-default-6.3.1-1.1.x86_64.rpm

Then install it manually via zypper install --oldpackage option.
  % zypper in --oldpackage kernel-default-6.3.1-1.1.x86_64.rpm

And boot with it (select the kernel at GRUB menu).
After testing, you can uninstall the kernel again.
  % zypper rm kernel-default-6.3.1-1.1

But, before testing multiple kernels, I'd recommend you to modify /etc/zypp/zypp.conf at first.  Change the line setting "multiversion.kernels" to add more entries, e.g.
  multiversion.kernels = latest,latest-1,latest-2,latest-3,running

This will allow up to 4 kernels installed on the system simultaneously.
Comment 4 Matthew Mah 2023-06-09 19:34:27 UTC
Freeze occurs with kernel-default-6.3.1-1.1.x86_64.rpm, so the change must be before that.
Comment 5 Matthew Mah 2023-06-09 19:54:29 UTC
Looking back, the first record I have of this bug is from 8 May 2023. I don't have a record of what kernel version was running at that time.
Comment 6 Takashi Iwai 2023-06-10 06:54:07 UTC
You can find a 6.2.x kernel in my OBS home:tiwai:kernel:6.2 repo.  Could you check with that?
(It's an unofficial build, and won't boot with Secure Boot easily, though.)
Comment 7 Matthew Mah 2024-01-11 14:56:23 UTC
I didn't get to try the 6.2 kernel for a long time, and now the keys are expired for the installation.
Comment 8 Matthew Mah 2024-01-11 14:59:18 UTC
The freeze occurs only when both the built-in display and the external monitor are enabled simultaneously. Using only one works fine.
Comment 9 Matthew Mah 2024-03-26 16:13:25 UTC
In 6.7.7-1-default with plasma 6, this no longer seems to be an issue.