Testing the new i915 driver

Shawn Webb shawn.webb at hardenedbsd.org
Thu Oct 8 22:49:55 UTC 2015


On Thu, Oct 08, 2015 at 11:12:01AM -0400, Shawn Webb wrote:
> On Thu, Oct 08, 2015 at 09:12:40AM +0200, Jean-S??bastien P??dron wrote:
> > On 08.10.2015 01:35, Shawn Webb wrote:
> > > On Wed, Oct 07, 2015 at 07:15:24PM -0400, Shawn Webb wrote:
> > >> You. Are. Awesome!
> > >>
> > >> I'm going to try this on HardenedBSD 11-CURRENT tonight. I'll report
> > >> back with whatever results I get.
> > 
> > Thank you very much :)
> > 
> > > I got this error when doing buildkernel:
> > > 
> > > /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem_execbuffer.c:861:9: error: use of undeclared label 'pre_struct_lock_err'
> > >                         goto pre_struct_lock_err;
> > 
> > I don't have this label in my local copy. How did you generate the patch?
> 
> cd /usr/src
> # On branch hardened/current/master from HardenedBSD, synced with latest FreeBSD HEAD
> git remote add graphics git://github.com/freebsd/freebsd-base-graphics.git
> git fetch graphics
> git checkout -b hardened/experimental/master-graphics
> git merge graphics/drm-i915-update-38
> make -sj10 buildworld buildkernel KERNCONF=HARDENEDBSD

After re-applying your branch, everything compiles fine. Here's a few
things I've learned:

1) Do _NOT_ put i915kms_load="YES" in /boot/loader.conf. Doing so
   results in a non-bootable system. The boot process gets stuck at
   mounting root. It exits with error 5 (no clue what that means).
2) Attempting to play video using any native video player (VLC, mpv,
   etc.) causes a kernel panic (link to core.txt below) when the
   application exits. No video plays, however. Strangely, I can still
   watch YouTube videos in Chromium.
3) Other than that, I'm loving i915 Haswell on my Lenovo Y50-70. I owe
   you a drink of your choosing if/when we meet.

Link to core.txt:
https://hardenedbsd.org/~shawn/2015-10-08_1843_i915_core.txt

Thanks,

-- 
Shawn Webb
HardenedBSD

GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20151008/190ef2cc/attachment.bin>


More information about the freebsd-x11 mailing list