自从我拥有了这张卡以来,Plymouth 一直存在问题 - 即在几年的 Ubuntu 版本中。卡通过 Onkyo SR707 接收器连接到 HDTV,使用开源驱动程序。两个主要项目:
无溅水
图形启动画面未显示,电视显示“不支持模式”,直到桌面登录加载。 GRUB 的分辨率合理(vbeinfo
例如 800x600x32),从Ubuntu
菜单中选择后,紫红色空白屏幕会暂时显示。 它会变黑而不是显示启动画面。 Plymouth 调试日志显示了各种故障,在我看来,大多数都像是探测设备的尝试。 相关部分似乎是最成功的尝试,在/dev/fb0
:
[ply-device-manager.c:284] create_seats_for_subsystem:creating seats for frame buffer devices
[ply-device-manager.c:303] create_seats_for_subsystem:found device /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/graphi
cs/fb0
[ply-device-manager.c:311] create_seats_for_subsystem:device is initialized
[ply-device-manager.c:322] create_seats_for_subsystem:found node /dev/fb0
[ply-device-manager.c:178] create_seat_for_udev_device:device is for local console: yes
[ply-device-manager.c:191] create_seat_for_udev_device:device subsystem is graphics
[ply-device-manager.c:200] create_seat_for_udev_device:found frame buffer device /dev/fb0
[ply-device-manager.c:135] fb_device_has_drm_device:trying to find associated drm node for fb device (path: (null))
[ply-device-manager.c:161] fb_device_has_drm_device:no card entry!
[ply-device-manager.c:641] create_seat_for_terminal_and_renderer_type:creating seat for /dev/fb0 (renderer type: 2) (terminal: /dev/tty7)
[ply-renderer.c:234] ply_renderer_open_plugin:trying to open renderer plugin /lib/x86_64-linux-gnu/plymouth/renderers/fra
me-buffer.so
[./plugin.c:259] create_backend:creating renderer backend for device /dev/fb0
[ply-terminal.c:615] ply_terminal_open:terminal /dev/tty7 is already open
[./plugin.c:515] query_device:32 bpp (8, 8, 8, 0) with rowstride 5120
[./plugin.c:275] initialize_head:initializing 1280x720 head
[ply-renderer.c:256] ply_renderer_open_plugin:opened renderer plugin /lib/x86_64-linux-gnu/plymouth/renderers/frame-buffe
r.so
[ply-seat.c:80] add_pixel_displays:Adding displays for 1 heads
[ply-seat.c:116] add_text_displays:adding text display for terminal /dev/tty7
[main.c:1051] on_seat_added:listening for keystrokes
[main.c:1055] on_seat_added:listening for escape
[main.c:1059] on_seat_added:listening for backspace
[main.c:1063] on_seat_added:listening for enter
[ply-device-manager.c:303] create_seats_for_subsystem:found device /sys/devices/virtual/graphics/fbcon
[ply-device-manager.c:334] create_seats_for_subsystem:it's not initialized
[main.c:2367] main:entering event loop
因此,显然 FB 设备没有卡条目和/或未初始化。最后我看到:
[main.c:266] show_messages:not displaying messages, since no boot splash
这里的代码表明 splash 为空,可能是由于之前的失败造成的。
1280x720 也是我的桌面分辨率,而且绝对受支持,所以这似乎没问题。关机时 Splash 显示正常。
编辑
根据文档。早期的尝试失败了,如下所示:
[ply-device-manager.c:303] create_seats_for_subsystem:found device /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/drm/ca
rd0
[ply-device-manager.c:311] create_seats_for_subsystem:device is initialized
[ply-device-manager.c:322] create_seats_for_subsystem:found node /dev/dri/card0
[ply-device-manager.c:178] create_seat_for_udev_device:device is for local console: yes
[ply-device-manager.c:191] create_seat_for_udev_device:device subsystem is drm
[ply-device-manager.c:195] create_seat_for_udev_device:found DRM device /dev/dri/card0
[ply-device-manager.c:641] create_seat_for_terminal_and_renderer_type:creating seat for /dev/dri/card0 (renderer type: 1) (terminal: /dev/t
ty7)
[ply-renderer.c:234] ply_renderer_open_plugin:trying to open renderer plugin /lib/x86_64-linux-gnu/plymouth/renderers/drm
.so
[./plugin.c:379] create_backend:creating renderer backend for device /dev/dri/card0
[./plugin.c:464] load_driver:Opening '/dev/dri/card0'
[ply-terminal.c:619] ply_terminal_open:trying to open terminal '/dev/tty7'
[ply-terminal.c:409] ply_terminal_look_up_geometry:looking up terminal text geometry
[ply-terminal.c:424] ply_terminal_look_up_geometry:terminal is now 160x45 text cells
[ply-terminal.c:462] get_active_vt:Remembering that initial vt is 7
[./plugin.c:860] query_device:Could not initialize heads
[ply-renderer.c:250] ply_renderer_open_plugin:could not query rendering device for plugin /lib/x86_64-linux-gnu/plymouth/
renderers/drm.so
[./plugin.c:552] close_device:closing device
[./plugin.c:501] unload_driver:unloading driver
[ply-renderer.c:288] ply_renderer_open:could not find suitable rendering plugin
[ply-seat.c:135] ply_seat_open:could not open renderer for /dev/dri/card0
[ply-device-manager.c:646] create_seat_for_terminal_and_renderer_type:could not create seat
[ply-seat.c:326] free_pixel_displays:freeing 0 pixel displays
[ply-seat.c:348] free_text_displays:freeing 0 text displays
据我所知,HD 4000 系列具有成熟的 DRM/DRI 支持。glxinfo
报告direct rendering: Yes
。
文本的分辨率/过扫描问题
如果fsck
启动或出现错误,文本将与屏幕不对齐。至少左侧、顶部和底部有较大的重叠,几乎无法使用。启动后按 Ctrl-Alt-F1 可正确显示控制台。