From owner-freebsd-x11@freebsd.org Fri Aug 28 00:56:02 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 084CB3C847F for ; Fri, 28 Aug 2020 00:56:02 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bd1PF2bSzz3WKJ for ; Fri, 28 Aug 2020 00:56:01 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: by mailman.nyi.freebsd.org (Postfix) id 58D3D3C847E; Fri, 28 Aug 2020 00:56:01 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 589963C8684 for ; Fri, 28 Aug 2020 00:56:01 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bd1PD3xYVz3WDg; Fri, 28 Aug 2020 00:56:00 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 07S0u3Ts023037; Thu, 27 Aug 2020 17:56:09 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) MIME-Version: 1.0 Date: Thu, 27 Aug 2020 17:56:03 -0700 From: Chris To: Jan Beich Cc: x11@freebsd.org Subject: Re: deprecation of drm-legacy-kmod In-Reply-To: <7dtj-pssq-wny@FreeBSD.org> References: <7dtj-pssq-wny@FreeBSD.org> User-Agent: UDNSMS/17.0 Message-ID: X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bd1PD3xYVz3WDg X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 00:56:02 -0000 On 2020-08-27 16:34, Jan Beich wrote: > Chris writes: > >> On 2020-08-24 15:21, Niclas Zeising wrote: >>> It is time to deprecate drm-legacy-kmod, since it is taking too much >>> time to maintain and are holding off changes in other areas. > [...] >> If this were pulled today. What are the ramifications? IOW what (A)GPUs >> would >> no longer be available for use on FreeBSD? > > (Disclaimer: I'm not part of the graphics team and don't hack kernel code) > > GPUs from ~20 years ago maybe limited to xf86-video-{vesa,scfb}. > OpenGL acceleration have already been missing for ~8 years. > > https://gitlab.freedesktop.org/mesa/mesa/-/commit/e4344161bde2 > > drm-legacy-9691917/src/dev/drm/drm_pciids.h: > #define r128_PCI_IDS \ > {0x1002, 0x4c45, 0, "ATI Rage 128 Mobility LE (PCI)"}, \ > [...] > #define mga_PCI_IDS \ > {0x102b, 0x0520, MGA_CARD_TYPE_G200, "Matrox G200 (PCI)"}, \ > [...] > #define mach64_PCI_IDS \ > {0x1002, 0x4749, 0, "3D Rage Pro"}, \ > [...] > #define sis_PCI_IDS \ > {0x1039, 0x0300, 0, "SiS 300/305"}, \ > [...] > #define tdfx_PCI_IDS \ > {0x121a, 0x0003, 0, "3dfx Voodoo Banshee"}, \ > [...] > #define viadrv_PCI_IDS \ > {0x1106, 0x3022, 0, "VIA CLE266 3022"}, \ > [...] > #define savage_PCI_IDS \ > {0x5333, 0x8a20, S3_SAVAGE3D, "Savage 3D"}, \ > > Everything else should still work but GPUs from ~10 years ago may hit bugs. > One may need to help debugging and fixing those on drm-devel-kmod and > then backport to drm-fbsd12.0-kmod. For example, Intel iGPUs predating > SandyBridge were unstable in drm-fbsd11.2-kmod but not in drm-fbsd12.0-kmod > until https://github.com/FreeBSDDesktop/kms-drm/pull/226 Thank you for your detailed reply, Jan. It covers it well. :-) FTR I did'nt mean to sound like I was complaining. I was just looking to get a feel for what I could expect FreeBSD to support when dealing with customer equipment. Thanks again! --Chris > >> Does one need to join a Linux Graphics list to find out what's >> currently supported? > > Linux still has r128, savage, etc. disabled by default. Userland support > maybe hard to find as popular distros aim for modern hardware. > > https://github.com/torvalds/linux/commit/d92d9c3a1448 > https://www.phoronix.com/scan.php?page=news_item&px=Debian-Dropping-Old-Drivers > > Note, NetBSD also has r128, savage, etc. DRM drivers.