From owner-freebsd-x11@freebsd.org Tue May 22 12:19:47 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B992CEF3E67 for ; Tue, 22 May 2018 12:19:47 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5854671C1E for ; Tue, 22 May 2018 12:19:47 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mail-qk0-x229.google.com with SMTP id r28-v6so12062842qkk.4 for ; Tue, 22 May 2018 05:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capeaugusta-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=rWMQHdUv1TmE8kSyC465YY+Q9I1wQ1aX28j5jJf+Ftw=; b=I9bEkpgatbKLzEZVhPZYVJvdY4MPupUhqe8YY8uTCgYmwgp+L26pBZxX2KG29QE+gs Rp6GR39cpcWugxXFZ56yCu2IM0xizcOftmuVO2vj8SDUw3IxKW/Ft8bqJp5hJw9iujlT lJmsgVY4nsPMfFwU6wstj63ZLLPZpg3TzH6kXIMtQyzZ41C7buVOZSentYxcgT0EJui+ I0QCnHPZUBL9Eg13qNF7nN5ViM90fQZiONk/pYe7dqohkM1zldKgWRbMj6BAKlSC2FvV MNmLTllpRHLO/CjTrcp/qp3gRy3ByupU4CqZfrkel3IFnWiaZ/v3HqWJDNTybynIQsA6 Q79A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=rWMQHdUv1TmE8kSyC465YY+Q9I1wQ1aX28j5jJf+Ftw=; b=gw4yHiRcIHaUfbyjcFT0AoawN2HaVaZ9DsCJHxhJZR27eska6GmfzdgAjciADfyM7c hr2NB8ry9eWC3lU5afxNoppN6jUUBih+eBJIUts0V2kHRKZv1Z5BluLXpYjKdeIMt+Sx uechuif1Jxj+v5nrJdm/ZTkTXqz2SF1WAqD73ksxiFsXjJfFo2cqWt+TC1gUmM5r60MV ECFvjZV1uzmgLx65sb4YgYh6u9ScHJ+RW127EJWp1yG+GsfQlJYEzSYrvbpRQeaXnqaT fg64tluVOzQYOmvHfur1Cv8eI4aAg/JjQg3gkRhY8pUhw5JeJW26+CSqDJXdjZeyX2Qh 5zQg== X-Gm-Message-State: ALKqPwd6B2rQOXeHEtZlDlxLLfzLrOeDj8y/iDB4e/XuP2DquMPHBHxU x+tRj5wU9eynlB8kJoPxcfvxLs3uxe1Cz9iJJskvwxZ9IO+hOUcg5OzzftrM2xKydFgTu2zIhZf nEXMl5PJ1uBAxCcMpE6I2qFNZvmW4XwZKsUZS7eZusex8wErERfB+MUirIwLhQrNzA0XH7ADjRo Pn8BRHhw== X-Google-Smtp-Source: AB8JxZoIyAjQqL0tumPw5w4V6tmP90oqPa55KUwFnSA2z+3U3jQiFBc7raHx4X7/byU/kpoCo8uFDQ== X-Received: by 2002:ae9:d807:: with SMTP id u7-v6mr21857338qkf.224.1526991586289; Tue, 22 May 2018 05:19:46 -0700 (PDT) Received: from [10.0.11.220] ([64.53.114.237]) by smtp.gmail.com with ESMTPSA id f21-v6sm12766642qta.79.2018.05.22.05.19.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 05:19:45 -0700 (PDT) Subject: Re: [RFC] Deprecation and removal of the drm2 driver To: Johannes Lundberg Cc: x11-list freebsd References: <3a5edc5c-3caa-830b-4bd9-53ff52feb8a7@freebsd.org> <98aaa85f-1433-e50d-3892-3c5fbff61b85@capeaugusta.com> From: Ian FREISLICH Message-ID: Date: Tue, 22 May 2018 08:19:45 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 12:19:48 -0000 Johannes, On drm-stable Xorg no longer crashes on the first execution of Firefox,=20 so that's an improvement. FWIW (and not to start a bikeshed discussion) stable in the context of=20 FreeBSD has meant ABI stability, not crash-free.=C2=A0 If you're going to= =20 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=20 > >=20 > 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@.=C2=A0 Than= ks! ] > > > Hi! > I propose that we remove the old drm2 driver (sys/dev/drm2) > from FreeBSD.=C2=A0 I suggest the driver is marked as deprecated = in > 11.x and removed from 12.0, as was done for other drivers > recently.=C2=A0 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=A9= dron as > well as Konstantin to match what's in Linux 3.8.=C2=A0 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.=C2=A0 > 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?=C2=A0 Is there anyone still using > the drm2 driver on 12-CURRENT?=C2=A0 If so, what is preventing yo= u > from switching to the port? > > > I'm running -CURRENT on all my systems.=C2=A0 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.=C2=A0 Xorg spontaneously crashes, a= nd > 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=20 > 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.=C2=A0 I'm OK with installing drm2 from ports, but at thi= s > point I'm not really OK with loosing drm2 at this stage because of > the instability in drm-next on my one system. > > Ian > > --=20 > > _______________________________________________ > 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 > " > > --=20 Ian Freislich +1 404 574 0228 --=20