分类: LINUX
2010-02-12 00:34:54
$ dpkg -l |grep libdrm ii libdrm-dev 2.4.17-1 Userspace interface to kernel DRM services - ii libdrm-intel1 2.4.17-1 Userspace interface to intel-specific kernel ii libdrm-radeon1 2.4.17-1 Userspace interface to radeon-specific kerne ii libdrm2 2.4.17-1 Userspace interface to kernel DRM services - dpkg -l |grep mesa ii libgl1-mesa-dev 7.7-3 A free implementation of the OpenGL API -- G ii libgl1-mesa-dri 7.7-3 A free implementation of the OpenGL API -- D ii libgl1-mesa-glx 7.7-3 A free implementation of the OpenGL API -- G ii libglu1-mesa 7.7-3 The OpenGL utility library (GLU) ii libglu1-mesa-dev 7.7-3 The OpenGL utility library -- development fi ii mesa-common-dev 7.7-3 Developer documentation for Mesa ii mesa-utils 7.7-3 Miscellaneous Mesa GL utilities liang@guoliangc:~$ dpkg -l |grep xserver-xorg-video-radeon ii xserver-xorg-video-radeon 1:6.12.99+git20100201.a887818f-1 X.Org X server -- ATI Radeon display driver $ dpkg -l |grep linux-image ii linux-image-2.6.32-2-amd64 2.6.32-7 Linux 2.6.32 for 64-bit PCs ii linux-image-2.6.32-trunk-amd64 2.6.32-5 Linux 2.6.32 for 64-bit PCs ii linux-image-amd64 2.6.32+23 Linux image on 64-bit PCs $ uname -a Linux xxx 2.6.32-2-amd64 #1 SMP Thu Feb 4 01:59:06 UTC 2010 x86_64 GNU/Linux |
radeon.modeset=1 |
options radeon modeset=1 |
guoliangc:/etc/init.d# more radeon #!/bin/sh -e ### BEGIN INIT INFO # Provides: radeon # Required-Start: $local_fs # Required-Stop: # Default-Start: S # Default-Stop: # Short-Description: Load radeon module before X startup ### END INIT INFO # vbetool vbestate save > /tmp/vbesave echo 0 > /sys/class/vtconsole/vtcon1/bind /sbin/modprobe radeon vbetool vbestate restore < /tmp/vbesave echo 1 > /sys/class/vtconsole/vtcon1/bind rm /tmp/vbesave |