[RFC] Deprecation and removal of the drm2 driver

Ian FREISLICH ian.freislich at capeaugusta.com
Tue May 22 12:19:48 UTC 2018


Johannes,

On drm-stable Xorg no longer crashes on the first execution of Firefox, 
so that's an improvement.

FWIW (and not to start a bikeshed discussion) stable in the context of 
FreeBSD has meant ABI stability, not crash-free.  If you're going to 
rename the ports, I'd suggest "drm" and "drm-devel".

Ian

On 05/21/2018 03:30 PM, Johannes Lundberg wrote:
>
>
> On Mon, May 21, 2018 at 8:01 PM, Ian FREISLICH 
> <ian.freislich at capeaugusta.com <mailto:ian.freislich at capeaugusta.com>> 
> wrote:
>
>     Niclas
>
>
>     On 05/18/2018 01:58 PM, Niclas Zeising wrote:
>
>         [ Cross posted to freebsd-current@ and freebsd-x11 at . Please
>         respect reply-to and send all replies to freebsd-x11 at .  Thanks! ]
>
>
>         Hi!
>         I propose that we remove the old drm2 driver (sys/dev/drm2)
>         from FreeBSD.  I suggest the driver is marked as deprecated in
>         11.x and removed from 12.0, as was done for other drivers
>         recently.  Some background and rationale:
>
>         The drm2 driver was the original port of a KMS driver to
>         FreeBSD. It was done by Konstantin Belousov to support Intel
>         graphics cards, and later extended by Jean-Sébastien Pédron as
>         well as Konstantin to match what's in Linux 3.8.  This
>         included unstable support from Haswell, but nothing newer than
>         that.
>
>         For quite some time now we have had the
>         graphics/drm-stable-kmod and graphics/drm-next-kmods which
>         provides support for modern AMD and Intel graphics cards. 
>         These ports, together with the linuxkpi, or lkpi, has made it
>         significantly easier to port and update our graphics drivers.
>         Further, these new drivers cover the same drivers as the old
>         drm2 driver.
>
>         What does the community think?  Is there anyone still using
>         the drm2 driver on 12-CURRENT?  If so, what is preventing you
>         from switching to the port?
>
>
>     I'm running -CURRENT on all my systems.  I have a "3rd Gen" HD
>     Graphics 4000 that I'm running drm-next on but I'm about to revert
>     to drm2 because of instabilities.  Xorg spontaneously crashes, and
>     doesn't on drm2. I also have a Haswell system running drm2 which I
>     have not tried drm-next because SWMBO is particularly intolerant
>     of stuff not working.
>
>
> If drm-next-kmod is causing issues, please try drm-stable-kmod. (we 
> should really rename drm-next to drm-unstable/beta..)
>
>
>     I also ran drm-next successfully on a Sunrise Point-LP system with
>     "Intel UHD Graphics 620" because drm2 didn't support the graphics
>     chip before switching to linux to get the trackpad and sound working.
>
>     I guess the situation is that your mileage may vary depending on
>     your system.  I'm OK with installing drm2 from ports, but at this
>     point I'm not really OK with loosing drm2 at this stage because of
>     the instability in drm-next on my one system.
>
>     Ian
>
>     -- 
>
>     _______________________________________________
>     freebsd-x11 at freebsd.org <mailto:freebsd-x11 at freebsd.org> mailing list
>     https://lists.freebsd.org/mailman/listinfo/freebsd-x11
>     <https://lists.freebsd.org/mailman/listinfo/freebsd-x11>
>     To unsubscribe, send any mail to
>     "freebsd-x11-unsubscribe at freebsd.org
>     <mailto:freebsd-x11-unsubscribe at freebsd.org>"
>
>

-- 
Ian Freislich
+1 404 574 0228


-- 



More information about the freebsd-x11 mailing list