LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: YSM

我的显卡ATI radeon 7000打开3D后就不能进X-Windows

[复制链接]
发表于 2003-10-9 12:43:44 | 显示全部楼层
[beinan@linux01 beinan]$ rpm -q XFree86

这样就知道XFree86的版本了,试试看。
 楼主| 发表于 2003-10-9 13:02:36 | 显示全部楼层
是 4.3.0-2的,顺便问一下这个后缀“-2”是代表什么?
发表于 2003-10-9 13:27:53 | 显示全部楼层
是版本号,也就是修正了两次
用4.3的包就行。
试一下。
 楼主| 发表于 2003-10-9 18:21:06 | 显示全部楼层
出现以下错误是怎么回事?


  1. [root@book drm]# make -f Makefile.linux
  2. === KERNEL HEADERS IN /lib/modules/2.4.20-8/build/include
  3. === SMP=0 MODULES=1 MODVERSIONS=1 AGP=1
  4. === Compiling for machine i686
  5. === WARNING
  6. === WARNING Use 2.4.x kernels ONLY !
  7. === WARNING
  8. cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -DEXPORT_SYMTAB -I/lib/modules/2.4.20-8/build/include -c gamma_drv.c -o gamma_drv.o
  9. In file included from /lib/modules/2.4.20-8/build/include/linux/irq.h:69,
  10.                  from /lib/modules/2.4.20-8/build/include/asm/hardirq.h:6,
  11.                  from /lib/modules/2.4.20-8/build/include/linux/interrupt.h:46,
  12.                  from /lib/modules/2.4.20-8/build/include/asm/highmem.h:25,
  13.                  from /lib/modules/2.4.20-8/build/include/linux/highmem.h:11,
  14.                  from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
  15.                  from /lib/modules/2.4.20-8/build/include/asm/io.h:47,
  16.                  from /lib/modules/2.4.20-8/build/include/asm/pci.h:35,
  17.                  from /lib/modules/2.4.20-8/build/include/linux/pci.h:657,
  18.                  from drmP.h:50,
  19.                  from gamma_drv.c:34:
  20. /lib/modules/2.4.20-8/build/include/asm/hw_irq.h: In function `x86_do_profile':
  21. /lib/modules/2.4.20-8/build/include/asm/hw_irq.h:195: warning: nested extern declaration of `prof_cpu_mask'
  22. /lib/modules/2.4.20-8/build/include/asm/hw_irq.h:196: warning: nested extern declaration of `_stext'
  23. In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
  24.                  from /lib/modules/2.4.20-8/build/include/asm/io.h:47,
  25.                  from /lib/modules/2.4.20-8/build/include/asm/pci.h:35,
  26.                  from /lib/modules/2.4.20-8/build/include/linux/pci.h:657,
  27.                  from drmP.h:50,
  28.                  from gamma_drv.c:34:
  29. /lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
  30. /lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
  31. In file included from gamma_drv.c:54:
  32. drm_vm.h: In function `gamma_mmap':
  33. drm_vm.h:462: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
  34. drm_vm.h:462: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
  35. drm_vm.h:462: too few arguments to function `remap_page_range_R2baf18f2'
  36. make: *** [gamma_drv.o] Error 1
复制代码
 楼主| 发表于 2003-10-10 18:29:57 | 显示全部楼层
没有人帮忙吗? :help :help
发表于 2003-10-10 18:49:52 | 显示全部楼层
最初由 YSM 发表
没有人帮忙吗? :help :help


是不是用错内核了,启动时好象是用SMP的那个内核 ,应该用普通的那个
 楼主| 发表于 2003-10-10 19:21:01 | 显示全部楼层
不知道喔!
怎么改回来?
发表于 2003-10-10 19:28:16 | 显示全部楼层
在/etc/grub.conf中,设置一下就行了。
如果不会设置,就把/etc/grub.conf帖上来
发表于 2003-10-10 19:38:16 | 显示全部楼层
為什麼不用ati 的driver 呢?
4.3 的早以出?砹
 楼主| 发表于 2003-10-10 19:54:50 | 显示全部楼层

  1. # grub.conf generated by anaconda
  2. #
  3. # Note that you do not have to rerun grub after making changes to this file
  4. # NOTICE:  You have a /boot partition.  This means that
  5. #          all kernel and initrd paths are relative to /boot/, eg.
  6. #          root (hd0,0)
  7. #          kernel /vmlinuz-version ro root=/dev/hda7
  8. #          initrd /initrd-version.img
  9. #boot=/dev/hda
  10. default=1
  11. timeout=2
  12. splashimage=(hd0,0)/grub/splash.xpm.gz
  13. title Red Hat Linux 9.0 (2.4.20-8)
  14.         root (hd0,0)
  15.         kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ vga=0x303
  16.         initrd /initrd-2.4.20-8.img
  17. title Windows 98
  18.         rootnoverify (hd0,1)
  19.         chainloader +1
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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