feiqia 发表于 2006-6-15 00:29:25

还是一个老问题

装完ATI 8.25.18驱动之后 一切都好了,刷新率也上来了.分辩率也对了.就是不能开3D的软件,连# glxgears 都会直接死掉.我用的是铭宣X1300的显卡.应该是非公版的显卡.刷一下显卡BIOS会不会有帮助呢? 等下进ML,顺便把xorg.conf 贴出来看看,大家帮我看看有没有问题.谢谢啦! :o

feiqia 发表于 2006-6-15 00:34:11

# XFree86 4 configuration created by MagicInstaller.

Section "ServerLayout"
        Identifier   "Default Layout"
        Screen      0"aticonfig-Screen" 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"
        Load"dri"
EndSection

Section "InputDevice"
        Identifier"Keyboard0"
        Driver      "kbd"
        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    "Samsung SyncMaster 793DF/793MB"
        HorizSync    30.0 - 71.0
        VertRefresh50.0 - 160.0
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor"
        Option          "VendorName" "ATI Proprietary Driver"
        Option          "ModelName" "Generic Autodetecting Monitor"
        Option          "DPMS" "true"
EndSection

Section "Device"
        Identifier"Videocard0"
        Driver      "vesa"
        VendorName"Videocard vendor"
        BoardName   "VESA driver (generic)"
        VideoRam    16384
EndSection

Section "Device"
        Identifier"aticonfig-Device"
        Driver      "fglrx"
        Option          "VideoOverlay" "on"
        Option          "OpenGLOverlay" "off"
        Option          "DesktopSetup" "single"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen"
        Device   "aticonfig-Device"
        Monitor    "aticonfig-Monitor"
        DefaultDepth   24
        SubSection "Display"
                Viewport   0 0
                Depth   24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
                Mode 0666
         EndSection

feiqia 发表于 2006-6-15 09:23:00

没人帮我看下吗,哎呀.又要沉掉了.
无奈!

superman 发表于 2006-6-15 09:30:13

偶也是新手,帮不了你

feiqia 发表于 2006-6-15 09:47:14

感动啊 终于等到有人回了 :wink:

northaddicted 发表于 2006-6-15 11:27:49

庵也是新手,所以给你的建议就是别装驱动了。装ATI的驱动,弄得不好会使你怒火中烧然后彻底绝望。
反正没驱动也挺好,linux里面没有多少3d游戏,要玩游戏,可以去win下面玩。
当然,这么好的显卡,不装驱动,心态容易失衡。
我觉得mandriva2006在ATI驱动方面挺好的,安装程序里面就有3d驱动的安装,很省心。

oakville 发表于 2006-6-15 12:26:37

好像在Device段有个rending什么的选项要打开,另外你的Device和Monitor怎么都有两个?把vesa那个注释掉看看

jiangtao9999 发表于 2006-6-15 14:08:08

glxinfo ?

dogking 发表于 2006-6-15 18:11:58

#glxinfo | grep rendering
看看是yes还是no.
看你的配置文件。应该是打开了

toytrain 发表于 2006-6-15 19:50:34


Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "VESA driver (generic)"
VideoRam 16384
EndSection

注释掉试试

feiqia 发表于 2006-6-15 22:31:53


Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "VESA driver (generic)"
VideoRam 16384
EndSection

注释掉试试
不行啊 我把这项去掉了 结果还是一用3D就死机了哦
另外
# glxinfo | grep rendering
direct rendering: Yes

如果是glxinfo的话
# glxinfo
name of display: :0.0
display: :0screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
    GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1300 Series Generic
OpenGL version string: 2.0.5814 (8.25.18)
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
    GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
    GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,
    GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
    GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
    GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
    GL_ARB_vertex_shader, GL_ARB_window_pos, GL_ARB_draw_buffers,
    GL_ATI_draw_buffers, GL_ATI_element_array, GL_ATI_envmap_bumpmap,
    GL_ATI_fragment_shader, GL_ATI_map_object_buffer, GL_ATI_separate_stencil,
    GL_ATI_shader_texture_lod, GL_ATI_texture_compression_3dc,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float,
    GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object,
    GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams,
    GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
    GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
    GL_EXT_texgen_reflection, GL_EXT_texture3D,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
    GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, 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 24 tc0 320 ry.88880 248 16 16 16 161 0 None
0x24 24 tc0 320 r..88880 248 16 16 16 161 0 None
0x25 24 tc0 320 ry.88880 240 16 16 16 161 0 None
0x26 24 tc0 320 r..88880 240 16 16 16 161 0 None
0x27 24 tc0 320 ry.88880 24800001 0 None
0x28 24 tc0 320 r..88880 24800001 0 None
0x29 24 tc0 320 ry.88880 24000001 0 None
0x2a 24 tc0 320 r..88880 24000001 0 None
0x2b 24 tc0 320 ry.88880 248 16 16 16 161 0 None
0x2c 24 tc0 320 r..88880 248 16 16 16 161 0 None
0x2d 24 tc0 320 ry.88880 240 16 16 16 161 0 None
0x2e 24 tc0 320 r..88880 240 16 16 16 161 0 None
0x2f 24 tc0 320 ry.88880 24800002 1 None
0x30 24 tc0 320 r..88880 24800002 1 None
0x31 24 tc0 320 ry.88880 24000002 1 None
0x32 24 tc0 320 r..88880 24000002 1 None
0x33 24 tc0 320 ry.88880 248 16 16 16 161 0 None
0x34 24 tc0 320 r..88880 248 16 16 16 161 0 None
0x35 24 tc0 320 ry.88880 240 16 16 16 161 0 None
0x36 24 tc0 320 r..88880 240 16 16 16 161 0 None
0x37 24 tc0 320 ry.88880 24800004 1 None
0x38 24 tc0 320 r..88880 24800004 1 None
0x39 24 tc0 320 ry.88880 24000004 1 None
0x3a 24 tc0 320 r..88880 24000004 1 None
0x3b 24 tc0 320 ry.88880 248 16 16 16 161 0 None
0x3c 24 tc0 320 r..88880 248 16 16 16 161 0 None
0x3d 24 tc0 320 ry.88880 240 16 16 16 161 0 None
0x3e 24 tc0 320 r..88880 240 16 16 16 161 0 None
0x3f 24 tc0 320 ry.88880 24800006 1 None
0x40 24 tc0 320 r..88880 24800006 1 None
0x41 24 tc0 320 ry.88880 24000006 1 None
0x42 24 tc0 320 r..88880 24000006 1 None
0x43 24 dc0 320 ry.88880 248 16 16 16 161 0 None
0x44 24 dc0 320 r..88880 248 16 16 16 161 0 None
0x45 24 dc0 320 ry.88880 240 16 16 16 161 0 None
0x46 24 dc0 320 r..88880 240 16 16 16 161 0 None
0x47 24 dc0 320 ry.88880 24800001 0 None
0x48 24 dc0 320 r..88880 24800001 0 None
0x49 24 dc0 320 ry.88880 24000001 0 None
0x4a 24 dc0 320 r..88880 24000001 0 None
0x4b 24 dc0 320 ry.88880 248 16 16 16 161 0 None
0x4c 24 dc0 320 r..88880 248 16 16 16 161 0 None
0x4d 24 dc0 320 ry.88880 240 16 16 16 161 0 None
0x4e 24 dc0 320 r..88880 240 16 16 16 161 0 None
0x4f 24 dc0 320 ry.88880 24800002 1 None
0x50 24 dc0 320 r..88880 24800002 1 None
0x51 24 dc0 320 ry.88880 24000002 1 None
0x52 24 dc0 320 r..88880 24000002 1 None
0x53 24 dc0 320 ry.88880 248 16 16 16 161 0 None
0x54 24 dc0 320 r..88880 248 16 16 16 161 0 None
0x55 24 dc0 320 ry.88880 240 16 16 16 161 0 None
0x56 24 dc0 320 r..88880 240 16 16 16 161 0 None
0x57 24 dc0 320 ry.88880 24800004 1 None
0x58 24 dc0 320 r..88880 24800004 1 None
0x59 24 dc0 320 ry.88880 24000004 1 None
0x5a 24 dc0 320 r..88880 24000004 1 None
0x5b 24 dc0 320 ry.88880 248 16 16 16 161 0 None
0x5c 24 dc0 320 r..88880 248 16 16 16 161 0 None
0x5d 24 dc0 320 ry.88880 240 16 16 16 161 0 None
0x5e 24 dc0 320 r..88880 240 16 16 16 161 0 None
0x5f 24 dc0 320 ry.88880 24800006 1 None
0x60 24 dc0 320 r..88880 24800006 1 None
0x61 24 dc0 320 ry.88880 24000006 1 None
0x62 24 dc0 320 r..88880 24000006 1 None


大家再给点建议吧

feiqia 发表于 2006-6-16 10:09:38

好像在Device段有个rending什么的选项要打开,另外你的Device和Monitor怎么都有两个?把vesa那个注释掉看看
哪个 Monitor选项有两个应该没问题吧

wall_john 发表于 2006-6-16 11:09:53

从你上面的glxinfo | grep rendering好像是开启了DIRECT RENDER了。
怪怪的。

看看X启动日志中是不是这样的。
cat /var/log/Xorg.0.log | grep -i 'DRI initialization successfull'
(II) fglrx(0): DRI initialization successfull!

如果这样没问题,看看
ldd /usr/bin/glxgears| grep -i GL.so
libGL.so.1 => /usr/X11R6/lib/libGL.so.1
看看这个GL是不是ATI的
strings /usr/X11R6/lib/libGL.so.1 | grep __fgl_gl | more
__fgl_glAccum
__fgl_glapi_get_dispatch
__fgl_glAlphaFunc
__fgl_glArrayElementEXT
__fgl_glBegin
__fgl_glBitmap
__fgl_glBlendFunc
__fgl_glCallList
__fgl_glCallLists
__fgl_glClear
__fgl_glClearAccum
....

如果上面都没问题,那只能到www.ati.com上面去上报BUG了。

feiqia 发表于 2006-6-16 12:01:25

从你上面的glxinfo | grep rendering好像是开启了DIRECT RENDER了。
怪怪的。

看看X启动日志中是不是这样的。
cat /var/log/Xorg.0.log | grep -i 'DRI initialization successfull'
(II) fglrx(0): DRI initialization successfull!

如果这样没问题,看看
ldd /usr/bin/glxgears| grep -i GL.so
libGL.so.1 => /usr/X11R6/lib/libGL.so.1
看看这个GL是不是ATI的
strings /usr/X11R6/lib/libGL.so.1 | grep __fgl_gl | more
__fgl_glAccum
__fgl_glapi_get_dispatch
__fgl_glAlphaFunc
__fgl_glArrayElementEXT
__fgl_glBegin
__fgl_glBitmap
__fgl_glBlendFunc
__fgl_glCallList
__fgl_glCallLists
__fgl_glClear
__fgl_glClearAccum
....

如果上面都没问题,那只能到www.ati.com上面去上报BUG了。
在/usr/bin/里面没有找到glxgears 我的在/usr/X11R6/bin/ 里面 然后修改一下
#ldd /usr/X11R6/bin/glxgears | grep -i GL.so
/usr/X11R6/bin/glxgears: error while loading shared libraries: /usr/X11R6/lib/libGL.so.1: file too short
出现了错误

wall_john 发表于 2006-6-16 12:15:22

有可能是/usr/X11R6/lib/libGL.so.1的问题,看看这个文件是不是破损了。

奇怪,怎么glxinfo有可以呢?看看这个的输出怎么样。
ldd /usr/X11R6/bin/glxinfo | grep -i GL.so
页: [1] 2
查看完整版本: 还是一个老问题