You are not logged in.
i915 driver crash on huawei matebook e 2023(DRR-W56).
it seems gen11_dsi_set_transcoder_timings divide with zero and cause driver failure.
Here is the log:
[ 79.593198] [ T559] i915 0000:00:02.0: [drm:mipi_exec_send_packet [i915]]
[ 79.593279] [ T559] i915 0000:00:02.0: [drm:mipi_exec_delay [i915]] 150000 usecs
[ 79.692438] [ T493] i915 0000:00:02.0: [drm:intel_tc_port_update_mode [i915]] Port E/TC#2: TC port mode reset (tbt-alt -> disconnected)
[ 79.692524] [ T96] i915 0000:00:02.0: [drm:intel_tc_port_update_mode [i915]] Port D/TC#1: TC port mode reset (tbt-alt -> disconnected)
[ 79.743552] [ T559] i915 0000:00:02.0: [drm:mipi_exec_send_packet [i915]]
[ 79.744108] [ T559] i915 0000:00:02.0: [drm:mipi_exec_send_packet [i915]]
[ 79.744612] [ T559] i915 0000:00:02.0: [drm:mipi_exec_delay [i915]] 85000 usecs
[ 79.830256] [ T559] i915 0000:00:02.0: [drm:mipi_exec_delay [i915]] 35000 usecs
[ 79.866163] [ T559] Oops: divide error: 0000 [#1] PREEMPT SMP NOPTI
[ 79.866184] [ T559] CPU: 9 UID: 0 PID: 559 Comm: kworker/9:2 Kdump: loaded Tainted: G W 6.13.2-arch1-1-w56 #1 87ae4100e3781e7b88a99ea0f2b77e481e624103
[ 79.866201] [ T559] Tainted: [W]=WARN
[ 79.866204] [ T559] Hardware name: HUAWEI DRR-WXX/DRR-WXX-PCB, BIOS 1.29 10/11/2024
[ 79.866209] [ T559] Workqueue: events output_poll_execute
[ 79.866228] [ T559] RIP: 0010:gen11_dsi_pre_enable+0x17d5/0x1bb0 [i915]
[ 79.866802] [ T559] Code: 01 d0 31 d2 41 f7 f3 31 d2 45 69 db e8 03 00 00 89 c7 b8 40 42 0f 00 f7 ff 31 d2 0f af c6 41 f7 f3 89 c6 8d 80 8f 01 00 00 99 <f7> fe 44 01 e8 66 89 44 24 10 e9 1c fa ff ff 41 8b 81 9c 02 00 00
[ 79.866809] [ T559] RSP: 0018:ffffa8b900b47948 EFLAGS: 00010202
[ 79.866816] [ T559] RAX: 000000000000018f RBX: ffff8ca29708c618 RCX: 0000000000000018
[ 79.866822] [ T559] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000000610ee
[ 79.866826] [ T559] RBP: 000000000000038b R08: 0000000000000008 R09: ffff8ca2af76a800
[ 79.866831] [ T559] R10: 0000000000000a00 R11: 0000000000000fa0 R12: ffff8ca292d5c000
[ 79.866836] [ T559] R13: 0000000000000640 R14: 0000000000000001 R15: ffff8ca2af76a800
[ 79.866841] [ T559] FS: 0000000000000000(0000) GS:ffff8ca62f880000(0000) knlGS:0000000000000000
[ 79.866847] [ T559] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 79.866852] [ T559] CR2: 00007e7a04002258 CR3: 00000002e2222004 CR4: 0000000000f70ef0
[ 79.866858] [ T559] PKRU: 55555554
[ 79.866862] [ T559] Call Trace:
[ 79.866871] [ T559] <TASK>
[ 79.866878] [ T559] ? __die_body.cold+0x19/0x27
[ 79.866892] [ T559] ? die+0x2e/0x50
[ 79.866902] [ T559] ? do_trap+0xca/0x110
[ 79.866911] [ T559] ? do_error_trap+0x6a/0x90
[ 79.866918] [ T559] ? gen11_dsi_pre_enable+0x17d5/0x1bb0 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.867435] [ T559] ? exc_divide_error+0x38/0x50
[ 79.867446] [ T559] ? gen11_dsi_pre_enable+0x17d5/0x1bb0 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.867944] [ T559] ? asm_exc_divide_error+0x1a/0x20
[ 79.867960] [ T559] ? gen11_dsi_pre_enable+0x17d5/0x1bb0 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.868453] [ T559] ? gen11_dsi_pre_enable+0x10c9/0x1bb0 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.868945] [ T559] intel_encoders_pre_enable+0x91/0xb0 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.869572] [ T559] hsw_crtc_enable+0x1b9/0x9b0 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.870198] [ T559] intel_enable_crtc+0x10c/0x140 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.870819] [ T559] skl_commit_modeset_enables+0x2e1/0x5f0 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.871436] [ T559] intel_atomic_commit_tail+0x9cc/0x1540 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.872057] [ T559] intel_atomic_commit+0x223/0x270 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.872348] [ T559] drm_atomic_commit+0xaf/0xe0
[ 79.872351] [ T559] ? __pfx___drm_printfn_info+0x10/0x10
[ 79.872354] [ T559] drm_client_modeset_commit_atomic+0x203/0x250
[ 79.872357] [ T559] drm_client_modeset_commit_locked+0x5a/0x160
[ 79.872359] [ T559] drm_client_modeset_commit+0x25/0x40
[ 79.872361] [ T559] __drm_fb_helper_restore_fbdev_mode_unlocked+0x85/0xd0
[ 79.872364] [ T559] drm_fb_helper_hotplug_event+0xe6/0x100
[ 79.872367] [ T559] intel_fbdev_client_hotplug+0x82/0xf0 [i915 0321ec014254c8464342a113fb35d643c93a38c5]
[ 79.872459] [ T559] drm_client_dev_hotplug+0x9e/0xf0
[ 79.872461] [ T559] output_poll_execute+0x2ad/0x2d0
[ 79.872463] [ T559] process_one_work+0x17b/0x330
[ 79.872467] [ T559] worker_thread+0x2ce/0x3f0
[ 79.872469] [ T559] ? __pfx_worker_thread+0x10/0x10
[ 79.872471] [ T559] kthread+0xcf/0x100
[ 79.872473] [ T559] ? __pfx_kthread+0x10/0x10
[ 79.872474] [ T559] ret_from_fork+0x31/0x50
[ 79.872477] [ T559] ? __pfx_kthread+0x10/0x10
[ 79.872478] [ T559] ret_from_fork_asm+0x1a/0x30
[ 79.872482] [ T559] </TASK>
test with xe driver, it shows `driver xe failed with error -4`.
[ 70.805722] simple-framebuffer simple-framebuffer.0: [drm:drm_file_free] comm="modprobe", pid=2291, dev=0xe200, open_count=1
[ 70.805733] simple-framebuffer simple-framebuffer.0: [drm:drm_sysfs_connector_remove] [CONNECTOR:36:Unknown-1] removing connector from sysfs
[ 70.805859] xe 0000:00:02.0: vgaarb: deactivate vga console
[ 70.806080] xe 0000:00:02.0: [drm] Support for SR-IOV is not available
[ 70.806082] xe 0000:00:02.0: [drm] Found alderlake_p (device ID 46aa) display version 13.00 stepping D0
[ 70.806084] xe 0000:00:02.0: [drm:xe_pci_probe [xe]] ALDERLAKE_P 46aa:000c dgfx:0 gfx:Xe_LP (12.00) media:Xe_M (12.00) display:yes dma_m_s:39 tc:1 gscfi:0 cscfi:0
[ 70.806180] xe 0000:00:02.0: [drm:xe_pci_probe [xe]] Stepping = (G:C0, M:C0, B:**)
[ 70.806247] xe 0000:00:02.0: [drm:xe_pci_probe [xe]] SR-IOV support: no (mode: none)
[ 70.806328] xe 0000:00:02.0: [drm:intel_pch_type [xe]] Found Alder Lake PCH
[ 70.809703] xe 0000:00:02.0: [drm] Using GuC firmware from i915/adlp_guc_70.bin version 70.29.2
[ 70.811147] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 0] = 0x002513d7
[ 70.811252] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 1] = 0x00000000
[ 70.811359] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 2] = 0x00000000
[ 70.811414] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 3] = 0x00000003
[ 70.811464] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 4] = 0x000006c8
[ 70.811509] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 5] = 0x46aa000c
[ 70.811556] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 6] = 0x00000000
[ 70.811601] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 7] = 0x00000000
[ 70.811641] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 8] = 0x00000000
[ 70.811681] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[ 9] = 0x00000000
[ 70.811725] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[10] = 0x00000000
[ 70.811807] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[11] = 0x00000000
[ 70.811856] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[12] = 0x00000000
[ 70.811903] xe 0000:00:02.0: [drm:guc_print_params [xe]] GT0: GuC param[13] = 0x00000000
[ 70.813469] xe 0000:00:02.0: [drm] Using HuC firmware from i915/tgl_huc.bin version 7.9.3
[ 70.813580] xe 0000:00:02.0: [drm:xe_wopcm_init [xe]] WOPCM: 2048K
[ 70.813696] xe 0000:00:02.0: [drm:xe_wopcm_init [xe]] Calculated GuC WOPCM [592K, 1420K)
[ 70.815056] xe 0000:00:02.0: [drm:__xe_guc_upload.isra.0 [xe]] GT0: load still in progress, timeouts = 0, freq = 850MHz (req 850MHz), status = 0x00000072 [0x39/00]
[ 70.815442] xe 0000:00:02.0: [drm:__xe_guc_upload.isra.0 [xe]] GT0: load still in progress, timeouts = 0, freq = 850MHz (req 850MHz), status = 0x00000074 [0x3A/00]
[ 70.815815] xe 0000:00:02.0: [drm:__xe_guc_upload.isra.0 [xe]] GT0: load still in progress, timeouts = 0, freq = 850MHz (req 850MHz), status = 0x800005EC [0x76/05]
[ 70.838292] xe 0000:00:02.0: [drm:__xe_guc_upload.isra.0 [xe]] GT0: init took 23ms, freq = 850MHz (req = 850MHz), before = 850MHz, status = 0x8002F0EC, timeouts = 0
[ 70.838708] xe 0000:00:02.0: [drm:xe_guc_ct_enable [xe]] GT0: GuC CT communication channel enabled
[ 70.838800] xe 0000:00:02.0: [drm:xe_guc_ct_enable [xe]] GT0: GuC CT safe-mode enabled
[ 70.838884] xe 0000:00:02.0: [drm:xe_gt_topology_init [xe]] GT topology dss mask (geometry): 00000000,00000000,0000001f
[ 70.838972] xe 0000:00:02.0: [drm:xe_gt_topology_init [xe]] GT topology dss mask (compute): 00000000,00000000,00000000
[ 70.839055] xe 0000:00:02.0: [drm:xe_gt_topology_init [xe]] GT topology EU mask per DSS: 0000ffff
[ 70.839137] xe 0000:00:02.0: [drm:xe_gt_topology_init [xe]] GT topology EU type: simd8
[ 70.839217] xe 0000:00:02.0: [drm:xe_gt_topology_init [xe]] GT topology L3 bank mask: 00000000,00000077
[ 70.839301] xe 0000:00:02.0: [drm:dss_per_group [xe]] GT0: GuC hwconfig cannot provide dss/slice; using typical fallback values
[ 70.839408] xe 0000:00:02.0: [drm:intel_opregion_setup [xe]] graphic opregion physical addr: 0x448ec018
[ 70.839553] xe 0000:00:02.0: [drm:intel_opregion_setup [xe]] ACPI OpRegion version 2.1.0
[ 70.839665] xe 0000:00:02.0: [drm:intel_opregion_setup [xe]] Public ACPI methods supported
[ 70.839765] xe 0000:00:02.0: [drm:intel_opregion_setup [xe]] ASLE supported
[ 70.839862] xe 0000:00:02.0: [drm:intel_opregion_setup [xe]] ASLE extension supported
[ 70.839967] xe 0000:00:02.0: [drm:intel_opregion_setup [xe]] Found valid VBT in ACPI OpRegion (RVDA)
[ 70.840096] xe 0000:00:02.0: [drm:intel_dram_detect [xe]] Num qgv points 4
[ 70.840239] xe 0000:00:02.0: [drm:intel_dram_detect [xe]] DRAM channels: 4
[ 70.840375] xe 0000:00:02.0: [drm:xe_display_init_noirq [xe]] Watermark level 0 adjustment needed: no
[ 70.840530] xe 0000:00:02.0: [drm:icl_get_qgv_points.constprop.0 [xe]] QGV 0: DCLK=2401 tRP=24 tRDPRE=20 tRAS=52 tRCD=24 tRC=76
[ 70.840695] xe 0000:00:02.0: [drm:icl_get_qgv_points.constprop.0 [xe]] QGV 1: DCLK=4801 tRP=44 tRDPRE=28 tRAS=104 tRCD=44 tRC=148
[ 70.840858] xe 0000:00:02.0: [drm:icl_get_qgv_points.constprop.0 [xe]] QGV 2: DCLK=5201 tRP=48 tRDPRE=28 tRAS=112 tRCD=48 tRC=160
[ 70.841030] xe 0000:00:02.0: [drm:icl_get_qgv_points.constprop.0 [xe]] QGV 3: DCLK=5201 tRP=48 tRDPRE=28 tRAS=112 tRCD=48 tRC=160
[ 70.841183] xe 0000:00:02.0: [drm:icl_get_qgv_points.constprop.0 [xe]] PSF GV 0: CLK=32
[ 70.841309] xe 0000:00:02.0: [drm:icl_get_qgv_points.constprop.0 [xe]] PSF GV 1: CLK=48
[ 70.841436] xe 0000:00:02.0: [drm:icl_get_qgv_points.constprop.0 [xe]] PSF GV 2: CLK=48
[ 70.841551] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW0 / QGV 0: num_planes=0 deratedbw=16956 peakbw: 38416
[ 70.841666] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW0 / QGV 1: num_planes=0 deratedbw=23981 peakbw: 76816
[ 70.841780] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW0 / QGV 2: num_planes=0 deratedbw=24772 peakbw: 83216
[ 70.841892] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW0 / QGV 3: num_planes=0 deratedbw=24772 peakbw: 83216
[ 70.842002] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW0 / PSF GV 0: num_planes=0 bw=34133
[ 70.842108] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW0 / PSF GV 1: num_planes=0 bw=51200
[ 70.842211] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW0 / PSF GV 2: num_planes=0 bw=51200
[ 70.842316] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW1 / QGV 0: num_planes=4 deratedbw=21855 peakbw: 38416
[ 70.842431] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW1 / QGV 1: num_planes=4 deratedbw=34500 peakbw: 76816
[ 70.842532] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW1 / QGV 2: num_planes=4 deratedbw=36108 peakbw: 83216
[ 70.842635] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW1 / QGV 3: num_planes=4 deratedbw=36108 peakbw: 83216
[ 70.842738] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW1 / PSF GV 0: num_planes=4 bw=34133
[ 70.842841] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW1 / PSF GV 1: num_planes=4 bw=51200
[ 70.842944] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW1 / PSF GV 2: num_planes=4 bw=51200
[ 70.843047] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW2 / QGV 0: num_planes=0 deratedbw=25544 peakbw: 38416
[ 70.843151] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW2 / QGV 1: num_planes=0 deratedbw=38000 peakbw: 76816
[ 70.843256] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW2 / QGV 2: num_planes=0 deratedbw=38000 peakbw: 83216
[ 70.843367] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW2 / QGV 3: num_planes=0 deratedbw=38000 peakbw: 83216
[ 70.843476] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW2 / PSF GV 0: num_planes=0 bw=34133
[ 70.843581] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW2 / PSF GV 1: num_planes=0 bw=51200
[ 70.843688] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW2 / PSF GV 2: num_planes=0 bw=51200
[ 70.843796] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW3 / QGV 0: num_planes=0 deratedbw=27900 peakbw: 38416
[ 70.843906] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW3 / QGV 1: num_planes=0 deratedbw=38000 peakbw: 76816
[ 70.844017] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW3 / QGV 2: num_planes=0 deratedbw=38000 peakbw: 83216
[ 70.844129] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW3 / QGV 3: num_planes=0 deratedbw=38000 peakbw: 83216
[ 70.844241] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW3 / PSF GV 0: num_planes=0 bw=34133
[ 70.844355] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW3 / PSF GV 1: num_planes=0 bw=51200
[ 70.844468] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW3 / PSF GV 2: num_planes=0 bw=51200
[ 70.844577] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW4 / QGV 0: num_planes=0 deratedbw=29248 peakbw: 38416
[ 70.844680] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW4 / QGV 1: num_planes=0 deratedbw=38000 peakbw: 76816
[ 70.844784] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW4 / QGV 2: num_planes=0 deratedbw=38000 peakbw: 83216
[ 70.844884] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW4 / QGV 3: num_planes=0 deratedbw=38000 peakbw: 83216
[ 70.844984] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW4 / PSF GV 0: num_planes=0 bw=34133
[ 70.845081] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW4 / PSF GV 1: num_planes=0 bw=51200
[ 70.845177] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW4 / PSF GV 2: num_planes=0 bw=51200
[ 70.845278] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW5 / QGV 0: num_planes=0 deratedbw=29972 peakbw: 38416
[ 70.845386] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW5 / QGV 1: num_planes=0 deratedbw=38000 peakbw: 76816
[ 70.845503] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW5 / QGV 2: num_planes=0 deratedbw=38000 peakbw: 83216
[ 70.845586] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW5 / QGV 3: num_planes=0 deratedbw=38000 peakbw: 83216
[ 70.845667] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW5 / PSF GV 0: num_planes=0 bw=34133
[ 70.845741] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW5 / PSF GV 1: num_planes=0 bw=51200
[ 70.845811] xe 0000:00:02.0: [drm:tgl_get_bw_info.isra.0 [xe]] BW5 / PSF GV 2: num_planes=0 bw=51200
[ 70.845946] xe 0000:00:02.0: [drm:intel_display_device_info_runtime_init [xe]] rawclk rate: 19200 kHz
[ 70.846044] xe 0000:00:02.0: probe with driver xe failed with error -4
GPU works on windows, so it's not a hardware problem.
I'm not familiar with graphics driver or VBT things.
I'm searching around, and I guess the driver read some parameter/config from VBT, and maybe huawei coding some magic thing in it, which cause the driver crash.
I recompile the i915 driver, hard-coding the zero value(line_time_us) to work around with `divide error` issue. The driver didn't crash this time, but the screen tears. remote control with nomachine, the gpu works. so I guess the value of hsync_start/hsync_end/hsync_size/vtotal... is corrupted.
Here is the hardware information. Can anybody help me with this issue?
# lspci -v
00:00.0 Host bridge: Intel Corporation Alder Lake Host and DRAM Controller (rev 06)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IOMMU group 2
Capabilities: <access denied>
Kernel driver in use: igen6_edac
Kernel modules: igen6_edac
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP4 GT2 [Iris Xe Graphics] (rev 0c) (prog-if 00 [VGA controller])
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 255, IOMMU group 1
Memory at 601d000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 1000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel modules: i915, xe
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 06)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 3
Memory at 601e140000 (64-bit, non-prefetchable) [size=128K]
Capabilities: <access denied>
Kernel driver in use: proc_thermal_pci
Kernel modules: processor_thermal_device_pci
00:05.0 Multimedia controller: Intel Corporation Alder Lake Imaging Signal Processor (rev 06)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 0
Memory at 601c000000 (64-bit, non-prefetchable) [size=16M]
Capabilities: <access denied>
Kernel driver in use: intel-ipu6
Kernel modules: intel_ipu6
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 06) (prog-if 00 [Normal decode])
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 123, IOMMU group 4
Bus: primary=00, secondary=01, subordinate=29, sec-latency=0
I/O behind bridge: [disabled] [16-bit]
Memory behind bridge: 60000000-6c1fffff [size=194M] [32-bit]
Prefetchable memory behind bridge: 6000000000-601bffffff [size=448M] [32-bit]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:07.0 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 (rev 06) (prog-if 00 [Normal decode])
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 124, IOMMU group 5
Bus: primary=00, secondary=2a, subordinate=52, sec-latency=0
I/O behind bridge: 3000-6fff [size=16K] [16-bit]
Memory behind bridge: 52000000-5e1fffff [size=194M] [32-bit]
Prefetchable memory behind bridge: 6020000000-603bffffff [size=448M] [32-bit]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 06)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 255, IOMMU group 6
Memory at 601e197000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 06) (prog-if 30 [XHCI])
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, medium devsel, latency 0, IRQ 125, IOMMU group 7
Memory at 601e170000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
00:0d.2 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 (rev 06) (prog-if 40 [USB4 Host Interface])
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 7
Memory at 601e100000 (64-bit, non-prefetchable) [size=256K]
Memory at 601e196000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
00:10.0 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #2 (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 18, IOMMU group 8
Memory at 4017000000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:10.1 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #3 (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 19, IOMMU group 8
Memory at 4017001000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:12.0 Serial controller: Intel Corporation Alder Lake-P Integrated Sensor Hub (rev 01) (prog-if 00 [8250])
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 26, IOMMU group 9
Memory at 601e160000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: intel_ish_ipc
Kernel modules: intel_ish_ipc
00:12.6 Serial bus controller: Intel Corporation Device 51fb (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 9
Memory at 4017002000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01) (prog-if 30 [XHCI])
Flags: bus master, medium devsel, latency 0, IRQ 133, IOMMU group 10
Memory at 5e200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IOMMU group 10
Memory at 601e188000 (64-bit, non-prefetchable) [size=16K]
Memory at 601e192000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)
Subsystem: Intel Corporation Dual Band Wi-Fi 6(802.11ax) AX201 160MHz 2x2 [Harrison Peak]
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 11
Memory at 601e184000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group 12
Memory at 4017003000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 40, IOMMU group 12
Memory at 4017004000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 163, IOMMU group 13
Memory at 601e18f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: mei_me
Kernel modules: mei_me
00:19.0 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #0 (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 31, IOMMU group 14
Memory at 4017005000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:19.1 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #1 (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IRQ 32, IOMMU group 14
Memory at 4017006000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge: Intel Corporation Alder Lake LPC Controller (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IOMMU group 15
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake Smart Sound Technology Audio Controller (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: fast devsel, IRQ 16, IOMMU group 15
Memory at 601e180000 (64-bit, non-prefetchable) [size=16K]
Memory at 601e000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_tgl
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: medium devsel, IRQ 16, IOMMU group 15
Memory at 601e18c000 (64-bit, non-prefetchable) [size=256]
I/O ports at efa0 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
Subsystem: Wingtech Group(HongKong)Limited Device 3e65
Flags: bus master, fast devsel, latency 0, IOMMU group 15
Memory at 50400000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: intel-spi
Kernel modules: spi_intel_pci
01:00.0 Non-Volatile memory controller: Sandisk Corp WD Black SN770 / PC SN740 256GB / PC SN560 (DRAM-less) NVMe SSD (rev 01) (prog-if 02 [NVM Express])
Subsystem: Sandisk Corp WD Black SN770 / PC SN740 256GB / PC SN560 (DRAM-less) NVMe SSD
Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 16
Memory at 60000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: nvme
Kernel modules: nvme
Offline
divide error occurs on `line_time_us`, which caculate from htotal/bpp/intel_dsi->lane_count.
static void
gen11_dsi_set_transcoder_timings(struct intel_encoder *encoder,
const struct intel_crtc_state *crtc_state)
{
struct intel_display *display = to_intel_display(encoder);
struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder);
const struct drm_display_mode *adjusted_mode =
&crtc_state->hw.adjusted_mode;
enum port port;
enum transcoder dsi_trans;
/* horizontal timings */
u16 htotal, hactive, hsync_start, hsync_end, hsync_size;
u16 hback_porch;
/* vertical timings */
u16 vtotal, vactive, vsync_start, vsync_end, vsync_shift;
int mul = 1, div = 1;
printk("start..............\n");
/*
* Adjust horizontal timings (htotal, hsync_start, hsync_end) to account
* for slower link speed if DSC is enabled.
*
* The compression frequency ratio is the ratio between compressed and
* non-compressed link speeds, and simplifies down to the ratio between
* compressed and non-compressed bpp.
*/
if (crtc_state->dsc.compression_enable) {
mul = fxp_q4_to_int(crtc_state->dsc.compressed_bpp_x16);
div = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format);
}
hactive = adjusted_mode->crtc_hdisplay;
if (is_vid_mode(intel_dsi))
htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div);
else
htotal = DIV_ROUND_UP((hactive + 160) * mul, div);
hsync_start = DIV_ROUND_UP(adjusted_mode->crtc_hsync_start * mul, div);
hsync_end = DIV_ROUND_UP(adjusted_mode->crtc_hsync_end * mul, div);
hsync_size = hsync_end - hsync_start;
hback_porch = (adjusted_mode->crtc_htotal -
adjusted_mode->crtc_hsync_end);
vactive = adjusted_mode->crtc_vdisplay;
if (is_vid_mode(intel_dsi)) {
vtotal = adjusted_mode->crtc_vtotal;
} else {
int bpp, line_time_us, byte_clk_period_ns;
if (crtc_state->dsc.compression_enable)
bpp = fxp_q4_to_int(crtc_state->dsc.compressed_bpp_x16);
else
bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format);
byte_clk_period_ns = 1000000 / afe_clk(encoder, crtc_state);
line_time_us = (htotal * (bpp / 8) * byte_clk_period_ns) / (1000 * intel_dsi->lane_count);
906c905
< vtotal = vactive + DIV_ROUND_UP(400, line_time_us);
---
> vtotal = vactive + DIV_ROUND_UP(400, line_time_us ? line_time_us : 400);
Offline
kernel information:
# uname -a
Linux vbe 6.13.2-arch1-1-w56 #2 SMP PREEMPT_DYNAMIC Wed, 19 Feb 2025 17:34:33 +0000 x86_64 GNU/Linux
Offline
Could you try the latest version of the 'linux' package from the repo? It has a newer version which potentially could already fix your issue
Online
I also have driver problem on matebook e 2023
Offline
I also have driver problem on matebook e 2023
You have not provided any information about why you believe the issue is the same as hockinglee's or basic information such as which driver you have an issue with and what kernel version is in use.
Offline
mio-19 wrote:I also have driver problem on matebook e 2023
You have not provided any information about why you believe the issue is the same as hockinglee's or basic information such as which driver you have an issue with and what kernel version is in use.
I believe that the issue is the same because I have the same model of machine. I have multiple linux versions tested on this machine and I currently have 6.15.6 and 6.12.36. I have previously followed archwiki to blacklist i915 and tested xe driver. Both i915 and xe resulted in black screen during initramfs hooks and I was unable to see the prompt to ask me to enter the password of my encrypted rootfs. I will need to find a way to collect log when I can only see the password prompt and access the system with nomodeset flag. Information accessible with nomodeset flag might not be enough to debug the problem
Offline
Information accessible with nomodeset flag might not be enough to debug the problem
As long as a you're not holding the power button to reboot you can access the journal of the previous ("-1") boot:
sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st
Online