Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plymouth starting late, and not coming on shutdown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Apr 10, 2013 9:17 am    Post subject: Plymouth starting late, and not coming on shutdown Reply with quote

Hello.

I am trying to get plymouth working (for a change), but I am not sure this is the way things are supposed to work.

I have tried to get it to work many times in the past, but never really succeeded. At least, not in the way that other shinny distros do out there.

I have a radeon (r300) chip, and it's working fine with kms. I am using a 1440x900 resolution for a flicker free transition, since that's what xrandr shows, that's what I am passing to the kernel as well.

This is the relevant line in /etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="video=radeon:1440x900 quiet splash init=/sbin/e4rat-preload"


The grub.cfg file is generated ok and the kernel seems to understand what I pass to it:

Code:
# dmesg|grep command\ line
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.8.3-gentoo-r1 root=UUID=b325e181-959f-4e1e-9065-549a44aaed0e ro video=radeon:1440x900 quiet splash init=/sbin/e4rat-preload
# dmesg|grep -n3 -i kernel\ mode
466-[    0.487305] ACPI: Thermal Zone [THRM] (56 C)
467-[    0.487449] ACPI: Battery Slot [BAT1] (battery absent)
468-[    0.487554] [drm] Initialized drm 1.1.0 20060810
469:[    0.487624] [drm] radeon defaulting to kernel modesetting.
470:[    0.487628] [drm] radeon kernel modesetting enabled.
471:[    0.487899] [drm] initializing kernel modesetting (RV380 0x1002:0x3150 0x103C:0x3082).
472-[    0.487917] [drm] register mmio base: 0xB0100000
473-[    0.487920] [drm] register mmio size: 65536
474-[    0.492890] [drm] Generation 2 PCI interface, using max accessible memory


I know the kms framebuffer is working anyway, because plymouth comes just fine at some point, when the plymouth service starts. But... is this really the way it's supposed to work?

That's quite too late (x comes up a couple of seconds after that so...). Plus it doesn't make sense that I have to do all the dracut ramdisk stuff if it's a system service the one that will launch the splash screen, does it?

As for the ramdisk, dracut -H runs without problems. I also tried to do "plymouth-set-default-theme -R solar", and it outputs the same that dracut does. The ramdisks seems to be created without problems, but I am not sure it's doing its job, I've never felt sympathy for this whole initrd mess:

Code:
# dmesg|grep -i initrd -n2
431-[    0.158422] PCI: CLS 32 bytes, default 64
432-[    0.158485] Trying to unpack rootfs image as initramfs...
433:[    0.317693] Freeing initrd memory: 5312k freed
434-[    0.320651] Simple Boot Flag at 0x36 set to 0x1
435-[    0.321391] microcode: CPU0 sig=0xf43, pf=0x10, revision=0x5
# dmesg|grep -i ramdisk -n2
44-[    0.000000]  [mem 0x37c00000-0x37f8cfff] page 4k
45-[    0.000000] kernel direct mapping tables up to 0x37f8cfff @ [mem 0x01bfa000-0x01bfffff]
46:[    0.000000] RAMDISK: [mem 0x37590000-0x37abffff]
47-[    0.000000] ACPI: RSDP 000f79c0 00014 (v00 HP    )
48-[    0.000000] ACPI: RSDT 3fef1a74 00034 (v01 HP     3082     06040000  LTP 00000000)


Plymouth has been compiled with caps, openrc and libkms support, and all the kms, agp, etc stuff is marked '*' in my kernel, not as a module, so it should be available as soon as the kernel loads...

I have no idea what else to check, in all these years I have never been able to make this work in a very wide range of hardware, so I think there must be something fundamentally wrong in something I am doing. My understanding is that plymouth is the thing that big distros (tm) use to get this shinny splashes from a very early stage, since jut a few milliseconds from the point when you press enter in the grub menu.

Oh, plymouth doesn't come up on shutdown, and console decos don't work either, but I guess that's a different problem.
At this stage, any ideas is welcome.
Back to top
View user's profile Send private message
simon_irl
Guru
Guru


Joined: 07 Oct 2004
Posts: 403
Location: New Zealand

PostPosted: Tue Apr 16, 2013 8:35 am    Post subject: Reply with quote

no answers to this? i have exactly the same problems here, and they make the plymouth packages rather pointless: it's a bit ridiculous if a bootsplash half-way through the boot messages is considered to be working properly! plymouth on other distros has a silky smooth transition from grub menu to instant graphical splash to x login manager...no flickers, let alone blank screens or boot script messages. fbsplash, or even the old bootsplash patch for that matter, is much better than this because it hides (or frames or whatever) the boot messages as intended. and, yes, bootsplash, fbsplash, and plymouth on other distros all work during shutdown as well as bootup. i'm hoping i92guboj and i have our plymouth setups misconfigured somehow...otherwise, this is pointless and we're better off going back to the old framebuffer splash stuff.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Apr 16, 2013 12:50 pm    Post subject: Reply with quote

I've been failing at this for years. Once more i uninstalled this stuff, so good luck.

In my book its still not usable.
Back to top
View user's profile Send private message
simon_irl
Guru
Guru


Joined: 07 Oct 2004
Posts: 403
Location: New Zealand

PostPosted: Thu Apr 18, 2013 1:23 pm    Post subject: Reply with quote

i92guboj wrote:
In my book its still not usable.

Yeah, looks like it is unusable. I'm not quite sure what it's doing in portage given that it doesn't actually work, but I guess the ease of installation makes it more likely that someone will hack on it until it does. Not me though...I've uninstalled it too :|
Back to top
View user's profile Send private message
rteklits
n00b
n00b


Joined: 03 May 2013
Posts: 1

PostPosted: Fri May 03, 2013 7:48 pm    Post subject: Reply with quote

So, I got it working.

I'm new to gentoo and couldnt't get the portage version of plymouth to work for me at all. So, I took a crack at writing a git ebuild (the one through layman uses an abandoned repo), but I slacked off and just installed it locally from the currently active git repo and told portage the package was provided. Also, I installed plymouth to the /usr directories instead of / It works fine now, but...

I doubt most gentooers are going to like my solution to get the splash to show up earlier: systemd. With openrc it had the same problems you all are describing (the splash showing up way too late) and I couldn't find a fix for it. I like systemd (please don't kill me for that :) because I like openrc too. Yet...). I come from Arch Linux and before that Fedora, so I'm very familiar/comfortable with systemd at this point. Once I had systemd installed, plymouth magically worked just as advertised.

I'm sure it's possible to get plymouth to work with openrc. It's just that the openrc plugin in portage doesn't seem to be working.
Back to top
View user's profile Send private message
sera
Retired Dev
Retired Dev


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Thu Jan 23, 2014 12:46 pm    Post subject: Re: Plymouth starting late, and not coming on shutdown Reply with quote

i92guboj wrote:
Hello.

I am trying to get plymouth working (for a change), but I am not sure this is the way things are supposed to work.

Same here. No luck either. I can see plymouth for a split second before the display manager takes over. I even setup systemd to see if this makes a difference. The system in question has an intel and a nvidia graphic chip.


So my question, did anyone ever manage to setup plymouth in a way it comes at least close to osx or windows in terms of smoothness?
Back to top
View user's profile Send private message
greyspoke
Apprentice
Apprentice


Joined: 08 Jan 2010
Posts: 171

PostPosted: Sun Jan 26, 2014 4:01 pm    Post subject: Reply with quote

Well I think I have plymouth working using systemd. One barely has time to admire the fancy bootsplash before lightdm takes over because of the speed systemd does its stuff, but it definitely kicks in for about the same time as one saw systemd stuff flashing past the screen without plymouth. And the transition to lightdm is not that smooth, a brief flash of text then a black bit. All in all, not really worth it. Whereas with openrc there would be more time to see it I guess.

One reason it didn't work originally was I had the RADEON_FB driver installed in the kernel, which apparently conflicts with KMS and the CONFIG_DRM_RADEON driver.
Back to top
View user's profile Send private message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 55
Location: United States

PostPosted: Wed Feb 19, 2014 9:41 am    Post subject: Reply with quote

Hmm, well just saw this, I have been using it more or less successfully for 1.5 years on a 32 bit eee with Intel 945gm and for about a year on nvidia core 2 machine. Openrc, systemd isn't necessary.
It can be tricky for sure. I used to use uvesa on the nvidia but recently switched to simple fb, I dunno, works about the same. It flashes a few times on startup as the card is changing modes(?) or testing itself, something, then a couple of seconds of black, then slim. And yeah, on shutdown it's only on for a couple of seconds and then switches to console with shutdown messages. This changed recently, in fact, through this whole period things change with new kernels, who knows what all.
I think I have the intelFB on the eee. It works a little better there last I noticed, again, changes from time to time from updates. On that I use lightdm, latest update to slim won't go on 32 bit it seems, time to move on as slim is now dead. It was good to me, a pain sometimes, but at least it could be easily modified, unlike lightdm.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Wed Feb 19, 2014 9:50 am    Post subject: Reply with quote

i gave up on plymouth and started looking at fbsplash. havent gotten either to work though.
Back to top
View user's profile Send private message
greyspoke
Apprentice
Apprentice


Joined: 08 Jan 2010
Posts: 171

PostPosted: Wed Feb 19, 2014 11:26 am    Post subject: Reply with quote

I said up there I was using lightdm. I tried gdm with all the use flags enabled to manage the handover, didn't work at all, black screens frozen computer time.

Ah well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum