From owner-freebsd-x11@freebsd.org Sat May 6 23:53:33 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 1A076D6179F for ; Sat, 6 May 2017 23:53:33 +0000 (UTC) (envelope-from mylan.connolly@gmail.com) Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81C2663B for ; Sat, 6 May 2017 23:53:32 +0000 (UTC) (envelope-from mylan.connolly@gmail.com) Received: by mail-pf0-x231.google.com with SMTP id q20so17640385pfg.0 for ; Sat, 06 May 2017 16:53:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/CeqqumSfhQ7naD3rnWMyjtInGEiDDVdLZgIgthqbFE=; b=a1DIXK4fcBUYZDODf4byEPF3BFlpfK1xDR+jkGAd6GH+2kMhsiEBLrv/hrijCPQD2J CtauJX/ECwBaTfhdSjOE7fjs94MwcZDWXM0xDMWzPHNC96bw96HUCrFWaFrxvHIFa/dO 1DFIQ0BBMjAzMxLwnDzH0DsTT5cXCWDnCZScYj4pYg5IUFiqy3w1UBs9oXdeoVvUxZw/ pgNnfMNHqjpUqWQBw9G0b9OYARfIKZk/ttUrui3fU8IlfH78aRtmFSaczZzi1NNNTx3H 1EJbt2i5Oid6k/0M2aXkGBaXrjmlPZI0VkTdjLldJqZ+j8TfMAaiqZHNUnT+ln2fXhYW Ub1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/CeqqumSfhQ7naD3rnWMyjtInGEiDDVdLZgIgthqbFE=; b=hEt3NEqYgM0Ev9azOzBlaDAMeaouQvS2qym6Uor4ZDurORI5vB2vaCt22d4fFlitjT qr6EbIKsgYeouCLBcGhi45aeoF/2gHP7bf4vVYaZ51rj4fl1AKYsBL6EC1QWhiBMT/Ee VY9hYL1sIl28d27fa25kQm5R7Wr9BewSMx0xdOUMiszhYgon+oXTVx70Lr4oUoOzScN0 LZyu00mhneRudwU1v+E6sWtWvzvnWVFpLRcBYOnrcQP3J7YgvqsV69QCsgbjGPwkMrvf Ggt1R+pptzSLtYRDAE/idxb3E3Dbt4DsLLpibVA8pt2wYXhGjb0M1GNt2yCa6RMrI1r4 B23w== X-Gm-Message-State: AN3rC/6EX5kDzvaCRRVlzuJGzYNZQmsAHqUAM/tHVdzeswGhX4o7VLgC 9YiBkIa8Nwc0swtgIMLDyDqytG+l1w== X-Received: by 10.99.158.82 with SMTP id r18mr11190972pgo.231.1494114812001; Sat, 06 May 2017 16:53:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.153.67 with HTTP; Sat, 6 May 2017 16:53:31 -0700 (PDT) Received: by 10.100.153.67 with HTTP; Sat, 6 May 2017 16:53:31 -0700 (PDT) In-Reply-To: References: <457b9277c9ea90d24ba3620f09a5ad06@mikej.com> <59d50c9d-4115-7974-dafe-8b105234679c@astart.com> From: Mylan Connolly Date: Sat, 6 May 2017 19:53:31 -0400 Message-ID: Subject: Re: Intel Kaby Lake Support To: papowell@astart.com Cc: freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 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:53:33 -0000 Hello. I actually did not do much. Running through the instructions at the page here https://www.freebsd.org/doc/handbook/makeworld.html except using the sources found here https://github.com/FreeBSDDesktop/freebsd-base-graphics instead of the regular source code. Afterwards I rebooted and it all just worked after I did kldload i915kms (I then added it to rc.conf to persist I the module loading). Thanks again! On May 6, 2017 7:40 PM, "Patrick Powell" wrote: 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 _______________________________________________ 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"