/etc/X11/xorg.conf
# XFree86 4 configuration created by MagicInstaller.
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/share/fonts/default/Type1"
FontPath "/usr/share/fonts/ttf/zh_CN"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XbkModel" "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" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Sony CPD-15SF9"
HorizSync 24.0 - 70.0
VertRefresh 50.0 - 120.0
EndSection
Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9000"
VideoRam 65536
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display24"
Depth 24
Modes "1024x768"
EndSubSection
EndSection 加上注意的那个
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri" <---注意这里
Load "v4l"
文件最后加上下面内容。
Section "DRI"
Group 0
Mode 0666
EndSection 好。。。我再试一下。。。谢谢 按照你所说的修改,修改完成后就进不了XWINDOWS,为什么?? <---注意这里
文件最后加上下面内容。
不要加入这些文字!!!!
sorry!
还要最后应该有个n!
Section "DRI"
Group 0
Mode 0666
EndSection 终端下面
输入
root
密码
没有显示的,照输入密码。
输入
cce
(如果加上了上面的中文的话就输入,没有加上的话没有输入的必要)
输入
vi /ect/X11/xorg.conf
按
a
修改需要更改或删除对东西!
按
Esc
再按
Shift+zz
输入
startx 哦哦哦。。。我再试一下。。哪个Load "v4l"都要加上去吗?
谢谢啊。。。 这次不怕出错了。。不知是不是开了3D呢??
不过我运行哪个3D桌球也顺畅了。。应该有了吧。。。
谢谢啊。。。 如果有摄像头或电视卡,就加上去吧!
如果没有的话加不加无所谓!喜欢就加吧,方便以后使用摄像头! 哦。好吧。。。谢谢啊。。。 这次不怕出错了。。不知是不是开了3D呢??
不过我运行哪个3D桌球也顺畅了。。应该有了吧。。。
谢谢啊。。。
已经是驱动3d的一个验证实例了!
glxgears
也应该提升了不少!
3d(GL)屏保也应该可以流畅了。
glxinfo | grep rendering
也应该显示
direct rendering: Yes 哦。。。不错。。回去试一下。。。呵呵。。。 # glxgears
5837 frames in 5.0 seconds = 1167.264 FPS
5070 frames in 5.0 seconds = 1013.879 FPS
5905 frames in 5.1 seconds = 1155.103 FPS
5464 frames in 5.0 seconds = 1092.711 FPS
4683 frames in 5.1 seconds = 924.501 FPS
5094 frames in 5.0 seconds = 1018.714 FPS
7232 frames in 5.0 seconds = 1446.374 FPS
# glxinfo | grep rendering
direct rendering: Yes
按你说的做了。。真的是一样啊。。好。。谢谢你啊。。。。。
页:
1
[2]