Bug 1214411 - Intel HD5500 handled by i915 hangs for seconds freezing the desktop interaction
Summary: Intel HD5500 handled by i915 hangs for seconds freezing the desktop interaction
Status: RESOLVED MOVED
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-08-19 07:36 UTC by Ilgaz Öcal
Modified: 2023-10-31 11:16 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
dmesg with firmware_class.dyndbg=+p (112.52 KB, text/plain)
2023-08-19 07:36 UTC, Ilgaz Öcal
Details
sudo hwinfo >hwinfo.txt (1.14 MB, text/plain)
2023-08-19 07:37 UTC, Ilgaz Öcal
Details
removed VM GPU sharing related settings and booted (88.82 KB, text/plain)
2023-08-19 08:45 UTC, Ilgaz Öcal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilgaz Öcal 2023-08-19 07:36:14 UTC
Created attachment 868888 [details]
dmesg with firmware_class.dyndbg=+p

I noticed my GPU which is Intel HD5500 (part of i5-5200U) hangs for several seconds and resumes. I am not physically using this laptop recently and I started to notice the hangs in 6.4.x kernel.

I have the following set for VM "GPU" sharing as kernel parameters. It isn't very critical ATM and I can disable them if needed.

acpi_osi=! quiet security=apparmor intel_iommu=on firmware_class.dyndbg=+p i915.enable_gvt=1 kvm.ignore_msrs=1 iommu=pt i915.modeset=1 allow_unsafe_interrupts=1 i915.enable_guc=0 

acpi_osi parameter is required to boot this system, already reported to Linux kernel
Comment 1 Ilgaz Öcal 2023-08-19 07:37:01 UTC
Created attachment 868889 [details]
sudo hwinfo >hwinfo.txt
Comment 2 Takashi Iwai 2023-08-19 08:10:32 UTC
Could you check all i915 and iommu-related options and check only PM problem?
We need to reduce the state as clean as possible at first.
Comment 3 Ilgaz Öcal 2023-08-19 08:45:34 UTC
Created attachment 868891 [details]
removed VM GPU sharing related settings and booted

I notice the hang occurs (but not limited to) the first KDE/Wayland loading screen after logged in via SDDM (entering password)

I also remember noticing the hang while using digikam etc.
Comment 4 Takashi Iwai 2023-08-19 12:01:05 UTC
Thanks.  A warning appears at the boot:

[    3.492974] i915 0000:00:02.0: drm_WARN_ON_ONCE(level >= n_entries)
[    3.493025] WARNING: CPU: 1 PID: 84 at drivers/gpu/drm/i915/display/intel_ddi.c:1412 intel_ddi_level+0x1cb/0x1e0 [i915]

then you got GPU hang.  I believe the best would be to report to the upstream at gitlab.freedesktop.org issues drm/intel.
Comment 5 Ilgaz Öcal 2023-10-31 11:16:38 UTC
I will be reporting the issue details on freedesktop bug reporting system as suggested.