Kevin Oberman
2018-Feb-18 22:27 UTC
[CFT] [X11] graphics/drm-next-kmod now builds, loads and works on FreeBSD-11-stable
On Sun, Feb 18, 2018 at 12:35 PM, Hans Petter Selasky <hps at selasky.org> wrote:> Hi FreeBSD desktop users! > > During the past week and over the weekend all parts needed for building, > loading and using graphics/drm-next-kmod on FreeBSD-11-stable have been > completed! > > A big thanks to all the people contributing to graphics support under > FreeBSD in both kernel and user-space! You'll find their names in the > commit logs including myself :-) > > Links: > https://www.freshports.org/graphics/drm-next-kmod > https://svnweb.freebsd.org/changeset/base/329527 > > Issues are reported here: > https://github.com/FreeBSDDesktop/kms-drm/issues > > --HPS >Wow! That is awesome. Thanks to all of the contributors. Any instructions? Am I right that the mod setting driver should generally be used. None of the links above really covers implementation. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman at gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Ian Lepore
2018-Feb-18 22:32 UTC
[CFT] [X11] graphics/drm-next-kmod now builds, loads and works on FreeBSD-11-stable
On Sun, 2018-02-18 at 14:27 -0800, Kevin Oberman wrote:> On Sun, Feb 18, 2018 at 12:35 PM, Hans Petter Selasky > wrote: > > > > > Hi FreeBSD desktop users! > > > > During the past week and over the weekend all parts needed for building, > > loading and using graphics/drm-next-kmod on FreeBSD-11-stable have been > > completed! > > > > A big thanks to all the people contributing to graphics support under > > FreeBSD in both kernel and user-space! You'll find their names in the > > commit logs including myself :-) > > > > Links: > > https://www.freshports.org/graphics/drm-next-kmod > > https://svnweb.freebsd.org/changeset/base/329527 > > > > Issues are reported here: > > https://github.com/FreeBSDDesktop/kms-drm/issues > > > > --HPS > > > Wow! That is awesome. Thanks to all of the contributors. > > Any instructions? Am I right that the mod setting driver should generally > be used. None of the links above really covers implementation.+1. I have the vague notion that drm-next has something to do with supporting newer graphics hardware. ?Since I just bought a new x86 box whose builtin radeon R6 isn't supported by -current that sounds interesting to me, where do I find out more about drm-next and how to try it? -- Ian?
Hans Petter Selasky
2018-Feb-18 22:36 UTC
[CFT] [X11] graphics/drm-next-kmod now builds, loads and works on FreeBSD-11-stable
On 02/18/18 23:27, Kevin Oberman wrote:> On Sun, Feb 18, 2018 at 12:35 PM, Hans Petter Selasky <hps at selasky.org> > wrote: > >> Hi FreeBSD desktop users! >> >> During the past week and over the weekend all parts needed for building, >> loading and using graphics/drm-next-kmod on FreeBSD-11-stable have been >> completed! >> >> A big thanks to all the people contributing to graphics support under >> FreeBSD in both kernel and user-space! You'll find their names in the >> commit logs including myself :-) >> >> Links: >> https://www.freshports.org/graphics/drm-next-kmod >> https://svnweb.freebsd.org/changeset/base/329527 >> >> Issues are reported here: >> https://github.com/FreeBSDDesktop/kms-drm/issues >> >> --HPS >>Hi Kevin,> > Wow! That is awesome. Thanks to all of the contributors.Thank you!> > Any instructions? Am I right that the mod setting driver should generally > be used. None of the links above really covers implementation.I believe the package when you install it will give you some instructions in the pkg-message. Basically: portsnap fetch update Make sure your kernel sources in /usr/src . cd /usr/src make buildkernel -jX make installkernel -jX cd /usr/ports/graphics/drm-next-kmod make all install clean Edit /etc/rc.conf and add for example: kld_list="i915kms" Then reboot and twin your thumbs. If it fails goto single user mode. mount -a Edit /etc/rc.conf and remove the kld_list=... Save and type exit. Before starting X.org you should have the correct xf86-video-xxx drivers installed, because then 2D and 3D acceleration will activate. A quick tip for tear-free video with intel drivers: cat /usr/local/etc/X11/xorg.conf.d/20-intel.conf Section "Device" Identifier "Device0" Driver "intel" Option "AccelMethod" "sna" Option "TearFree" "true" EndSection --HPS