rqn2004
发表于 2006-5-4 16:57:45
再试下
rqn2004
发表于 2006-5-4 19:02:08
还是不行。看了/var/log/Xorg.0.log似乎是启动了直接渲染,但fglrxinfo还是mesa
rqn2004
发表于 2006-5-4 19:03:17
无赖一下,贴出来让大家看看有没有问题。
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:2:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0x2000
(II) fglrx(0): [drm] mapped SAREA 0x2000 to 0xb6f38000
(II) fglrx(0): [drm] framebuffer handle = 0x3000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.24.8
(II) fglrx(0): Date: Apr 11 2006
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.15.3
(II) fglrx(0): Build-Kernel MODVERSIONS: yes
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0x00004000
(II) fglrx(0): [agp] Mode=0x1f00421b bridge: 0x10de/0x01e0
(II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
(II) fglrx(0): [agp] AGP v3 disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f00431a
(II) fglrx(0): [agp] AGP protocol is enabled for graphics board. (cmd=0x1f004312)
(II) fglrx(0): [agp] graphics chipset has AGP v3.0 (native mode)
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0x00008000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xd8000000 FBMappedSize: 0x00501000
(II) fglrx(0): Splitting WC range: base: 0xd8000000, size: 0x501000
(II) fglrx(0): Splitting WC range: base: 0xd8400000, size: 0x101000
(==) fglrx(0): Write-combining range (0xd8500000,0x1000)
(==) fglrx(0): Write-combining range (0xd8400000,0x101000)
(==) fglrx(0): Write-combining range (0xd8000000,0x501000)
(II) fglrx(0): FBMM initialized for area (0,0)-(1024,1281)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1024,768) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(==) fglrx(0): Using hardware cursor (scanline 768)
(II) fglrx(0): Largest offscreen area available: 1024 x 505
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Solid Lines
Dashed Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
24 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x1
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(II) fglrx(0): Interrupt handler installed at IRQ 177.
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "IMPS/2"
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(**) Mouse0: SmartScroll: 1
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Keyboard0: XkbRules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: ps2EnableDataReporting: succeeded
jiangtao9999
发表于 2006-5-4 19:11:41
:roll:
log 里没错误。
rqn2004
发表于 2006-5-4 19:18:58
那就怪了,是怎么回事呢?
rpwt ? 8O8O
jiangtao9999
发表于 2006-5-4 19:23:44
很有可能………………
你在字符界面 init 3 后,重新安装试试。
rqn2004
发表于 2006-5-4 20:28:10
已经解决。程序也可以正常运行了。
问题还是和刚开始发现的一样。哈
rpm包的路径有问题。我是看了官方包才查觉的。
jiangtao9999
发表于 2006-5-4 20:34:19
要用 .run 的………………
rqn2004
发表于 2006-5-4 21:03:41
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
display: :0.0screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
刚才发现只有root 才能加速。难道是权限不够 ?
rqn2004
发表于 2006-5-4 21:23:41
看了下我的ubuntu的xorg.conf,加了一段
Section "DRI"
Mode 0666
EndSection
就可以用了
rqn2004
发表于 2006-5-4 21:27:32
源里面的驱动真的有问题的。里面的文件位置错了
我装完后,重启电脑,x起不来。报告找不到fglrx模块。这个明显是放错位置了嘛。我把它从
/usr/lib/xorg 拷到/usr/X11R6/lib就可以找到了。但是还是没加速。我看看就发现/lib/ati-fglrx
里面的东西应该是拷到/usr/X11R6/lib 的,就再拷过去。然后就能用了。
rqn2004
发表于 2006-5-4 21:29:33
要不要我帮忙打包?其实改下就好了。
sejishikong
发表于 2006-5-4 21:32:42
那样最好了.
下载srpm改就行了.
rqn2004
发表于 2006-5-4 21:48:37
我刚更新了源,已经有人改了,出了一个新的包。还是有点问题
rqn2004
发表于 2006-5-5 03:14:29
源里面的包还有点问题,装上还会没有3d加速。
原因是没有覆盖掉mesa的libGL.so
要手动覆盖,还有就是给xorg.conf加上一段权限的设置。就是上面加的那段。
ATI的手册上面说的。
File conflict error message during rpm install
This information applies to the ATI Proprietary Linux Driver.
The following error message may appear while trying to install the RPM package:
file /usr/X11R6/lib/libGL.so.1.2 from install of fglrx-4.x.x-x.x.x conflicts with file from package XFree86-Mesa-libGL-4.x.x-x
This error (or similar) occurs when a third party OpenGL solution is already installed in the system. XFree86-Mesa-libGL is a common example.
The ATI Proprietary Linux Driver is meant to replace other "software only" OpenGL solutions in order to provide hardware 3D acceleration. The ATI libGL is backward compatible to the default XFree86-Mesa.
This issue can be resolved in either of two ways:
Force the ATI driver install to overwrite existing files
Remove the other OpenGL software BEFORE installing ATI drivers
Force the ATI driver install to overwrite existing files
We recommend using the --force rpm option to install the ATI Proprietary Linux driver as follows:
rpm -Uh --force <ati_package_name>.rpm
This will force the installer to overwrite any existing files including the conflicting libGL, which should allow the ATI driver to install properly.
If for some reason you do not wish to use the --force rpm option, then you may still work around this error message by removing the other (non-ATI) OpenGL software first, as explained below.
Remove existing OpenGL software BEFORE installing ATI drivers
Ensure that no 3D OpenGL programs are running
Remove the existing libGL installation using the following command:
rpm -e --nodeps XFree86-Mesa-libGL
(You need the --nodeps option because some screen savers, qt-3, and some parts of XFree86 might depend on libGL. Installing the ATI package afterwards will restore these dependencies.)
Reinstall the ATI Proprietary Linux driver
rpm -Uh <ati_package_name>.rpm
(you may ignore the --force option in this case, since the conflicting libGL has been removed already)