RE: Blank screen observed when running Weston with pixman renderer and drm-backend
Hi Marius, We are using pure upstream Weston 10.0.2. Will open a gitlab issue. Thanks, Namit -Original Message- From: Marius Vlad Sent: Friday, July 5, 2024 3:37 PM To: Namit Solanki (QUIC) Cc: Pritama Biswas (QUIC) ; wayland-devel@lists.freedesktop.org Subject: Re: Blank screen observed when running Weston with pixman renderer and drm-backend Hi Pritama, Namit, On Fri, Jul 05, 2024 at 07:14:35AM +, Namit Solanki (QUIC) wrote: > Hi Weston team, > > Can you please let us know if you faced this issue on Weston 10? No. I've tried this with 10.0.2 and 10.0.5 (our latest bug-fix release Weston 10). > > Or else can you please give some pointers to debug this issue? Are you using the upstream Weston version or something like the NXP fork? I'd suggesting opening a gitlab issue if this with Weston upstream. Possibly this might be a display driver issues if I can't observe it on i915. You could try disabling the animation entirely as a temporary work-around: Under [shell] section add startup-animation=none. > > Thanks, > Namit > > From: Pritama Biswas (QUIC) > Sent: Wednesday, July 3, 2024 6:29 PM > To: wayland-devel@lists.freedesktop.org > Cc: Namit Solanki (QUIC) > Subject: Blank screen observed when running Weston with pixman > renderer and drm-backend > > Hi Team, > > We are observing the following issue on Weston 10.0.2: > > When we launch Weston with drm-backend and pixman renderer, we are seeing > blank screen. Upon doing hotplug, display is coming up. > > In layer dumps, we can see that a fully opaque layer is getting created > during issue case as shown below: > > Layer 0 (pos 0x): > View 0 (role (null), PID 0, surface ID 0, [no description available], > 0x55968bdfc0): > position: (0, 0) -> (1920, 1080) > [fully opaque] > outputs: 0 (DSI-1) (primary) > [buffer not available] > > > It is caused due to creation of fade layer in desktop-shell. Once the > desktop-shell client is ready, the layer should fade in. But we suspect that > the layer is not getting faded in properly. > To confirm, we made the following change to disable the creation of fade > layer. With this change, the issue is getting resolved and Weston UI is up > everytime. > diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index > 63e1431..b391d00 100644 > --- a/desktop-shell/shell.c > +++ b/desktop-shell/shell.c > @@ -4154,6 +4154,8 @@ shell_fade_init(struct desktop_shell *shell) > struct wl_event_loop *loop; > struct shell_output *shell_output; > > + return; > + > if (shell->startup_animation_type == ANIMATION_NONE) > return; > > > Can you please help us debug or fix this issue. > > Thanks and Regards, > Pritama Biswas
Re: Blank screen observed when running Weston with pixman renderer and drm-backend
Hi Pritama, Namit, On Fri, Jul 05, 2024 at 07:14:35AM +, Namit Solanki (QUIC) wrote: > Hi Weston team, > > Can you please let us know if you faced this issue on Weston 10? No. I've tried this with 10.0.2 and 10.0.5 (our latest bug-fix release Weston 10). > > Or else can you please give some pointers to debug this issue? Are you using the upstream Weston version or something like the NXP fork? I'd suggesting opening a gitlab issue if this with Weston upstream. Possibly this might be a display driver issues if I can't observe it on i915. You could try disabling the animation entirely as a temporary work-around: Under [shell] section add startup-animation=none. > > Thanks, > Namit > > From: Pritama Biswas (QUIC) > Sent: Wednesday, July 3, 2024 6:29 PM > To: wayland-devel@lists.freedesktop.org > Cc: Namit Solanki (QUIC) > Subject: Blank screen observed when running Weston with pixman renderer and > drm-backend > > Hi Team, > > We are observing the following issue on Weston 10.0.2: > > When we launch Weston with drm-backend and pixman renderer, we are seeing > blank screen. Upon doing hotplug, display is coming up. > > In layer dumps, we can see that a fully opaque layer is getting created > during issue case as shown below: > > Layer 0 (pos 0x): > View 0 (role (null), PID 0, surface ID 0, [no description available], > 0x55968bdfc0): > position: (0, 0) -> (1920, 1080) > [fully opaque] > outputs: 0 (DSI-1) (primary) > [buffer not available] > > > It is caused due to creation of fade layer in desktop-shell. Once the > desktop-shell client is ready, the layer should fade in. But we suspect that > the layer is not getting faded in properly. > To confirm, we made the following change to disable the creation of fade > layer. With this change, the issue is getting resolved and Weston UI is up > everytime. > diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c > index 63e1431..b391d00 100644 > --- a/desktop-shell/shell.c > +++ b/desktop-shell/shell.c > @@ -4154,6 +4154,8 @@ shell_fade_init(struct desktop_shell *shell) > struct wl_event_loop *loop; > struct shell_output *shell_output; > > + return; > + > if (shell->startup_animation_type == ANIMATION_NONE) > return; > > > Can you please help us debug or fix this issue. > > Thanks and Regards, > Pritama Biswas signature.asc Description: PGP signature
RE: Blank screen observed when running Weston with pixman renderer and drm-backend
Hi Weston team, Can you please let us know if you faced this issue on Weston 10? Or else can you please give some pointers to debug this issue? Thanks, Namit From: Pritama Biswas (QUIC) Sent: Wednesday, July 3, 2024 6:29 PM To: wayland-devel@lists.freedesktop.org Cc: Namit Solanki (QUIC) Subject: Blank screen observed when running Weston with pixman renderer and drm-backend Hi Team, We are observing the following issue on Weston 10.0.2: When we launch Weston with drm-backend and pixman renderer, we are seeing blank screen. Upon doing hotplug, display is coming up. In layer dumps, we can see that a fully opaque layer is getting created during issue case as shown below: Layer 0 (pos 0x): View 0 (role (null), PID 0, surface ID 0, [no description available], 0x55968bdfc0): position: (0, 0) -> (1920, 1080) [fully opaque] outputs: 0 (DSI-1) (primary) [buffer not available] It is caused due to creation of fade layer in desktop-shell. Once the desktop-shell client is ready, the layer should fade in. But we suspect that the layer is not getting faded in properly. To confirm, we made the following change to disable the creation of fade layer. With this change, the issue is getting resolved and Weston UI is up everytime. diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 63e1431..b391d00 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -4154,6 +4154,8 @@ shell_fade_init(struct desktop_shell *shell) struct wl_event_loop *loop; struct shell_output *shell_output; + return; + if (shell->startup_animation_type == ANIMATION_NONE) return; Can you please help us debug or fix this issue. Thanks and Regards, Pritama Biswas