升级到18.10后plymouth启动动画变成text主题了

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
northguest
帖子: 2
注册时间: 2018-10-28 23:59
系统: ubuntu 18.10

升级到18.10后plymouth启动动画变成text主题了

#1

帖子 northguest » 2018-10-29 13:52

从ubuntu18.04升级到18.10后,plymouth启动图片动画就变成text主题动画了。
以前没有注意这个问题。也可能与这次版本升级无关,可能与卸载ubuntukylin的plymouth开机动画有关。具体什么原因不太清楚。
查了大量plymouth的资料,了解到开机启动时,plymouth会首先启动/etc/default.plymouth,这个链接到/usr/share/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth
没有任何错误。用update-alternatives --config default.plymouth 也看到了这个自动模式,然后update-initramfs -u.
但是,启动电脑后,却没有启动/etc/default.plymouth,而是启动了/etc/text.plymouth.这个链接到/usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
所以启动的是这个ubuntu的text主题。
没有找到问题出在哪里。于是查找日志plymouth-debug.log,看到如下一段:
[main.c:528] show_default_splash:Showing splash screen
[main.c:547] show_default_splash:Trying old scheme for default splash
[main.c:1761] load_theme:Loading boot splash theme '/usr/share/plymouth/themes/default.plymouth'
[ply-key-file.c:171] ply_key_file_load_group:trying to load group Plymouth Theme
[ply-key-file.c:171] ply_key_file_load_group:trying to load group script
[ply-key-file.c:259] ply_key_file_load_groups:key file has no more groups
[main.c:1776] load_theme:attaching plugin to event loop
[main.c:1779] load_theme:attaching progress to plugin
[ply-device-manager.c:938] ply_device_manager_activate_renderers:activating renderers
[ply-boot-splash.c:479] ply_boot_splash_show:showing splash screen
[./plugin.c:413] show_splash_screen:no pixel displays
[ply-boot-splash.c:485] ply_boot_splash_show:can't show splash: Success
[ply-boot-splash.c:388] ply_boot_splash_free:freeing splash
[ply-event-loop.c:965] ply_event_loop_stop_watching_for_timeout:no matching timeout found for removal
[ply-boot-splash.c:333] remove_pixel_displays:removing pixel displays
[main.c:553] show_default_splash:Could not start default splash screen,showing text splash screen
[main.c:1761] load_theme:Loading boot splash theme '/usr/share/plymouth/themes/text.plymouth'
[ply-key-file.c:171] ply_key_file_load_group:trying to load group Plymouth Theme
[ply-key-file.c:171] ply_key_file_load_group:trying to load group ubuntu-text

看来问题是,在show-splash-screen时,由于no pixel displays,于是自动改为显示text.plymouth了。
这个问题怎么解决,没有找到资料。
请高手指点。
回复