All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] weston-init: replace deprecated/disabled fbdev with drm backend
@ 2022-02-12 10:40 Alexander Kanavin
  2022-02-12 10:40 ` [PATCH 2/3] core-image-weston-sdk: synchronize with core-image-sato-sdk Alexander Kanavin
  2022-02-12 10:40 ` [PATCH 3/3] weston-init: disable systemd watchdog option Alexander Kanavin
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Kanavin @ 2022-02-12 10:40 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

drm will default to opengl rendering by default; if this is
problematic, --use-pixman option may help, apply only where
it's proven necessary.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/recipes-graphics/wayland/weston-init.bb | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index e02da0c358..8e8c0454be 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -19,13 +19,7 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[no-idle-timeout] = ",,"
 
 DEFAULTBACKEND ??= ""
-DEFAULTBACKEND:qemuall ?= "fbdev"
-DEFAULTBACKEND:qemuarm64 = "drm"
-DEFAULTBACKEND:qemux86 = "drm"
-DEFAULTBACKEND:qemux86-64 = "drm"
-# gallium swrast was found to crash weston on startup in x32 qemu
-DEFAULTBACKEND:qemux86-64:x86-x32 = "fbdev"
-DEFAULTBACKEND:x86-x32 = "fbdev"
+DEFAULTBACKEND:qemuall ?= "drm"
 
 do_install() {
         if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then
-- 
2.20.1



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

* [PATCH 2/3] core-image-weston-sdk: synchronize with core-image-sato-sdk
  2022-02-12 10:40 [PATCH 1/3] weston-init: replace deprecated/disabled fbdev with drm backend Alexander Kanavin
@ 2022-02-12 10:40 ` Alexander Kanavin
  2022-02-12 10:40 ` [PATCH 3/3] weston-init: disable systemd watchdog option Alexander Kanavin
  1 sibling, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2022-02-12 10:40 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/recipes-graphics/images/core-image-weston-sdk.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-graphics/images/core-image-weston-sdk.bb b/meta/recipes-graphics/images/core-image-weston-sdk.bb
index f5f7dade54..09e87b5b65 100644
--- a/meta/recipes-graphics/images/core-image-weston-sdk.bb
+++ b/meta/recipes-graphics/images/core-image-weston-sdk.bb
@@ -3,9 +3,13 @@ require core-image-weston.bb
 DESCRIPTION = "Image with Weston support that includes everything within \
 core-image-weston plus meta-toolchain, development headers and libraries to \
 form a standalone SDK."
+HOMEPAGE = "https://www.yoctoproject.org/"
 
 IMAGE_FEATURES += "dev-pkgs tools-sdk \
 	tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"
 
 IMAGE_INSTALL += "kernel-devsrc"
 
+# Compiling stuff, specifically SystemTap probes, can require lots of memory
+# See https://bugzilla.yoctoproject.org/show_bug.cgi?id=14673
+QB_MEM = "-m 768"
-- 
2.20.1



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

* [PATCH 3/3] weston-init: disable systemd watchdog option
  2022-02-12 10:40 [PATCH 1/3] weston-init: replace deprecated/disabled fbdev with drm backend Alexander Kanavin
  2022-02-12 10:40 ` [PATCH 2/3] core-image-weston-sdk: synchronize with core-image-sato-sdk Alexander Kanavin
@ 2022-02-12 10:40 ` Alexander Kanavin
  2022-02-13 12:38   ` [OE-core] " Richard Purdie
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Kanavin @ 2022-02-12 10:40 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

This starts to behave weirdly when test_date is adjusting the clock,
which means weston is restarted without need so disable for weston
test stability.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/recipes-graphics/wayland/weston-init/weston.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/wayland/weston-init/weston.service b/meta/recipes-graphics/wayland/weston-init/weston.service
index e09625b31c..80745998ed 100644
--- a/meta/recipes-graphics/wayland/weston-init/weston.service
+++ b/meta/recipes-graphics/wayland/weston-init/weston.service
@@ -37,8 +37,8 @@ EnvironmentFile=/etc/default/weston
 ExecStart=/usr/bin/weston --modules=systemd-notify.so
 
 # Optional watchdog setup
-TimeoutStartSec=60
-WatchdogSec=20
+#TimeoutStartSec=60
+#WatchdogSec=20
 
 # The user to run Weston as.
 User=weston
-- 
2.20.1



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

* Re: [OE-core] [PATCH 3/3] weston-init: disable systemd watchdog option
  2022-02-12 10:40 ` [PATCH 3/3] weston-init: disable systemd watchdog option Alexander Kanavin
@ 2022-02-13 12:38   ` Richard Purdie
  2022-02-13 17:58     ` Alexander Kanavin
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2022-02-13 12:38 UTC (permalink / raw)
  To: Alexander Kanavin, openembedded-core; +Cc: Alexander Kanavin

On Sat, 2022-02-12 at 11:40 +0100, Alexander Kanavin wrote:
> This starts to behave weirdly when test_date is adjusting the clock,
> which means weston is restarted without need so disable for weston
> test stability.
> 
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
>  meta/recipes-graphics/wayland/weston-init/weston.service | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-graphics/wayland/weston-init/weston.service b/meta/recipes-graphics/wayland/weston-init/weston.service
> index e09625b31c..80745998ed 100644
> --- a/meta/recipes-graphics/wayland/weston-init/weston.service
> +++ b/meta/recipes-graphics/wayland/weston-init/weston.service
> @@ -37,8 +37,8 @@ EnvironmentFile=/etc/default/weston
>  ExecStart=/usr/bin/weston --modules=systemd-notify.so
>  
>  # Optional watchdog setup
> -TimeoutStartSec=60
> -WatchdogSec=20
> +#TimeoutStartSec=60
> +#WatchdogSec=20
>  
>  # The user to run Weston as.
>  User=weston

Whilst that fixes the tests, should we be doing that for production systems?

Cheers,

Richard



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

* Re: [OE-core] [PATCH 3/3] weston-init: disable systemd watchdog option
  2022-02-13 12:38   ` [OE-core] " Richard Purdie
@ 2022-02-13 17:58     ` Alexander Kanavin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2022-02-13 17:58 UTC (permalink / raw)
  To: Richard Purdie; +Cc: OE-core, Alexander Kanavin

On Sun, 13 Feb 2022 at 13:39, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> >  # Optional watchdog setup
> > -TimeoutStartSec=60
> > -WatchdogSec=20
> > +#TimeoutStartSec=60
> > +#WatchdogSec=20
> >
> >  # The user to run Weston as.
> >  User=weston
>
> Whilst that fixes the tests, should we be doing that for production systems?

No other systemd unit that we ship is using the watchdog feature. For
weston it was an accidental addition, due to import from elsewhere.

BTW, we didn't see the issue until now because it won't show up on kvm
qemu (qemux86/qemux86_64), but I ran this across a-full, and
ppc/mips/arm all failed due to their non-kvm test timings.

Alex


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

end of thread, other threads:[~2022-02-13 17:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-12 10:40 [PATCH 1/3] weston-init: replace deprecated/disabled fbdev with drm backend Alexander Kanavin
2022-02-12 10:40 ` [PATCH 2/3] core-image-weston-sdk: synchronize with core-image-sato-sdk Alexander Kanavin
2022-02-12 10:40 ` [PATCH 3/3] weston-init: disable systemd watchdog option Alexander Kanavin
2022-02-13 12:38   ` [OE-core] " Richard Purdie
2022-02-13 17:58     ` Alexander Kanavin

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.