Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 20:30:26 +0100
From:      Johannes Lundberg <johalun0@gmail.com>
To:        Ian FREISLICH <ian.freislich@capeaugusta.com>
Cc:        x11-list freebsd <freebsd-x11@freebsd.org>
Subject:   Re: [RFC] Deprecation and removal of the drm2 driver
Message-ID:  <CAECmPwt%2BVZQht5CxHWOF2Yhyiuy-X59ovPD29Y95OGxAExKe%2Bw@mail.gmail.com>
In-Reply-To: <98aaa85f-1433-e50d-3892-3c5fbff61b85@capeaugusta.com>
References:  <3a5edc5c-3caa-830b-4bd9-53ff52feb8a7@freebsd.org> <98aaa85f-1433-e50d-3892-3c5fbff61b85@capeaugusta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 21, 2018 at 8:01 PM, Ian FREISLICH <
ian.freislich@capeaugusta.com> 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 remov=
ed
>> 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=C3=A9bastien P=C3=A9dron as well as Konstantin to mat=
ch what's in
>> Linux 3.8.  This included unstable support from Haswell, but nothing new=
er
>> 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 m=
ade
>> 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 t=
he
>> 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 als=
o
> have a Haswell system running drm2 which I have not tried drm-next becaus=
e
> 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 no=
t
> really OK with loosing drm2 at this stage because of the instability in
> drm-next on my one system.
>
> Ian
>
> --
>
> _______________________________________________
> 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?CAECmPwt%2BVZQht5CxHWOF2Yhyiuy-X59ovPD29Y95OGxAExKe%2Bw>