我从 12.04 升级到 12.10,在启动时只能看到 Plymouth Ubuntu 12.10 的文字,而不是徽标。
黑屏闪过,然后出现空白的紫色屏幕,此时我快速看到了 Plymouth 文本,如果我足够幸运地看到所有内容的话。很奇怪,因为当我第一次升级时它工作正常。然而,自升级以来,关机屏幕从未显示过 Plymouth 徽标,现在我看到的只是一个紫色屏幕,左侧有一些白色文本和一个闪烁的光标。文本内容如下:
Ubuntu 12.10 OK
终止所有剩余进程 失败(红色字母)
我在 Launchpad 上发布了这个问题,并得到了以下建议;我要在终端中运行此命令
sudo lshw -C display; lsb_release -a; uname -a
并给出其输出,如下所示:
*-显示
描述:VGA 兼容控制器
产品:GT216 [GeForce GT 220]
供应商:NVIDIA Corporation
物理 ID:0
总线信息:pci@0000:01:00.0
版本:a2
宽度:64 位
时钟:33MHz
功能:pm msi pciexpress vga_controller bus_master cap_list rom
配置:driver=nvidia Latency=0
资源:irq:16 内存:d2000000-d2ffffff 内存:c0000000-cfffffff 内存:d0000000-d1ffffff
ioport:2000(size=128)内存:d3080000-d30fffff 没有
可用的 LSB 模块。分销商 ID:Ubuntu 说明:Ubuntu 12.10 发行版:
12.10 代号:quantal Linux debbie-GT5042B 3.5.0-19-generic #30-Ubuntu SMP 2012 年 11 月 13 日星期二 17:49:53 UTC i686 i686 i686 GNU/Linux
然后我被告知要给出输出
dpkg -l | grep nvidia
这是
ii nvidia-common 1:0.2.71.1 i386 适用于 ubuntu-drivers-common 的过渡包
ii nvidia-current 304.51.really.304.43-0ubuntu1 i386 NVIDIA 二进制 Xorg 驱动程序、内核模块和 VDPAU 库
ii nvidia-settings 304.51-0ubuntu2 i386 配置NVIDIA显卡驱动的工具
然后我被告知所有这一切的答案就是在终端中运行以下命令;
sudo apt-get --purge remove nvidia-current nvidia-settings
sudo apt-get --purge autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get install nvidia-current
这没有任何区别,启动时仍然会出现闪烁的黑屏,关闭计算机时仍会出现文字,进程也会关闭;换句话说,仍然没有徽标。这是我运行上述命令时终端的输出;
debbie@debbie-GT5042B:~$ sudo apt-get --purge remove nvidia-current nvidia-settings
[sudo] password for debbie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libept1.4.12 libvte-common libvte9
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
nvidia-current* nvidia-settings*
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
After this operation, 112 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 171797 files and directories currently installed.)
Removing nvidia-current ...
Removing all DKMS Modules
Done.
update-alternatives: removing manually selected alternative - switching i386-linux-gnu_gl_conf to auto mode
update-alternatives: using /usr/lib/i386-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
update-alternatives: removing manually selected alternative - switching x86_64-linux-gnu_gl_conf to auto mode
INFO:Disable nvidia-current
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match GATEWAY with LENOVO
DEBUG:Quirk doesn't match
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match GATEWAY with Dell Inc.
DEBUG:Quirk doesn't match
update-initramfs: deferring update (trigger activated)
Purging configuration files for nvidia-current ...
update-initramfs: deferring update (trigger activated)
Removing nvidia-settings ...
Purging configuration files for nvidia-settings ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-19-generic
debbie@debbie-GT5042B:~$ sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
dkms* fakeroot* libept1.4.12* libvte-common* libvte9* screen-resolution-extra*
0 upgraded, 0 newly installed, 6 to remove and 3 not upgraded.
After this operation, 2,680 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 171566 files and directories currently installed.)
Removing dkms ...
Purging configuration files for dkms ...
Removing fakeroot ...
update-alternatives: using /usr/bin/fakeroot-tcp to provide /usr/bin/fakeroot (fakeroot) in auto mode
Purging configuration files for fakeroot ...
Removing libept1.4.12 ...
Purging configuration files for libept1.4.12 ...
Removing libvte9 ...
Purging configuration files for libvte9 ...
Removing libvte-common ...
Removing screen-resolution-extra ...
Purging configuration files for screen-resolution-extra ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
debbie@debbie-GT5042B:~$ sudo apt-get clean
debbie@debbie-GT5042B:~$ sudo apt-get update
Ign http://security.ubuntu.com quantal-security InRelease
Ign http://gb.archive.ubuntu.com quantal InRelease
Get:1 http://security.ubuntu.com quantal-security Release.gpg [933 B]
Ign http://gb.archive.ubuntu.com quantal-updates InRelease
Get:2 http://security.ubuntu.com quantal-security Release [49.6 kB]
Ign http://gb.archive.ubuntu.com quantal-backports InRelease
Hit http://gb.archive.ubuntu.com quantal Release.gpg
Get:3 http://gb.archive.ubuntu.com quantal-updates Release.gpg [933 B]
Hit http://gb.archive.ubuntu.com quantal-backports Release.gpg
Hit http://gb.archive.ubuntu.com quantal Release
Get:4 http://gb.archive.ubuntu.com quantal-updates Release [49.6 kB]
Get:5 http://security.ubuntu.com quantal-security/main Sources [19.5 kB]
Get:6 http://security.ubuntu.com quantal-security/restricted Sources [14 B]
Hit http://gb.archive.ubuntu.com quantal-backports Release
Get:7 http://security.ubuntu.com quantal-security/universe Sources [6,763 B]
Hit http://gb.archive.ubuntu.com quantal/main Sources
Get:8 http://security.ubuntu.com quantal-security/multiverse Sources [695 B]
Hit http://gb.archive.ubuntu.com quantal/restricted Sources
Get:9 http://security.ubuntu.com quantal-security/main i386 Packages [54.8 kB]
Hit http://gb.archive.ubuntu.com quantal/universe Sources
Hit http://gb.archive.ubuntu.com quantal/multiverse Sources
Hit http://gb.archive.ubuntu.com quantal/main i386 Packages
Get:10 http://security.ubuntu.com quantal-security/restricted i386 Packages [14 B]
Hit http://gb.archive.ubuntu.com quantal/restricted i386 Packages
Get:11 http://security.ubuntu.com quantal-security/universe i386 Packages [16.8 kB]
Hit http://gb.archive.ubuntu.com quantal/universe i386 Packages
Get:12 http://security.ubuntu.com quantal-security/multiverse i386 Packages [1,394 B]
Hit http://gb.archive.ubuntu.com quantal/multiverse i386 Packages
Get:13 http://security.ubuntu.com quantal-security/main Translation-en [26.4 kB]
Hit http://gb.archive.ubuntu.com quantal/main Translation-en_GB
Hit http://security.ubuntu.com quantal-security/multiverse Translation-en
Hit http://gb.archive.ubuntu.com quantal/main Translation-en
Hit http://gb.archive.ubuntu.com quantal/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com quantal/multiverse Translation-en
Hit http://gb.archive.ubuntu.com quantal/restricted Translation-en_GB
Hit http://security.ubuntu.com quantal-security/restricted Translation-en
Hit http://gb.archive.ubuntu.com quantal/restricted Translation-en
Hit http://gb.archive.ubuntu.com quantal/universe Translation-en_GB
Get:14 http://security.ubuntu.com quantal-security/universe Translation-en [9,362 B]
Hit http://gb.archive.ubuntu.com quantal/universe Translation-en
Get:15 http://gb.archive.ubuntu.com quantal-updates/main Sources [49.2 kB]
Get:16 http://gb.archive.ubuntu.com quantal-updates/restricted Sources [889 B]
Get:17 http://gb.archive.ubuntu.com quantal-updates/universe Sources [21.9 kB]
Get:18 http://gb.archive.ubuntu.com quantal-updates/multiverse Sources [2,940 B]
Get:19 http://gb.archive.ubuntu.com quantal-updates/main i386 Packages [126 kB]
Get:20 http://gb.archive.ubuntu.com quantal-updates/restricted i386 Packages [1,979 B]
Get:21 http://gb.archive.ubuntu.com quantal-updates/universe i386 Packages [66.1 kB]
Ign http://security.ubuntu.com quantal-security/main Translation-en_GB
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_GB
Get:22 http://gb.archive.ubuntu.com quantal-updates/multiverse i386 Packages [8,121 B]
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_GB
Ign http://security.ubuntu.com quantal-security/universe Translation-en_GB
Get:23 http://gb.archive.ubuntu.com quantal-updates/main Translation-en [62.6 kB]
Hit http://gb.archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com quantal-updates/restricted Translation-en
Get:24 http://gb.archive.ubuntu.com quantal-updates/universe Translation-en [39.2 kB]
Hit http://gb.archive.ubuntu.com quantal-backports/main Sources
Hit http://gb.archive.ubuntu.com quantal-backports/restricted Sources
Hit http://gb.archive.ubuntu.com quantal-backports/universe Sources
Hit http://gb.archive.ubuntu.com quantal-backports/multiverse Sources
Hit http://gb.archive.ubuntu.com quantal-backports/main i386 Packages
Hit http://gb.archive.ubuntu.com quantal-backports/restricted i386 Packages
Hit http://gb.archive.ubuntu.com quantal-backports/universe i386 Packages
Hit http://gb.archive.ubuntu.com quantal-backports/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com quantal-backports/main Translation-en
Hit http://gb.archive.ubuntu.com quantal-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com quantal-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com quantal-backports/universe Translation-en
Ign http://gb.archive.ubuntu.com quantal-updates/main Translation-en_GB
Ign http://gb.archive.ubuntu.com quantal-updates/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com quantal-updates/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com quantal-updates/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com quantal-backports/main Translation-en_GB
Ign http://gb.archive.ubuntu.com quantal-backports/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com quantal-backports/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com quantal-backports/universe Translation-en_GB
Fetched 615 kB in 4s (154 kB/s)
Reading package lists... Done
debbie@debbie-GT5042B:~$ sudo apt-get install nvidia-current
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dkms fakeroot nvidia-settings screen-resolution-extra
Suggested packages:
dpkg-dev debhelper
The following NEW packages will be installed
dkms fakeroot nvidia-current nvidia-settings screen-resolution-extra
0 upgraded, 5 newly installed, 0 to remove and 11 not upgraded.
Need to get 40.1 MB of archives.
After this operation, 113 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://gb.archive.ubuntu.com/ubuntu/ quantal/main dkms all 2.2.0.3-1.1ubuntu1 [72.8 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ quantal/main fakeroot i386 1.18.4-2 [88.0 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu/ quantal/restricted nvidia-current i386 304.51.really.304.43-0ubuntu1 [38.1 MB]
Get:4 http://gb.archive.ubuntu.com/ubuntu/ quantal/main screen-resolution-extra all 0.15 [13.1 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu/ quantal/main nvidia-settings i386 304.51-0ubuntu2 [1,803 kB]
Fetched 40.1 MB in 26s (1,529 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 171431 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.2.0.3-1.1ubuntu1_all.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.4-2_i386.deb) ...
Selecting previously unselected package nvidia-current.
Unpacking nvidia-current (from .../nvidia-current_304.51.really.304.43-0ubuntu1_i386.deb) ...
Selecting previously unselected package screen-resolution-extra.
Unpacking screen-resolution-extra (from .../screen-resolution-extra_0.15_all.deb) ...
Selecting previously unselected package nvidia-settings.
Unpacking nvidia-settings (from .../nvidia-settings_304.51-0ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up dkms (2.2.0.3-1.1ubuntu1) ...
Setting up fakeroot (1.18.4-2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up nvidia-current (304.51.really.304.43-0ubuntu1) ...
update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
update-alternatives: warning: skip creation of /usr/lib32/libOpenCL.so because associated file /usr/lib32/nvidia-current/libOpenCL.so (of link group i386-linux-gnu_gl_conf) doesn't exist
update-alternatives: warning: skip creation of /usr/lib32/vdpau/libvdpau_nvidia.so.1 because associated file /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so.1 (of link group i386-linux-gnu_gl_conf) doesn't exist
update-alternatives: warning: skip creation of /usr/lib32/libvdpau_nvidia.so because associated file /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so (of link group i386-linux-gnu_gl_conf) doesn't exist
update-alternatives: using /usr/lib/nvidia-current/alt_ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-current
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match GATEWAY with LENOVO
DEBUG:Quirk doesn't match
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match GATEWAY with Dell Inc.
DEBUG:Quirk doesn't match
Loading new nvidia-current-304.43 DKMS files...
First Installation: checking all kernels...
Building only for 3.5.0-19-generic
Building for architecture i686
Building initial module for 3.5.0-19-generic
Done.
nvidia_current:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.5.0-19-generic/updates/dkms/
depmod....
DKMS: install completed.
Setting up screen-resolution-extra (0.15) ...
Setting up nvidia-settings (304.51-0ubuntu2) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia-settings/ld.so.conf because link group nvidia_settings_conf is broken
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-19-generic
debbie@debbie-GT5042B:~$
既然这不起作用,有没有办法撤销我在终端上所做的操作?
有没有人可以帮我解决这个问题?
我目前在 Launchpad 上的帖子已经停滞不前了,我想解决这个问题。
非常感谢,
黛比
答案1
在 Ubuntu 中使用硬件驱动程序 GUI 安装程序。您可能会获得不同的成功,具体取决于您选择的驱动程序。例如,您可能会提高游戏中的 FPS,但会失去休眠功能。
这就是 Nvidia 应该开源其驱动程序的原因。开放驱动程序有优势。专有驱动程序/模块则有不同之处。
然后还执行以下操作:
上次我使用 Ubuntu 制作 Plymouth 时,Ubuntu 让制作任何其他主题变得极其困难,但 Ubuntu 标准(每个版本)启动图形主题却是如此。如果你深入研究,你会发现有些主题(适用于 Ubuntu)可以工作,有些则不行。