From owner-freebsd-x11@freebsd.org Sun May 7 12:26:49 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 BF853D55519 for ; Sun, 7 May 2017 12:26:49 +0000 (UTC) (envelope-from mylan.connolly@gmail.com) Received: from mail-pg0-x233.google.com (mail-pg0-x233.google.com [IPv6:2607:f8b0:400e:c05::233]) (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 640DA1C06 for ; Sun, 7 May 2017 12:26:49 +0000 (UTC) (envelope-from mylan.connolly@gmail.com) Received: by mail-pg0-x233.google.com with SMTP id o3so22213923pgn.2 for ; Sun, 07 May 2017 05:26:49 -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=fAv0X495YNdPKhnnKvWZ5V8torHddjJDMbpDnIZnMSE=; b=Kldxn4SWvv1BDTO68Z5+QBio3Tbnfeq31Zd3rU8PstAvwGiVg/fY9QxRhH6KyYqUuN y2O7RfWfzc+T4OleyiCCYDNK3xwIFPXiSnB/voLA14agznBF7xDwPa8uONoW+F1rYtfr 4XG79k22hywJQpsWmKAxSQkIDgErRNj5bP6x1exxN9i+/Em56y24N6RcUKhBkXlXkETh 6mEroQByHxjQto1jYa5DxiedpwMeh8werSiWc5jhy6YK5eI8alzRRaCa51MfpAeGJP4F k18ocmgGG6XmFkjpg72YBATVe6S5S34Xl4re+Gqw3iyTMLRh1E8e+lJ4vZZDvDH74gZp SJ1A== 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=fAv0X495YNdPKhnnKvWZ5V8torHddjJDMbpDnIZnMSE=; b=dPOM2ZqAtbaNjMQdI6dVw7GeoW6+LIuFaszvKtUuBYmeu8OBx++rIqY06dvuKu1Oqb cUpVnrMhBxr/xHz5z2zG8AvsLJz81vY7J0qGwQDZHAE99BGfU3teXRtmpsqgR8h12ebH z2w/QSumiK2EC4yG8CqXDCVsjS8k2I/2gi4LxVWmV+p+pDYxX4cvuB/izWTnmWfyCoGV /7GqV/kVVcTd4PDJQlfdbtm/SK77ObhymQUOA0UhZoFM/DTjnBLpVCns+A7yX/nNOEuE Q1L7FdarpnfiB3R1krzXxBVgEdLN804nhXFyH0da9FaKpisjUCjRCSVyAJeCCKkVcLDB VHxw== X-Gm-Message-State: AN3rC/5rPdGHvp6AKFsZBkUBbYek6KgjE9It46cnEXwSSxifEDzo6HYW 9UbtnHuBhl3nDldFq4SlRAUFPlzDZQ== X-Received: by 10.84.209.198 with SMTP id y64mr76849068plh.78.1494160008834; Sun, 07 May 2017 05:26:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.153.67 with HTTP; Sun, 7 May 2017 05:26:48 -0700 (PDT) Received: by 10.100.153.67 with HTTP; Sun, 7 May 2017 05:26:48 -0700 (PDT) In-Reply-To: <590EE3CD.4030009@abinet.ru> References: <457b9277c9ea90d24ba3620f09a5ad06@mikej.com> <59d50c9d-4115-7974-dafe-8b105234679c@astart.com> <590EE3CD.4030009@abinet.ru> From: Mylan Connolly Date: Sun, 7 May 2017 05:26:48 -0700 Message-ID: Subject: Re: Intel Kaby Lake Support To: abi 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: Sun, 07 May 2017 12:26:49 -0000 So far this is not working and I haven't looked into it yet. I plan to soon, however On May 7, 2017 5:07 AM, "abi" wrote: > Hello, > > what about suspend/resume support? > > On 07.05.2017 02:53, Mylan Connolly wrote: > >> 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/FreeBSDDesk >> top/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" >>> >>> >>> >> >