From nobody Wed Nov 24 12:25:42 2021 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BBA5E18A90CC for ; Wed, 24 Nov 2021 12:25:44 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mail.blih.net [212.83.155.74]) (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 (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HzgG02wDVz4sJb for ; Wed, 24 Nov 2021 12:25:44 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1637756742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BTgwGA3uwRtV6PTtLbxc0XHX3hUZvxCWX8UJF/mTa88=; b=d9OaER80kLkZul1GXFYnPFgD5G/tS9Ic0LNuztj2hNS9+KfpXWJwRcHubiuRZWysoYxrLI GgdspvOLBWS0IvU0TrGwNvNr7bXp3dNI/sTlmlPc4zb7OnO3gHK3uOdO5PXHvQEMeIDcpg od1UHamdUwF3O8YaL5qHg78DzGGTTak= Received: from amy (lfbn-idf2-1-1163-183.w90-92.abo.wanadoo.fr [90.92.222.183]) by mx.blih.net (OpenSMTPD) with ESMTPSA id e65cf54d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 24 Nov 2021 12:25:42 +0000 (UTC) Date: Wed, 24 Nov 2021 13:25:42 +0100 From: Emmanuel Vadot To: Stefan Blachmann Cc: Jason Bacon , freebsd-hackers@freebsd.org Subject: Re: Call for Foundation-supported Project Ideas Message-Id: <20211124132542.a6034874071af28bd1cac5fa@bidouilliste.com> In-Reply-To: References: <861r36xzpe.fsf@phe.ftfl.ca> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HzgG02wDVz4sJb X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 24 Nov 2021 10:57:18 +0100 Stefan Blachmann wrote: > Proposal: > Clean up the xorg graphics card/driver list and remove these ones that > do no longer work. > > Explanation: > > On 11/24/21, Jason Bacon wrote: > > One hurdle I've not yet been able to conquer is automatic GPU > > configuration. The best I've been able to do so far is an interactive > > script that requires some rather technical decisions from the users: > > > > It would be really nice is we could replace this with a simple, maybe > > even automated tool to configure a working Xorg setup on most common > > hardware. Wouldn't matter to me if it falls back on scfb or vesa in > > many cases, as long as it's easy to use and produces a working desktop. > > > > Bonus points for not requiring a reboot to properly activate the DRM > > module. > > > > I wouldn't obsess about making it work on *all* hardware off-the-bat. I > > think it would be more fruitful to first develop a system that works > > *really* well on the most common hardware. Then we have a product that > > people will want, which will help recruit the people we'll need to work > > on expanding hardware support. > > I have done this already. > My script does autodetect and autoconfigure *all* graphics cards/chips > for which are drivers available in FreeBSD. > It also works with multiple graphics cards, autodetecting whether they > can work together or not (when drivers cannot coexist). > The script is not yet ready for release, as autoconfiguring multi-head > configurations (eg multi-monitor configurations either with multiple > GPU outputs and/or multiple graphics cards) is still WIP. > (If you are interested in this topic anyway, please either mail me > directly or open a separate discussion thread.) > > However, the problem is that some drivers can no longer work because > libxaa.so (and maybe other xorg libs, too) has been removed upstream > 10 years ago already. > See this for more info: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257417 > > This is the background of my proposal: > - Test all graphics drivers on real hardware whether they are still > functional in currently-supported FreeBSD releases > - Remove all those drivers that can no longer work because xorg > upstream dropped support. > - Feed back to xorg upstrean so they can obsolete/remove these now > useless drivers. > > I'd certainly be more motivated to do this if it is being sponsored, > as I have already collected most (except for a few very rare and > expensive AGP graphics cards) of the hardware in question. > Because, 1. it needs some money to obtain these lacking (past > high-end, mainly workstation usage) cards, and 2. it takes some time > to walk through them and test every and each of these. > There isn't much to test, everything that isn't needed by radeonkms, amdgpu or i915kms should die. -- Emmanuel Vadot