i915 gives trace in dmesg

Bug #1960893 reported by Sander Jonkers
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

[ 1.904158] kernel: ------------[ cut here ]------------
[ 1.904159] kernel: i915 0000:00:02.0: drm_WARN_ON(val == 0xffffffff)
[ 1.904176] kernel: WARNING: CPU: 3 PID: 328 at drivers/gpu/drm/i915/display/intel_tc.c:761 intel_tc_port_init+0x1c4/0x1d0 [i915]
[ 1.904264] kernel: Modules linked in: snd_hda_intel kvm_intel(+) snd_intel_dspcfg intel_rapl_msr(+) snd_intel_sdw_acpi kvm snd_hda_codec snd_hda_core snd_hwdep crct10dif_pclmul ghash_clmulni_intel snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi i915(+) aesni_intel joydev crypto_simd cryptd rtw88_8821ce rtw88_8821c snd_seq rtw88_pci rtw88_core snd_seq_device intel_cstate nls_iso8859_1 snd_timer ttm mac80211 drm_kms_helper serio_raw cec hp_wmi rc_core processor_thermal_device_pci_legacy sparse_keymap processor_thermal_device i2c_algo_bit platform_profile wmi_bmof efi_pstore snd processor_thermal_rfim mei_me fb_sys_fops processor_thermal_mbox syscopyarea cfg80211 processor_thermal_rapl hid_multitouch mei ee1004 intel_rapl_common sysfillrect soundcore libarc4 sysimgblt intel_soc_dts_iosf mac_hid int3400_thermal wireless_hotkey dptf_pch_fivr acpi_pad acpi_thermal_rel int3403_thermal int340x_thermal_zone sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp parport drm ip_tables
[ 1.904304] kernel: x_tables autofs4 hid_generic nvme nvme_core i2c_i801 crc32_pclmul i2c_smbus intel_lpss_pci intel_lpss idma64 vmd xhci_pci xhci_pci_renesas wmi i2c_hid_acpi i2c_hid hid video pinctrl_tigerlake
[ 1.904312] kernel: CPU: 3 PID: 328 Comm: systemd-udevd Not tainted 5.15.0-18-generic #18-Ubuntu
[ 1.904314] kernel: Hardware name: HP HP Laptop 14s-dq2xxx/87FD, BIOS F.09 02/19/2021
[ 1.904315] kernel: RIP: 0010:intel_tc_port_init+0x1c4/0x1d0 [i915]
[ 1.904369] kernel: Code: 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 85 e8 35 e2 48 c7 c1 a0 ef bc c0 4c 89 ea 48 c7 c7 77 d8 be c0 48 89 c6 e8 1d ab 7c e2 <0f> 0b e9 55 ff ff ff 0f 1f 44 00 00 0f 1f 44 00 00 55 48 8b 17 80
[ 1.904370] kernel: RSP: 0018:ffffa22780973808 EFLAGS: 00010286
[ 1.904372] kernel: RAX: 0000000000000000 RBX: ffff93cf4882e000 RCX: 0000000000000027
[ 1.904373] kernel: RDX: ffff93d0b7ba09c8 RSI: 0000000000000001 RDI: ffff93d0b7ba09c0
[ 1.904373] kernel: RBP: ffffa22780973838 R08: 0000000000000003 R09: 00000000a4be0e12
[ 1.904374] kernel: R10: ffffffffffffffff R11: 0000000000000001 R12: 0000000000000000
[ 1.904374] kernel: R13: ffff93cf41550720 R14: ffff93cf4882efa0 R15: 00000000ffffffff
[ 1.904375] kernel: FS: 00007f63046e98c0(0000) GS:ffff93d0b7b80000(0000) knlGS:0000000000000000
[ 1.904376] kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.904377] kernel: CR2: 00007fc171f1aaa0 CR3: 000000010715e006 CR4: 0000000000770ee0
[ 1.904378] kernel: PKRU: 55555554
[ 1.904378] kernel: Call Trace:
[ 1.904379] kernel: <TASK>
[ 1.904381] kernel: intel_ddi_init+0x6a0/0xbd0 [i915]
[ 1.904447] kernel: ? __cond_resched+0x1a/0x50
[ 1.904451] kernel: intel_setup_outputs+0x304/0xc70 [i915]
[ 1.904514] kernel: intel_modeset_init_nogem+0x290/0x510 [i915]
[ 1.904562] kernel: ? intel_irq_postinstall+0x38b/0x680 [i915]
[ 1.904608] kernel: i915_driver_probe+0x1b7/0x470 [i915]
[ 1.904648] kernel: ? mutex_lock+0x13/0x40
[ 1.904650] kernel: i915_pci_probe+0x58/0x140 [i915]
[ 1.904689] kernel: local_pci_probe+0x48/0x90
[ 1.904692] kernel: pci_device_probe+0x115/0x1f0
[ 1.904693] kernel: really_probe+0x21b/0x420
[ 1.904696] kernel: __driver_probe_device+0x115/0x190
[ 1.904697] kernel: driver_probe_device+0x23/0xc0
[ 1.904699] kernel: __driver_attach+0xbd/0x1d0
[ 1.904700] kernel: ? __device_attach_driver+0x110/0x110
[ 1.904702] kernel: bus_for_each_dev+0x7c/0xc0
[ 1.904704] kernel: driver_attach+0x1e/0x20
[ 1.904705] kernel: bus_add_driver+0x135/0x200
[ 1.904707] kernel: driver_register+0x95/0xf0
[ 1.904708] kernel: __pci_register_driver+0x68/0x70
[ 1.904709] kernel: i915_register_pci_driver+0x23/0x30 [i915]
[ 1.904746] kernel: i915_init+0x3b/0xfc [i915]
[ 1.904793] kernel: ? 0xffffffffc0cad000
[ 1.904794] kernel: do_one_initcall+0x46/0x1d0
[ 1.904797] kernel: ? kmem_cache_alloc_trace+0x19e/0x2e0
[ 1.904800] kernel: do_init_module+0x62/0x280
[ 1.904801] kernel: load_module+0xac9/0xbb0
[ 1.904803] kernel: __do_sys_finit_module+0xbf/0x120
[ 1.904804] kernel: __x64_sys_finit_module+0x18/0x20
[ 1.904805] kernel: do_syscall_64+0x59/0xc0
[ 1.904807] kernel: ? fput+0x13/0x20
[ 1.904809] kernel: ? ksys_mmap_pgoff+0x150/0x2b0
[ 1.904810] kernel: ? exit_to_user_mode_prepare+0x37/0xb0
[ 1.904812] kernel: ? syscall_exit_to_user_mode+0x27/0x50
[ 1.904814] kernel: ? __x64_sys_mmap+0x33/0x40
[ 1.904816] kernel: ? do_syscall_64+0x69/0xc0
[ 1.904817] kernel: ? do_syscall_64+0x69/0xc0
[ 1.904818] kernel: ? syscall_exit_to_user_mode+0x27/0x50
[ 1.904819] kernel: ? __x64_sys_read+0x19/0x20
[ 1.904820] kernel: ? do_syscall_64+0x69/0xc0
[ 1.904821] kernel: ? do_syscall_64+0x69/0xc0
[ 1.904822] kernel: ? do_syscall_64+0x69/0xc0
[ 1.904823] kernel: ? do_syscall_64+0x69/0xc0
[ 1.904824] kernel: ? asm_sysvec_call_function+0xa/0x20
[ 1.904825] kernel: entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 1.904826] kernel: RIP: 0033:0x7f6304de194d
[ 1.904828] kernel: Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b3 64 0f 00 f7 d8 64 89 01 48
[ 1.904829] kernel: RSP: 002b:00007ffd26781878 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 1.904830] kernel: RAX: ffffffffffffffda RBX: 000055855c810050 RCX: 00007f6304de194d
[ 1.904831] kernel: RDX: 0000000000000000 RSI: 00007f6304f77441 RDI: 0000000000000017
[ 1.904832] kernel: RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000002
[ 1.904832] kernel: R10: 0000000000000017 R11: 0000000000000246 R12: 00007f6304f77441
[ 1.904833] kernel: R13: 000055855c6d5620 R14: 000055855c6d5670 R15: 000055855c6cd420
[ 1.904834] kernel: </TASK>
[ 1.904834] kernel: ---[ end trace a3dfce48e22963be ]---

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-18-generic 5.15.0-18.18
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu76
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: sander 1230 F.... pipewire
                      sander 1231 F.... pipewire-media-
                      sander 1232 F.... pulseaudio
 /dev/snd/seq: sander 1230 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 15 07:31:23 2022
InstallationDate: Installed on 2022-02-14 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220202)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0408:5365 Quanta Computer, Inc. HP TrueVision HD Camera
 Bus 001 Device 004: ID 0bda:b00e Realtek Semiconductor Corp. Bluetooth Radio
 Bus 001 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP Laptop 14s-dq2xxx
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-18-generic root=UUID=2a73c639-6c7d-4a7c-afe0-723f55f0948e ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-18-generic N/A
 linux-backports-modules-5.15.0-18-generic N/A
 linux-firmware 20220124.git0c6a7b3b-0ubuntu1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/19/2021
dmi.bios.release: 15.9
dmi.bios.vendor: AMI
dmi.bios.version: F.09
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 87FD
dmi.board.vendor: HP
dmi.board.version: 57.16
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 57.16
dmi.modalias: dmi:bvnAMI:bvrF.09:bd02/19/2021:br15.9:efr57.16:svnHP:pnHPLaptop14s-dq2xxx:pvr:rvnHP:rn87FD:rvr57.16:cvnHP:ct10:cvrChassisVersion:sku33X67EA#ABH:
dmi.product.family: 103C_5335KV HP Notebook
dmi.product.name: HP Laptop 14s-dq2xxx
dmi.product.sku: 33X67EA#ABH
dmi.sys.vendor: HP

Revision history for this message
Sander Jonkers (jonkers) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Sander Jonkers (jonkers) wrote :

Still there in current Ubuntu 22.04 (fresh install, fully updated)

Revision history for this message
Executenor (nicktelindert) wrote :

I experience the same problem on an HP laptop(HP Laptop 15s-fq4xxx/89BC, BIOS F.31 03/25/2023) with a tigerlake CPU.
But this one also freezes when a do a reboot. A cold boot always works.

The only kernels to work reliably are the liquorix kernels. And they only work after falling back to the intel hda legacy driver in combination with the model dell-headset-multi.

This might sound weird but apparently there is some interaction between the audio drivers and the i915 module. Probably has something to do with hdmi and or usb-c audio?

I think the problem is a that the bios if just very buggy and needs some workaround to function correctly.
One thing i noticed is that the liqourix kernel has hpet en intel_pstate disabled. These had no effects on the default kernel, at least it did not prevent the freezes after a reboot.

Revision history for this message
Executenor (nicktelindert) wrote :

Another thing i found out that blacklisting snd_hda_core prevents the system from freezing

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.