dpms issue on CHUWI Minibook X
- H/W: CHUWI minibook X (Jasperlake Celeron N5100)
- Linux distro: Gentoo
- Kernel: drm-tip as of g27e8bf178b49
- WM: sway
on Sway, set dpms off for its laptop screen
swaymsg "output * dpms off" ; sleep 5; "swaymsg "output * dpms on"
Set dpms off is successfull with errors, but dpms on doesn't work Here is output of dmesg on setting dpms off
Here is dmesg output (see attached file for full log)
[ 110.676798] BUG: kernel NULL pointer dereference, address: 0000000000000030
[ 110.676817] #PF: supervisor read access in kernel mode
[ 110.676823] #PF: error_code(0x0000) - not-present page
[ 110.676829] PGD 0 P4D 0
[ 110.676837] Oops: 0000 [#1] PREEMPT SMP NOPTI
[ 110.676846] CPU: 3 PID: 2216 Comm: sway Not tainted 5.18.0-rc6-x86_64-g27e8bf178b49 #1
[ 110.676855] Hardware name: CHUWI Innovation And Technology(ShenZhen)co.,Ltd MiniBook X/Default string, BIOS ZW-BI-108-S105JWR120-JCB0B-071-D 01/05/2022
[ 110.676861] RIP: 0010:mipi_exec_send_packet+0x6e/0x210 [i915]
[ 110.677112] Code: 0f b7 7b fe f6 c2 18 40 0f 95 c5 66 41 83 bd f0 01 00 00 04 0f 94 c1 09 cd 40 0f b6 ed 01 ed 48 63 cd 49 8b 8c cd 68 01 00 00 <48> 8b 79 30 48 85 ff 0f 84 45 01 00 00 48 8b 8f 10 03 00 00 48 89
[ 110.677120] RSP: 0018:ffffa53840997998 EFLAGS: 00010202
[ 110.677127] RAX: 0000000000000005 RBX: ffff99a43d6834c9 RCX: 0000000000000000
[ 110.677133] RDX: 0000000000000008 RSI: 0000000000000000 RDI: ffff99a4011eb0d0
[ 110.677137] RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000
[ 110.677141] R10: 0000000000000000 R11: 0000000000000003 R12: ffff99a43cf60000
[ 110.677145] R13: ffff99a40309ac00 R14: ffff99a43cf60000 R15: 0000000000000001
[ 110.677151] FS: 00007f1a9d01b9c0(0000) GS:ffff99a674180000(0000) knlGS:0000000000000000
[ 110.677157] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 110.677162] CR2: 0000000000000030 CR3: 00000001053b2000 CR4: 0000000000350ee0
[ 110.677168] Call Trace:
[ 110.677176] <TASK>
[ 110.677184] intel_dsi_vbt_exec_sequence+0x11e/0x290 [i915]
[ 110.677394] gen11_dsi_disable+0x139/0x780 [i915]
[ 110.677598] ? swsci+0x112/0x250 [i915]
[ 110.677793] ? _raw_spin_lock_irqsave+0x24/0x50
[ 110.677809] intel_encoders_disable+0x8e/0xb0 [i915]
[ 110.678034] hsw_crtc_disable+0x44/0x70 [i915]
[ 110.678245] intel_old_crtc_state_disables+0x38/0xa0 [i915]
[ 110.678452] intel_atomic_commit_tail+0x3b3/0x1a80 [i915]
[ 110.678660] ? _raw_spin_lock_irqsave+0x24/0x50
[ 110.678670] ? complete+0x18/0x80
[ 110.678681] ? _raw_spin_unlock_irqrestore+0x23/0x40
[ 110.678692] ? flush_workqueue+0x15d/0x3e0
[ 110.678704] ? intel_atomic_commit+0x316/0x3a0 [i915]
[ 110.678908] intel_atomic_commit+0x316/0x3a0 [i915]
[ 110.679111] drm_atomic_commit+0x81/0xa0
[ 110.679121] ? drm_plane_get_damage_clips.cold+0x1c/0x1c
[ 110.679132] drm_mode_atomic_ioctl+0x8d1/0xaa0
[ 110.679144] ? drm_atomic_set_property+0xb50/0xb50
[ 110.679151] drm_ioctl_kernel+0x8b/0x120
[ 110.679162] drm_ioctl+0x214/0x3f0
[ 110.679170] ? drm_atomic_set_property+0xb50/0xb50
[ 110.679180] __x64_sys_ioctl+0x80/0xc0
[ 110.679191] do_syscall_64+0x59/0x80
[ 110.679200] ? syscall_exit_to_user_mode+0x17/0x40
[ 110.679209] ? do_syscall_64+0x69/0x80
[ 110.679215] ? syscall_exit_to_user_mode+0x17/0x40
[ 110.679225] ? exc_page_fault+0x71/0x170
[ 110.679233] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 110.679241] RIP: 0033:0x7f1a9e2b58dc
[ 110.679250] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 c7 04 24 10 00 00 00 b8 10 00 00 00 0f 05 <3d> 00 f0 ff ff 41 89 c0 77 1a 48 8b 44 24 18 64 48 2b 04 25 28 00
[ 110.679256] RSP: 002b:00007ffeb8c32620 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 110.679264] RAX: ffffffffffffffda RBX: 00007ffeb8c326c0 RCX: 00007f1a9e2b58dc
[ 110.679269] RDX: 00007ffeb8c326c0 RSI: 00000000c03864bc RDI: 000000000000000d
[ 110.679274] RBP: 00000000c03864bc R08: 0000000000000003 R09: 0000000000000003
[ 110.679278] R10: 00007f1a9e3a4c80 R11: 0000000000000246 R12: 0000563e38fb1a90
[ 110.679283] R13: 000000000000000d R14: 0000563e38ff4020 R15: 0000563e38f85b70
[ 110.679293] </TASK>
[ 110.679296] Modules linked in: hidp rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device bnep snd_sof_pci_intel_icl snd_sof_intel_hda_common snd_sof_intel_hda snd_hda_codec_hdmi snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_hda_codec_realtek snd_soc_acpi_intel_match snd_soc_acpi joydev snd_hda_codec_generic binfmt_misc ledtrig_audio snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine 8250_dw iwlmvm mei_hdcp mac80211 mei_pxp iTCO_wdt x86_pkg_temp_thermal intel_powerclamp intel_pmc_bxt iTCO_vendor_support 8250 libarc4 8250_base snd_hda_intel coretemp serial_mctrl_gpio spi_pxa2xx_platform snd_intel_dspcfg serial_core hid_multitouch snd_hda_codec dw_dmac snd_hda_core snd_hwdep btusb sdhci_pci snd_pcm cqhci i915 btrtl processor_thermal_device_pci_legacy snd_timer iwlwifi wmi_bmof intel_rapl_msr kvm_intel btbcm sdhci processor_thermal_device mei_me snd i2c_i801 uvcvideo kvm btintel iwlmei drm_buddy irqbypass crct10dif_pclmul ghash_clmulni_intel
[ 110.679431] intel_cstate cfg80211 pcspkr serio_raw i2c_smbus soundcore mmc_core mei btmtk bluetooth ttm processor_thermal_rfim videobuf2_vmalloc processor_thermal_mbox drm_display_helper processor_thermal_rapl videobuf2_memops ecdh_generic intel_lpss_pci intel_rapl_common videobuf2_v4l2 intel_lpss cec idma64 rfkill videobuf2_common virt_dma rc_core intel_soc_dts_iosf wmi i2c_hid_acpi i2c_hid ov13858 int3403_thermal v4l2_fwnode int340x_thermal_zone soc_button_array v4l2_async videodev mc video intel_hid int3400_thermal acpi_pad pinctrl_jasperlake acpi_thermal_rel sparse_keymap fuse crc32_pclmul crc32c_intel
[ 110.679524] CR2: 0000000000000030
[ 110.679531] ---[ end trace 0000000000000000 ]---
[ 110.679536] RIP: 0010:mipi_exec_send_packet+0x6e/0x210 [i915]
[ 110.679741] Code: 0f b7 7b fe f6 c2 18 40 0f 95 c5 66 41 83 bd f0 01 00 00 04 0f 94 c1 09 cd 40 0f b6 ed 01 ed 48 63 cd 49 8b 8c cd 68 01 00 00 <48> 8b 79 30 48 85 ff 0f 84 45 01 00 00 48 8b 8f 10 03 00 00 48 89
[ 110.679748] RSP: 0018:ffffa53840997998 EFLAGS: 00010202
[ 110.679754] RAX: 0000000000000005 RBX: ffff99a43d6834c9 RCX: 0000000000000000
[ 110.679759] RDX: 0000000000000008 RSI: 0000000000000000 RDI: ffff99a4011eb0d0
[ 110.679763] RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000
[ 110.679767] R10: 0000000000000000 R11: 0000000000000003 R12: ffff99a43cf60000
[ 110.679771] R13: ffff99a40309ac00 R14: ffff99a43cf60000 R15: 0000000000000001
[ 110.679776] FS: 00007f1a9d01b9c0(0000) GS:ffff99a674180000(0000) knlGS:0000000000000000
[ 110.679781] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 110.679787] CR2: 0000000000000030 CR3: 00000001053b2000 CR4: 0000000000350ee0
Where can I start to investigate to solve this issue?dmesg-minibook-x-dpms.log
Edited by Takahiro Hashimoto