NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/60755: i915drmkms crashes on Intel Bay Trail GPU making the machine rebooting



>Number:         60755
>Category:       kern
>Synopsis:       i915drmkms crashes on Intel Bay Trail GPU making the machine rebooting
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 20 12:50:00 +0000 2026
>Originator:     jerome
>Release:        11.0
>Organization:
>Environment:
q1900.localdomain 11.0 NetBSD 11.0 (GENERIC) #0: Thu Jul 30 15:23:12 UTC 2026  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:

1) dmesg | grep -iE 'drm|genfb|i915|radeon|nouveau|amdgpu|vga'
[ 1.034389] acpivga0 at acpi0 (GFX0): ACPI Display Adapter [ 1.034389] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device [ 1.034389] acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device [ 1.034389] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device [ 1.034389] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device [ 1.034389] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device [ 1.034389] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device [ 1.034389] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device [ 1.034389] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device [ 1.034389] acpiout8 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device [ 1.034389] acpiout9 at acpivga0 (ISP0, 0x0f38): ACPI Display Output Device [ 1.034389] acpivga0: connected output devices: [ 1.034389] acpivga0: 0x0400 (acpiout8): Unknown Output Device, head 0 [ 1.034389] i915drmkms0 at pci0 dev 2 function 0: Intel Bay 
 Trail Integrated Graphics Device (rev. 0x0e) [ 3.857724] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.857724] [drm] Driver supports precise vblank timestamp query. [ 3.857724] i915drmkms0: interrupting at msi5 vec 0 (i915drmkms0) [ 3.927721] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0 [ 3.957723] intelfb0 at i915drmkms0 [ 3.957723] [drm] DRM_I915_DEBUG enabled [ 3.957723] [drm] DRM_I915_DEBUG_GEM enabled [ 147.646933] i915_gem_object_get_dma_address() at netbsd:i915_gem_object_get_dma_address+0x37 [ 147.646933] i915_gem_do_execbuffer() at netbsd:i915_gem_do_execbuffer+0xcb7 [ 147.646933] i915_gem_execbuffer2_ioctl() at netbsd:i915_gem_execbuffer2_ioctl+0x1be [ 147.656932] drm_ioctl() at netbsd:drm_ioctl+0x246 [ 147.656932] drm_ioctl_shim() at netbsd:drm_ioctl_shim+0x35 [ 1.033996] acpivga0 at acpi0 (GFX0): ACPI Display Adapter [ 1.033996] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device [ 1.033996] acpiout1 at acpivga0 (DD02, 0x
 0002): ACPI Display Output Device [ 1.033996] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device [ 1.033996] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device [ 1.033996] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device [ 1.033996] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device [ 1.033996] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device [ 1.033996] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device [ 1.033996] acpiout8 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device [ 1.033996] acpiout9 at acpivga0 (ISP0, 0x0f38): ACPI Display Output Device [ 1.033996] acpivga0: connected output devices: [ 1.033996] acpivga0: 0x0400 (acpiout8): Unknown Output Device, head 0 [ 1.033996] i915drmkms0 at pci0 dev 2 function 0: Intel Bay Trail Integrated Graphics Device (rev. 0x0e) [ 3.857573] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.857573] [drm] Driver supports precise vblank timestamp 
 query. [ 3.857573] i915drmkms0: interrupting at msi5 vec 0 (i915drmkms0) [ 3.927576] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0 [ 3.957577] intelfb0 at i915drmkms0 [ 3.957577] [drm] DRM_I915_DEBUG enabled [ 3.957577] [drm] DRM_I915_DEBUG_GEM enabled

2)dmesg | grep -B 15 -A 15 get_dma_address
[     5.367713] wskbd1: connecting to wsdisplay0
[    13.897671] wsdisplay0: screen 1 added (default, vt100 emulation)
[    13.897671] wsdisplay0: screen 2 added (default, vt100 emulation)
[    13.907668] wsdisplay0: screen 3 added (default, vt100 emulation)
[    13.907668] wsdisplay0: screen 4 added (default, vt100 emulation)
[   147.636932] uvm_fault(0xffff810985ee26c0, 0x0, 2) -> e
[   147.636932] fatal page fault in supervisor mode
[   147.636932] trap type 6 code 0x2 rip 0xffffffff8078c02a cs 0x8 rflags 0x13206 cr2 0 ilevel 0 rsp 0xffffdb81406899c8
[   147.636932] curlwp 0xffff8109828ac000 pid 2611.2611 lowest kstack 0xffffdb81406852c0
[   147.636932] panic: trap
[   147.636932] cpu1: Begin traceback...
[   147.636932] vpanic() at netbsd:vpanic+0x171
[   147.646933] panic() at netbsd:panic+0x3c
[   147.646933] trap() at netbsd:trap+0xb32
[   147.646933] --- trap (number 6) ---
[   147.646933] i915_gem_object_get_dma_address() at netbsd:i915_gem_object_get_dma_address+0x37
[   147.646933] i915_gem_do_execbuffer() at netbsd:i915_gem_do_execbuffer+0xcb7
[   147.646933] i915_gem_execbuffer2_ioctl() at netbsd:i915_gem_execbuffer2_ioctl+0x1be
[   147.656932] drm_ioctl() at netbsd:drm_ioctl+0x246
[   147.656932] drm_ioctl_shim() at netbsd:drm_ioctl_shim+0x35
[   147.656932] sys_ioctl() at netbsd:sys_ioctl+0x4ca
[   147.656932] syscall() at netbsd:syscall+0x9a
[   147.656932] --- syscall (number 54) ---
[   147.656932] netbsd:syscall+0x9a:
[   147.656932] cpu1: End traceback...

[   147.656932] dumping to dev 168,1 (offset=231, size=972259):
[   147.656932] dump [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[     1.000000]     2024, 2025, 2026

No Xorg.0.log as the machine crashes before log can be written.



>How-To-Repeat:
NetBSD 11.0 full install with X on ASRock Q1900-ITX motherboard (https://www.asrock.com/mb/Intel/Q1900-ITX/index.fr.asp#Support)

=> Default X installation with i915 driver crashes... :(

>Fix:
1) in xorg.conf : 

Section "Device"
    Identifier "Card0"
    Driver     "wsfb"
EndSection

2) in .profile
export LIBGL_ALWAYS_SOFTWARE=1

So X runs nicely in framebuffer mode only, GPU acceleration just lost




Home | Main Index | Thread Index | Old Index