pbsplash: negative scale factor segmentation fault
Describe your issue
pbsplash seems to not handle missing screen dimensions resulting in a black screen on boot.
When running pbsplash via ssh I get
apple-iphone5s:~$ sudo pbsplash -s /usr/share/pbsplash/pmos-logo-text.svg
Got scale factor: -10.621965
Segmentation fault
Supplying the -d option with a correct-ish value to fbsplash actually works.
What's the expected behaviour?
Splash screen works
What's the current behaviour?
Screen turns black on splash, pbsplash segfaults
How to reproduce your issue?
- Boot the device with netboot hook (simply booting without hook may be enough)
- Observe as screen turns black when the splash screen should show
What device are you using?
apple-iphone5s (local barely modified clone of apple-iphone6)
I think any simple-framebuffer device will have this problem without dimensions set
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
(supported until 2023-01-18) -
v22.12
-
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
None
Probably any applies, this is not environment specific
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2023-02-18
Edited by Administrator