Bug 2232325

Summary: intel_modeset_verify.c crashes on GIGABYTE AERO 15XV8
Product: [Fedora] Fedora Reporter: Maxim <lateinkaka>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarod, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg
none
dmesg-rawhide none

Description Maxim 2023-08-16 10:09:59 UTC
1. Please describe the problem:
The Laptop Screen does not turn on after booting.
External Monitor (via usb c dp alt mode) still works.
Link to reddit thread with the same issue from another user:
https://www.reddit.com/r/Fedora/comments/15f6b2k/fedora_does_not_boot_after_upgrade/

2. What is the Version-Release number of the kernel:
6.4.4-200.fc38

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
Tested with Silverblue/UBlue:
Last working kernel: 6.3.12-200.fc38
Issue appered in: 6.4.4-200.fc38

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
- Boot Fedora with 6.4.4 or newer on an Aero 15xv8 Laptop
- Observe the black Laptop screen

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
Tried with latest rawhide live installer iso (with Linux 6.5.0-0.rc6.43.fc40.x86_64) with the same result.
I also attached this kernel log as dmesg-rawhide.txt.

6. Are you running any modules that not shipped with directly Fedora's kernel?:
No

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.
   
Full kernel log in attachment

Aug 16 13:29:55 kernel: i915 0000:00:02.0: [drm] *ERROR* [CRTC:51:pipe A] mismatch in hw.adjusted_mode.flags (2) (expected 0, found 2)
Aug 16 13:29:55 kernel: i915 0000:00:02.0: [drm] *ERROR* [CRTC:51:pipe A] mismatch in hw.adjusted_mode.flags (8) (expected 0, found 8)
Aug 16 13:29:55 kernel: ------------[ cut here ]------------
Aug 16 13:29:55 kernel: pipe state doesn't match!
Aug 16 13:29:55 kernel: WARNING: CPU: 8 PID: 512 at drivers/gpu/drm/i915/display/intel_modeset_verify.c:219 intel_modeset_verify_crtc+0x3ae/0x3e0 [i915]
Aug 16 13:29:55 kernel: Modules linked in: i915(+) mxm_wmi crct10dif_pclmul crc32_pclmul drm_buddy i2c_algo_bit crc32c_intel nvme polyval_clmulni polyval_generic drm_display_helper nvme_core ghash_clmulni_intel cec sha512_ssse3 ttm nvme_common video wmi serio_raw uas usb_storage ip6_tables ip_tables fuse
Aug 16 13:29:55 kernel: CPU: 8 PID: 512 Comm: (udev-worker) Not tainted 6.4.4-200.fc38.x86_64 #1
Aug 16 13:29:55 kernel: Hardware name: GIGABYTE AERO 15XV8/AERO 15XV8, BIOS FB0A 08/16/2019
Aug 16 13:29:55 kernel: RIP: 0010:intel_modeset_verify_crtc+0x3ae/0x3e0 [i915]
Aug 16 13:29:55 kernel: Code: 01 00 00 e9 6e fd ff ff e8 0f cb 91 f0 0f 0b e9 09 fe ff ff e8 03 cb 91 f0 0f 0b 0f b6 44 24 17 e9 cb fd ff ff e8 f2 ca 91 f0 <0f> 0b e9 9e fe ff ff e8 e6 ca 91 f0 0f 0b 0f b6 85 50 01 00 00 e9
Aug 16 13:29:55 kernel: RSP: 0018:ffffa926007c78a0 EFLAGS: 00010286
Aug 16 13:29:55 kernel: RAX: 0000000000000000 RBX: ffff93c312c582a8 RCX: 0000000000000027
Aug 16 13:29:55 kernel: RDX: ffff93ca9dc21548 RSI: 0000000000000001 RDI: ffff93ca9dc21540
Aug 16 13:29:55 kernel: RBP: ffff93c30155c000 R08: 0000000000000000 R09: ffffa926007c7730
Aug 16 13:29:55 kernel: R10: 0000000000000003 R11: ffffffffb3146708 R12: ffff93c305d4c000
Aug 16 13:29:55 kernel: R13: ffff93c30db95000 R14: ffff93c30db95000 R15: ffff93c312c582b0
Aug 16 13:29:55 kernel: FS:  00007f383faa2940(0000) GS:ffff93ca9dc00000(0000) knlGS:0000000000000000
Aug 16 13:29:55 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 16 13:29:55 kernel: CR2: 00007ffbd0161000 CR3: 000000010102e005 CR4: 00000000003706e0
Aug 16 13:29:55 kernel: Call Trace:
Aug 16 13:29:55 kernel:  <TASK>
Aug 16 13:29:55 kernel:  ? intel_modeset_verify_crtc+0x3ae/0x3e0 [i915]
Aug 16 13:29:55 kernel:  ? __warn+0x81/0x130
Aug 16 13:29:55 kernel:  ? intel_modeset_verify_crtc+0x3ae/0x3e0 [i915]
Aug 16 13:29:55 kernel:  ? report_bug+0x171/0x1a0
Aug 16 13:29:55 kernel:  ? prb_read_valid+0x1b/0x30
Aug 16 13:29:55 kernel:  ? handle_bug+0x3c/0x80
Aug 16 13:29:55 kernel:  ? exc_invalid_op+0x17/0x70
Aug 16 13:29:55 kernel:  ? asm_exc_invalid_op+0x1a/0x20
Aug 16 13:29:55 kernel:  ? intel_modeset_verify_crtc+0x3ae/0x3e0 [i915]
Aug 16 13:29:55 kernel:  ? intel_fbc_activate+0x35/0x90 [i915]
Aug 16 13:29:55 kernel:  intel_atomic_commit_tail+0x87a/0xdf0 [i915]
Aug 16 13:29:55 kernel:  intel_atomic_commit+0x341/0x390 [i915]
Aug 16 13:29:55 kernel:  drm_atomic_commit+0x97/0xd0
Aug 16 13:29:55 kernel:  ? __pfx___drm_printfn_info+0x10/0x10
Aug 16 13:29:55 kernel:  intel_modeset_init+0x1a0/0x280 [i915]
Aug 16 13:29:55 kernel:  i915_driver_probe+0x5a1/0xb60 [i915]
Aug 16 13:29:55 kernel:  local_pci_probe+0x42/0xa0
Aug 16 13:29:55 kernel:  pci_device_probe+0xc7/0x240
Aug 16 13:29:55 kernel:  really_probe+0x19b/0x3e0
Aug 16 13:29:55 kernel:  ? __pfx___driver_attach+0x10/0x10
Aug 16 13:29:55 kernel:  __driver_probe_device+0x78/0x160
Aug 16 13:29:55 kernel:  driver_probe_device+0x1f/0x90
Aug 16 13:29:55 kernel:  __driver_attach+0xd2/0x1c0
Aug 16 13:29:55 kernel:  bus_for_each_dev+0x85/0xd0
Aug 16 13:29:55 kernel:  bus_add_driver+0x116/0x220
Aug 16 13:29:55 kernel:  driver_register+0x59/0x100
Aug 16 13:29:55 kernel:  i915_init+0x22/0xc0 [i915]
Aug 16 13:29:55 kernel:  ? __pfx_i915_init+0x10/0x10 [i915]
Aug 16 13:29:55 kernel:  do_one_initcall+0x5a/0x240
Aug 16 13:29:55 kernel:  do_init_module+0x60/0x240
Aug 16 13:29:55 kernel:  __do_sys_init_module+0x17f/0x1b0
Aug 16 13:29:55 kernel:  ? __seccomp_filter+0x32c/0x4f0
Aug 16 13:29:55 kernel:  do_syscall_64+0x5d/0x90
Aug 16 13:29:55 kernel:  ? __count_memcg_events+0x42/0x90
Aug 16 13:29:55 kernel:  ? count_memcg_events.constprop.0+0x1a/0x30
Aug 16 13:29:55 kernel:  ? handle_mm_fault+0x9e/0x350
Aug 16 13:29:55 kernel:  ? do_user_addr_fault+0x23a/0x600
Aug 16 13:29:55 kernel:  ? exc_page_fault+0x7f/0x180
Aug 16 13:29:55 kernel:  entry_SYSCALL_64_after_hwframe+0x72/0xdc
Aug 16 13:29:55 kernel: RIP: 0033:0x7f38403ca9ae
Aug 16 13:29:55 kernel: Code: 48 8b 0d 5d 04 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 2a 04 0c 00 f7 d8 64 89 01 48
Aug 16 13:29:55 kernel: RSP: 002b:00007ffc3cc0c008 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
Aug 16 13:29:55 kernel: RAX: ffffffffffffffda RBX: 0000555dd3d5f810 RCX: 00007f38403ca9ae
Aug 16 13:29:55 kernel: RDX: 00007f384050707d RSI: 0000000000825746 RDI: 0000555dd4620cc0
Aug 16 13:29:55 kernel: RBP: 00007ffc3cc0c0c0 R08: 0000555dd3d4fb20 R09: 0000000000824000
Aug 16 13:29:55 kernel: R10: 000055588608814f R11: 0000000000000246 R12: 00007f384050707d
Aug 16 13:29:55 kernel: R13: 0000000000020000 R14: 0000555dd3d620d0 R15: 0000555dd3d563d0
Aug 16 13:29:55 kernel:  </TASK>
Aug 16 13:29:55 kernel: ---[ end trace 0000000000000000 ]---
Aug 16 13:29:55 kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0


Reproducible: Always

Comment 1 Maxim 2023-08-16 10:40:26 UTC
Created attachment 1983583 [details]
dmesg

Comment 2 Maxim 2023-08-16 11:10:08 UTC
Created attachment 1983586 [details]
dmesg-rawhide