LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1887|回复: 3

怎样打开NV显卡的3D硬件加速?

[复制链接]
发表于 2003-10-5 17:44:50 | 显示全部楼层 |阅读模式
我在RedHat9下用nvidia的G2MX400显卡,装了驱动,nvidia的欢迎屏幕也出来了,但是还是不能打开硬件加速,????
求解〉〉
发表于 2003-10-5 18:09:10 | 显示全部楼层
把/etc/X11/XF86Config文件帖上来一下。

多谢。
发表于 2003-10-5 19:13:24 | 显示全部楼层
如果是使用nvidia官方驱动,虽然在有关配置程序中硬件加速是灰色不可选,但硬件加速已经打开了,配置程序是不能对nvidia官方驱动进行配置的。
想确认硬件加速是否打开,请执行:glxinfo  在程序的输出信息中查找direct render ,如果是yes,便表示硬件加速已经打开了。
发表于 2007-1-19 00:07:20 | 显示全部楼层
我的显卡是6200 AGP  ,direct render显示为no ,系统opensuse 10.2,xgl可以打开
/etc/X11/xorg.conf文件内容是
# /.../
# SaX generated X11 config file
# Created on: 2007-01-18T23:54:07+0800.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  FontPath     "unix/:7100"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
  Option       "IgnoreABI" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "v4l"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "rotocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImPS/2 Generic Wheel Mouse"
  Option       "rotocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  HorizSync    31-48
  Identifier   "Monitor[0]"
  ModelName    "1024X768@60HZ"
  Option       "DPMS"
  VendorName   "--> VESA"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline         "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1024x768"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x768"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1024x768"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "GeForce 6200 (0x0221)"
  BusID        "1:0:0"
  Driver       "fglrx"
  Identifier   "Device[0]"
  Option       "FSAAMSPosY0" "0.000000"
  Option       "FSAAMSPosX1" "0.000000"
  Option       "Stereo" "off"
  Option       "FSAAScale" "1"
  Option       "FSAAMSPosY4" "0.000000"
  Option       "CapabilitiesEx" "0x00000000"
  Option       "no_dri" "no"
  Option       "seudoColorVisuals" "off"
  Option       "FSAAMSPosX0" "0.000000"
  Option       "FSAAMSPosX2" "0.000000"
  #Option       "NoDDC"
  Option       "FSAAMSPosY5" "0.000000"
  Option       "VideoOverlay" "on"
  Option       "OpenGLOverlay" "off"
  Option       "KernelModuleParm" "agplock=0"
  Option       "CenterMode" "off"
  Option       "no_accel" "no"
  Option       "FSAADisableGamma" "no"
  Option       "FSAAMSPosX4" "0.000000"
  Option       "FSAAMSPosY2" "0.000000"
  Option       "FSAAMSPosX5" "0.000000"
  Option       "UseInternalAGPGART" "no"
  Option       "mtrr" "off"
  Option       "StereoSyncEnable" "1"
  Option       "FSAAMSPosY3" "0.000000"
  Option       "FSAAMSPosY1" "0.000000"
  Option       "FSAAMSPosX3" "0.000000"
  Option       "ForceGenericCPU" "no"
  Option       "Capabilities" "0x00000000"
  Option       "UseFastTLS" "0"
  Option       "GammaCorrectionI" "0x00000000"
  Option       "GammaCorrectionII" "0x00000000"
  Option       "FSAACustomizeMSPos" "no"
  Option       "ScreenOverlap" "0"
  Option       "BlockSignalsOnLock" "on"
  Option       "FSAAEnable" "no"
  VendorName   "NVidia"
  Option       "EnablePrivateBackZ" "no"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "DAMAGE" "no"
EndSection

希望北南版主帮忙看一下   谢了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表