You are not logged in.
Pages: 1
Hello ,
could someone help me, i'm looking for a way to add a sound at startup of playmouth . I do not know if it's possible I did not see that in the wiki [edited]
Last edited by dllkevin (2017-11-05 04:45:30)
Offline
sddm doesn't boot anything. It is just a display manager. What are you trying to do exactly?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
sddm doesn't boot anything. It is just a display manager. What are you trying to do exactly?
I'm not very good at English, sorry.
But i installed plymouth it works without problem but i want just play a sound when plymouth start
Offline
Plymouth typically starts LOOOOOONG before the sound HW has been probed, initialized and configured, so this is not going to work at all.
Leaving aside any questions about "why in gods name would anybody want to do this", you could add some systemd service that starts after the sound.target or so, but that's it.
Offline
Plymouth typically starts LOOOOOONG before the sound HW has been probed, initialized and configured, so this is not going to work at all.
Leaving aside any questions about "why in gods name would anybody want to do this", you could add some systemd service that starts after the sound.target or so, but that's it.
Just for fun. ![]()
Offline
Plymouth typically starts LOOOOOONG before the sound HW has been probed, initialized and configured, so this is not going to work at all.
Really? I don't have any special settings but I usually get sound about a full second before init has finished.
That's still after Plymouth would start but not that long.
Last edited by fuyuki (2017-11-06 00:07:20)
Arch | amd64 | rEFInd | OpenRC | MATE | PulseAudio
Offline
plymouth and sddm are very different things and start at very different points in the boot process. I guess you could probably get a sound when sddm starts, as you originally asked. But that would be much later than plymouth.
Usually, people want to STOP things making sounds - not add them
.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
"LOOOOOONG" is relative ;-)
plymouth covers the boot process which typically does not last as long as starting sddm (if you use sddm ...) and sound will typically be fully available later than half through this (relatively short) process - especially when also using PA.
(I guess you could get it earlier by adding oss to the initrmfs and then remove it when the sound has finished ...)
So "a full second before init has finished" lacks how you define init and how long the "init" process takes in total - eg. if your entire "init" takes 20 seconds and you get sound after 19 seconds, that's "LOOOOOONG" ![]()
Offline
Pages: 1