From owner-freebsd-arm@freebsd.org Sat Jan 25 17:21:26 2020 Return-Path: Delivered-To: freebsd-arm@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 C66141F4A8B for ; Sat, 25 Jan 2020 17:21:26 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 484jTx07cCz3Gkk for ; Sat, 25 Jan 2020 17:21:24 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sat, 25 Jan 2020 17:21:22 +0000 Received: from wms0-eu-central.migadu.com (wms0-eu-central.migadu.com [139.162.159.86]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id B2D102CB-D44F-4EC1-8566-8DD331BB2162.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sat, 25 Jan 2020 17:21:21 +0000 MIME-Version: 1.0 Date: Sat, 25 Jan 2020 17:21:21 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.12.1 From: greg@unrelenting.technology Message-ID: Subject: Re: Graphics on arm64 To: "John F Carr" , freebsd-arm@freebsd.org In-Reply-To: References: DKIM-Signature: v=1; a=rsa-sha256; bh=KaI79FjVRdEHj22g14j+a94oR6vCP6T6y6glBBlh7WY=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=LjdCzLe2KPjIR/qT6NeNefWvC8UTfxCqLRRrlYRqowDsfJBrJIscfphhgfrljNVKCv5Spqfj3PALKhh9chZJwv4LXDrNFk32i2EW1e6r3gfZps59bhHj+3q0pxhFWpIH8kIcfEJp0M0PVy9QPOOvUzyEW7Mw8FKXKKmf73VEgwM= X-Rspamd-Queue-Id: 484jTx07cCz3Gkk X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=LjdCzLe2; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-4.82 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.82)[ip: (-9.79), ipnet: 91.121.0.0/16(-1.37), asn: 16276(2.07), country: FR(0.00)]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; FROM_NO_DN(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; RWL_MAILSPIKE_POSSIBLE(0.00)[63.223.121.91.rep.mailspike.net : 127.0.0.17]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2020 17:21:26 -0000 January 25, 2020 5:07 PM, "John F Carr" wrote:=0A=0A> What = happens if I put a PCIe graphics card in a 64 bit ARM system? If I parse = the ports tree=0A> correctly there is no X support, or possibly only supp= ort as a generic VGA device. Is that correct?=0A> Is anybody on freebsd-a= rm working on graphics? If there's active interest I may be able to help,= =0A> but it's not a project I want to take on alone.=0A> =0A> I see three= packages in ports/graphics:=0A> =0A> drm-legacy-kmod is marked broken fo= r aarch64=0A> drm-current-kmod is only for x86 and PPC=0A> drm-devel-kmod= is only for x86 and PPC=0A=0AI guess nobody bothered to fix the whitelis= t in the port, but devel should work if it's up to date with git =E2=80= =94 I made Radeon work last summer: https://github.com/FreeBSDDesktop/kms= -drm/pull/154 :)=0A=0A> Historically getting graphics cards to work has o= ften required binary-only Linux drivers which=0A> wouldn't be available f= or ARM. Maybe that's not true for Radeon these days. But even today the= =0A> strategy seems to be "take whatever Linux can give us".=0A=0A"Binary= -only" is only true for nvidia, and even then it's not Linux-only (they s= upport FreeBSD and OpenSolaris), and then there's nouveau (which we don't= have ported, but NetBSD does).=0A=0AWhen Intel ships their discrete PCIe= GPUs, they could also be made to work on ARM! :D But for now it's only R= adeon.