From owner-freebsd-x11@freebsd.org Sat May 6 23:40:40 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 461AAD613AF for ; Sat, 6 May 2017 23:40:40 +0000 (UTC) (envelope-from papowell@astart.com) Received: from astart2.astart.com (wsip-72-214-30-30.sd.sd.cox.net [72.214.30.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06CD1CD6 for ; Sat, 6 May 2017 23:40:39 +0000 (UTC) (envelope-from papowell@astart.com) Received: from laptop_103.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.9/8.14.9) with ESMTP id v46NKTEj009820 for ; Sat, 6 May 2017 16:20:29 -0700 (PDT) (envelope-from papowell@astart.com) Reply-To: papowell@astart.com Subject: Re: Intel Kaby Lake Support References: <457b9277c9ea90d24ba3620f09a5ad06@mikej.com> To: freebsd-x11@freebsd.org From: Patrick Powell Organization: Astart Technologies Message-ID: <59d50c9d-4115-7974-dafe-8b105234679c@astart.com> Date: Sat, 6 May 2017 16:20:28 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Sat, 06 May 2017 23:40:40 -0000 Congratulations! You might want to post a short note describing what you did for those who are curious. On 05/05/17 17:49, Mylan Connolly wrote: > Update! > > Compiling world and kernel and then installing them from the git repo > provided above did the trick. > > I'm going to do some testing to see how reliable it is but the Intel GPU is > loading and rendering without needing any custom x files. > > Thanks! > > On May 5, 2017 4:56 PM, "Michael Jung" wrote: > >> Mylan: >> >> If you look at the FreeBSD handbook compiling world and kernel is easy. >> >> Provided you have installed the source tree from the installation media >> or downloaded the source tree via svn >> >> #cd /usr/src >> # /usr/src/ >> # /usr/src/ make buildkernel && make buildworld >> # /usr/src/ make installkernel && make installworld >> # reboot >> >> If you look at /usr/src/Makefile there are more detailed and recommended >> steps for compiling and installing kernel world than I have shown. >> >> I've been doing this since Freebsd 2.2 - If you >> have ever built a linux kernels you will find this pretty simple. >> >> There or other things one should do - read up on mergemaster and etsupdate >> these tools will help you automate updating rc scripts and configuration >> files that >> are supplied with FreeBSD. >> >> FreeBSD trails in the latest things like video drivers but in a server >> environment I love it because if you must stay patched because of CVE's and >> they are application patches there are rarely times that an updated kernel >> must be >> installed and hence a reboot. >> >> Enjoy >> >> Michael Jung >> >> >> >> On 2017-05-05 16:19, Mylan Connolly wrote: >> >>> Thanks for the tip. I think I will check out compiling from the github >>> repo. >>> >>> I never have built FreeBSD world or kernel from source before so it'll be >>> interesting and hopefully a good learning exercise. >>> >>> Will post back with new information. >>> >>> On Fri, May 5, 2017 at 3:58 PM, Pete Wright wrote: >>> >>> >>>> On 05/05/2017 12:52, Mylan Connolly wrote: >>>> >>>> Hello all, >>>>> Before I start, I want to mention that I am quite new to FreeBSD >>>>> (although >>>>> I have been using Linux for quite a long time). >>>>> >>>>> I decided to try out FreeBSD 12-CURRENT because of how new my hardware >>>>> is >>>>> and 11.0-RELEASE was unable to detect any of my networking interfaces. >>>>> >>>>> I have a laptop (Alienware 13 R3) which has an Intel 630 GPU. I >>>>> attempted >>>>> to get it working by loading the i915kms module and then starting X >>>>> (using >>>>> startx with XFCE4 set up), but X was using the scfb driver (which I >>>>> think >>>>> is the UEFI frame buffer driver?). >>>>> >>>>> If I create a file `/etc/X11/xorg.conf.d/intel.conf with the following >>>>> contents, X is unable to find a screen: >>>>> >>>>> Section "Device" >>>>> Identifier "Card0" >>>>> Driver "intel" >>>>> # BusID "PCI:1:0:0" >>>>> EndSection >>>>> >>>>> So it kind of looks to me like my chip isn't supported by the driver out >>>>> of >>>>> the box yet (I understand Kaby Lake is still quite recent, so it's >>>>> understandable). >>>>> >>>>> Right now I have the following X video drivers installed: >>>>> >>>>> xf86-video-intel-2.99.917.20170228 >>>>> xf86-video-scfb-0.0.4_5 >>>>> xorg-server-1.18.4,1 >>>>> >>>>> If anyone has any tips to help me out I'd really appreciate it. If I >>>>> need >>>>> to provide additional information I'd be glad to, just don't know >>>>> exactly >>>>> what all is necessary at this point. >>>>> >>>>> you have two options with the Intel Kabylake GPU. TrueOS ( >>>> www.trueos.org) >>>> is very closely aligned with the FreeBSD project. They have incorporated >>>> bits from work to update GPU support on FreeBSD. You can also build your >>>> own world and kernel from the github repo where this work is happening: >>>> >>>> https://github.com/FreeBSDDesktop/freebsd-base-graphics >>>> >>>> This is what I do on my Kabylake and Skylake sysetms, and can confirm it >>>> works quite well. You'll want to checkout the drm-next branch, then >>>> perform a build of the complete world and kernel from there. you should >>>> be >>>> able to do this from your existing 12-CURRENT installation. but to >>>> verify >>>> this branch works on your harware you can try the live image from the >>>> TrueOS project before investing in building everything locally. >>>> >>>> -pete >>>> >>>> -- >>>> Pete Wright >>>> pete@nomadlogic.org >>>> @nomadlogicLA >>>> >>>> _______________________________________________ >>>> freebsd-x11@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-x11 >>>> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >>>> >>>> _______________________________________________ >>> freebsd-x11@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-x11 >>> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >>> > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > -- Patrick Powell Astart Technologies papowell@astart.com 1530 Jamacha Rd, Suite X Network and System San Diego, CA 92019 Consulting Cell 858-518-7581 FAX 858-751-2435 Web: papowell at astart dot com