From owner-freebsd-hackers@freebsd.org Fri Sep 18 04:29:15 2020 Return-Path: Delivered-To: freebsd-hackers@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 F16323F726E for ; Fri, 18 Sep 2020 04:29:15 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (midget.dons.net.au [IPv6:2403:5800:5101:0:ea:1cff:fefa:f00]) (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 "dons.net.au", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bt17Y1wJKz44Z7 for ; Fri, 18 Sep 2020 04:29:12 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id 08I4SsZE099604 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 18 Sep 2020 13:58:55 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id 08I4Sa7c099597 for ; Fri, 18 Sep 2020 13:58:36 +0930 (ACST) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-be813b1f1da6d6b27d681222cb70cc4f5b642383: 2001:44b8:1d2:8900:a51e:fc60:6b55:f6c8 Received: from [IPv6:2001:44b8:1d2:8900:a51e:fc60:6b55:f6c8] ([IPv6:2001:44b8:1d2:8900:a51e:fc60:6b55:f6c8] [2001:44b8:1d2:8900:a51e:fc60:6b55:f6c8]) by midget.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id 08I4SVjN099588; Fri, 18 Sep 2020 13:58:36 +0930 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: ASPEED video driver From: "O'Connor, Daniel" In-Reply-To: <8851FC7F-979D-4CDC-8513-CE893B2EF269@dons.net.au> Date: Fri, 18 Sep 2020 13:58:31 +0930 Cc: FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: References: <8851FC7F-979D-4CDC-8513-CE893B2EF269@dons.net.au> To: "Daniel O'Connor" X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Spam-Score: 1 (*) No, score=1.0 required=5.0 tests=HELO_MISC_IP, HELO_NO_DOMAIN, TO_EQ_FM_DIRECT_MX, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.2 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4Bt17Y1wJKz44Z7 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.87 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.009]; R_DKIM_ALLOW(-0.20)[dons.net.au:s=default]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_HAM_LONG(-1.04)[-1.040]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dons.net.au:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dons.net.au,quarantine]; NEURAL_HAM_SHORT(-1.32)[-1.324]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800:5000::/36, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 04:29:16 -0000 > On 7 Sep 2020, at 13:02, O'Connor, Daniel via freebsd-hackers = wrote: > Performance used to be tolerable but it seems to have gotten = significantly worse in newer BIOS versions. It turns out this is likely due to compositing being turned on for newer = systems, although even with it disabled it's not a great performer (but = usable) > I note that Linux has a DRM driver for these = https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/dr= ivers/gpu/drm/ast=20 An attempt was made to get the FreeBSD DRM port of this running but = failed because the version in that tree is too old to support the atomic = modset (but hopefully it can be picked up later..) > However I'm not sure how that integrates with X.. If Linux doesn't = actually use the Xorg driver then I suppose that would explain why it's = rotted and useless. >=20 > If that is the case, does anyone know difficult it would be to port = the Linux DRM driver? >=20 > I did try contacting ASPEED and Supermicro but they pointed the finger = at each other and then blamed FreeBSD so I'm a bit stuck. Some more investigation in the Linux DRM code showed it has a work = around because some systems disable a feature (for security reasons). I've ported this to the X driver and filed a PR for the port. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum