Ubuntu升级到10.04后的显示问题


Ubuntu从9.10升级到10.04后,发现开机后屏幕上出现全屏的闪烁短条纹。

经过一番折腾,发现是KMS的问题,Ubuntu10.04在内核2.6.32上默认开启KMS,于是就有了这个问题,开机选择2.6.31后就一切正常。

经过搜索,ubuntuwiki有介绍。(附在文后)

关闭KMS后一切正常,而且我的显卡是:

ninehills@localhost:~$ lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV515 [Radeon Mobility X1450] [1002:7186]

属于推荐不开启的范畴


附录:
X/KernelModeSetting
Kernel mode-setting (KMS) shifts responsibility for selecting and setting up the graphics mode from X.org to the kernel. When X.org is started, it then detects and uses the mode without any further mode changes. This promises to make booting faster, more graphical, and less flickery.


Configuring KMS on Lucid
By default, KMS is enabled by default for the -intel, -ati, and -nouveau drivers. It is not available for any other drivers at this time.

If you need to turn KMS *off* (I personally had to do it for Radeon Mobility X1400 and X1600), set modeset=0 for your kernel driver:


# ATI Radeon:echo options radeon modeset=0 > /etc/modprobe.d/radeon-kms.conf# Intel:  (Note - see below)echo options i915 modeset=0 > /etc/modprobe.d/i915-kms.conf
The Nouveau video driver does not support non-KMS mode, instead you will need to install and use the xserver-xorg-video-nv driver.

The Intel video X driver as of version 2.9.1-1ubuntu4 has been compiled as KMS-only; if you need to turn off KMS on -intel, you must use an earlier version than this. Such a version is available from the x-retro PPA.

相关内容