分享
 
 
 

kernel2.6.10安装ATI8.8.25驱动

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

小弟今天经过痛苦的摸索终于解决了ATI驱动的安装问题,感谢ATI的新驱动和rage3d.org上面各位大虾的补丁,终于可以玩tux racer了,虽然不好玩(个人观点).不敢独享,特将过程写再者里,以防菜鸟在遇到同样的困难:

1.下载 ATI最新的驱动程序,http://www.ati.com/support/driver.html 选择你需要的驱动版本,我这里针对的是xorg 6.8,kernel 2.6.10的驱动,要确认你的内核和x的版本,运行

http://www2.ati.com/drivers/linux/Check.sh

和 uname -a

2.下载这个补丁,来自www.rage3d.org

3.安装rpm包 rpm -Uh --force 下载的软件包的名字.rpm 主意看这里出现的错误信息.

4.打补丁 如果是FC系列的话,cd /lib/modules/fglrx/,

patch -p0 < 下载的补丁的路径和文件名

注意看是不是有两行输出表示patch 成功了.进入下一步.不行检查路径.

5.cd /lib/modules/fglrx/build_mod 运行 sh make.sh

注意出错的话请不要继续

cd ..

sh make_install.sh

6.备份原来的 xorg.conf(非常重要的一步,别怪我没警告你)

cp /etc/X11/xorg.conf /随便你放在哪里

7.fglrxconfig 配置显卡,随便选择吧,

也可以参考我的,

基本上都可以回车,只是注意显示器的刷新率,好好想想,最好别超过85

8.别忙着重新启动,肯定不行,生成的配置文件在 /etc/X11 下面,叫做 XF86Config-4,这是给XFree86用的,我现在用的是xorg.6.8,对应的配置文件是xorg.conf,你刚才备份吧,所以运行

cd /etc/X11

cp XF86Config-4 xorg.conf

9.还有一个地方,个人感觉很变态,重起之后,x起不来,进入字符界面下面,x的log指出鼠标和键盘出错,

没办法,修改xorg.conf,这个文件是分Section的

Section "InputDevice"

中间一堆什么注释阿,乱七八糟的

后面有一行

EndSection

表示这一个Section结束了

这样的 "InputDevice" Section有两个,一个是描述鼠标的一个是描述键盘的,

把新的xorg.conf里的这两段都用旧的替换(我们备份的文件xorg.conf里面有同样的"InputDevice"Section

10.重新启动的时候到了.顺利进入图形界面,恭喜你成功了,请跳到 13步继续,我得跟不幸的人先说几句.

11,如果黑屏闪动,出现错误提示,不要慌张,先看看错误信息,给自己到杯水,把这个信息抄下来找我.我可没说一定有办法解决.

12.显恢复了再说,把之前备份的文件复制回去, cp /你放的哪了/xorg.conf /etc/X11/

13. 运行两个重要的命令,确认我们的3d好用了,

运行 flgrxinfor 看输出是不是

[root@robin X11]# fglrxinfo

display: :0.0 screen: 0

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: RADEON 9550 Generic

OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)

类似的.

[root@robin X11]# dmesg | grep agp

Linux agpgart interface v0.100 (c) Dave Jones

agpgart: Detected NVIDIA nForce2 chipset

agpgart: Maximum main memory to use for agp memory: 203M

agpgart: AGP aperture is 128M @ 0xd0000000

agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.

agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode

agpgart: Putting AGP V3 device at 0000:02:00.0 into 8x mode

看看你的3d和AGP开好了没有.

如果AGP有错误,请接着修改你的xorg.conf文件,找到一行写着

Option "UseInternalAGPGART" "yes"

改成

Option "UseInternalAGPGART" "no"

再重起看看,有些帖子建议使用init 3,或者telinit 3,这个经过测试,有些系统没办法正确运行这个命令,所以重新启动更加方便快捷.

附:

fglrx8.08-2.6.10.patch

--- agpgart_be.c 2005-01-06 9:05:02.000000000 +0100

+++ agpgart_be.c 2005-01-06 9:19:16.000000000 +0100

@@ -255,6 +255,12 @@

}

#endif

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)

+#define firegl_pci_find_class(class,from) pci_get_class(class,from)

+#else

+#define firegl_pci_find_class(class,from) pci_find_class(class,from)

+#endif

+

int agp_backend_acquire(void)

{

if (agp_bridge.type == NOT_SUPPORTED) {

@@ -718,7 +724,7 @@

* AGP devices and collect their data.

*/

-while ((device = pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,

+while ((device = firegl_pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,

device)) != NULL) {

pci_read_config_dword(device, 0x04, &scratch);

@@ -794,6 +800,13 @@

command &= ~0x00000001;

}

}

+

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)

+ // the reference count has been increased in agp_backend_initialize.

+ if (device)

+ pci_dev_put(device);

+#endif

+

/*

* PASS2: Figure out the 4X/2X/1X setting and enable the

* target (our motherboard chipset).

@@ -839,8 +852,9 @@

* command registers.

*/

-while ((device = pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,

+while ((device = firegl_pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,

device)) != NULL) {

+

pci_read_config_dword(device, 0x04, &scratch);

if (!(scratch & 0x00100000))

@@ -871,6 +885,12 @@

}

}

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)

+ // the reference count has been increased in agp_backend_initialize.

+ if (device)

+ pci_dev_put(device);

+#endif

+

return 0; /* success */

}

@@ -5119,8 +5139,9 @@

* AGP devices and collect their data.

*/

-while ((device = pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,

+while ((device = firegl_pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,

device)) != NULL) {

+

pci_read_config_dword(device, 0x04, &scratch);

if (!(scratch & 0x00100000))

@@ -5187,6 +5208,13 @@

command &= ~0x00000001;

}

}

+

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)

+ // the reference count has been increased in agp_backend_initialize.

+ if (device)

+ pci_dev_put(device);

+#endif

+

/*

* PASS2: Figure out the 4X/2X/1X setting and enable the

* target (our motherboard chipset).

@@ -5217,8 +5245,9 @@

* command registers.

*/

-while ((device = pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,

+while ((device = firegl_pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,

device)) != NULL) {

+

pci_read_config_dword(device, 0x04, &scratch);

if (!(scratch & 0x00100000))

@@ -5249,6 +5278,12 @@

}

}

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)

+ // the reference count has been increased in agp_backend_initialize.

+ if (device)

+ pci_dev_put(device);

+#endif

+

return(0); /* success */

}

@@ -6494,10 +6529,10 @@

// locate host bridge device

#ifdef __x86_64__

do {

- dev = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, dev);

+ dev = firegl_pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, dev);

} while((dev) && !agp_check_supported_device(dev));

#else

- if ((dev = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, NULL)) == NULL)

+ if ((dev = firegl_pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, NULL)) == NULL)

return -ENODEV;

#endif

@@ -7040,8 +7075,12 @@

&agp_bridge.mode);

return hp_zx1_setup(dev);

}

-dev = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, dev);

+dev = firegl_pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, dev);

} while (dev);

+

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)

+ if(dev) pci_dev_put(dev);

+#endif

return -ENODEV;

}

#endif/* __ia64__ */

@@ -7462,6 +7501,11 @@

agp_bridge.free_gatt_table();

vfree(agp_bridge.key_list);

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)

+ // decrease the reference count.

+ pci_dev_put(agp_bridge.dev);

+#endif

+

if (agp_bridge.needs_scratch_page == TRUE) {

agp_bridge.scratch_page &= ~(0x00000fff);

agp_bridge.agp_destroy_page((unsigned long)

--- firegl_public.c 2005-01-06 9:05:02.000000000 +0100

+++ firegl_public.c 2005-01-06 9:19:16.000000000 +0100

@@ -88,6 +88,7 @@

#include <linux/smp_lock.h>

// newer SuSE kernels need this

#include <linux/highmem.h>

+#include <linux/pagemap.h> // for lock_page and unlock_page

#if defined(__ia64__)

#include <linux/vmalloc.h>

-----------------

xorg.conf

# File: XF86Config-4

# File generated by fglrxconfig (C) ATI Research, a substitute for xf86config.

# Note by ATI: the below copyright notice is there for servicing possibly

# pending third party rights on the file format and the instance of this file.

#

# Copyright (c) 1999 by The XFree86 Project, Inc.

#

# Permission is hereby granted, free of charge, to any person obtaining a

# copy of this software and associated documentation files (the "Software"),

# to deal in the Software without restriction, including without limitation

# the rights to use, copy, modify, merge, publish, distribute, sublicense,

# and/or sell copies of the Software, and to permit persons to whom the

# Software is furnished to do so, subject to the following conditions:

#

# The above copyright notice and this permission notice shall be included in

# all copies or substantial portions of the Software.

#

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL

# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,

# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF

# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE

# SOFTWARE.

#

# Except as contained in this notice, the name of the XFree86 Project shall

# not be used in advertising or otherwise to promote the sale, use or other

# dealings in this Software without prior written authorization from the

# XFree86 Project.

#

# **********************************************************************

# Refer to the XF86Config(4/5) man page for details about the format of

# this file.

# **********************************************************************

# **********************************************************************

# DRI Section

# **********************************************************************

Section "dri"

# Access to OpenGL ICD is allowed for all users:

Mode 0666

# Access to OpenGL ICD is restricted to a specific user group:

# Group 100 # users

# Mode 0660

EndSection

# **********************************************************************

# Module section -- this section is used to specify

# which dynamically loadable modules to load.

# **********************************************************************

#

Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables

# initialisation of the XFree86-DGA extension within that module.

SubSection "extmod"

Option "omit xfree86-dga" # don't initialise the DGA extension

EndSubSection

# This loads the Type1 and FreeType font modules

Load "type1"

Load "freetype"

# This loads the GLX module

Load "glx" # libglx.a

Load "dri" # libdri.a

EndSection

# **********************************************************************

# Files section. This allows default font and rgb paths to be set

# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the

# file minus the extension (like ".txt" or ".db"). There is normally

# no need to change the default.

RgbPath"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),

# as well as specifying multiple comma-separated entries in one FontPath

# command (or a combination of both methods)

#

# If you don't have a floating point coprocessor and emacs, Mosaic or other

# programs take long to start up, try moving the Type1 and Speedo directory

# to the end of this list (or comment them out).

#

FontPath "/usr/X11R6/lib/X11/fonts/local/"

FontPath "/usr/X11R6/lib/X11/fonts/misc/"

FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"

FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"

FontPath "/usr/X11R6/lib/X11/fonts/Type1/"

FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"

FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"

FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************

# Server flags section.

# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is

# received. This may leave the console in an unusable state, but may

# provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence

# This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching

# sequences. This allows clients to receive these key events.

# Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With

# it the client can still run and fetch card and monitor attributes,

# but it will not be allowed to change them. If it tries it will

# receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device

# (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to

# change the keyboard or mouse settings (currently only xset).

# Option "AllowNonLocalModInDev"

EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))

# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.

# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the

# lines below (which are the defaults). For example, for a non-U.S.

# keyboard, you will probably want to use:

# Option "XkbModel" "pc102"

# If you have a US Microsoft Natural keyboard, you can use:

# Option "XkbModel" "microsoft"

#

# Then to change the language, change the Layout setting.

# For example, a german layout can be obtained with:

# Option "XkbLayout" "de"

# or:

# Option "XkbLayout" "de"

# Option "XkbVariant" "nodeadkeys"

#

# If you'd like to switch the positions of your capslock and

# control keys, use:

# Option "XkbOptions" "ctrl:swapcaps"

# Or if you just want both to be control, use:

# Option "XkbOptions" "ctrl:nocaps"

#

Identifier "Keyboard0"

Driver "kbd"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"

EndSection

Section "InputDevice"

Identifier "Mouse0"

Driver "mouse"

Option "Protocol" "IMPS/2"

Option "Device" "/dev/input/mice"

Option "ZAxisMapping" "4 5"

Option "Emulate3Buttons" "yes"

EndSection

# Any number of monitor sections may be present

Section "Monitor"

Identifier "Monitor0"

HorizSync 31.5 - 68.7

VertRefresh 60 - 85

Option "DPMS"

# === mode lines based on GTF ===

# VGA @ 100Hz

# Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync

# SVGA @ 100Hz

# Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync

# XVGA @ 100Hz

# Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync

# 1152x864 @ 60Hz

# Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync

# 1152x864 @ 85Hz

# Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync

# 1152x864 @ 100Hz

# Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync

# 1280x960 @ 75Hz

# Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync

# 1280x960 @ 100Hz

# Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017 +hsync +vsync

# SXGA @ 100Hz

# Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync

# SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz

# Modeline "GDM-1950" 109.62 1280 1336 1472 1720 1024 1024 1026 1062 -hsync -vsync

# 1600x1000 @ 60Hz

# Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync

# 1600x1000 @ 75Hz

# Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync

# 1600x1000 @ 85Hz

# Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync

# 1600x1000 @ 100Hz

# Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync

# 1600x1024 @ 60Hz

# Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync

# 1600x1024 @ 75Hz

# Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync

# 1600x1024 @ 76Hz

# Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync

# 1600x1024 @ 85Hz

# Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync

# 1920x1080 @ 60Hz

# Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync

# 1920x1080 @ 75Hz

# Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync

# 1920x1200 @ 60Hz

# Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync

# 1920x1200 @ 75Hz

# Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync

# 2048x1536 @ 60

# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync

# 2048x1536 @ 60

# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync

# 1400x1050 @ 60Hz M9 Laptop mode

# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync

# 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices

# Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync

# 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices

# Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync

EndSection

# **********************************************************************

# Graphics device section

# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"

Identifier "Standard VGA"

VendorName "Unknown"

BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override

# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver

# modules, this line instructs the server to load the specified driver

# module. Even when not using loadable driver modules, this line

# indicates which driver should interpret the information in this section.

Driver "vga"

# The BusID line is used to specify which of possibly multiple devices

# this section is intended for. When this line isn't present, a device

# section can only match up with the primary video device. For PCI

# devices a line like the following could be used. This line should not

# normally be included unless there is more than one video device

# installed.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# === ATI device section ===

Section "Device"

Identifier "ATI Graphics Adapter"

Driver "fglrx"

# ### generic DRI settings ###

# === disable PnP Monitor ===

#Option "NoDDC"

# === disable/enable XAA/DRI ===

Option "no_accel" "no"

Option "no_dri" "no"

# === misc DRI settings ===

Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr

# ### FireGL DDX driver module specific settings ###

# === Screen Management ===

Option "DesktopSetup" "0x00000000"

Option "MonitorLayout" "AUTO, AUTO"

Option "IgnoreEDID" "off"

Option "HSync2" "unspecified"

Option "VRefresh2" "unspecified"

Option "ScreenOverlap" "0"

# === TV-out Management ===

Option "NoTV" "yes"

Option "TVStandard" "NTSC-M"

Option "TVHSizeAdj" "0"

Option "TVVSizeAdj" "0"

Option "TVHPosAdj" "0"

Option "TVVPosAdj" "0"

Option "TVHStartAdj" "0"

Option "TVColorAdj" "0"

Option "GammaCorrectionI" "0x00000000"

Option "GammaCorrectionII" "0x00000000"

# === OpenGL specific profiles/settings ===

Option "Capabilities" "0x00000000"

# === Video Overlay for the Xv extension ===

Option "VideoOverlay" "on"

# === OpenGL Overlay ===

# Note: When OpenGL Overlay is enabled, Video Overlay

# will be disabled automatically

Option "OpenGLOverlay" "off"

# === Center Mode (Laptops only) ===

Option "CenterMode" "off"

# === Pseudo Color Visuals (8-bit visuals) ===

Option "PseudoColorVisuals" "off"

# === QBS Management ===

Option "Stereo" "off"

Option "StereoSyncEnable" "1"

# === FSAA Management ===

Option "FSAAEnable" "no"

Option "FSAAScale" "1"

Option "FSAADisableGamma" "no"

Option "FSAACustomizeMSPos" "no"

Option "FSAAMSPosX0" "0.000000"

Option "FSAAMSPosY0" "0.000000"

Option "FSAAMSPosX1" "0.000000"

Option "FSAAMSPosY1" "0.000000"

Option "FSAAMSPosX2" "0.000000"

Option "FSAAMSPosY2" "0.000000"

Option "FSAAMSPosX3" "0.000000"

Option "FSAAMSPosY3" "0.000000"

Option "FSAAMSPosX4" "0.000000"

Option "FSAAMSPosY4" "0.000000"

Option "FSAAMSPosX5" "0.000000"

Option "FSAAMSPosY5" "0.000000"

# === Misc Options ===

Option "UseFastTLS" "0"

Option "BlockSignalsOnLock" "on"

Option "UseInternalAGPGART" "no"

Option "ForceGenericCPU" "no"

# BusID "PCI:1:0:0" # no device found at config time

Screen 0

EndSection

# **********************************************************************

# Screen sections

# **********************************************************************

# Any number of screen sections may be present. Each describes

# the configuration of a single screen. A single specific screen section

# may be specified from the X server command line with the "-screen"

# option.

Section "Screen"

Identifier "Screen0"

Device "ATI Graphics Adapter"

Monitor "Monitor0"

DefaultDepth 24

#Option "backingstore"

Subsection "Display"

Depth 24

Modes "1024x768"

ViewPort 0 0 # initial origin if mode is smaller than desktop

# Virtual 1280 1024

EndSubsection

EndSection

# **********************************************************************

# ServerLayout sections.

# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes

# the way multiple screens are organised. A specific ServerLayout

# section may be specified from the X server command line with the

# "-layout" option. In the absence of this, the first section is used.

# When now ServerLayout section is present, the first Screen section

# is used alone.

Section "ServerLayout"

# The Identifier line must be present

Identifier "Server Layout"

# Each Screen line specifies a Screen section name, and optionally

# the relative position of other screens. The four names after

# primary screen name are the screens to the top, bottom, left and right

# of the primary screen.

Screen "Screen0"

# Each InputDevice line specifies an InputDevice section name and

# optionally some options to specify the way the device is to be

# used. Those options include "CorePointer", "CoreKeyboard" and

# "SendCoreEvents".

InputDevice "Mouse0" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"

EndSection

### EOF ###

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有