Re: [RFC] Deprecation and removal of the drm2 driver

Johannes Lundberg <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <CAECmPwvirto5=P-bAwtr-kRwtYyv92PPqEGPJz1jExKNdF1TsA@mail.gmail.com>
On Tue, May 22, 2018 at 1:19 PM, Ian FREISLICH <
[email protected]> wrote:

> 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".
>

Yes we've been talking about that. drm-next and drm-stable naming is a bit
unfortunate.


>
> Ian
>
>
> On 05/21/2018 03:30 PM, Johannes Lundberg wrote:
>
>
>
> On Mon, May 21, 2018 at 8:01 PM, Ian FREISLICH <
> [email protected]> wrote:
>
>> Niclas
>>
>>
>> On 05/18/2018 01:58 PM, Niclas Zeising wrote:
>>
>>> [ Cross posted to freebsd-current@ and freebsd-x11@.  Please respect
>>> reply-to and send all replies to freebsd-x11@.  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
>>
>> --
>>
>> _______________________________________________
>> [email protected] mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
>> To unsubscribe, send any mail to "[email protected]"
>>
>
>
> --
> Ian Freislich
> +1 404 574 0228
>
>
>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.