分类: LINUX
2008-05-02 10:52:02
代码: |
C:GRLDR="GRUB" |
代码: |
grub> kernel (hd0,4)/vmlinuz root=/dev/ram ramdisk_size=32000 devfs=mount,dall grub> initrd (hd0,4)/initrd.gz grub> boot |
代码: |
title Ubuntu 6.06 root (hd0,11) kernel /vmlinuz-2.6.15-23-386 root=/dev/hda11 ro quiet splash initrd /initrd.img-2.6.15-23-386 boot |
代码: |
deb dapper main restricted universe multiverse deb dapper-updates main restricted universe multiverse deb dapper-security main restricted universe multiverse deb dapper-backports main restricted universe multiverse deb dapper main restricted universe multiverse |
代码: |
sudo aptitude update sudo aptitude upgrade |
代码: |
sudo aptitude install linux-k7 |
代码: |
sudo hdparm -X69 -d1 -u1 -m16 -c3 /dev/hda |
代码: |
sudo aptitude update sudo aptitude install linux-restricted-modules-$(uname -r) sudo aptitude install xorg-driver-fglrx sudo aticonfig --initial sudo aticonfig --overlay-type=Xv |
代码: |
[fglrx] API ERROR: could not register entrypoint for SelectTextureSGIS [fglrx] API ERROR: could not register entrypoint for SelectTextureTransformSGIS [fglrx] API ERROR: could not register entrypoint for ClientActiveVertexStreamATI[fglrx] API ERROR: could not register entrypoint for VertexBlendEnviATI [fglrx] API ERROR: could not register entrypoint for VertexBlendEnvfATI [fglrx] API ERROR: could not register entrypoint for VertexStream2sATI ...... |
代码: |
display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON 9250/9200 Series DDR Generic OpenGL version string: 1.3.1072 (X4.3.0-8.25.18) |
代码: |
10236 frames in 5.0 seconds = 2047.109 FPS 10199 frames in 5.0 seconds = 2039.734 FPS 10198 frames in 5.0 seconds = 2039.596 FPS 9701 frames in 5.0 seconds = 1940.146 FPS |
代码: |
sudo nano /etc/apt/sources.list |
代码: |
deb dapper main deb dapper main deb-src dapper main |
代码: |
export http_proxy="" |
代码: |
wget quinn.key.asc -O - | sudo apt-key add - |
代码: |
sudo aptitude update sudo aptitude install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome |
代码: |
sudo nano /usr/bin/startxgl.sh |
代码: |
Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & sleep 2 && DISPLAY=:1 # Start GNOME exec gnome-session |
代码: |
sudo chmod 755 /usr/bin/startxgl.sh |
代码: |
sudo nano /usr/bin/startcompiz |
代码: |
#!/bin/sh killall gnome-window-decorator wait gnome-window-decorator & LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa compiz --replace gconf miniwin decoration transset wobbly fade minimize cube rotate zoom scale move resize place switcher trailfocus water & |
代码: |
sudo chmod 755 /usr/bin/startcompiz |
代码: |
sudo nano /usr/share/xsessions/xgl.desktop |
代码: |
[Desktop Entry] Encoding=UTF-8 Name=XGl Exec=/usr/bin/startxgl.sh Icon= Type=Application |
代码: |
sudo aptitude update sudo aptitude dist-upgrade |