From owner-freebsd-x11@freebsd.org Wed Mar 1 16:57:42 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 266EBCF183A for ; Wed, 1 Mar 2017 16:57:42 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msa02a.plala.or.jp (msa02.plala.or.jp [IPv6:2400:7800:0:5010::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9FEFCAB6 for ; Wed, 1 Mar 2017 16:57:41 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msc02.plala.or.jp ([172.23.12.32]) by msa01b.plala.or.jp with ESMTP id <20170301165514.NKWL8931.msa01b.plala.or.jp@msc02.plala.or.jp>; Thu, 2 Mar 2017 01:55:14 +0900 Received: from localhost ([2400:7800:4d3a:6100:5e51:4fff:fe11:73f3]) by msc02.plala.or.jp with ESMTP id <20170301165514.EXB18406.msc02.plala.or.jp@localhost>; Thu, 2 Mar 2017 01:55:14 +0900 Date: Thu, 02 Mar 2017 01:54:53 +0900 (JST) Message-Id: <20170302.015453.665351936647971230.ish@amail.plala.or.jp> To: davshao@gmail.com Cc: freebsd-x11@freebsd.org Subject: Re: SOLVED i915kms loading problem Re: X11 breaks for Intel after ports update from r433396 -> r433935? From: Masachika ISHIZUKA In-Reply-To: References: X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-VirusScan: Outbound; msa01m; Thu, 2 Mar 2017 01:55:14 +0900 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2017 16:57:42 -0000 > Please refer to the following FDO bug report I just made: > > Bug 100011 - src/intel_device.c reverses return value meaning of xorg > server xf86LoadKernelModule() > > https://bugs.freedesktop.org/show_bug.cgi?id=100011 > > Short summary from the bug report: > "The function load_i915_kernel_module() in > file src/intel_device.c > of xf86-video-intel reverses the meaning of the return value of > xorg server's xf86LoadKernelModule(). > > xf86LoadKernelModule() actually returns 0 if the loading fails, > non-zero if success." > > Something similar to the following one-line patch can be used: > [snip] > > I'm actually using pkgsrc and FreeBSD patches from > pkgsrc-wip. Cross-platform can really help debugging. Thank you very much. This patch works well without kld_list="i915kms". (I tested at FreeBSD 12.0-CURRENT r314185 with xf86-video-intel 2.99.917.20170103.) -- Masachika ISHIZUKA