LinuxSir.cn,穿越时空的Linuxsir!

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

在debian下安装ati显卡驱动教程

[复制链接]
 楼主| 发表于 2004-6-10 16:59:09 | 显示全部楼层
walte,怎么你的显卡也比我的快阿。早知道不买9200se了,人家说画质好。
发表于 2004-6-10 18:06:59 | 显示全部楼层
我的笔记本上的独立显卡, 32M显存的. 可能还和主板芯片组有一些关系吧?
 楼主| 发表于 2004-6-10 19:13:51 | 显示全部楼层
我知道我的为什么低了。
jason@nbfan:~$ dmesg |grep agp
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT400/KT400A/KT600 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xd0000000
看见了把,上面的是内核的agp,可以认出我的KT600,
下面这个是fglrx的AGP,只能支持KT400
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected a Via Apollo KT400 chipset in AGP v2 compat mode at 0000:00:00.0
agpgart: Detected Via Apollo KT400 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
agpgart: Found an AGP 3.5 compliant device.
jason@nbfan:~$
他用自己的AGP,而不是内核的AGP,而且他只支持kt400的AGP,我的是KT600他不支持。
就想下面这样。就等于内核的AGP他没用。
jason@nbfan:~$ dmesg |grep agp
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT400/KT400A/KT600 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xd0000000
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected a Via Apollo KT400 chipset in AGP v2 compat mode at 0000:00:00.0
agpgart: Detected Via Apollo KT400 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
agpgart: Found an AGP 3.5 compliant device.
jason@nbfan:~$
发表于 2005-1-5 09:08:35 | 显示全部楼层

我怎么在modprobe fglrx时出错了?

  1. tmacd-machine:/lib/modules/2.6.10# modprobe fglrx
  2. FATAL: Error inserting fglrx (/lib/modules/2.6.10/misc/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
复制代码


dmesg显示
tmacd-machine:/lib/modules/2.6.10# dmesg | grep fglrx
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol pci_find_class

tmacd-machine:/lib/modules/2.6.10# dmesg | grep radeon
radeonfb: Found Intel x86 BIOS ROM Image
radeonfb: Retreived PLL infos from BIOS
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=250.00 Mhz, System=200.00 MHz
radeonfb: PLL min 20000 max 40000
radeonfb: Monitor 1 type CRT found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
radeonfb: ATI Radeon AS  SDR SGRAM 128 MB

tmacd-machine:/lib/modules/2.6.10# dmesg | grep agpgart
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected NVIDIA nForce2 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xe0000000

求助
发表于 2005-1-5 11:38:17 | 显示全部楼层
我刚开始也是你这种情况,不过看了walte兄这句话,马上就搞定了。
Post by walte
感谢楼主, 我也装好了.
在些我请几个我遇到的问题及相应的处理.

我自己编译内核的, 原来把 drm 编译到内核中了, 结果 flgrx 模块无法装入, 然后我重新编译了内核把 drm 去掉了, 一切ok.

注意: 内核里的 agpgart 一定要选.

发表于 2005-1-5 12:21:05 | 显示全部楼层
有时间试一试
发表于 2005-1-5 12:33:48 | 显示全部楼层
tmacd-machine:/lib/modules/2.6.10# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.10/misc/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)问题,要打个patch。
root@4[fglrx-4.3.0-3.14.6]# cat agpgart_be.patch
--- agpgart_be.c        2004-08-21 17:25:05.000000000 +0200
+++ agpgart_be.c_       2004-10-23 19:15:33.000000000 +0200
@@ -718,7 +718,7 @@
         *        AGP devices and collect their data.
         */

-       while ((device = pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,
+       while ((device = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8,
                                        device)) != NULL) {
                pci_read_config_dword(device, 0x04, &scratch);

@@ -839,7 +839,7 @@
         *        command registers.
         */

-       while ((device = pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,
+       while ((device = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8,
                                        device)) != NULL) {
                pci_read_config_dword(device, 0x04, &scratch);

@@ -5068,7 +5068,7 @@
         *        AGP devices and collect their data.
         */

-       while ((device = pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,
+       while ((device = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8,
                                        device)) != NULL) {
                pci_read_config_dword(device, 0x04, &scratch);

@@ -5166,7 +5166,7 @@
         *        command registers.
         */

-       while ((device = pci_find_class(PCI_CLASS_DISPLAY_VGA << 8,
+       while ((device = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8,
                                        device)) != NULL) {
                pci_read_config_dword(device, 0x04, &scratch);

@@ -6418,7 +6418,7 @@
        struct pci_dev *dev = NULL;

     // locate host bridge device
-       if ((dev = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, NULL)) == NULL)
+       if ((dev = pci_get_class(PCI_CLASS_BRIDGE_HOST << 8, NULL)) == NULL)
                return -ENODEV;

        agp_bridge.dev = dev;
@@ -6935,7 +6935,7 @@
                     &agp_bridge.mode);
                                return hp_zx1_setup(dev);
                        }
-                       dev = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, dev);
+                       dev = pci_get_class(PCI_CLASS_BRIDGE_HOST << 8, dev);
                } while (dev);
                return -ENODEV;
        }
发表于 2005-1-5 18:23:13 | 显示全部楼层
Post by deng805
for bu for ati rage 128 32M ya?



同问,ait rage 128 32M的可以用吗?
发表于 2005-1-6 09:27:34 | 显示全部楼层
pxy@tmacd-machine:~$ glxgears
5074 frames in 5.0 seconds = 1014.800 FPS
5788 frames in 5.0 seconds = 1157.600 FPS
5787 frames in 5.0 seconds = 1157.400 FPS
5785 frames in 5.0 seconds = 1157.000 FPS
5782 frames in 5.0 seconds = 1156.400 FPS
5779 frames in 5.0 seconds = 1155.800 FPS
5779 frames in 5.0 seconds = 1155.800 FPS
5773 frames in 5.0 seconds = 1154.600 FPS
5780 frames in 5.0 seconds = 1156.000 FPS
5774 frames in 5.0 seconds = 1154.800 FPS

Thanks a lot!
确实是要打补丁,不过那个补丁不能直接用,我是在agpgart_be.c下面一行一行改的,幸好不多

最后一个问题:如果要改刷新频率,怎么办?我是lcd,75太高了
发表于 2005-1-6 09:38:36 | 显示全部楼层
Everything is Ok
用搜索搞定了刷新频率
感谢大家了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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