LinuxSir.cn,穿越时空的Linuxsir!

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

ati DRI问题[solved]

[复制链接]
发表于 2010-9-26 09:14:02 | 显示全部楼层 |阅读模式
新买的电脑,以下是lspci
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 06)
00:1c.7 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
01:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5700 Series]
01:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
03:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 03)
03:00.1 IDE interface: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 03)
07:01.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
07:03.0 Ethernet controller: Lite-On Communications Inc LNE100TX [Linksys EtherFast 10/100] (rev 25)
07:04.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0)


[color="Red"]显卡是 ati HD 5770,在/var/log/Xorg.0.log内有以下信息:
[    18.330] (EE) RADEON(0): Acceleration initialization failed
[    17.585] (WW) Falling back to old probe method for vesa
[    17.585] (WW) Falling back to old probe method for fbdev
[    17.586] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    18.330] (WW) RADEON(0): Direct rendering disabled

glxgears的结果非常的低,不知道如何解决:
emerge --info
Portage 2.1.9.10 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r8-x86_64-Intel-R-_Core-TM-_i5_CPU_760_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 26 Sep 2010 01:00:20 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=generic -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -mtune=generic -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo http://gentoo.gg3.net/ http://gentoo.kems.net"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en zh_CN"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-china /var/lib/layman/gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdu gif gnome gnome-keyring gnutls gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit portaudio ppds pppd python qt3support readline reflection sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host dir log_config mime rewrite mime_magic dav" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh_CN" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
发表于 2010-9-27 15:56:50 | 显示全部楼层
建议试试闭源的ati-drivers,我有一个本本是4500系列的,开源的xf86-video-ati开不了compiz-fusion,我前天刚刚换上ati-drivers,感觉还不错。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-27 22:14:49 | 显示全部楼层
闭源的ati-drivers驱动怎么安装,内核.config有什么要注意的吗?
是不是将/etc/make.conf内的VIDEO_CARDS="fglrx" 再将xorg-server的高版本mask再emerge ati-drivers就可以了?显卡是 ati HD 5770
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-27 22:18:09 | 显示全部楼层
http://en.wikipedia.org/wiki/Fglrx

google了好些天了,还没有找到合适的安装指导。

http://en.gentoo-wiki.com/wiki/Fglrx
不知道按这个做是否可行?
回复 支持 反对

使用道具 举报

发表于 2010-9-28 00:16:59 | 显示全部楼层
我的VIDEO_CARDS="fglrx radeon"

差不多,但要把内核中的KMS去掉,ati-drivers不支持kms。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-28 00:54:03 | 显示全部楼层
可以了,换成闭源的驱动了,没有用/etc/X11/xorg.conf, X可以起来了。
但有一点问题:
$ grep -e EE -e WW /var/log/Xorg.0.log
[    15.756] (WW) Warning, couldn't open module dri
[    15.756] (EE) Failed to load module "dri" (module does not exist, 0)
[    15.756] (WW) Warning, couldn't open module dri2
[    15.756] (EE) Failed to load module "dri2" (module does not exist, 0)
[    15.756] (WW) Warning, couldn't open module ati
[    15.756] (EE) Failed to load module "ati" (module does not exist, 0)
[    15.789] (WW) Falling back to old probe method for fbdev
[    15.799] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    15.934] (WW) VESA(0): Unable to estimate virtual size
[    16.080] (EE) GLX error: Can not get required symbols.
[/QUOTE]
回复 支持 反对

使用道具 举报

发表于 2010-9-28 09:42:54 | 显示全部楼层
好像加载的不是ati的驱动,你有eselect opengl set ati 吗?

可以用aticonfig --initial 生成所需要的xorg.conf,没有它的话,fglrx应该没有加载。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-28 11:09:28 | 显示全部楼层
lsmod内看到有fglrx,eselect opengl set ati已做过了。能看到ati有*号
晚上回去试试生成一个xorg.conf后情况如何。谢谢了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-29 23:39:38 | 显示全部楼层
感谢 acevery, 按你说的重新配置xorg.conf后没问题了。谢谢!!
EE都没有了,不过还有一些WW
[    17.496] (WW) Falling back to old probe method for fglrx
[    17.563] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[    17.564] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    17.702] (WW) fglrx(0): board is an unknown third ***** board, chipset is supported
[    18.705] (WW) fglrx(0): Option "VendorName" is not used
[    18.705] (WW) fglrx(0): Option "ModelName" is not used

暂时不影响使用了。
回复 支持 反对

使用道具 举报

发表于 2010-9-29 23:57:08 | 显示全部楼层
.... 没开交火的警告而已,内核里面可以去掉dri/drm的,直接用ait-drivers,不过貌似xorg-server 1.9 block 了ati-drivers,用1.8.2就没问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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