View previous topic :: View next topic |
Author |
Message |
parsim Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17494318554143dd55551c1.jpg)
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Wed Dec 06, 2006 11:46 pm Post subject: fglrx: Internal AGP is not supported in 2.6 kernel [solved] |
|
|
On amd64, 2.6.18-gentoo-r3, Xorg 7.1, ati-drivers-8.30.3-r1, nforce3 150 mobo, ATI Radeon 9600:
I no longer have DRI working. From my research, the newer ati-drivers no longer use their own internal AGP, meaning you need to enable it in the kernel. I've done that but still can't get things working.
It seems like the ati-drivers are still trying to use internal AGP. How can I fix this?
Code: | $ dmesg | grep -i agp
[fglrx] Internal AGP is not supported in 2.6 kernel. |
Code: | $ glxinfo |grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect |
Code: | $ lsmod
Module Size Used by
fglrx 467636 0
intel_agp 24832 0 |
From /var/log/X.log.0
Code: | (II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
(--) fglrx(0): VideoRAM: 131072 kByte, Type: DDR SGRAM / SDRAM
(II) fglrx(0): AGP card detected
(WW) fglrx(0): board is an unknown third party board, chipset is supported
...
(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 0x5000
(II) fglrx(0): [drm] mapped SAREA 0x5000 to 0x2ba6b79a9000
(II) fglrx(0): [drm] framebuffer handle = 0x6000
(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.30.3
(II) fglrx(0): Date: Oct 26 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.18-gentoo-r3
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0x00007000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0x5000 at 0x2ba6b79a9000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* * |
Code: | $ eselect opengl list
Available OpenGL implementations:
[1] ati *
[2] xorg-x11 |
Last edited by parsim on Thu Dec 07, 2006 11:30 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
parsim Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17494318554143dd55551c1.jpg)
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Thu Dec 07, 2006 9:20 pm Post subject: |
|
|
I don't get it. According to http://gentoo-wiki.com/Ati, I should set these kernel options:
Code: | Device Drivers --->
Character Devices --->
<M> /dev/agpgart (AGP Support)
<M> Your_AGP_Chipset_Here
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) |
... but my menuconfig looks very different:
Code: |
│ │--- /dev/agpgart (AGP Support) │ │
│ │<M> Intel 440LX/BX/GX, I8xx and E7x05 chipset support │ │
│ │< > SiS chipset support │ │
│ │< > VIA chipset support │ │
│ │< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) │ │ |
?? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
parsim Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17494318554143dd55551c1.jpg)
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Thu Dec 07, 2006 10:51 pm Post subject: |
|
|
Okay, I now suspect that my problem is that the in-kernel AGP is not working.
It should be working, since on amd64 it's now impossible to not build in-kernel AGP support.
Code: | eve boot # grep -i AGP config
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=m
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set |
But wheras everyone else seems to get messages in their dmesg output about agpgart starting up like "Linux agpgart interface v0.101 (c) Dave Jones"... I get nothing. And I think this makes the ATI driver try to use its internal one, which isn't suported any more.
How to get kernel AGP working? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
parsim Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17494318554143dd55551c1.jpg)
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Thu Dec 07, 2006 11:28 pm Post subject: |
|
|
Success!
According to this guy, you need to turn off IOMMU to enable AMD64 AGP.
This thread showed me how.
Everything now seems to be working:
Code: | $ dmesg | grep -i agp
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: AGP aperture is 32M @ 0xf0000000
[fglrx] AGP detected, AgpState = 0x1f00421b (hardware caps of chipset)
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:02:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f004312 (selected caps) |
Code: | $ glxinfo | grep direct
direct rendering: Yes |
Code: | $ lsmod
Module Size Used by
fglrx 467636 8
amd64_agp 13640 1 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|