You are not logged in.
The patch to the encrypt hook doesn't work. That's why it didn't apply. Use the second url I posted, it has the source files. The non-applying patch I meant was the one for plymouth-update-initrd (which you don't even need). After installing, replace "encrypt" with "plymouth-encrypt" in mkinitcpio.conf.
I recommend setting a new initrd preset; I made a kernel26-plymouth one so that I could regen it and still have my normal initrd bootable as a fallback.
[git] | [AURpkgs] | [arch-games]
Offline
The patch to the encrypt hook doesn't work. That's why it didn't apply. Use the second url I posted, it has the source files. The non-applying patch I meant was the one for plymouth-update-initrd (which you don't even need). After installing, replace "encrypt" with "plymouth-encrypt" in mkinitcpio.conf.
I recommend setting a new initrd preset; I made a kernel26-plymouth one so that I could regen it and still have my normal initrd bootable as a fallback.
Will try and report back, thanks.
OK. This is what I've been able to test so far.
First, I think there's a typo in /lib/initcpio/install/plymouth-encrypt: the "SCRIPT=" entry should eval to "plymouth-encrypt" instead of "encrypt", otherwise the password prompt never fires.
Second: the password dialog seems not working for me: the box appears, if I type some characters the points are printed within the box but the password is not accepted. Pressing ESC to switch back to the text console does not change the situation (even worse, after the third failed attempt the kernel panics (in the i915module).
Third, plymouth+decryption-with-usb-key works perfectly.
Hope this helps.
Last edited by goran'agar (2010-03-06 13:13:39)
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
Are you sure you used the *second* link and not the first? Those should both be fixed.
[git] | [AURpkgs] | [arch-games]
Offline
Are you sure you used the *second* link and not the first? Those should both be fixed.
Well, just to be sure, can you please post again the correct link?
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
[git] | [AURpkgs] | [arch-games]
Offline
This is the x86-64 bit package. I'll need an x86 on or, in alternative, the files needed to run makepkg.
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
huh? Oh, I must have uploaded the wrong package. I'll get the source files up shortly. In the meantime extracting the plymouth-encrypt files from /lib/initcpio should work.
[git] | [AURpkgs] | [arch-games]
Offline
huh? Oh, I must have uploaded the wrong package. I'll get the source files up shortly. In the meantime extracting the plymouth-encrypt files from /lib/initcpio should work.
LOL, I just did that and, indeed, it worked perfectly. Really great job.
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
Alright, this should all be working now.
http://omploader.org/vM3I2MA - plymouth-git with support for encryption. To use it, replace "encrypt" with "plymouth-encrypt" in mkinitcpio.conf
[git] | [AURpkgs] | [arch-games]
Offline
Alright, this should all be working now.
http://omploader.org/vM3I2MA - plymouth-git with support for encryption. To use it, replace "encrypt" with "plymouth-encrypt" in mkinitcpio.conf
Just a small note:
patching file usr/sbin/plymouth-set-default-theme
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file usr/sbin/plymouth-set-default-theme.rej
==> ERROR: Build Failed.
Aborting...
This patch is not needed anymore.
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
As I said above, modify that bit by hand. I'm too lazy to fix it after spending so many hours just getting the initrd hook to work. I've emailed the AUR maintainer and he should hopefully merge my changes soon
[git] | [AURpkgs] | [arch-games]
Offline
Thnaks very much! i have seen you gus discuss this tof days. Seems now i can merge this.
Offline
So, I gave plymouth a try and I'm really impressed. But, yes there is a but... I can't get rid of the black squares "automatically".
I added /bin/plymouth quit --retain-splash to rc.local and it has no effect on Plymouth because it's frozen when rc.local is processed.
Plymouth freezes after 4-5 seconds of running; and after adding printf " ${C_OTHER}[${C_FAIL}FAIL${C_OTHER}]${C_CLEAR} \n" > /var/aa (note the "> /var/aa") in the stat_fail() function from /etc/rc.d/functions.d/plymouth.functions, a file was created with this output:
[1;34;40m[[1;31;40mFAIL[1;34;40m][1;0m
.
And there is nothing to be stopped and I don't have a smooth boot. I'm using openbox with X session started automatically at boot and latest nvidia driver(195.36.24).
Here is my daemon list
DAEMONS=(tmpfs-varlog hal syslog-ng @networkmanager @fcron @alsa @mpd @samba @cups)
and rc.local
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
/bin/plymouth quit --retain-splash &
/usr/local/bin/hda-verb /dev/snd/hwC0D0 0x15 SET_EAPD_BTLENABLE 2 > /dev/null &
/bin/bash /etc/acpi/handler.sh ac_adapter &
In my opinion this behavior isn't relevant to the driver and I want to help resolve this issue, but I don't really know from where to start.
Offline
You'll have to have Kernel Mode Setting in order to run Plymouth. The official Nvidia drivers don't support that. For KMS you can use http://wiki.archlinux.org/index.php/Nouveau and I doubt you'll be using that one.
Also:
If you don't have KMS you will need to use framebuffer instead.
Note: This may well not work. Plymouth is designed to work with KMS, although it can sometimes work with framebuffer.
Offline
You'll have to have Kernel Mode Setting in order to run Plymouth. The official Nvidia drivers don't support that. For KMS you can use http://wiki.archlinux.org/index.php/Nouveau and I doubt you'll be using that one.
Also:If you don't have KMS you will need to use framebuffer instead.
Note: This may well not work. Plymouth is designed to work with KMS, although it can sometimes work with framebuffer.
ok. thanks for reply.
Offline
Hey,
This looks awesome! Great work.
I have some trouble though, just before plymouth starts, and between plymouth exits and my display manager starts, it goes back into console and prints a glib error, something about getpwuid_r(), roughening up my boot. Is this a known problem with a known fix, or is it just my system?
Offline
It's a known problem, as far as I know there isn't a fix, unless one has cropped up since I last went looking for it.
Offline
I'm having issues with plymouth.
Running nvidia with framebuffer, x86_64. I have the problem where the black squares are present in top left hand corner as discussed in the wiki. However adding
sudo /bin/plymouth quit &
to .xinitrc and also giving /bin/plymouth nopasswd sudo access doesn't solve it. The funny thing is that if I don't use a login manager and just drop into tty then startx from there I don't get the squares. However if I use slim then the squares are present. Therefore I believe it might be a bug related to starting X from within plymouth, or starting x while plymouth has control of the framebuffer. I've check the bugzilla (https://bugs.freedesktop.org//buglist.c … h=plymouth) and can't see a bug relating to this, does anyone have any suggestions?
.xinitrc
sudo /bin/plymouth quit &
exec i3 &
dropboxd &
sh ~/.startup.sh
Daemons
DAEMONS=(syslog-ng hal !network @netfs @crond @alsa @wicd @cpufreq @openntpd @mysqld @php-fcgi @hiawatha @slim)
Offline
Any news on eliminating the ugly progess bar in themes like spinfinity?
Offline
Is it possible to run Plymouth using a custom kernel without ramdisk?
Offline
Is it possible to run Plymouth using a custom kernel without ramdisk?
As far as I know, the ramdisk has no bearing on whether Plymouth works or not. Isn't the kernel line in grub essentially the same regardless of the image?
Offline
For my setup with initrd i have no additions to the kernel line in grub, just the hooks in mkinitcpio. On the wiki there's no mention of how to do a non-initrd setup.
Last edited by BasT (2011-06-07 21:49:43)
Offline
For my setup with initrd i have no additions to the kernel line in grub, just the hooks in mkinitcpio. On the wiki there's no mention of how to do a non-initrd setup.
The same for me. Have you found the way to enable it without ramdisk?
Offline
Hello everyone
I have uploaded a package named plymouth-systemd-git in AUR so that people that use systemd and plymouth can test the
Smooth Transition from Plymouth to DM.
https://aur.archlinux.org/packages.php?ID=51715
(Essentially copied from plymouth-git and added the systemd integration bits so thanks to everyone involved in the
original package )
To test it after installing it (Only for KDM,GDM,LXDM for now):
----------INTEL GRAPHICS CARD USERS---------
Use xf86-video-intel-plymouth: https://aur.archlinux.org/packages.php?ID=51858
----------ATIGRAPHICS CARD USERS---------
Use xf86-video-ati-plymouth: https://aur.archlinux.org/packages.php?ID=51864
-------------LXDM---------------
LXDM is the only DM I know that has upstream plymouth support, so for the transition to work you just have to edit
/etc/lxdm/lxdm.conf and uncomment the arg= line under service:
[server]
## arg used to start xserver, not fully function
# arg=/usr/bin/X -background vt1 <-------UNCOMMENT THIS LINE
Disable your preferred DM Unit e.g.
systemctl disable lxdm.service
Enable the lxdm-plymouth.service:
systemctl enable lxdm-plymouth.service
---------------KDM------------
For KDM there are two options:
1st Method. (EXPERIMENTAL=If it does not work for you, try method 2)
Edit /usr/share/config/kdm/kdmrc and change the following lines to the values you see below:
[General]
ServerVTs=1
[X-:*-Core]
ServerArgsLocal=-nolisten tcp -background none
This method has the drawback that if you boot using normal sysVinit/initscripts to init 5 (if you remove init=/bin/systemd
from kernel command line) a race will occur between agetty in tty1 and X so your CPU gets stuck at 100%.
If you have switched permanently to systemd this will not bother you I suppose.
Disable your preferred DM Unit e.g.
systemctl disable kdm.service
Enable the kdm-unpatched-plymouth.service:
systemctl enable kdm-unpatched-plymouth.service
2.nd Method Installed a patched kdebase-workspace so that KDM supports plymouth. I will upload this to the AUR soon. UPDATE: Uploaded kdebase-workspace-plymouth: https://aur.archlinux.org/packages.php?ID=51786
You must also change ServerVTs to ServerVTs=-1 (notice the minus sign before 1) and add "-background none" to ServerArgsLocal like in method one in your /usr/share/config/kdm/kdmrc.
(These changes will be in the kdmrc.pacnew file in the package I am making.)
This method has the advantage of compatibility with sysVinit/initscripts but the drawback that you have to build kdebase-workspace (~70mb package).
Disable your preferred DM Unit e.g.
systemctl disable kdm.service
Enable the kdm-plymouth.service:
systemctl enable kdm-plymouth.service
----------------GDM-----------
This is the only DM from the three that I have not tested.
GDM needs to be patched for this to work. I could provide a PKGBUILD after some digging but I cannot test it or
maintain it. If anybody is interested to test/use/maintain please tell me.
UPDATE: gdm-plymouth can be found in AUR: https://aur.archlinux.org/packages.php?ID=51739
Just install gdm-plymouth package and plymouth-systemd-git , setup plymouth and systemd(systemctl enable gdm-plymouth.service)
However I have provided a gdm-plymouth.service that should work IF gdm is patched:
Disable your preferred DM Unit e.g.
systemctl disable gdm.service
Enable the gdm-plymouth.service:
systemctl enable gdm-plymouth.service
------------------------
Final note:
I have this working flawlessly on my system using KDM(patched and unpatched from [extra]), and have also tested LXDM (from [community]) that also works.
This has the "side-effect"/intended behaviour that X now starts on tty1 (i.e. Ctrl-Alt-F1). Switching between
multi-user.target/rescue.target and graphical.target works fine without race issues.
UPDATE: Added gdm-plymouth package info.
UPDATE: Added kdebase-workspace-plymouth package info (for Method2 KDM plymouth transition)
UPDATE: Intel Users should use xf86-video-intel-plymouth: https://aur.archlinux.org/packages.php?ID=51858
UPDATE: ATI Users should use xf86-video-ati-plymouth: https://aur.archlinux.org/packages.php?ID=51864
Last edited by zephyr (2011-08-26 13:56:10)
Offline
This method has the drawback that if you boot using normal sysVinit/initscripts to init 5 (if you remove init=/bin/systemd
from kernel command line) a race will occur between agetty in tty1 and X so your CPU gets stuck at 100%.
If you have switched permanently to systemd this will not bother you I suppose.
To avoid it you can modify your /etc/inittab and disable getty on tty, I guess?
Offline