Re: Avoiding llvm from ports on rpi4

Nuno Teixeira <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CAFDf7UKd7EQOi+T+sRcwZoA8xjwi=ftGhRXQxMMP8dfV7i+t6A@mail.gmail.com>
Ok, mesa-dri is needed by:

% pkg info -r mesa-dri
mesa-dri-24.1.7_4:
        xorg-7.7_3 (meta port, run dep)
        xorg-server-21.1.14,1 (build-dep)

This way, it makes sense keep X11 and WAYLAND ON as they are defaults. ZSTD
is default too, lets keep it ON.

x11 driver on rpi4 is scfb framebuffer and I don't know yet if some
software acceleration will help rpi4.
I will look at it later.

> simply comment out the `USES+=          llvm:lib,noexport`
That will be my later test when run test happen.

Thanks,

Mark Millard <[email protected]> escreveu (sábado, 22/02/2025 à(s) 20:35):

> On Feb 22, 2025, at 12:04, Nuno Teixeira <[email protected]> wrote:
>
> > (...)
> >
> > But even with all options disabled as shown to aarch64 arch in previous
> e-mail,
> > I will need to deal with `USES+=          llvm:lib,noexport`...
>
> As a hack, given that you know you are only enabling:
>
> ZSTD X11 WAYLAND
>
> simply comment out the `USES+=          llvm:lib,noexport`
> line and see how things go when you force mesa-dri to rebuild
> and other things to use the result.
>
> If you establish a useful context for such a combination, then
> may be more official support could be pursued that would avoid
> local changes to the Makefile.
>
> > Nuno Teixeira <[email protected]> escreveu (sábado, 22/02/2025 à(s)
> 19:08):
> >> Good point! I forgot to check options on port that are suitable for an
> rpi4!
> >> I was straight to hacking stuff :)
> >>
> >> As I don't know if any graphics acceleration is working on rpi4, I'm
> building with:
> >>
> >> _OPTIONS_READ=mesa-dri-24.1.7_4
> >> _FILE_COMPLETE_OPTIONS_LIST=ZSTD panfrost r300 r600 radeonsi swrast
> zink X11 WAYLAND radv swrast_vk
> >> OPTIONS_FILE_SET+=ZSTD
> >> OPTIONS_FILE_UNSET+=panfrost
> >> OPTIONS_FILE_UNSET+=r300
> >> OPTIONS_FILE_UNSET+=r600
> >> OPTIONS_FILE_UNSET+=radeonsi
> >> OPTIONS_FILE_UNSET+=swrast
> >> OPTIONS_FILE_UNSET+=zink
> >> OPTIONS_FILE_SET+=X11
> >> OPTIONS_FILE_SET+=WAYLAND
> >> OPTIONS_FILE_UNSET+=radv
> >> OPTIONS_FILE_UNSET+=swrast_vk
> >>
> >> While I'm really don't sure is panfrost os working or not...
> >>
> >> I will see if I get working graphics this way and check if llvm dep is
> gone.
> >
>
>
> ===
> Mark Millard
> marklmi at yahoo.com
>
>

-- 
Nuno Teixeira
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.