All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: yocto@lists.yoctoproject.org
Subject: Make psplash wait for the framebuffer to be ready
Date: Mon, 23 May 2022 14:12:11 +0200	[thread overview]
Message-ID: <e74a3ecc-41a3-4bdd-08b5-b6b7ad7dacb4@topic.nl> (raw)
In-Reply-To: 1b153bce-a66a-45ee-a5c6-963ea6fb1c82.0d2bd5fa-15cc-4b27-b94e-83614f9e5b38.1195c9bc-3466-43ac-9600-56e4081b21e6@emailsignatures365.codetwo.com

psplash doesn't work on my system because systemd attempts to start it 
at 1.6 seconds into boot, while the fb device is created 1.9 seconds 
after booting.

This results in:

[FAILED] Failed to start Start psplash boot splash screen.


I figure I'm not the first and only person in the world to encounter 
this issue...


I'm digging into udev and systemd options to properly make it wait. As 
suggested on the net, it should be possible using an udev rule like:

SUBSYSTEM=="graphics", KERNEL=="fb0", TAG+="systemd"


And then add the following to psplash-start.service:

After=dev-fb0.device

I also tried this variant, as reported by systemctl list-units:

After=sys-devices-platform-gpu-graphics-fb0.device


However, neither has any effect whatsoever, the service still tries to 
start too early and fails. The "After=" apparently is ignored or so?



-- Mike Looijmans

Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands

T: +31 (0) 499 33 69 69
E: mike.looijmans@topicproducts.com
W: www.topic.nl

Please consider the environment before printing this e-mail


       reply	other threads:[~2022-05-23 12:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.b7e4c2e3-7ef8-438a-875f-c8d974c21d76@emailsignatures365.codetwo.com>
     [not found] ` <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.0d2bd5fa-15cc-4b27-b94e-83614f9e5b38.1195c9bc-3466-43ac-9600-56e4081b21e6@emailsignatures365.codetwo.com>
2022-05-23 12:12   ` Mike Looijmans [this message]
     [not found]   ` <16F1BAD0BACA2F83.18186@lists.yoctoproject.org>
2022-05-23 12:29     ` [yocto] Make psplash wait for the framebuffer to be ready Mike Looijmans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e74a3ecc-41a3-4bdd-08b5-b6b7ad7dacb4@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.