hxk2002 发表于 2005-6-14 14:55:56

关于ml1.2中安装845g显卡3D驱动的疑问?

(先问一下ml1.2里845g默认有3d加速吗)
下面3.b步骤应如何实现
1. Install Linux

2. Log in as root or as a superuser

3. Install kernel headers

a. For Red Hat 7.3, this is on CD2:
/RedHat/RPMS/kernel-source-2.4.18-3.i386.rpm

b. Alternately, load your kernel config file,
save the config, and run “make dep”

4. Extract the downloaded files:

a. tar –zxvf 20030106-i386-Linux.tar.gz

5. Ensure X Windows is not running

6. cd dripkg

7. ./install.sh

8. Follow the prompts; most users should be able to press
“Enter” at each prompt

9. Make a backup copy of your XF86Config-4 file

10. Modify the XF86Config-4 file by _ONE_ of three methods:

a. Use a text editor to modify section “Device” –
modify “Driver” entry to read “i810”

b. _OR_ run ‘Xconfigurator,’ selecting “Intel 830”
from the list

c. _OR_ run ‘X –configure’ the edit ~/XF86Config.new

i. Immediately after the “Monitor” line in
the "Screen" section, add
‘DefaultDepth 16’

ii. At the end of the file (if not already
there), add:

Section "DRI"
Mode 0666
EndSection

iii.Make the new config file the default by
copying it to XF86Config-4:
1. cp ~/XF86Config.new
/etc/X11/XF86Config-4

11. Log out of root or superuser

12. startx

tingxx 发表于 2005-6-14 16:36:10

我的是845gl
输入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_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: SGI
client glx version string: 1.2
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_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: 2d3D, Inc
OpenGL renderer string: Mesa DRI Intel(R) 845G 20021115 x86/MMX+/SSE2
OpenGL version string: 1.2 Mesa 5.0.2
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_transpose_matrix, GL_ARB_window_pos, 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_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_histogram,
    GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_secondary_color, GL_EXT_separate_specular_color,
    GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_object,
    GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_SGI_color_matrix,
    GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
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
----------------------------------------------------------------------
0x22 16 tc0 160 ry.56500 16000000 0 None
0x23 16 tc0 160 r..56500 16000000 0 None
0x24 16 tc0 160 ry.56500 16800000 0 Slow
0x25 16 tc0 160 r..56500 16800000 0 Slow
0x26 16 tc0 160 ry.56500 160 16 16 1600 0 Slow
0x27 16 tc0 160 r..56500 160 16 16 1600 0 Slow
0x28 16 tc0 160 ry.56500 168 16 16 1600 0 Slow
0x29 16 tc0 160 r..56500 168 16 16 1600 0 Slow
$

hxk2002 发表于 2005-6-14 17:08:19

你的显卡装的步骤是什么
我怎么装都不幸
Compiling new agpgart module...

ERROR: AGPGART module did not compile

Compiling DRM module...

ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

make -C /lib/modules/2.6.9/build SUBDIRS=/home/hxk/dripkg/agpgart-2.0 modules
make: *** /lib/modules/2.6.9/build: 没有那个文件或目录。 停止。
make: *** 错误 2
Makefile.linux:151: *** Cannot find a kernel config file。 停止。

这个 /lib/modules/2.6.9/build指向的目录/usr/src/mBuild/BUILD/kernel-2.6.9/linux-2.6.9不存在
这个是不是和kernel源码的安装有关系
我装的光盘上的 kernel_sourcecode_2.6.9.rpm 对不对

tingxx 发表于 2005-6-14 17:21:27

我都没有装,配置一下x就可以了
页: [1]
查看完整版本: 关于ml1.2中安装845g显卡3D驱动的疑问?