NetBSD-Users archive

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

RC4 still gives me trouble with i915



Hello!

For the last RCs, I've tested the live image for amd64 on my desktop machine, that has been running 9.x with X for years now. Whenever I start X11, either via "startx" or "/etc/rc.d/xdm onestart", the display gets unusable. I see fragments of ctwm and an Xterm in the first case, and parts of the login display in the second, but the sessions are otherwise broken.

Is this expected behaviour with the live image, or should the correct configuration get picked up? I see no warning in the Xorg.log, everything seems to get detected fine. Please let me know if someone needs debug information beyond the following:

The CPU is

cpu0: "Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz"
cpu0: Intel Atom E3000, Z3[67]00 (686-class), 2000.22 MHz
cpu0: family 0x6 model 0x37 stepping 0x8 (id 0x30678)

These are some parts from the messages log:

[     5.009976] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     5.009976] [drm] Driver supports precise vblank timestamp query.
[     5.009976] i915drmkms0: interrupting at msi4 vec 0 (i915drmkms0)
[     5.079724] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
[     5.099724] intelfb0 at i915drmkms0
[     5.099724] [drm] DRM_I915_DEBUG enabled
[     5.099724] [drm] DRM_I915_DEBUG_GEM enabled
[     5.099724] intelfb0: framebuffer at 0xc0020000, size 1280x1024, depth 32, stride 5120

When I use startx, I get this:

[    60.798137] heartbeat bcs0 heartbeat {prio:-2147483645} not ticking
[    60.798137] heartbeat       Awake? 4
[    60.798137] heartbeat       Barriers?: no
[    60.798137] heartbeat       Latency: 86us
[    60.798137] heartbeat       Heartbeat: 3000 ms ago
[    60.798137] heartbeat       Reset count: 0 (global 0)
[    60.798137] heartbeat       Requests:
[    60.798137] heartbeat       On hold?: 0
[    60.798137] heartbeat       MMIO base:  0x00022000
[    60.798137] heartbeat       RING_START: 0x7fff5000
[    60.798137] heartbeat       RING_HEAD:  0x00001f40
[    60.798137] heartbeat       RING_TAIL:  0x00001f40
[    60.798137] heartbeat       RING_CTL:   0x00003001
[    60.798137] heartbeat       RING_MODE:  0x00000200 [idle]
[    60.798137] heartbeat       RING_IMR: ffffffff
[    60.798137] heartbeat       ACTHD:  0x00000000_00001f40
[    60.798137] heartbeat       BBADDR: 0x00000000_00f21070
[    60.798137] heartbeat       DMA_FADDR: 0x00000000_7fff6f40
[    60.798137] heartbeat       IPEIR: 0x00000000
[    60.798137] heartbeat       IPEHR: 0x00000000
[    60.798137] heartbeat       PP_DIR_BASE: 0x7fdf0000
[    60.798137] heartbeat       PP_DIR_BASE_READ: 0x00000000
[    60.798137] heartbeat       PP_DIR_DCLV: 0xffffffff
[    60.798137] heartbeat HWSP:
[    60.798137] warning: /usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_engine_cs.c:1234: WARN_ON_ONCE(hex_dump_to_buffer(buf + pos, len - pos, rowsize, sizeof(u32), line, sizeof(line), 0) >= sizeof(line))
[    60.798137] heartbeat [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    60.798137] 00000000 00000000 00000000 00000000 00000000 00000000 0
[    60.798137] heartbeat *
[    60.798137] heartbeat [0100] 0f000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    60.798137] 00000000 00000000 00000000 00000000 00000000 00000000 0
[    60.798137] heartbeat [0120] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    60.798137] 00000000 00000000 00000000 00000000 00000000 00000000 0
[    60.798137] heartbeat *
[    60.798137] heartbeat Idle? yes
[    60.798137] i915drmkms0: notice: Resetting chip for stopped heartbeat on bcs0
[    66.818107] heartbeat bcs0 heartbeat {prio:-2147483645} not ticking
[    66.818107] heartbeat       Awake? 4
[    66.818107] heartbeat       Barriers?: no
[    66.818107] heartbeat       Latency: 74us
[    66.818107] heartbeat       Heartbeat: 3000 ms ago
[    66.818107] heartbeat       Reset count: 0 (global 1)
[    66.818107] heartbeat       Requests:
[    66.818107] heartbeat               active  4:13*  @ 6000ms: X[697]
[    66.818107] heartbeat               ring->start:  0x7fff5000
[    66.818107] heartbeat               ring->head:   0x00002578
[    66.818107] heartbeat               ring->tail:   0x00002dd0
[    66.818107] heartbeat               ring->emit:   0x00002dd0
[    66.818107] heartbeat               ring->space:  0x00003768
[    66.818107] heartbeat               ring->hwsp:   0x00002100
[    66.818107] heartbeat [head 2578, postfix 25f0, tail 2790, batch 0x00000000_00f21000]:

and finally

[    66.818107] i915drmkms0: notice: Resetting chip for stopped heartbeat on bcs0
[    66.818107] i915drmkms0: notice: X[697] context reset due to GPU hang

and later a slight variation

[   461.076135] i915drmkms0: notice: Resetting chip for stopped heartbeat on rcs0
[   461.076135] i915drmkms0: notice: X[338] context reset due to GPU hang

During one of these tests I also had a panic:

[   301.888540] uvm_fault(0xffffd4fe33680b28, 0x0, 2) -> e
[   301.888540] fatal page fault in supervisor mode
[   301.888540] trap type 6 code 0x2 rip 0xffffffff80777109 cs 0x8 rflags 0x13206 cr2 0 ilevel 0 rsp 0xffffaf0125f929c8
[   301.888540] curlwp 0xffffd4fe334c8bc0 pid 3281.3281 lowest kstack 0xffffaf0125f8e2c0
[   301.888540] panic: trap
[   301.888540] cpu2: Begin traceback...
[   301.888540] vpanic() at netbsd:vpanic+0x183
[   301.898538] panic() at netbsd:panic+0x3c
[   301.898538] trap() at netbsd:trap+0xbaf
[   301.898538] --- trap (number 6) ---
[   301.898538] i915_gem_object_get_dma_address() at netbsd:i915_gem_object_get_dma_address+0x37
[   301.898538] i915_gem_do_execbuffer() at netbsd:i915_gem_do_execbuffer+0xae0
[   301.908537] i915_gem_execbuffer2_ioctl() at netbsd:i915_gem_execbuffer2_ioctl+0x1b8
[   301.908537] drm_ioctl() at netbsd:drm_ioctl+0x246
[   301.908537] drm_ioctl_shim() at netbsd:drm_ioctl_shim+0x38
[   301.908537] sys_ioctl() at netbsd:sys_ioctl+0x56e
[   301.908537] syscall() at netbsd:syscall+0x1fc
[   301.908537] --- syscall (number 54) ---

--


Home | Main Index | Thread Index | Old Index