使用新的 Nvidia 卡和 D-sub 显示器时,Ubuntu 没有关机启动画面

使用新的 Nvidia 卡和 D-sub 显示器时,Ubuntu 没有关机启动画面

我使用 Nvidia 驱动程序 346,并按照此链接的说明进行操作 如何修复所有 Ubuntu 版本中的 plymouth(启动画面)! 但我只显示了启动画面,但没有显示关机画面,正如您在这个视频

我猜可能是因为显卡上没有 D-sub 插槽,我必须使用 HDVI 转 D-sub 适配器,这导致 Ubuntu 无法检测到它。请帮我解决这个问题。提前谢谢。这是我做的:

sudo apt-get install v86d
sudo gedit /etc/default/grub
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=keep    
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
sudo update-initramfs -u
sudo update-grub2

有开机启动画面,但没有关机启动画面。如何才能使关机启动画面正常工作?

配置:

  • Ubuntu 14.04 64 位
  • 主板 技嘉 G1-sniper H6
  • CPU 英特尔® Core™ i7-4790 CPU @ 3.60GHz × 8
  • 显卡 Nvidia GeForce GTX 750 Ti/PCIe/SSE2不带D-sub
  • DVI 转 D-sub 适配器
  • 仅配备 D-sub 插座的显示器 LG E2242C LCD

grub.conf

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
#Fix nvidia splash screen
#GRUB_GFXMODE=640x480
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

答案1

sudo apt-get install v86d
gksudo gedit /etc/default/grub

将匹配的内容替换为:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1024x768-24, mtrr=3, scroll=ywrap"
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=keep

然后:

gksudo gedit /etc/initramfs-tools/modules

添加这个:

uvesafb mode_option=1024x768-24 mtrr=3 scroll=ywrap

/etc/X11/xorg.conf如果存在,请备份并执行:

echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
sudo update-initramfs -u
sudo update-grub2

恢复你的/etc/X11/xorg.conf

相关内容