From nobody Wed Nov 24 14:04:14 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 AF126188B231 for ; Wed, 24 Nov 2021 14:04:57 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HzjST4CJSz4RPR for ; Wed, 24 Nov 2021 14:04:57 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-qk1-x734.google.com with SMTP id t6so2924110qkg.1 for ; Wed, 24 Nov 2021 06:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=QXtlYTm5xDOoeJURQEH8i4/ScvWwRNlqvGteIWm0loM=; b=g7jtfAId2oxhGsdoQSyVwYJWQlDpMY/+qcZh8VYW5O8mq8VknNWgN60+brF7RD2rvC HJGEcSByTsnSiWrkye6DJy+qyXGiCUPKdhBRHcpwtiE29sF7y9FrDktG/3XNq3VyDx5P CogfULQmDVhZFuFYoaukYqX7FKErVnVkEUUZOK0RR4fqdApXJ93VGq/nejNdk0Cf+fu+ NA2CfA9+V9XsVvsOPUcvFcGpCeMxFasV2z/bW3LBXFUKIpKDAKVFJX7CFLr2kaHyOvWx zYeje4f41BBR7Ddhh1cncK3QKfuY9lgFtnpN3ST9WOKIEyE/g/ghR9KTfctf6MOAJpT2 KI7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=QXtlYTm5xDOoeJURQEH8i4/ScvWwRNlqvGteIWm0loM=; b=TaR0oB1vkwdoCdRcf8uepzUkcj1BN3Ku5pNYvhHqKZ23jlrYK22m2XJP4X7hzVrqZV GhUt0slr9CG1myRdx8ANnO0h75IDlWqg3+n64GcMxjwj3evpz4IjfgsPbvEbKBj/9r8R S77Xjk3lcUok+hajX4PZVyDAUkUZPYkqh5QhCgrUdB50V1mB3ZRZrU8wFdaeYkJAtdfI uTIdpsltlMAynSIbDrzs5mR2OTvIE94yq1LQFZLsc/aCMyYyjO6ch4/aHkOew/n9V7Gl EhS8mx3tUL+XguoF0s5Ts46COq7uRHAhNph+GF94NAAc8TTjyOGe4v9qjsJ+fPVqXpgg dnjQ== X-Gm-Message-State: AOAM533Pr7dZsJ8N1ItDPHZvaijfhed3nm95bC4aehI+SvFh0dteKrTG hTn/318o7JtxbvtGLsz4BaA= X-Google-Smtp-Source: ABdhPJx5HNkiJo/34pEAZ0585fUbh8ZqfAlRy4cIqYesxUYecYVfqYVbJXS50LzcqxPsHf9h95bxPA== X-Received: by 2002:a05:620a:ccc:: with SMTP id b12mr6237856qkj.147.1637762697214; Wed, 24 Nov 2021 06:04:57 -0800 (PST) Received: from ?IPV6:2603:6000:a401:3a00:223:24ff:fe37:c4d7? (2603-6000-a401-3a00-0223-24ff-fe37-c4d7.res6.spectrum.com. [2603:6000:a401:3a00:223:24ff:fe37:c4d7]) by smtp.gmail.com with ESMTPSA id r16sm8467446qkp.42.2021.11.24.06.04.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Nov 2021 06:04:56 -0800 (PST) Message-ID: <6b3c51f8-d913-34ed-b971-cf1a4c27cd33@gmail.com> Date: Wed, 24 Nov 2021 08:04:14 -0600 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: Call for Foundation-supported Project Ideas Content-Language: en-US To: Stefan Blachmann Cc: freebsd-hackers@freebsd.org References: <861r36xzpe.fsf@phe.ftfl.ca> From: Jason Bacon In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HzjST4CJSz4RPR 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 11/24/21 03:57, 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. I'd be VERY happy to test your script. Especially on my Intel+AMD iMac that's always been troublesome. It would be a big improvement over what I'm using even without multihead support. Let's discuss more in private. Cheers, JB -- All wars are civil wars, because all men are brothers ... Each one owes infinitely more to the human race than to the particular country in which he was born. -- Francois Fenelon