哪位知道nVidia驱动的Opition选项怎么弄?
不知道大家有没有注意到nVidia显卡驱动的那个很长的Readme文件中有提到一些显卡的选项设置,比如启动时是否显示Logo等,哪位大虾能解释一下功能和在哪里添加这些设置吗?下面是其中一段:
The following driver options are supported by the NVIDIA X driver.
They may be specified either in the Screen or Device sections of the X
config file.
Option "NvAGP" "integer"
Configure AGP support. Integer argument can be one of:
0 : disable agp
1 : use NVIDIA's internal AGP support, if possible
2 : use AGPGART, if possible
3 : use any agp support (try AGPGART, then NVIDIA's AGP)
Please note that NVIDIA's internal AGP support cannot
work if AGPGART is either statically compiled into your
kernel or is built as a module, but loaded into your
kernel (some distributions load AGPGART into the kernel
at boot up).Default: 3 (the default was 1 until after
1.0-1251).
Option "NoLogo" "boolean"
Disable drawing of the NVIDIA logo splash screen at
X startup.Default: the logo is drawn.
Option "RenderAccel" "boolean"
Enable or disable hardware acceleration of the RENDER
extension.THIS OPTION IS EXPERIMENTAL.ENABLE IT AT YOUR
OWN RISK.There is no correctness test suite for the
RENDER extension so NVIDIA can not verify that RENDER
acceleration works correctly. Default: hardware
acceleration of the RENDER extension is disabled.
Option "NoRenderExtension" "boolean"
Disable the RENDER extension.Other than recompiling
the X-server, XFree86 does not seem to have another way of
disabling this.Fortunatly, we can control this from the
driver so we export this option.This is useful in depth
8 where RENDER would normally steal most of the default
colormap. Default: RENDER is offered when possible.
...... 在xorg.conf或XF86Config.conf中的
Section "Device"段里
如:
Option "NoLogo" "1" 原来如此啊,多谢。
再问一句,Option "RenderAccel" "boolean"等等是使用硬件加速吗,能提高显卡性能吗? 原来如此啊,多谢。
再问一句,Option "RenderAccel" "boolean"等等是使用硬件加速吗,能提高显卡性能吗?
没错,就是硬件加速,加上吧。 多谢 :wink: Option "RenderAccel" "boolean"
Enable or disable hardware acceleration of the RENDER
extension. THIS OPTION IS EXPERIMENTAL. ENABLE IT AT YOUR
OWN RISK. There is no correctness test suite for the
RENDER extension so NVIDIA can not verify that RENDER
acceleration works correctly. Default: hardware
acceleration of the RENDER extension is disabled.
见到了吗?这个还只是体验功能,小心点用 我曾专门编译内核多次,内核的AGPGART和NV驱动内置的NVAGP性能用glxgears测试可以说都一样,就算是关掉AGP也只有1%左右的差距。当然这与测试工具不够全面有关系。见附件图片
从这次测试后,我编译内核时就不选AGP了,用nvidia驱动内置的AGP,这样还能让内核更小些
如果你想使用xorg6.8的阴影和透明的话,一定要开
Option "RenderAccel" "true"
否则会很慢
如果你想让OpenGL的窗口程序阴影后还不会花,你还需要
Option "AllowGLXWithComposite" "true"
还有其他一些选项
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "NoFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
#Option "RenderAccel" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" # [<bool>]
#Option "TwinViewOrientation" # <str>
#Option "SecondMonitorHorizSync" # <str>
#Option "SecondMonitorVertRefresh" # <str>
#Option "MetaModes" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "ForceEmulatedOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
#Option "CustomEDID-CRT-0" # <str>
#Option "CustomEDID-CRT-1" # <str>
#Option "CustomEDID-DFP-0" # <str>
#Option "CustomEDID-DFP-1" # <str>
#Option "CustomEDID-TV-0" # <str>
#Option "CustomEDID-TV-1" # <str>
#Option "TVOverScan" # <f>
#Option "IgnoreDisplayDevices" # <str>
#Option "MultisampleCompatibility" # [<bool>]
#Option "RegistryDwords" # <str>
#Option "RegistryBinary" # <str>
#Option "NoPowerConnectorCheck" # [<bool>]
#Option "AllowDFPStereo" # [<bool>]
#Option "XvMCUsesTextures" # [<bool>]
#Option "HorizSync" # <str>
#Option "VertRefresh" # <str>
#Option "AllowGLXWithComposite" # [<bool>]
Identifier"Card0"
Driver "nvidia"
VendorName"nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
我曾专门编译内核多次,内核的AGPGART和NV驱动内置的NVAGP性能用glxgears测试可以说都一样,就算是关掉AGP也只有1%左右的差距。当然这与测试工具不够全面有关系。见附件图片
从这次测试后,我编译内核时就不选AGP了,用nvidia驱动内置的AGP,这样还能让内核更小些
如果你想使用xorg6.8的阴影和透明的话,一定要开
Option "RenderAccel" "true"
否则会很慢
如果你想让OpenGL的窗口程序阴影后还不会花,你还需要
Option "AllowGLXWithComposite" "true"
glxgear还是太简单,它的数据不能代表整体3D性能,只能说代表部分3D性能;内核的agpgart比nvidia的稳定,在某些机器上如果使用nvidia的agp可能x会启不了 我曾专门编译内核多次,内核的AGPGART和NV驱动内置的NVAGP性能用glxgears测试可以说都一样,就算是关掉AGP也只有1%左右的差距。当然这与测试工具不够全面有关系。见附件图片
从这次测试后,我编译内核时就不选AGP了,用nvidia驱动内置的AGP,这样还能让内核更小些
如果你想使用xorg6.8的阴影和透明的话,一定要开
Option "RenderAccel" "true"
否则会很慢
如果你想让OpenGL的窗口程序阴影后还不会花,你还需要
Option "AllowGLXWithComposite" "true"
glxgear还是太简单,它的数据不能代表整体3D性能,只能说代表部分3D性能;内核的agpgart比nvidia的稳定,在某些机器上如果使用nvidia的agp可能x会启不了
举个例子看看
另外我觉得如果内核编进了agppart的话,是无论如何也无法用到nvagp的 请教如何在/etc/X11/XF86config里配游戏杆?
我的是红箭2号usb2.0的,在xmms和gxmame都可使用
在/etc/X11/XF86config里配游戏杆如下:
Section "InputDevice"
Identifier "USBJS"
Driver "js_x"
Option "Device" "/dev/input/js0"
EndSection
#Austgame USB FLYING STICK (/dev/input/js0)
可是只有xmms和gxmame和KDE 控制中心-->外设 --->游戏杆.可使用,别的地方不可以, 如opera..... 没那设备,不知道,如果你把游戏杆寄给我用的话,也许有希望 :mrgreen: 这么强的帖子,为啥不加精华呢? :mrgreen::mrgreen: 这么强的帖子,为啥不加精华呢? :mrgreen::mrgreen:
哎,我走到哪,就精到哪,人强没办法啊 :mrgreen: 还有其他一些选项
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "NoFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
#Option "RenderAccel" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" # [<bool>]
#Option "TwinViewOrientation" # <str>
#Option "SecondMonitorHorizSync" # <str>
#Option "SecondMonitorVertRefresh" # <str>
#Option "MetaModes" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "ForceEmulatedOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
#Option "CustomEDID-CRT-0" # <str>
#Option "CustomEDID-CRT-1" # <str>
#Option "CustomEDID-DFP-0" # <str>
#Option "CustomEDID-DFP-1" # <str>
#Option "CustomEDID-TV-0" # <str>
#Option "CustomEDID-TV-1" # <str>
#Option "TVOverScan" # <f>
#Option "IgnoreDisplayDevices" # <str>
#Option "MultisampleCompatibility" # [<bool>]
#Option "RegistryDwords" # <str>
#Option "RegistryBinary" # <str>
#Option "NoPowerConnectorCheck" # [<bool>]
#Option "AllowDFPStereo" # [<bool>]
#Option "XvMCUsesTextures" # [<bool>]
#Option "HorizSync" # <str>
#Option "VertRefresh" # <str>
#Option "AllowGLXWithComposite" # [<bool>]
Identifier"Card0"
Driver "nvidia"
VendorName"nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
其实只要安装了nvidia的驱动以后。用
Xorg -configure
以后在当前目录下得到的xorg.conf.new就包含针对你显卡的那一堆Opition了
页:
[1]