From nobody Wed Feb 23 08:07:11 2022 X-Original-To: freebsd-arm@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 915C719DFA1C; Wed, 23 Feb 2022 08:07:13 +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 4K3TCh4zYMz4VxR; Wed, 23 Feb 2022 08:07:12 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1645603631; 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=PAmPN+ELz6ySkWB31/Kms+go1klKn0dKC8LFY5VH0Yw=; b=Dhb8d3H+RWN5spb5hODU9vx0N564rM2ddes0zSRxfEovw+M2rYX9O/EdC05GMEla/s6ZYP 95G+81uc2j8uLhyrw1AY2GJ9niufwb8ultdaeOh1R6gQQJz4OgGluxFiGy3cweEDvg8jou 68x6ligq6yuLU1OwG8Ym+cOvN0jBd+k= Received: from amy (lfbn-idf2-1-1209-14.w90-92.abo.wanadoo.fr [90.92.34.14]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 35bf9587 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 23 Feb 2022 08:07:11 +0000 (UTC) Date: Wed, 23 Feb 2022 09:07:11 +0100 From: Emmanuel Vadot To: KIRIYAMA Kazuhiko Cc: Greg V , x11@freebsd.org, freebsd-arm@freebsd.org Subject: Re: Is there any X driver for Panfrost on PBP ? Message-Id: <20220223090711.ad4be947236424c6fbbb83c1@bidouilliste.com> In-Reply-To: <202202230759.21N7xJNM062398@kx.truefc.org> References: <202202202226.21KMQQxG082376@kx.truefc.org> <202202230759.21N7xJNM062398@kx.truefc.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4K3TCh4zYMz4VxR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=Dhb8d3H+; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-2.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:212.83.155.74/32:c]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MLMMJ_DEST(0.00)[x11,freebsd-arm]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 23 Feb 2022 16:59:19 +0900 KIRIYAMA Kazuhiko wrote: > Hi, all >=20 > On Mon, 21 Feb 2022 09:06:49 +0900, > Greg V wrote: > >=20 > >=20 > >=20 > > On February 21, 2022 1:26:26 AM GMT+03:00, KIRIYAMA Kazuhiko wrote: > > >Hi, lists > >=20 > > Hi, > >=20 > > [..] > >=20 > > >rk_drm0: Cannot find port with phandle 10 > >=20 > > (hopefully this one is harmless..) > >=20 > > >But I could not found panfrot X driver. Is there any panfrost > > >X driver for FreeBSD ? > >=20 > > Please forget about the notion of hardware specific X drivers and just = run startx. > >=20 > > There is *one* relevant X video driver ? xf86-video-modesetting ? and i= t is built in. > >=20 > > (Ok, -amdgpu is somewhat relevant but that's just -modesetting with Tea= rFree hacks. Meanwhile -intel is a terrible pile of abandonware that mostly= causes problems.) > >=20 >=20 > I've tested with benchmarks/glmark2 (glmark2-2021.12) both > GPU on and off. Results are alomost same ;-( >=20 > How to confirm to use builtin GPU ? >=20 > All logs are below : >=20 > 1) PBP bootstrap log [1] > 2) Non GPU Xorg.0.log [2] > 3) Non GPU glmark2 run resukts [3] > 4) With GPU Xorg.0.log [4] > 5) With GPU glmark2 run resukts [5] >=20 > [1] http://www.truefc.org/~kiri/freebsd/pbp/PBP-boot_14.0-CURRENT-3f106af= 0cd92_panfrost > [2] http://www.truefc.org/~kiri/freebsd/pbp/Xorg.0.log_14.0-CURRENT-3f106= af0cd92_Xorg-1.20.13_default > [3] http://www.truefc.org/~kiri/freebsd/pbp/glmark2_14.0-CURRENT-3f106af0= cd92_Xorg-1.20.13_default > [4] http://www.truefc.org/~kiri/freebsd/pbp/Xorg.0.log_14.0-CURRENT-3f106= af0cd92_Xorg-1.20.13_panfrost-modesetting > [5] http://www.truefc.org/~kiri/freebsd/pbp/glmark2_14.0-CURRENT-3f106af0= cd92_Xorg-1.20.13_panfrost-modesetting >=20 > Best Regards >=20 > --- > Kazuhiko Kiriyama >=20 That's probably because we don't build the panfrost mesa driver so you end up using llvmpipe in both case. --=20 Emmanuel Vadot