Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2017 11:32:34 -0700
From:      Tom Rushworth <tom.b.rushworth@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   Success: Re: Iris Pro P6300 intel X11 driver (was Re: intro)
Message-ID:  <d0928b23-b2b3-81e8-7267-40ab63a6ca16@gmail.com>
In-Reply-To: <e94b9a81-50a0-1576-ac62-f01347d0a11d@unrelenting.technology>
References:  <f0fb13d6-1d4e-2de8-f3cb-c6976f57fc9f@gmail.com> <696fb5ea-e1bf-d7c2-004a-eb4eb2af43d7@nomadlogic.org> <b7db2fea-a1d8-1b7a-21df-602bd9e0c42e@yahoo.com> <b058386b-4832-5b6e-29df-927077df9541@gmail.com> <201710230617.v9N6HgIW013185@sdf.org> <e94b9a81-50a0-1576-ac62-f01347d0a11d@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi All,

On 23/10/2017 02:40, Greg V via freebsd-x11 wrote:
> On 10/23/2017 09:17, Scott Bennett wrote:
>
>> Tom Rushworth <tom.b.rushworth@gmail.com> wrote:
>>
>>> Problem summary: new machine with Intel Iris Pro P6300 graphics, FreeBSD
>>> 11 runs in console mode but I can't get an X server running.
>>>

[snip]

>>> The good news is that there is a working intel driver for the Iris Pro
>>> P6300.
>>>
>>> Thanks for the help and suggestions - I'll update again if I figure out
>>> the plain FreeBSD-12 setup.
>
> The new graphics drivers (drm-next) are available as a port now, instead
> of the fork:
> https://github.com/FreeBSDDesktop/kms-drm
> https://www.freshports.org/graphics/drm-next-kmod
>
> Just install graphics/drm-next-kmod, configure rc.conf to load it like
> the post-install message says, and reboot.
> In Xorg, you can try both intel (SNA) and modesetting (Glamor) drivers.
> modesetting tends to have hard-to-defeat screen tearing, but it's fast,
> lightweight and reliable.

This does the job.  The X server now drives all 3 grapics outputs 
without any problems that I've noticed.

For the record, the hardware is a CompuLab AirTop with an Intel Iris Pro 
P6300 grapics chip (i.e i915).  I updated the kernel to:

uname -a -->
FreeBSD maxwell.mannynkapy.net 12.0-CURRENT FreeBSD 12.0-CURRENT #1 
r324944: Mon Oct 23 20:52:58 PDT 2017 
root@maxwell.mannynkapy.net:/usr/obj/usr/src/sys/GENERIC  amd64

and fetched an up to date /usr/ports, where:

root@maxwell:/usr/ports/graphics/drm-next-kmod # cat distinfo
TIMESTAMP = 1507314617
SHA256 (FreeBSDDesktop-kms-drm-g20171006-63426fd_GH0.tar.gz) = 
4ccc9237dde238d28a2a5fc57d62531b994d1c8f0ac1e5a07976636b1923927f
SIZE (FreeBSDDesktop-kms-drm-g20171006-63426fd_GH0.tar.gz) = 6677599

Then I did a 'make install' and followed the directions about rc.conf 
and /etc/group, and the X server came up in working order with the 
default configuration.

I notice that TrueOS has a config file for the X server, but the only 
difference from the default built in one seems to be that the default 
loads a few extra drivers, then sees they aren't needed and unloads them.

Thanks everyone for a pleasant, instructive, and successful experience!

If anyone has further questions about the hardware or configuration I'm 
using, feel free to ask.

Regards,

-- 
Tom Rushworth



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0928b23-b2b3-81e8-7267-40ab63a6ca16>