Blank screen observed when running Weston with pixman renderer and drm-backend
Pritama Biswas (QUIC)
quic_pritbisw at quicinc.com
Wed Jul 3 12:59:23 UTC 2024
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 0xffffffff):
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20240703/1bd4f515/attachment.htm>
More information about the wayland-devel
mailing list