ACER Spin 713 2W i7 ( KLED) kernel error

I have recently installed ubuntu with on my chromebook using full UEFI bios. I am seeing the following messages in dmesg ( tried many different recent kernels all have this issue). The device also crashes on deep sleep, for now I have had to change to s2idle. Any guidance on how to solve this will be deeply appreciated.

[ +0.050184] i915 0000:00:02.0: [drm] ERROR VBT has malformed LFP data table pointers
[ +0.000007] ------------[ cut here ]------------
[ +0.000001] i915 0000:00:02.0: Block 42 min_size is zero
[ +0.000032] WARNING: CPU: 2 PID: 360 at drivers/gpu/drm/i915/display/intel_bios.c:471 init_bdb_block+0x319/0x570 [i915]
[ +0.000221] Modules linked in: snd_soc_rt5682_i2c i915(+) soundwire_bus industrialio iwlmvm(+) snd_soc_rt5682 kvm drm_buddy uvcvideo btusb snd_hda_intel snd_soc_max98357a ttm binfmt_misc snd_soc_rl6231 cros_ec_sysfs cros_usbpd_logger cros_ec_debugfs cros_ec_chardev btrtl cros_usbpd_charger snd_intel_dspcfg irqbypass mac80211 drm_display_helper videobuf2_vmalloc snd_seq_midi btbcm snd_soc_core snd_intel_sdw_acpi uvc snd_seq_midi_event cros_ec_sensorhub cmdlinepart processor_thermal_device_pci_legacy crct10dif_pclmul snd_hda_codec cec btintel snd_compress snd_rawmidi spi_nor videobuf2_memops polyval_clmulni processor_thermal_device nls_iso8859_1 btmtk polyval_generic rc_core snd_hda_core videobuf2_v4l2 processor_thermal_rfim ac97_bus ghash_clmulni_intel libarc4 intel_rapl_msr mtd joydev cros_ec_dev snd_hwdep snd_pcm_dmaengine bluetooth aesni_intel videodev snd_seq iwlwifi processor_thermal_mbox crypto_simd snd_pcm drm_kms_helper i2c_i801 snd_seq_device processor_thermal_rapl videobuf2_common intel_rapl_common cryptd
[ +0.000057] spi_intel_pci ecdh_generic rapl intel_cstate chromeos_tbmc cfg80211 mc cros_usbpd_notify spi_intel snd_timer cros_kbd_led_backlight ecc i2c_smbus i2c_algo_bit intel_soc_dts_iosf int3403_thermal snd intel_pch_thermal int340x_thermal_zone tpm_tis_spi intel_vbtn cros_ec_lpcs soundcore elan_i2c cros_ec sparse_keymap int3400_thermal acpi_thermal_rel soc_button_array input_leds mac_hid hid_multitouch serio_raw msr parport_pc ppdev lp parport drm efi_pstore dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor mmc_block raid6_pq libcrc32c raid1 raid0 multipath linear spi_pxa2xx_platform hid_generic dw_dmac dw_dmac_core 8250_dw crc32_pclmul sdhci_pci i2c_hid_acpi intel_lpss_pci cqhci intel_lpss xhci_pci i2c_hid sdhci idma64 xhci_pci_renesas hid cros_ec_keyb gpio_keys matrix_keymap video pinctrl_cannonlake wmi
[ +0.000046] CPU: 2 PID: 360 Comm: (udev-worker) Not tainted 6.5.0-14-generic #14-Ubuntu
[ +0.000002] Hardware name: Google Kled/Kled, BIOS MrChromebox-4.22.0 12/22/2023
[ +0.000001] RIP: 0010:init_bdb_block+0x319/0x570 [i915]
[ +0.000179] Code: 8b 7b 08 4c 8b 77 50 4d 85 f6 74 29 4c 89 45 d0 e8 5c b0 f9 dc 44 89 e1 4c 89 f2 48 c7 c7 78 8e a4 c1 48 89 c6 e8 b7 02 56 dc <0f> 0b 4c 8b 45 d0 e9 33 fd ff ff 4c 8b 37 eb d2 0f b6 15 0e 45 19
[ +0.000002] RSP: 0000:ffffb4a0c04937e0 EFLAGS: 00010246
[ +0.000002] RAX: 0000000000000000 RBX: ffff8d95d3a60000 RCX: 0000000000000000
[ +0.000001] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ +0.000001] RBP: ffffb4a0c0493840 R08: 0000000000000000 R09: 0000000000000000
[ +0.000001] R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000002a
[ +0.000001] R13: 0000000000000000 R14: ffff8d95c1bb9120 R15: 0000000000000000
[ +0.000001] FS: 00007fb4e767c8c0(0000) GS:ffff8d990e480000(0000) knlGS:0000000000000000
[ +0.000001] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.000002] CR2: 00007fc488cdf820 CR3: 0000000109c9e005 CR4: 00000000003706e0
[ +0.000002] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ +0.000001] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ +0.000001] Call Trace:
[ +0.000010]
[ +0.000004] ? show_regs+0x6d/0x80
[ +0.000006] ? __warn+0x89/0x160
[ +0.000003] ? init_bdb_block+0x319/0x570 [i915]
[ +0.000176] ? report_bug+0x17e/0x1b0
[ +0.000004] ? handle_bug+0x51/0xa0
[ +0.000003] ? exc_invalid_op+0x18/0x80
[ +0.000002] ? asm_exc_invalid_op+0x1b/0x20
[ +0.000004] ? init_bdb_block+0x319/0x570 [i915]
[ +0.000175] intel_bios_init+0x16b/0x470 [i915]
[ +0.000175] intel_display_driver_probe_noirq+0x43/0x290 [i915]
[ +0.000217] i915_driver_probe+0x2f1/0x5b0 [i915]
[ +0.000132] ? drm_privacy_screen_get+0x16d/0x190 [drm]
[ +0.000048] ? acpi_dev_found+0x64/0x80
[ +0.000005] i915_pci_probe+0xd0/0x170 [i915]
[ +0.000126] local_pci_probe+0x44/0xb0
[ +0.000019] pci_call_probe+0x55/0x190
[ +0.000002] pci_device_probe+0x84/0x120
[ +0.000002] really_probe+0x1c4/0x410
[ +0.000004] __driver_probe_device+0x8c/0x180
[ +0.000002] driver_probe_device+0x24/0xd0
[ +0.000002] __driver_attach+0x10b/0x210
[ +0.000003] ? __pfx___driver_attach+0x10/0x10
[ +0.000002] bus_for_each_dev+0x8a/0xf0
[ +0.000002] driver_attach+0x1e/0x30
[ +0.000002] bus_add_driver+0x127/0x240
[ +0.000002] driver_register+0x5e/0x130
[ +0.000003] __pci_register_driver+0x62/0x70
[ +0.000002] i915_pci_register_driver+0x23/0x30 [i915]
[ +0.000125] i915_init+0x34/0x120 [i915]
[ +0.000123] ? __pfx_i915_init+0x10/0x10 [i915]
[ +0.000123] do_one_initcall+0x5b/0x340
[ +0.000004] do_init_module+0x91/0x290
[ +0.000003] load_module+0xba1/0xcf0
[ +0.000003] ? vfree+0xff/0x2d0
[ +0.000003] init_module_from_file+0x96/0x100
[ +0.000002] ? init_module_from_file+0x96/0x100
[ +0.000003] idempotent_init_module+0x11c/0x2b0
[ +0.000003] __x64_sys_finit_module+0x64/0xd0
[ +0.000003] do_syscall_64+0x59/0x90
[ +0.000001] ? syscall_exit_to_user_mode+0x37/0x60
[ +0.000003] ? do_syscall_64+0x68/0x90
[ +0.000001] ? do_syscall_64+0x68/0x90
[ +0.000001] ? do_syscall_64+0x68/0x90
[ +0.000001] ? irqentry_exit+0x43/0x50
[ +0.000001] ? sysvec_call_function+0x4b/0xd0
[ +0.000002] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[ +0.000002] RIP: 0033:0x7fb4e7525c7d
[ +0.000022] 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 6b 81 0d 00 f7 d8 64 89 01 48
[ +0.000001] RSP: 002b:00007fff05b21848 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ +0.000002] RAX: ffffffffffffffda RBX: 0000560fda5c9fe0 RCX: 00007fb4e7525c7d
[ +0.000002] RDX: 0000000000000004 RSI: 00007fb4e77fe44a RDI: 0000000000000014
[ +0.000001] RBP: 00007fb4e77fe44a R08: 0000000000000040 R09: fffffffffffffde0
[ +0.000001] R10: fffffffffffffe18 R11: 0000000000000246 R12: 0000000000020000
[ +0.000001] R13: 0000560fda5c84e0 R14: 0000000000000000 R15: 0000560fda711e70
[ +0.000002]
[ +0.000001] —[ end trace 0000000000000000 ]—

Have you tried using a distro other than Ubuntu?

yes same issues with Fedora 37,38,39 and Ubuntu 23.04, 23.10

Why would this be an Ubuntu issue?

It clearly says that it has issues parsing VBT (Video Bios Tables, also known as Intel’s GPU VBIOS). Not a kernel issue.

cc: @MrChromebox, seems like we’ve got bad vbt.bin on KLED?

doubtful, it hasn’t changed since the beginning, and KLED and KINDRED are the same board, and there have been no reports of a problem before now