LinuxSir.cn,穿越时空的Linuxsir!

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

郁闷,ati的驱动装不上去(搞定了;)

[复制链接]
发表于 2005-8-22 08:03:55 | 显示全部楼层 |阅读模式
下了官方站上的驱动,ati-driver-installer-8.16.20-i386.run
但是在postprocesskernel时出错,xorg根本配置不了,5555
log如下,请那位大哥告诉我怎么弄?

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.12-gentoo-r9/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r9'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8166: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8176: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6070: warning: `ati_gart_base' defined but not used
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_putminor':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:498: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:500: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:565)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_register':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:520: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:564)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:551: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_verify_area':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1428: warning: `verify_area' is deprecated (declared at include/asm/uaccess.h:105)
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST
  CC      /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.12-gentoo-r9'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
failed.
[Error] Kernel Module : Failed to install compiled kernel module - please consult readme.
发表于 2005-8-22 09:38:41 | 显示全部楼层
这个要安装gentoo的patch过的ebuild。
回复 支持 反对

使用道具 举报

发表于 2005-8-22 10:56:29 | 显示全部楼层
Don't install this driver, It will break your X system. 8.14.13 is ok. I install this driver just when it was released, but it kill my X system too many time. So I have to turn to 8.14.13 again.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-23 07:53:16 | 显示全部楼层
我用emerge ati-drivers安装了驱动,然后用frglxconfig配置了xorg.conf文件,一路拍回车,暂时不敢瞎选,可以进X,就是那种最土的界面,运行glxgears,发现居然只有100FPS左右,奇怪了,我用以前的nv GForce 4 MX440都有200~300FPS,现在是9550刷的9600,应该不会 这么少把?
而且我把glxgears的小齿轮窗口关闭了以后,glxgear还在运行,变成了700~800FPS,怪异
再问问大家,问题出在哪里?是frglxconfig有什么选错了的吗?


附:glxinfos
name of display: :0.0
display: :0  screen: 0
direct rendering: No
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_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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
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_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
回复 支持 反对

使用道具 举报

发表于 2005-8-23 19:55:21 | 显示全部楼层
ATI驱动就是这么RP
试试把/usr/lib下面的libGL.so.1备份后删除,然后重装驱动试试。
回复 支持 反对

使用道具 举报

发表于 2005-8-23 21:18:36 | 显示全部楼层
direct rendering: No
3D没有起来,当然很慢了。
回复 支持 反对

使用道具 举报

发表于 2005-8-23 22:36:21 | 显示全部楼层
有没有更新opengl引擎?
[PHP]opengl-update ati[/PHP]
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-24 13:58:03 | 显示全部楼层
解决了 谢谢大家
首先要在内核里关掉Device drivers -> Character Devices -> Direct Rendering Manager (XFree86 4.1.0 and higher DRI  support)
在<*> /dev/agpgart (AGP Support)下面选中我的主板芯片组:
  <*>   NVIDIA nForce/nForce2 chipset support
重编译内核
emerge ati-drivers
opengl-update ati
就好了

有1700FPS

不过玩quake3还是有一点点卡,隔几秒钟就定一下,麻烦啊。。。
还有就是我的dma没有打开,用hdpram -d 1 /dev/hda 时被拒绝,说权限不够。。。我用的是root啊,好像装gentoo的时候可以开dma,但是装好了以后就不行了,怎么回事。。。
另外感觉gentoo用的挺卡的,在装软件的时候几乎不能干别的,而我在freebsd下面可以开4个窗口make四个软件照看电影,是不是还有什么设置没有弄好?
回复 支持 反对

使用道具 举报

发表于 2005-8-24 19:12:20 | 显示全部楼层
我同学那里装了FreeBSD,他也感觉FreeBSD装东西比Gentoo确实又快又省资源……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-24 19:24:49 | 显示全部楼层
freebsd求的就是稳定,但是就是在牺牲应用范围的前提下。很多软件fb就不支持,我机器上就有freebsd,但是懒得装Xorg,感觉终端界面才是原汁原味的freebsd
回复 支持 反对

使用道具 举报

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

本版积分规则

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