Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Mar 2017 01:54:53 +0900 (JST)
From:      Masachika ISHIZUKA <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?
Message-ID:  <20170302.015453.665351936647971230.ish@amail.plala.or.jp>
In-Reply-To: <CABZaEK6vsc=T9iiydhULOXuvLcDVfRpV8mX-asfuwdF0VLZVuA@mail.gmail.com>
References:  <CABZaEK6vsc=T9iiydhULOXuvLcDVfRpV8mX-asfuwdF0VLZVuA@mail.gmail.com>

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



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