All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] defconfig with wayland support?
@ 2022-11-23  0:46 Michael Despault
  2022-11-23 14:14 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Despault @ 2022-11-23  0:46 UTC (permalink / raw)
  To: buildroot


[-- Attachment #1.1: Type: text/plain, Size: 1188 bytes --]

I'm struggling to get a buildroot generated system up and running that has
working wayland support.  My primary goal is simply to be able to get an
embedded system that can run and display wayland applications, using the
buildroot system.  I've found examples of other configs that claim to have
X11 support, but nothing on wayland.  Poking around in "make menuconfig"
I've done what I can to enable any wayland/weston related options, but
currently I'm hitting this build error:

Run-time dependency libdrm found: NO (tried pkgconfig and cmake)
output/build/wlroots-0.14.1/meson.build:99:0: ERROR: Dependency "libdrm"
not found, tried pkgconfig and cmake

This happens when I try and build meson.  Has anyone had success getting an
embedded system (via buildroot) going with wayland working out of the box?
Hoping someone would be able to share their defconfig file with the
appropriate options, or at least share the essential components to enable
in make menuconfig.  Barebones is fine and not concerned so much about
architecture right now, but currently testing on X86_64 with the intent to
target aarch64 eventually.

Thanks,
Mike

*Mike Despault*
*CEO*
https://wewearmanyhats.com/

[-- Attachment #1.2: Type: text/html, Size: 1911 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] defconfig with wayland support?
  2022-11-23  0:46 [Buildroot] defconfig with wayland support? Michael Despault
@ 2022-11-23 14:14 ` Thomas Petazzoni via buildroot
  2022-11-23 21:42   ` Michael Despault
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-23 14:14 UTC (permalink / raw)
  To: Michael Despault; +Cc: buildroot

Hello Michael,

On Tue, 22 Nov 2022 16:46:54 -0800
Michael Despault <mike@wewearmanyhats.com> wrote:

> I'm struggling to get a buildroot generated system up and running that has
> working wayland support.  My primary goal is simply to be able to get an
> embedded system that can run and display wayland applications, using the
> buildroot system.  I've found examples of other configs that claim to have
> X11 support, but nothing on wayland.  Poking around in "make menuconfig"
> I've done what I can to enable any wayland/weston related options, but
> currently I'm hitting this build error:
> 
> Run-time dependency libdrm found: NO (tried pkgconfig and cmake)
> output/build/wlroots-0.14.1/meson.build:99:0: ERROR: Dependency "libdrm"
> not found, tried pkgconfig and cmake
> 
> This happens when I try and build meson.  Has anyone had success getting an
> embedded system (via buildroot) going with wayland working out of the box?
> Hoping someone would be able to share their defconfig file with the
> appropriate options, or at least share the essential components to enable
> in make menuconfig.  Barebones is fine and not concerned so much about
> architecture right now, but currently testing on X86_64 with the intent to
> target aarch64 eventually.

There is one critical piece of information that you forgot to provide:
what is your HW platform. Indeed, depending on which GPU it has, the
Buildroot configuration will have to be different to provide the right
OpenGL implementation. It's not possible to provide a "Wayland
configuration" that works everywhere.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] defconfig with wayland support?
  2022-11-23 14:14 ` Thomas Petazzoni via buildroot
@ 2022-11-23 21:42   ` Michael Despault
  2022-11-23 21:51     ` Giulio Benetti
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Despault @ 2022-11-23 21:42 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot


[-- Attachment #1.1: Type: text/plain, Size: 2237 bytes --]

Hi Thomas,

My goal is to get Wayland running on the rk3399 SoC, which is an AArch64
architecture.  The GPU is a Mali-T860.  It seems this is indeed possible,
based on this article:
https://www.collabora.com/news-and-blog/blog/2019/08/06/rockpi-panfrost-wayland/

So I'd be using Panfrost I suppose.

*Mike Despault*
*CEO*
https://wewearmanyhats.com/


On Wed, 23 Nov 2022 at 06:14, Thomas Petazzoni <thomas.petazzoni@bootlin.com>
wrote:

> Hello Michael,
>
> On Tue, 22 Nov 2022 16:46:54 -0800
> Michael Despault <mike@wewearmanyhats.com> wrote:
>
> > I'm struggling to get a buildroot generated system up and running that
> has
> > working wayland support.  My primary goal is simply to be able to get an
> > embedded system that can run and display wayland applications, using the
> > buildroot system.  I've found examples of other configs that claim to
> have
> > X11 support, but nothing on wayland.  Poking around in "make menuconfig"
> > I've done what I can to enable any wayland/weston related options, but
> > currently I'm hitting this build error:
> >
> > Run-time dependency libdrm found: NO (tried pkgconfig and cmake)
> > output/build/wlroots-0.14.1/meson.build:99:0: ERROR: Dependency "libdrm"
> > not found, tried pkgconfig and cmake
> >
> > This happens when I try and build meson.  Has anyone had success getting
> an
> > embedded system (via buildroot) going with wayland working out of the
> box?
> > Hoping someone would be able to share their defconfig file with the
> > appropriate options, or at least share the essential components to enable
> > in make menuconfig.  Barebones is fine and not concerned so much about
> > architecture right now, but currently testing on X86_64 with the intent
> to
> > target aarch64 eventually.
>
> There is one critical piece of information that you forgot to provide:
> what is your HW platform. Indeed, depending on which GPU it has, the
> Buildroot configuration will have to be different to provide the right
> OpenGL implementation. It's not possible to provide a "Wayland
> configuration" that works everywhere.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
>

[-- Attachment #1.2: Type: text/html, Size: 3602 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] defconfig with wayland support?
  2022-11-23 21:42   ` Michael Despault
@ 2022-11-23 21:51     ` Giulio Benetti
  0 siblings, 0 replies; 4+ messages in thread
From: Giulio Benetti @ 2022-11-23 21:51 UTC (permalink / raw)
  To: Michael Despault, Thomas Petazzoni; +Cc: buildroot

Hi Michael and Thomas,

I give my 2 cents,

You have 2 possible approaches:
1) use panfrost by enabling mesa3d package
2) use mali-driver + rockchip-mali(proprietary Rockchip blobs)

In both cases it should work with Wayland 3d Accelerated. I don't have a
RK3399 board here to test it unfortunately.

Best regards
-- 
Giulio Benetti
Benetti Engineering sas

On 23/11/22 22:42, Michael Despault wrote:
> Hi Thomas,
> 
> My goal is to get Wayland running on the rk3399 SoC, which is an AArch64 
> architecture.  The GPU is a Mali-T860.  It seems this is indeed 
> possible, based on this article: 
> https://www.collabora.com/news-and-blog/blog/2019/08/06/rockpi-panfrost-wayland/ <https://www.collabora.com/news-and-blog/blog/2019/08/06/rockpi-panfrost-wayland/>
> 
> So I'd be using Panfrost I suppose.
> 
> *Mike Despault*
> /CEO/
> https://wewearmanyhats.com/ <https://wewearmanyhats.com/>
> 
> 
> On Wed, 23 Nov 2022 at 06:14, Thomas Petazzoni 
> <thomas.petazzoni@bootlin.com <mailto:thomas.petazzoni@bootlin.com>> wrote:
> 
>     Hello Michael,
> 
>     On Tue, 22 Nov 2022 16:46:54 -0800
>     Michael Despault <mike@wewearmanyhats.com
>     <mailto:mike@wewearmanyhats.com>> wrote:
> 
>      > I'm struggling to get a buildroot generated system up and running
>     that has
>      > working wayland support.  My primary goal is simply to be able to
>     get an
>      > embedded system that can run and display wayland applications,
>     using the
>      > buildroot system.  I've found examples of other configs that
>     claim to have
>      > X11 support, but nothing on wayland.  Poking around in "make
>     menuconfig"
>      > I've done what I can to enable any wayland/weston related
>     options, but
>      > currently I'm hitting this build error:
>      >
>      > Run-time dependency libdrm found: NO (tried pkgconfig and cmake)
>      > output/build/wlroots-0.14.1/meson.build:99:0: ERROR: Dependency
>     "libdrm"
>      > not found, tried pkgconfig and cmake
>      >
>      > This happens when I try and build meson.  Has anyone had success
>     getting an
>      > embedded system (via buildroot) going with wayland working out of
>     the box?
>      > Hoping someone would be able to share their defconfig file with the
>      > appropriate options, or at least share the essential components
>     to enable
>      > in make menuconfig.  Barebones is fine and not concerned so much
>     about
>      > architecture right now, but currently testing on X86_64 with the
>     intent to
>      > target aarch64 eventually.
> 
>     There is one critical piece of information that you forgot to provide:
>     what is your HW platform. Indeed, depending on which GPU it has, the
>     Buildroot configuration will have to be different to provide the right
>     OpenGL implementation. It's not possible to provide a "Wayland
>     configuration" that works everywhere.
> 
>     Best regards,
> 
>     Thomas
>     -- 
>     Thomas Petazzoni, co-owner and CEO, Bootlin
>     Embedded Linux and Kernel engineering and training
>     https://bootlin.com <https://bootlin.com>
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-23 21:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-23  0:46 [Buildroot] defconfig with wayland support? Michael Despault
2022-11-23 14:14 ` Thomas Petazzoni via buildroot
2022-11-23 21:42   ` Michael Despault
2022-11-23 21:51     ` Giulio Benetti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.