首先是我的显卡是什么显卡。
cheng@chpc:~$ lspci | grep VGA
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6310]
cheng@chpc:~$
我的显卡是Radeon HD 6310,pci显卡,集成显卡。
CONFIG_AGP_AMD64该项仅适用于如下AMD处理器:(1)AMD K8微架构CPU[cpu family : 15]
(2)AMD K10微架构CPU[cpu family : 16]
(3)AMD 推土机微架构CPUk即是k15架构[cpu family : 21 并且 model: 小于15
我的是k14芯片组cpu family 是20
可以用cat /proc/cpuinfo得到cpu family
可以用lspci看看芯片组的情况,下面显示是amd k14芯片组
cheng@chpc:~$ lspci | grep -i host\ bridge
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
config_vesa 应该选上不然会出错
[ 21.343743] input: HD-Audio Generic HDMI as /devices/pci0000:00/0000:00:01.1/sound/card0/input6
[ 21.349989] input: HDA ATI SB Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input7
[ 21.350160] input: HDA ATI SB Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input8
[ 21.505568] Request for unknown module key 'Magrathea: Glacier signing key: 6f72b1f5a4c879b64f8cbeb8ebec31a32d87e55a' err -11
[ 21.511318] radeon: Unknown symbol cfb_copyarea (err 0)
[ 21.522742] radeon: Unknown symbol cfb_imageblit (err 0)
[ 21.522941] radeon: Unknown symbol cfb_fillrect (err 0)
cheng@chpc:~$ sudo lshw -c video
[sudo] password for cheng:
*-display
description: VGA compatible controller
product: Wrestler [Radeon HD 6310]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 1
bus info: pci@0000:00:01.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:26 memory:c0000000-cfffffff ioport:f000(size=256) memory:feb00000-feb3ffff
cheng@chpc:~$