Blank screen observed when running Weston with pixman renderer and drm-backend
Namit Solanki (QUIC)
quic_nsolanki at quicinc.com
Fri Jul 5 07:14:35 UTC 2024
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) <quic_pritbisw at quicinc.com>
Sent: Wednesday, July 3, 2024 6:29 PM
To: wayland-devel at lists.freedesktop.org
Cc: Namit Solanki (QUIC) <quic_nsolanki at quicinc.com>
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 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/20240705/cfeb916e/attachment.htm>
More information about the wayland-devel
mailing list