From owner-freebsd-x11@freebsd.org Mon Oct 23 09:47:41 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 CCDF0E47391 for ; Mon, 23 Oct 2017 09:47:41 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFA5B6A6C5 for ; Mon, 23 Oct 2017 09:47:40 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 1cd94034 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Mon, 23 Oct 2017 09:40:58 +0000 (UTC) Subject: Re: Iris Pro P6300 intel X11 driver (was Re: intro) To: freebsd-x11@freebsd.org References: <696fb5ea-e1bf-d7c2-004a-eb4eb2af43d7@nomadlogic.org> <201710230617.v9N6HgIW013185@sdf.org> From: Greg V Message-ID: Date: Mon, 23 Oct 2017 12:40:55 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <201710230617.v9N6HgIW013185@sdf.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US 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: Mon, 23 Oct 2017 09:47:41 -0000 On 10/23/2017 09:17, Scott Bennett wrote: > Tom Rushworth 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. >> >> This is just a partial update on the issue, I haven't had time to finish >> all the suggestions. >> >> Suggestion 1 - try FreeBSD 12 >> I spent a day and installed head as of 2017/10/15 (or thereabouts) but >> it doesn't work out of the box (the console works, just not the X server >> with the intel driver or any other default driver). I have lots more >> digging to do with it to make sure I really do have the latest, and that >> the configuration is correct, so this is ongoing. >> >> Suggestion 2 - try TrueOS > TrueOS *is* FreeBSD 12 (at the moment) at its heart. Well, TrueOS is based on the drm-next fork, which updates i915kms & amdgpu to match modern Linux (currently 4.12): https://github.com/FreeBSDDesktop/freebsd-base-graphics Plain FreeBSD -CURRENT does not have the new graphics drivers, it only supports Intel GPUs up to and including Haswell, but you can set it up easily now… >> I downloaded the USB stick image. There doesn't seem to be a 'live' >> option in that image (at least I couldn't find it with a few minutes of >> poking around), and the installer does not use the intel driver, so I >> hunted down another drive for the machine and did a full install. >> Configuring the video driver to be intel during the install does give a >> working X server, and checking the XOrg.log file confirms that the intel >> driver is the one being used. >> >> So now I either have to learn to like TrueOS and Lumina, or figure out >> where my source version or configuration is wrong for the FreeBSD-12 >> setup :). I'm probably going to do a bit of both. > Or you can just install the window manager of your preference, and > use that. I haven't yet used TrueOS, but the times I've installed and used > PC-BSD (the predecessor to TrueOS) I always installed my usual choice > (WindowMaker) and proceeded happily on. Lumina will still be there if you > need to use it. The only nuisance is that some of the special TrueOS > graphical applications may work better with Lumina, just as the earlier ones > did with KDE, which was the PC-BSD standard before Ken Moore wrote Lumina > for PC-BSD. >> 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.