You are not logged in.
Every time I connect my touchscreen monitor via USB-C, I get this kernel error:
Jul 12 21:38:17 ohxorud-laptop kernel: BUG: kernel NULL pointer dereference, address: 000000000000001c
Jul 12 21:38:17 ohxorud-laptop kernel: #PF: supervisor read access in kernel mode
Jul 12 21:38:17 ohxorud-laptop kernel: #PF: error_code(0x0000) - not-present pageIn Windows environment, it worked perfect but only in linux.
Am I missing something?
Last edited by ohxorud (2025-07-12 16:11:55)
Offline
Am I missing something?
Mostly the rest of the backtrace, ie. what module/function actually causes the nullptr deref.
And then maybe also some context, what system events precede the incident etc et pp.
Please post your complete system journal for the boot after attaching that monitor:
sudo journalctl -b | curl -F 'file=@-' 0x0.stIf you cannot interact w/ the broken system at all (no VT switch no nothing) try to reboot it by either frenetically pressing ctrl+alt+del or the https://wiki.archlinux.org/title/Keyboa … el_(SysRq) (you'll have to explicitly enable that before crashing the kernel) and then post the journal of the previous boot (… -b -1 …)
You can also try to ssh into the "frozen" system.
Offline
My complete system journal is here: https://0x0.st/8D3G.txt
And for more information, system was still on after event but everything was frozen, so I pressed power button to force turn off my computer.
Also, SSH was worked perfect while system was frozen.
Last edited by ohxorud (2025-07-12 15:30:06)
Offline
Luckily only short, triggering a soft-poweroff
Jul 13 00:09:48 ohxorud-laptop kernel: usb 3-2.3: USB disconnect, device number 16
Jul 13 00:09:48 ohxorud-laptop rtkit-daemon[1686]: Supervising 5 threads of 3 processes of 1 users.
Jul 13 00:09:48 ohxorud-laptop rtkit-daemon[1686]: Supervising 5 threads of 3 processes of 1 users.
Jul 13 00:09:48 ohxorud-laptop rtkit-daemon[1686]: Supervising 5 threads of 3 processes of 1 users.
Jul 13 00:09:48 ohxorud-laptop rtkit-daemon[1686]: Supervising 5 threads of 3 processes of 1 users.
Jul 13 00:09:48 ohxorud-laptop rtkit-daemon[1686]: Supervising 5 threads of 3 processes of 1 users.
Jul 13 00:09:48 ohxorud-laptop rtkit-daemon[1686]: Supervising 5 threads of 3 processes of 1 users.
Jul 13 00:09:49 ohxorud-laptop kernel: fbcon: Deferring console take-over
Jul 13 00:09:49 ohxorud-laptop kernel: nvidia 0000:01:00.0: [drm] fb1: nvidia-drmdrmfb frame buffer device
Jul 13 00:09:49 ohxorud-laptop kernel: BUG: kernel NULL pointer dereference, address: 000000000000001c
Jul 13 00:09:49 ohxorud-laptop kernel: #PF: supervisor read access in kernel mode
Jul 13 00:09:49 ohxorud-laptop kernel: #PF: error_code(0x0000) - not-present page
Jul 13 00:09:49 ohxorud-laptop kernel: PGD 12aed2067 P4D 12aed2067 PUD 0
Jul 13 00:09:49 ohxorud-laptop kernel: Oops: Oops: 0000 [#1] SMP NOPTI
Jul 13 00:09:49 ohxorud-laptop kernel: CPU: 2 UID: 1000 PID: 1540 Comm: Hyprland Tainted: P OE 6.15.5-arch1-1 #1 PREEMPT(full) d4bfd61c9343a8a5cd6331b14f20b7f081e8650a
Jul 13 00:09:49 ohxorud-laptop kernel: Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Jul 13 00:09:49 ohxorud-laptop kernel: Hardware name: Micro-Star International Co., Ltd. Cyborg 15 AI A1VFK/MS-15K2, BIOS E15K2IMS.109 07/30/2024
Jul 13 00:09:49 ohxorud-laptop kernel: RIP: 0010:nv_audio_dynamic_power+0xcd/0x140 [nvidia]
Jul 13 00:09:49 ohxorud-laptop kernel: Code: 01 00 00 c7 44 24 04 00 00 00 00 48 39 d0 75 1a e9 77 ff ff ff 0f 1f 84 00 00 00 00 00 48 8b 40 08 48 39 d0 0f 84 62 ff ff ff <83> 78 1c 03 75 ed 48 8b 78 20 48 83 bf 48 03 00 00 00 0f 84 4a ff
Jul 13 00:09:49 ohxorud-laptop kernel: RSP: 0018:ffffd01c88d03098 EFLAGS: 00010207
Jul 13 00:09:49 ohxorud-laptop kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000000f
Jul 13 00:09:49 ohxorud-laptop kernel: RDX: ffff8c238d7c09a0 RSI: 0000000000000000 RDI: ffff8c2383106100
Jul 13 00:09:49 ohxorud-laptop kernel: RBP: ffff8c24910fdc00 R08: 0000000000000000 R09: 0000000000000000
Jul 13 00:09:49 ohxorud-laptop kernel: R10: ffffffffc6aa0c48 R11: ffffffffc6aa0c88 R12: ffff8c24910fdc60
Jul 13 00:09:49 ohxorud-laptop kernel: R13: ffffffffc1789200 R14: ffff8c23b138c020 R15: ffff8c24910fdd58
Jul 13 00:09:49 ohxorud-laptop kernel: FS: 00007fd3bf0dcb80(0000) GS:ffff8c3334baf000(0000) knlGS:0000000000000000
Jul 13 00:09:49 ohxorud-laptop kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 13 00:09:49 ohxorud-laptop kernel: CR2: 000000000000001c CR3: 0000000113d58001 CR4: 0000000000f72ef0
Jul 13 00:09:49 ohxorud-laptop kernel: PKRU: 55555554
Jul 13 00:09:49 ohxorud-laptop kernel: Call Trace:
Jul 13 00:09:49 ohxorud-laptop kernel: <TASK>
Jul 13 00:09:49 ohxorud-laptop kernel: _nv057026rm+0x27/0x2e [nvidia 614753cb993aeab9cef497489458d078f467efc0]
Jul 13 00:09:49 ohxorud-laptop kernel: _nv052821rm+0x1a6/0x1b0 [nvidia 614753cb993aeab9cef497489458d078f467efc0]
Jul 13 00:09:49 ohxorud-laptop kernel: _nv055004rm+0x3f2/0x500 [nvidia 614753cb993aeab9cef497489458d078f467efc0]
Jul 13 00:09:49 ohxorud-laptop kernel: _nv015696rm+0x424/0x680 [nvidia 614753cb993aeab9cef497489458d078f467efc0]
Jul 13 00:09:49 ohxorud-laptop kernel: _nv052978rm+0x69/0xd0 [nvidia 614753cb993aeab9cef497489458d078f467efc0]
Jul 13 00:09:49 ohxorud-laptop kernel: _nv013970rm+0x83/0xa0 [nvidia 614753cb993aeab9cef497489458d078f467efc0]
Jul 13 00:09:49 ohxorud-laptop kernel: _nv000644rm+0x5e/0x70 [nvidia 614753cb993aeab9cef497489458d078f467efc0]
Jul 13 00:09:49 ohxorud-laptop kernel: rm_kernel_rmapi_op+0x167/0x273 [nvidia 614753cb993aeab9cef497489458d078f467efc0]
Jul 13 00:09:49 ohxorud-laptop kernel: nvkms_call_rm+0x49/0x80 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: _nv003136kms+0x42/0x50 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? _nv000743kms+0xb1/0x190 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? _nv002960kms+0xde/0x400 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? _nv002960kms+0xa6/0x400 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? _nv000582kms+0x588/0x1030 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? _nv003199kms+0x3766/0x47f0 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? _nv000395kms+0xe0/0xe0 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? nvKmsIoctl+0xf7/0x270 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? nvkms_ioctl_from_kapi_try_pmlock+0x66/0xc0 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? _nv000023kms+0x33e/0xbc0 [nvidia_modeset a3ffbee44ad24076edf6385389f98db7bfe90d82]
Jul 13 00:09:49 ohxorud-laptop kernel: ? nv_drm_atomic_apply_modeset_config+0x470/0x7f0 [nvidia_drm 7354bd2b2df88a8347e76198dc7e1e501acd450d]
Jul 13 00:09:49 ohxorud-laptop kernel: ? nv_drm_atomic_commit+0x234/0x560 [nvidia_drm 7354bd2b2df88a8347e76198dc7e1e501acd450d]
Jul 13 00:09:49 ohxorud-laptop kernel: ? drm_atomic_commit+0xae/0xe0
Jul 13 00:09:49 ohxorud-laptop kernel: ? __pfx___drm_printfn_info+0x10/0x10
Jul 13 00:09:49 ohxorud-laptop kernel: ? drm_mode_atomic_ioctl+0xa76/0xcf0
Jul 13 00:09:49 ohxorud-laptop kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
Jul 13 00:09:49 ohxorud-laptop kernel: ? drm_ioctl_kernel+0xab/0x100
Jul 13 00:09:49 ohxorud-laptop kernel: ? drm_ioctl+0x2a0/0x530
Jul 13 00:09:49 ohxorud-laptop kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
Jul 13 00:09:49 ohxorud-laptop kernel: ? __x64_sys_ioctl+0x94/0xc0
Jul 13 00:09:49 ohxorud-laptop kernel: ? do_syscall_64+0x7b/0x810
Jul 13 00:09:49 ohxorud-laptop kernel: ? count_memcg_events.constprop.0+0x1a/0x30
Jul 13 00:09:49 ohxorud-laptop kernel: ? handle_mm_fault+0x1d2/0x2d0
Jul 13 00:09:49 ohxorud-laptop kernel: ? do_user_addr_fault+0x21a/0x690
Jul 13 00:09:49 ohxorud-laptop kernel: ? irqentry_exit_to_user_mode+0x2c/0x1b0
Jul 13 00:09:49 ohxorud-laptop kernel: ? entry_SYSCALL_64_after_hwframe+0x76/0x7e
Jul 13 00:09:49 ohxorud-laptop kernel: </TASK>
Jul 13 00:09:49 ohxorud-laptop kernel: Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device xt_tcpudp xt_mark xt_conntrack xt_MASQUERADE xt_set ip_set xt_addrtype xfrm_user xfrm_algo ccm cmac algif_hash algif_skcipher af_alg snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_soc_dmic snd_sof_pci_intel_mtl snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda snd_hda_codec_hdmi soundwire_cadence snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_soc_acpi soundwire_bus snd_soc_sdca snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine crc8 snd_hda_intel nft_masq nft_ct nft_reject_ipv4 nf_reject_ipv4 nft_reject act_csum cls_u32 sch_htb nft_chain_nat tun nf_tables ip6table_nat ip6table_filter bridge ip6_tables stp llc iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter overlay
Jul 13 00:09:49 ohxorud-laptop kernel: bnep vfat fat intel_uncore_frequency intel_uncore_frequency_common x86_pkg_temp_thermal intel_powerclamp coretemp iwlmvm kvm_intel mac80211 vfio_pci kvm vfio_pci_core libarc4 vfio_iommu_type1 ptp polyval_clmulni vfio pps_core iommufd polyval_generic irqbypass ghash_clmulni_intel btusb snd_intel_dspcfg uvcvideo sha512_ssse3 sha256_ssse3 videobuf2_vmalloc snd_intel_sdw_acpi sha1_ssse3 btrtl uvc aesni_intel videobuf2_memops videobuf2_v4l2 crypto_simd snd_hda_codec btintel iTCO_wdt processor_thermal_device_pci iwlwifi intel_pmc_bxt r8169 cryptd processor_thermal_device videobuf2_common btbcm iTCO_vendor_support snd_hda_core processor_thermal_wt_hint spd5118 mei_gsc_proxy btmtk rapl processor_thermal_rfim realtek snd_hwdep intel_cstate videodev intel_rapl_msr processor_thermal_rapl mdio_devres spi_nor mei_me i2c_i801 cfg80211 bluetooth snd_pcm intel_uncore mc intel_lpss_pci msi_wmi intel_rapl_common i2c_smbus mtd snd_timer wmi_bmof libphy intel_lpss pcspkr processor_thermal_wt_req i2c_mux mei idma64 rfkill snd
Jul 13 00:09:49 ohxorud-laptop kernel: processor_thermal_power_floor intel_vpu soundcore i2c_hid_acpi igen6_edac processor_thermal_mbox i2c_hid int3403_thermal intel_pmc_core int340x_thermal_zone joydev mousedev pmt_telemetry intel_hid int3400_thermal acpi_tad pmt_class sparse_keymap soc_button_array acpi_pad pinctrl_meteorlake acpi_thermal_rel mac_hid kvmfr(OE) i2c_dev sg dm_mod loop crypto_user nfnetlink ip_tables x_tables xe drm_suballoc_helper gpu_sched drm_gpuvm drm_exec drm_gpusvm nvme nvme_core nvme_keyring nvme_auth i915 i2c_algo_bit drm_buddy intel_gtt serio_raw drm_display_helper vmd spi_intel_pci cec spi_intel intel_vsec hid_multitouch nvidia_drm(POE) nvidia_modeset(POE) drm_ttm_helper video wmi ttm nvidia_uvm(POE) nvidia(POE)
Jul 13 00:09:49 ohxorud-laptop kernel: CR2: 000000000000001c
Jul 13 00:09:49 ohxorud-laptop kernel: ---[ end trace 0000000000000000 ]---
Jul 13 00:09:49 ohxorud-laptop kernel: RIP: 0010:nv_audio_dynamic_power+0xcd/0x140 [nvidia]
Jul 13 00:09:49 ohxorud-laptop kernel: Code: 01 00 00 c7 44 24 04 00 00 00 00 48 39 d0 75 1a e9 77 ff ff ff 0f 1f 84 00 00 00 00 00 48 8b 40 08 48 39 d0 0f 84 62 ff ff ff <83> 78 1c 03 75 ed 48 8b 78 20 48 83 bf 48 03 00 00 00 0f 84 4a ff
Jul 13 00:09:49 ohxorud-laptop kernel: RSP: 0018:ffffd01c88d03098 EFLAGS: 00010207
Jul 13 00:09:49 ohxorud-laptop kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000000f
Jul 13 00:09:49 ohxorud-laptop kernel: RDX: ffff8c238d7c09a0 RSI: 0000000000000000 RDI: ffff8c2383106100
Jul 13 00:09:49 ohxorud-laptop kernel: RBP: ffff8c24910fdc00 R08: 0000000000000000 R09: 0000000000000000
Jul 13 00:09:49 ohxorud-laptop kernel: R10: ffffffffc6aa0c48 R11: ffffffffc6aa0c88 R12: ffff8c24910fdc60
Jul 13 00:09:49 ohxorud-laptop kernel: R13: ffffffffc1789200 R14: ffff8c23b138c020 R15: ffff8c24910fdd58
Jul 13 00:09:49 ohxorud-laptop kernel: FS: 00007fd3bf0dcb80(0000) GS:ffff8c3334baf000(0000) knlGS:0000000000000000
Jul 13 00:09:49 ohxorud-laptop kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 13 00:09:49 ohxorud-laptop kernel: CR2: 000000000000001c CR3: 0000000113d58001 CR4: 0000000000f72ef0It crashes in the nvidia module which
Jul 13 00:08:51 ohxorud-laptop kernel: nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes is unlikely to be actively used at the time?
(check "nvidia-smi")
What's even more odd is
Jul 13 00:08:51 ohxorud-laptop kernel: Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=75792588-8786-4dde-8b45-7b5e40b9ccae rw rootflags=subvol=@ intel_iommu=on iommu=pt loglevel=3 quiet modprobe.blacklist=nvidia vfio-pci.ids=10de:28a0,10de:22be
Jul 13 00:08:52 ohxorud-laptop kernel: vfio_pci: add [10de:28a0[ffffffff:ffffffff]] class 0x000000/00000000That the module is loaded at all, but it seems that vfio loads late, add it to the initramfs, https://wiki.archlinux.org/title/PCI_pa … #initramfs
If nothing else it'll completely sidestep the problem.
Offline
I used to use vfio to passthrough my GPU with Qemu/KVM but not now.
Maybe I forgot to remove one of vfio settings.
So, this problem couldn't be solved?
Offline
We'll see.
First clear up the vfio situation.
Edit: that include the part where you enfore the intel iommu.
If the problem remains, add "nvidia_drm.fbdev=0" to the kernel parameters.
Post an updated journal.
Last edited by seth (2025-07-12 15:51:30)
Offline
Wow, deleting vfio configuration from modprobe.d just worked and now I can use my monitor with touches!
I cannot understand why but anyways it worked!
Offline
Pretty sure vfio kicking in interfered w/ the drivers access to the device.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline