Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2014 22:40:28 +0700
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        x11@freebsd.org
Subject:   OpenGL apps segfault on -CURRENT (vt+i915kms.ko) with i5-3470
Message-ID:  <20140905154028.GA70757@regency.nsu.ru>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140905154028.GA70757>