升级12.04 => 14.04后,图形性能非常慢

我从12.04升级到14.04,表现非常低迷; 窗户以慢动作打开和关闭。 据推测,我的图形硬件尚未被系统识别。 我认为我需要有关如何弄清楚该怎么做的建议。 也许我应该安装一些图形软件,或者我应该在Unity中禁用某些东西,但我不知道从哪里开始。

我的’uname -a’命令说:

Linux home0 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux 

命令’sudo lshw’提供了大量信息,我将尝试提取最相关的内容:

 home0 description: Desktop Computer product: TPS01 () vendor: FOXCONN version: 1.0 serial: To Be Filled By OEM width: 32 bits capabilities: smbios-2.6 dmi-2.6 smp-1.4 smp configuration: boot=normal chassis=desktop cpus=2 uuid=6013CF95-1E02-E531-FD14-D027881B608D *-core [...] *-firmware description: BIOS vendor: American Megatrends Inc. physical id: 0 version: 080015 date: 06/07/2010 size: 64KiB capacity: 960KiB capabilities: isa pci pnp apm upgrade shadowing cdboot bootselect socketedrom edd int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification *-cpu:0 description: CPU product: Intel(R) Atom(TM) CPU D525 @ 1.80GHz vendor: Intel Corp. physical id: 4 bus info: cpu@0 version: 6.12.10 serial: 0001-06CA-0000-0000-0000-0000 slot: CPU 1 size: 1800MHz capacity: 1900MHz width: 64 bits clock: 200MHz capabilities: x86-64 boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm configuration: cores=2 enabledcores=2 id=3 threads=4 [...] *-pci description: Host bridge product: Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge vendor: Intel Corporation physical id: 100 bus info: pci@0000:00:00.0 version: 02 width: 32 bits clock: 33MHz configuration: driver=agpgart-intel resources: irq:0 *-display description: VGA compatible controller product: Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 02 width: 32 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:44 memory:fea80000-feafffff ioport:dc00(size=8) memory:d0000000-dfffffff memory:fe900000-fe9fffff 

附录:这是unity_support_test命令的输出。

/ usr / lib / nux / unity_support_test -p

 OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) IGD x86/MMX/SSE2 OpenGL version string: 1.4 Mesa 10.1.0 Not software rendered: yes Not blacklisted: yes GLX fbconfig: yes GLX texture from pixmap: yes GL npot or rect textures: yes GL vertex program: yes GL fragment program: yes GL vertex buffer object: yes GL framebuffer object: yes GL version is 1.4+: yes Unity 3D supported: yes 

这是lspci的输出:

lspci -k | grep -A3 VGA

 00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02) Subsystem: Foxconn International, Inc. Device 0d55 Kernel driver in use: i915 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02) 

进一步的补充:我使用这个桌面进行电子邮件,编辑,网页浏览。 我不关心游戏或video,我很乐意关闭任何与这种非常慢的行为相关的图形处理。 旧硬件不是“正常慢”; 硬件是从2010年开始的i686。

让我澄清“慢”。 如果我打开Xterm或浏览器窗口,预期的行为(我对12.04的体验)是我看到一些视觉上的诡计,新窗口平滑地获取其大小或颜色。 14.04以下,平稳度全部消失; 新窗口以锯齿状方式获得其最终状态,可能会在几秒钟内每秒改变一次或两次大小或形状。 youtube电影(在Firefox上显示)的刷新率可能为2或3赫兹。 如果我在短划线中键入文本,则字符的显示速率可能为每秒1。

在2010 – 2011年的一些类似的对话和问题中,我看到了对compiz问题的引用,但我不知道如何处理这些信息。 我的系统监视器显示,只要打开一个窗口,compiz的CPU使用率就会高达48%左右; 因此它基本上占用了我的2-CPU系统上的所有CPU。 当我拖动窗口时,它是一个锯齿状和滞后的运动,并且compiz的使用率高达60%或更多。

也许相关的是我的系统也有另一个问题:找不到libudev.so.0(当Chrome无法启动时会注意到)。 我真的不知道这是否与图形性能有关。

顺便说一句,感谢你为编辑这篇文章而设置格式化各种系统输出,因为它们是要格式化的; 我还没有意识到如何实现这一目标。

上述问题的根源可能是一个lightdm错误:

https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1292467

我在带有Intel NM10图形的Atom Mini-ITX主板上遇到了这个问题,其中包括一个内部LVDS显示端口。 使用“video = LVDS-1:d”解决方案的Boot解决了它。 使引导选项永久化的说明如何添加内核引导参数? 。

Andy Whitcroft在2014-04-17发表的post表明修复程序已经发布,但在撰写本文时,它显然没有进入更新存储库。

在遵循以下建议之前我一直表现不佳: https : //sites.google.com/site/easylinuxtipsproject/first但我认为上述网站中提到的以及用户3054508所述的紧急情况是更改显示到gnome(matacity)。 如果将来可以提供更简单版本的统一桌面,没有淡出等,那将是很好的,所以我们这些使用旧显卡的人都可以满足。 Kaspin

我遇到了同样的问题。 在升级后,ubuntu死亡缓慢。

改为gnome metacity对我来说不是一个选择。

在我的案例中有什么帮助:

 sudo apt-add-repository ppa:xorg-edgers/ppa sudo apt-get update sudo apt-get install nvidia-current nvidia-settings 

转到“其他驱动程序”并选择除所选默认驱动程序之外的任何其他驱动程序。 (是’nouveau xorg服务器..’我相信。

(我有一个nvidia nvs 310显卡和一个高分辨率显示链接显示)

我对英特尔865G显卡有同样的问题。 经过一些互联网搜索后,我在Ubuntu Geeks下找到了以下文章:

http://www.ubuntugeek.com/how-to-install-intelr-linux-graphics-drivers-on-ubuntu-13-04.html

从本质上讲,它为您提供了下载和安装显卡的英特尔驱动程序的说明和链接。 仅供参考,我在此重复说明:要信任英特尔Linux图形安装程序,您需要将以下密钥添加到Ubuntu的软件包管理器(即“apt”)。 打开终端,执行以下行:

 wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg -O - | sudo apt-key add - wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-2 -O - | sudo apt-key add - 

现在,您需要从此处下载并安装适用于(32或64位)体系结构的Debian软件包。 下载Debian软件包后,通过从文件管理器双击它或在打开的终端中执行以下命令来安装它:

 sudo dpkg -i DEB_PACKAGE 

有关从命令行安装.deb文件的详细说明,请参阅以下链接:

如何通过命令行安装.deb文件?

安装Debian软件包后,从打开的终端运行以下命令:

 intel-linux-graphics-installer 

警告:Linux图形安装程序需要一段时间才能列出软件包,请耐心等待。 系统将提示您多次输入您的身份validation密码,因此请不要离开此过程。 此外,安装这些驱动程序后,您的系统可能仍然缓慢或无法使用,因此使用风险自负。 请注意,您可能需要降低屏幕分辨率以获得更好的性能。 否则,如果一切顺利,这应解决您的问题。

固定:


如果您有Nvidia显卡,请参考user1429166的建议。

  1. 运行终端命令并更新您的Nvidia驱动程序。
  2. 使用Ubuntu上的默认“附加驱动程序”软件来选择新的驱动程序。

我不确定哪个版本是Nvidia目前的驱动程序版本(我认为目前是测试版,所以你可能想避免它。)

**我选择的不是“传统”驱动程序,而是“专有”软件。

编辑:


看起来英特尔卡总是可以从一些驱动程序安装中受益。 检查“其他驱动程序”软件,看看您当前是否使用默认的“X.org-Nouveau”驱动程序。