Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psplash issues with systemd #1313

Open
leon-anavi opened this issue Apr 30, 2024 · 6 comments
Open

psplash issues with systemd #1313

leon-anavi opened this issue Apr 30, 2024 · 6 comments

Comments

@leon-anavi
Copy link
Contributor

leon-anavi commented Apr 30, 2024

Hi,

I noticed that psplash doesn't work as expected when using it with systemd despite the fix for race condition with /dev/fb0:

Apr 30 11:04:09 raspberrypi4-64 systemd[1]: sys-devices-platform-gpu-graphics-fb0.device: Job sys-devices-platform-gpu-graphics-fb0.device/start timed out.
Apr 30 11:04:09 raspberrypi4-64 systemd[1]: Timed out waiting for device /sys/devices/platform/gpu/graphics/fb0.
Apr 30 11:04:09 raspberrypi4-64 systemd[1]: sys-devices-platform-gpu-graphics-fb0.device: Job sys-devices-platform-gpu-graphics-fb0.device/start failed with result 'timeout'.

Steps to reproduce the issue:

  1. Include psplash: IMAGE_INSTALL:append = " psplash"
  2. Use systemd: INIT_MANAGER = "systemd"

Describe the results you received:

No splash screen. Systemd service psplash-start dependency failed:

Apr 30 11:04:09 raspberrypi4-64 systemd[1]: sys-devices-platform-gpu-graphics-fb0.device: Job sys-devices-platform-gpu-graphics-fb0.device/start timed out.
Apr 30 11:04:09 raspberrypi4-64 systemd[1]: Timed out waiting for device /sys/devices/platform/gpu/graphics/fb0.
Apr 30 11:04:09 raspberrypi4-64 systemd[1]: sys-devices-platform-gpu-graphics-fb0.device: Job sys-devices-platform-gpu-graphics-fb0.device/start failed with result 'timeout'.

Describe the results you expected:

psplash-start.service to be OK and to display the splash screen while booting the system

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (revisions used, host distro, etc.):

Tested with core-image-base from branches master and kirkstone on Raspberry Pi 4 (machine raspberrypi4-64).

@farias-automac
Copy link

Same

@BuriKizilkaya
Copy link

Have you found a solution?

@gitgonewithwind
Copy link

@BuriKizilkaya
please try my solution:
#1330 (comment)

@BuriKizilkaya
Copy link

@gitgonewithwind

I found this PR. I add a new bbappend file for the udev rules and then the boot screen appears.

If I connect the raspi with a HDMI screen and I boot up the device, then the progressbar is already 100%. Have you noticed this issue also?

@gitgonewithwind
Copy link

@BuriKizilkaya
is already 100%.
No this issue for mine. I do not use systemv

@BuriKizilkaya
Copy link

@gitgonewithwind
what is 100%?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants