From owner-freebsd-x11@FreeBSD.ORG Fri Sep 5 15:40:55 2014 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3200745 for ; Fri, 5 Sep 2014 15:40:55 +0000 (UTC) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C65B1737 for ; Fri, 5 Sep 2014 15:40:54 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.72) (envelope-from ) id 1XPvcs-0003PK-Va for x11@freebsd.org; Fri, 05 Sep 2014 22:40:44 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id s85FeYdQ073789 for ; Fri, 5 Sep 2014 22:40:44 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id s85FeTrj073753 for x11@freebsd.org; Fri, 5 Sep 2014 22:40:29 +0700 (NOVT) (envelope-from danfe) Date: Fri, 5 Sep 2014 22:40:28 +0700 From: Alexey Dokuchaev To: x11@freebsd.org Subject: OpenGL apps segfault on -CURRENT (vt+i915kms.ko) with i5-3470 Message-ID: <20140905154028.GA70757@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 66130 [Sep 05 2014] X-KLMS-AntiSpam-Version: 5.5.3 X-KLMS-AntiSpam-Envelope-From: danfe@regency.nsu.ru X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Moebius-Timestamps: 3096255, 3096300, 3096275 X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: Clean, 2014/09/04 11:34:50 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, not scanned, license restriction X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 15:40:55 -0000 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