DIR图形加速问题以及怎么中途换显卡
大家好,我是REDHAT 9.0,2.4.30,显卡是很老的ATI Mach64 3D RageIIC,我装了Mesa6.4.2,还有DRM什么东西的(真烦),因为我现在用的一个程序需要图形加速,所以我就想办法装啊,在ATI的官网上也没有这个显卡的驱动,好像只能靠一个DRI项目来搞,我也不确定能不能加。
关键是那个安装说明写的乱七八糟的,我不知道到底怎么装。而且我也编译过了Mesa+DRM,还是3D Rendering is No.
我快疯了,中途还把X搞得无法启动。现在走另一条路,重新编译kernel把DRI选项去了,再装DRM,如果不行,我要换卡了,
也就是另一个问题,如果我换张卡,怎么确保X窗口不会进不去?
还有就是,如果有人知道怎么搞定DRI,我是说针对老显卡的,麻烦说一下。
谢谢! 现在这个B卡运行glxgears,才140FPS,如果你死劲儿拉动其他窗口,齿轮就不动了,然后就是17FPS。fainttttttt 这里很多人都是用 redhat 9的一律不回答.
换一个至少 2004 年出的 linux , 基本上你的显卡是直接安装好驱动的. 我当然也想用Fedora,只是,你知道很东东西新的容易出问题,一般都是2个系统,但是我的系统还连着数据采集卡和马达之类的,我不确定转到2.6是不是OK,也许我再去要个硬盘再说。 >>新的容易出问题
DRI驱动也是新的
>>连着数据采集卡和马达之类的
这种系统要DRI作甚?
确实有很多人为了稳定,兼容而用 rh9 , 但不是拿 rh9 玩的, 不会乱装软件.
如果你要在 rh9 上跑以前的应用, 就不要玩它, 不装 dri .
如果你要玩, 就换个 fedora . 因为我的系统的某个任务要绘制出反馈信号的波形,比如我今天早上试了一下,其实波形已经不断的获得了,但画的时候惨不忍睹,本来我转glxgears的时候,就才100多哎!一拉窗口,3个gears根本就不动了。
再加上,系统没事就去跑那几个实时任务,只在空闲的那一点时间来绘图,没有加速的时候,是这种情况:你强制来跑一下绘图任务才能得到波形,你不改变参数,基本看不到波形。
我已经基本放弃启动这个ATI Mach64的DRI功能了,我打算换一个显卡,
请大家推荐一个能在Red Hat9下,实现3D加速,安装方便的显卡系列。
Thanks! Geforce 2/4,非常容易搞,RH9下可以驱动 好,等我在Linux我来贴,DRM的手册也说过要重新编译内核的时候去掉DRI选项,我也试过。
其实主要是,那个手册写的乱七八糟的,就是那个DRI网站上的手册,1,2,3。。。8步骤,不知道是全部做呢还是按自己的需求做,乱,我就稀里糊涂的全作了,然后挂上mach64.o,也没加速。
我还是找Nv的老显卡算了,听说他加的driver installer很好。 打算换一个Geforece 2-4 generic的老卡,是不是之后去他家下一个IA32的驱动程序,然后换了卡后在命令行下,运行这个驱动程序,然后跟着提示走就可以了?
Thanks.
info obained from my systems.
Hi guys,Here is the graphic capability info. under my systems.
# glxgears
741 frames in 6.0 seconds = 123.500 FPS
700 frames in 5.0 seconds = 140.000 FPS
840 frames in 5.0 seconds = 168.000 FPS
560 frames in 6.0 seconds = 93.333 FPS
140 frames in 9.0 seconds = 15.556 FPS
140 frames in 12.0 seconds = 11.667 FPS
700 frames in 5.0 seconds = 140.000 FPS
700 frames in 5.0 seconds = 140.000 FPS
700 frames in 5.0 seconds = 140.000 FPS
560 frames in 5.0 seconds = 112.000 FPS
700 frames in 5.0 seconds = 140.000 FPS
700 frames in 5.0 seconds = 140.000 FPS
700 frames in 5.0 seconds = 140.000 FPS
700 frames in 5.0 seconds = 140.000 FPS
# glxinfo
name of display: :0.0
display: :0screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_EXT_import_context, GLX_EXT_visual_info,
GLX_EXT_visual_rating
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_draw_range_elements,
GL_EXT_multi_draw_arrays, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias, GL_SGIS_texture_border_clamp,
GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visualxbf lv rg d st colorbuffer ax dp st accumbuffermscav
id dep cl sp sz lci b rorgba bf th clrgba ns b eat
----------------------------------------------------------------------
0x23 16 tc1 160 ry.56500 16000000 0 None
0x24 16 tc1 160 ry.56500 168 16 16 1600 0 None
0x25 16 tc1 160 ry.56580 168 16 16 16 160 0 None
0x26 16 tc1 160 r..56580 168 16 16 16 160 0 None
0x27 16 dc1 160 ry.56500 16000000 0 None
0x28 16 dc1 160 ry.56500 168 16 16 1600 0 None
0x29 16 dc1 160 ry.56580 168 16 16 16 160 0 None
0x2a 16 dc1 160 r..56580 168 16 16 16 160 0 None And the content of my XF86Config file is
# XFree86 4 configuration created by redhat-config-xfree86
Section "ServerLayout"
Identifier "Default Layout"
Screen 0"Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection
Section "Files"
# RgbPath is 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.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load"dbe"
Load"extmod"
Load"fbdevhw"
Load"glx" #file the glx
Load"record"
Load"freetype"
Load"type1"
Load"dri" #file the Direct Rendering Infrastructure support.
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 "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier"Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier"DevInputMice"
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 "Gateway EV700"
DisplaySize330 240
HorizSync 30.0 - 70.0
VertRefresh50.0 - 120.0
Option "dpms"
EndSection
Section "Device"
Identifier"Videocard0"
Driver "ati"
VendorName"Videocard vendor"
BoardName "ATI Mach64 3D Rage IIC"
VideoRam 4096
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection 打算换一个Geforece 2-4 generic的老卡,是不是之后去他家下一个IA32的驱动程序,然后换了卡后在命令行下,运行这个驱动程序,然后跟着提示走就可以了?
Thanks.
xf86cfg或者
装上驱动后
再vi配置文件 打算换一个Geforece 2-4 generic的老卡,是不是之后去他家下一个IA32的驱动程序,然后换了卡后在命令行下,运行这个驱动程序,然后跟着提示走就可以了?
Thanks.
xf86cfg或者
装上驱动后
再vi配置文件
Thank you! Great idea. will do as you suggested 大部分情况下,卡一换就重启,只是x进不去而已,不必担心。
配置一下,不是很难的事情。
相信GF2/4是很好找的东西,哪怕是GF2MX200,gear的成绩都上千的
页:
[1]
2