Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2017 12:07:25 +0300
From:      abi <abi@abinet.ru>
To:        Mylan Connolly <mylan.connolly@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Intel Kaby Lake Support
Message-ID:  <590EE3CD.4030009@abinet.ru>
In-Reply-To: <CANk4dZm%2BhoPReJ7TkpKdZ0a4DqHhBx_r8WOFMshtvF3dpsue1A@mail.gmail.com>
References:  <CANk4dZnhTCSPkcF8DnsU86BxTnmdzVfiaz=iNbxdgWEAKLmE4Q@mail.gmail.com> <f223e38c-6145-26b1-b356-170461e576cf@nomadlogic.org> <CANk4dZnj7zyh2iFum8T8wdU_u_6fTBwYNGSHzx9PHLTHg_cH0w@mail.gmail.com> <457b9277c9ea90d24ba3620f09a5ad06@mikej.com> <CANk4dZnE19BFF8fLQDq0R8DN5zdwkq2WUb3881T3d6UM4bvj-g@mail.gmail.com> <59d50c9d-4115-7974-dafe-8b105234679c@astart.com> <CANk4dZ=AyxnG6jr-fb7dUWkirkJZv9R3G9%2BuuD83wGz2fpW6EA@mail.gmail.com> <CANk4dZm%2BhoPReJ7TkpKdZ0a4DqHhBx_r8WOFMshtvF3dpsue1A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/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" <papowell@astart.com> 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" <mikej@mikej.com> 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 <pete@nomadlogic.org> 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"
>>
>>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?590EE3CD.4030009>