You are not logged in.

#1 2023-09-26 22:42:27

paulhart
Member
Registered: 2020-01-08
Posts: 8

[SOLVED] Kernel 6.5.x not working with Intel HD 515 (i915 driver)

Hi all,

I'm using Arch on a HP G1 13 (CHELL) Chromebook. I'm running kernel 6.4.12 without issue, but every version of the 6.5.x kernel I've installed has had video driver issues (the display goes blank during boot and never recovers). Fortunately I have USB boot media so I can mount my eMMC and downgrade the kernel and headers back to 6.4.12.
Below is the relevant section from a past boot. Any ideas? I know that Intel significantly rewrote the i915 driver for 6.5...

Sep 25 20:21:12 lustrous kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
Sep 25 20:21:12 lustrous kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
Sep 25 20:21:12 lustrous kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
Sep 25 20:21:12 lustrous kernel: usb 2-4: New USB device found, idVendor=05e3, idProduct=0747, bcdDevice= 8.19
Sep 25 20:21:12 lustrous kernel: usb 2-4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
Sep 25 20:21:12 lustrous kernel: usb 2-4: Product: USB Storage
Sep 25 20:21:12 lustrous kernel: usb 2-4: Manufacturer: Generic
Sep 25 20:21:12 lustrous kernel: usb 2-4: SerialNumber: 000000000819
Sep 25 20:21:12 lustrous kernel: i915 0000:00:02.0: [drm] [ENCODER:94:DDI A/PHY A] HPD is down, disabling eDP
Sep 25 20:21:12 lustrous kernel: i915 0000:00:02.0: [drm] *ERROR* crtc 51: Can't calculate constants, dotclock = 0!
Sep 25 20:21:12 lustrous kernel: ------------[ cut here ]------------
Sep 25 20:21:12 lustrous kernel: i915 0000:00:02.0: drm_WARN_ON_ONCE(drm_drv_uses_atomic_modeset(dev))
Sep 25 20:21:12 lustrous kernel: WARNING: CPU: 1 PID: 106 at drivers/gpu/drm/drm_vblank.c:728 drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x28c/0x3a0
Sep 25 20:21:12 lustrous kernel: Modules linked in: mmc_block i915(+) i2c_algo_bit drm_buddy ttm serio_raw atkbd intel_gtt sdhci_pci cros_ec_keyb libps2 drm_display_helper cqhci matrix_keymap sdhci xhci_pci spi_intel_pci i8042 cec vivaldi_fmap crc32c_intel mmc_core spi_intel xhci_pci_renesas video serio wmi
Sep 25 20:21:12 lustrous kernel: CPU: 1 PID: 106 Comm: (udev-worker) Not tainted 6.5.4-arch2-1 #1 a30a3b4701899b64bf6025fd97642e50bf2dcad4
Sep 25 20:21:12 lustrous kernel: Hardware name: Google Chell/Chell, BIOS MrChromebox-4.20.1 07/21/2023
Sep 25 20:21:12 lustrous kernel: RIP: 0010:drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x28c/0x3a0
Sep 25 20:21:12 lustrous kernel: Code: 48 8b 5f 50 48 85 db 75 03 48 8b 1f e8 dd 33 02 00 48 c7 c1 d8 33 2b a4 48 89 da 48 c7 c7 d8 1b 21 a4 48 89 c6 e8 34 ac 7c ff <0f> 0b eb 13 48 8b 7b 08 44 89 d2 48 c7 c6 48 33 2b a4 e8 5d 46 02
Sep 25 20:21:12 lustrous kernel: RSP: 0018:ffff978bc1b3b838 EFLAGS: 00010082
Sep 25 20:21:12 lustrous kernel: RAX: 0000000000000000 RBX: ffff8b65c16e8750 RCX: c0000000ffffefff
Sep 25 20:21:12 lustrous kernel: RDX: 0000000000000000 RSI: 00000000ffffefff RDI: 0000000000000001
Sep 25 20:21:12 lustrous kernel: RBP: ffff978bc1b3b8a8 R08: 0000000000000000 R09: ffff978bc1b3b6c8
Sep 25 20:21:12 lustrous kernel: R10: 0000000000000003 R11: ffffffffa4aca068 R12: 0000000000000243
Sep 25 20:21:12 lustrous kernel: R13: ffffffffc087ed10 R14: ffff8b65c8608148 R15: ffff8b65c778f8a8
Sep 25 20:21:12 lustrous kernel: FS:  00007fca7a175480(0000) GS:ffff8b692ec80000(0000) knlGS:0000000000000000
Sep 25 20:21:12 lustrous kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 25 20:21:12 lustrous kernel: CR2: 0000558077b34000 CR3: 0000000100290005 CR4: 00000000003706e0
Sep 25 20:21:12 lustrous kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Sep 25 20:21:12 lustrous kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Sep 25 20:21:12 lustrous kernel: Call Trace:
Sep 25 20:21:12 lustrous kernel:  <TASK>
Sep 25 20:21:12 lustrous kernel:  ? drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x28c/0x3a0
Sep 25 20:21:12 lustrous kernel:  ? __warn+0x81/0x130
Sep 25 20:21:12 lustrous kernel:  ? drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x28c/0x3a0
Sep 25 20:21:12 lustrous kernel:  ? report_bug+0x171/0x1a0
Sep 25 20:21:12 lustrous kernel:  ? prb_read_valid+0x1b/0x30
Sep 25 20:21:12 lustrous kernel:  ? handle_bug+0x3c/0x80
Sep 25 20:21:12 lustrous kernel:  ? exc_invalid_op+0x17/0x70
Sep 25 20:21:12 lustrous kernel:  ? asm_exc_invalid_op+0x1a/0x20
Sep 25 20:21:12 lustrous kernel:  ? __pfx_i915_get_crtc_scanoutpos+0x10/0x10 [i915 b6eeb9dd6f036f6e4530b08d0da03df531609125]
Sep 25 20:21:12 lustrous kernel:  ? drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x28c/0x3a0
Sep 25 20:21:12 lustrous kernel:  ? drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x28c/0x3a0
Sep 25 20:21:12 lustrous kernel:  ? __pfx_drm_property_free_blob+0x10/0x10
Sep 25 20:21:12 lustrous kernel:  drm_crtc_get_last_vbltimestamp+0x55/0x90
Sep 25 20:21:12 lustrous kernel:  drm_reset_vblank_timestamp+0x69/0xe0
Sep 25 20:21:12 lustrous kernel:  drm_crtc_vblank_on+0x89/0x140
Sep 25 20:21:12 lustrous kernel:  intel_crtc_vblank_on+0x33/0x80 [i915 b6eeb9dd6f036f6e4530b08d0da03df531609125]
Sep 25 20:21:12 lustrous kernel:  intel_modeset_setup_hw_state+0x84f/0x1a20 [i915 b6eeb9dd6f036f6e4530b08d0da03df531609125]
Sep 25 20:21:12 lustrous kernel:  ? cec_notifier_get_conn+0x92/0x190 [cec bb434fd70c5aa49af1be9554bb4b0e6c6dad5505]
Sep 25 20:21:12 lustrous kernel:  ? intel_display_driver_probe_nogem+0x163/0x210 [i915 b6eeb9dd6f036f6e4530b08d0da03df531609125]
Sep 25 20:21:12 lustrous kernel:  intel_display_driver_probe_nogem+0x163/0x210 [i915 b6eeb9dd6f036f6e4530b08d0da03df531609125]
Sep 25 20:21:12 lustrous kernel:  i915_driver_probe+0x6dd/0xb80 [i915 b6eeb9dd6f036f6e4530b08d0da03df531609125]
Sep 25 20:21:12 lustrous kernel:  local_pci_probe+0x42/0xa0
Sep 25 20:21:12 lustrous kernel:  pci_device_probe+0xc1/0x260
Sep 25 20:21:12 lustrous kernel:  ? sysfs_do_create_link_sd+0x6e/0xe0
Sep 25 20:21:12 lustrous kernel:  really_probe+0x19b/0x3e0
Sep 25 20:21:12 lustrous kernel:  ? __pfx___driver_attach+0x10/0x10
Sep 25 20:21:12 lustrous kernel:  __driver_probe_device+0x78/0x160
Sep 25 20:21:12 lustrous kernel:  driver_probe_device+0x1f/0x90
Sep 25 20:21:12 lustrous kernel:  __driver_attach+0xd2/0x1c0
Sep 25 20:21:12 lustrous kernel:  bus_for_each_dev+0x85/0xd0
Sep 25 20:21:12 lustrous kernel:  bus_add_driver+0x116/0x220
Sep 25 20:21:12 lustrous kernel:  driver_register+0x59/0x100
Sep 25 20:21:12 lustrous kernel:  i915_init+0x22/0xc0 [i915 b6eeb9dd6f036f6e4530b08d0da03df531609125]
Sep 25 20:21:12 lustrous kernel:  ? __pfx_i915_init+0x10/0x10 [i915 b6eeb9dd6f036f6e4530b08d0da03df531609125]
Sep 25 20:21:12 lustrous kernel:  do_one_initcall+0x5a/0x320
Sep 25 20:21:12 lustrous kernel:  do_init_module+0x60/0x240
Sep 25 20:21:12 lustrous kernel:  init_module_from_file+0x89/0xe0
Sep 25 20:21:12 lustrous kernel:  idempotent_init_module+0x120/0x2b0
Sep 25 20:21:12 lustrous kernel:  __x64_sys_finit_module+0x5e/0xb0
Sep 25 20:21:12 lustrous kernel:  do_syscall_64+0x5d/0x90
Sep 25 20:21:12 lustrous kernel:  ? ksys_mmap_pgoff+0xec/0x1f0
Sep 25 20:21:12 lustrous kernel:  ? syscall_exit_to_user_mode+0x2b/0x40
Sep 25 20:21:12 lustrous kernel:  ? do_syscall_64+0x6c/0x90
Sep 25 20:21:12 lustrous kernel:  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
Sep 25 20:21:12 lustrous kernel: RIP: 0033:0x7fca7ac2a68d
Sep 25 20:21:12 lustrous kernel: Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 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 73 96 0c 00 f7 d8 64 89 01 48
Sep 25 20:21:12 lustrous kernel: RSP: 002b:00007fffc93c7068 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Sep 25 20:21:12 lustrous kernel: RAX: ffffffffffffffda RBX: 0000558077a41260 RCX: 00007fca7ac2a68d
Sep 25 20:21:12 lustrous kernel: RDX: 0000000000000000 RSI: 00007fca7ad37343 RDI: 0000000000000010
Sep 25 20:21:12 lustrous kernel: RBP: 00007fca7ad37343 R08: 0000000000000000 R09: fffffffffffffe90
Sep 25 20:21:12 lustrous kernel: R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000020000
Sep 25 20:21:12 lustrous kernel: R13: 0000558077a31c80 R14: 0000558077a41260 R15: 0000558077a410f0
Sep 25 20:21:12 lustrous kernel:  </TASK>
Sep 25 20:21:12 lustrous kernel: ---[ end trace 0000000000000000 ]---
Sep 25 20:21:12 lustrous kernel: usb-storage 2-4:1.0: USB Mass Storage device detected
Sep 25 20:21:12 lustrous kernel: scsi host0: usb-storage 2-4:1.0
Sep 25 20:21:12 lustrous kernel: usbcore: registered new interface driver usb-storage
Sep 25 20:21:12 lustrous kernel: usbcore: registered new interface driver uas
Sep 25 20:21:12 lustrous kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
Sep 25 20:21:12 lustrous kernel: ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
Sep 25 20:21:12 lustrous kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
Sep 25 20:21:12 lustrous kernel: tsc: Refined TSC clocksource calibration: 1512.001 MHz
Sep 25 20:21:12 lustrous kernel: clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x15cb6b97dd6, max_idle_ns: 440795270486 ns
Sep 25 20:21:12 lustrous kernel: clocksource: Switched to clocksource tsc
Sep 25 20:21:12 lustrous kernel: usb 1-7: new high-speed USB device number 3 using xhci_hcd
Sep 25 20:21:12 lustrous kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Sep 25 20:21:12 lustrous kernel: fbcon: Taking over console
Sep 25 20:21:12 lustrous kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Sep 25 20:21:12 lustrous kernel: usb 1-7: New USB device found, idVendor=0408, idProduct=5060, bcdDevice= 0.06
Sep 25 20:21:12 lustrous kernel: usb 1-7: New USB device strings: Mfr=3, Product=1, SerialNumber=2
Sep 25 20:21:12 lustrous kernel: usb 1-7: Product: HP Truevision HD
Sep 25 20:21:12 lustrous kernel: usb 1-7: Manufacturer: Generic
Sep 25 20:21:12 lustrous kernel: usb 1-7: SerialNumber: 200901010001
Sep 25 20:21:12 lustrous kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

Last edited by paulhart (2023-10-12 16:43:07)

Offline

#2 2023-10-11 03:14:55

strayArch
Member
Registered: 2017-01-01
Posts: 1

Re: [SOLVED] Kernel 6.5.x not working with Intel HD 515 (i915 driver)

I had the same issue upgrading to testing 6.5.7-arch1-1 works like a charm. Of course, the mirrors and pacman.conf needed some changes based on pacman.conf.pacnew and mirrorlist.pacnew before it would actually upgrade to 6.5.7

Offline

#3 2023-10-12 16:41:10

paulhart
Member
Registered: 2020-01-08
Posts: 8

Re: [SOLVED] Kernel 6.5.x not working with Intel HD 515 (i915 driver)

Success! The solution was "be patient". Thanks for the heads-up, strayArch!

Offline

Board footer

Powered by FluxBB