OpenGL apps segfault on -CURRENT (vt+i915kms.ko) with i5-3470

Alexey Dokuchaev danfe at nsu.ru
Fri Sep 5 15:40:55 UTC 2014


Hi there,

Running today's -CURRENT/i386 with vt(4) on i5-3470 (internal video), with
xorg-server-1.12.4_8, any OpenGL program segfaults almost immediately.

I've rebuilt fresh `graphics/dri' with -g, here's some scarce brainfood:

  $ gdb -c a.out.core a.out
  ...
  #0  0x284b82b6 in brw_workaround_depthstencil_alignment (brw=0x28c8c018)
      at brw_misc_state.c:886
  886        if (!ctx->Line.SmoothFlag || !brw->has_aa_line_parameters)
  [New Thread 28c03080 (LWP 100260/a.out)]
  (gdb) l
  881     static void upload_aa_line_parameters(struct brw_context *brw)
  882     {
  883        struct intel_context *intel = &brw->intel;
  884        struct gl_context *ctx = &brw->intel.ctx;
  885
  886        if (!ctx->Line.SmoothFlag || !brw->has_aa_line_parameters)
  887           return;
  888
  889        if (intel->gen == 6)
  890           intel_emit_post_sync_nonzero_flush(intel);
  (gdb) p ctx
  $1 = (struct gl_context *) 0x28c8c018
  (gdb) p brw
  $2 = (struct brw_context *) 0x28c8c018
  (gdb) p ctx->Line.SmoothFlag
  $3 = 0 '\0'
  (gdb) p brw->has_aa_line_parameters
  $4 = true

Any ideas?

./danfe


More information about the freebsd-x11 mailing list