Re: Is there any X driver for Panfrost on PBP ?

From: Emmanuel Vadot <manu_at_bidouilliste.com>
Date: Wed, 23 Feb 2022 08:07:11 UTC
On Wed, 23 Feb 2022 16:59:19 +0900
KIRIYAMA Kazuhiko <kiri@truefc.org> wrote:

> Hi, all
> 
> On Mon, 21 Feb 2022 09:06:49 +0900,
> Greg V wrote:
> > 
> > 
> > 
> > On February 21, 2022 1:26:26 AM GMT+03:00, KIRIYAMA Kazuhiko <kiri@truefc.org> wrote:
> > >Hi, lists
> > 
> > Hi,
> > 
> > [..]
> > 
> > >rk_drm0: Cannot find port with phandle 10
> > 
> > (hopefully this one is harmless..)
> > 
> > >But I could not found panfrot X driver. Is there any panfrost
> > >X driver for FreeBSD ?
> > 
> > Please forget about the notion of hardware specific X drivers and just run startx.
> > 
> > There is *one* relevant X video driver ? xf86-video-modesetting ? and it is built in.
> > 
> > (Ok, -amdgpu is somewhat relevant but that's just -modesetting with TearFree hacks. Meanwhile -intel is a terrible pile of abandonware that mostly causes problems.)
> > 
> 
> I've tested with benchmarks/glmark2 (glmark2-2021.12) both
> GPU on and off. Results are alomost same ;-(
> 
> How to confirm to use builtin GPU ?
> 
> All logs are below :
> 
> 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]
> 
> [1] http://www.truefc.org/~kiri/freebsd/pbp/PBP-boot_14.0-CURRENT-3f106af0cd92_panfrost
> [2] http://www.truefc.org/~kiri/freebsd/pbp/Xorg.0.log_14.0-CURRENT-3f106af0cd92_Xorg-1.20.13_default
> [3] http://www.truefc.org/~kiri/freebsd/pbp/glmark2_14.0-CURRENT-3f106af0cd92_Xorg-1.20.13_default
> [4] http://www.truefc.org/~kiri/freebsd/pbp/Xorg.0.log_14.0-CURRENT-3f106af0cd92_Xorg-1.20.13_panfrost-modesetting
> [5] http://www.truefc.org/~kiri/freebsd/pbp/glmark2_14.0-CURRENT-3f106af0cd92_Xorg-1.20.13_panfrost-modesetting
> 
> Best Regards
> 
> ---
> Kazuhiko Kiriyama <kiri@truefc.org>
> 

 That's probably because we don't build the panfrost mesa driver so you
end up using llvmpipe in both case.

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@FreeBSD.org>