View previous topic :: View next topic |
Author |
Message |
Tsuna Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jan 2005 Posts: 147
|
Posted: Sun Jun 26, 2005 10:08 pm Post subject: How to use fglrx internal AGPGART module? |
|
|
Hello people
I have Direct Rendering working on my install but I recently noticed this in syslog:
Code: | Jun 26 23:55:07 TsunaXbook kernel: allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] Maximum main memory to use for locked dma buffers: 929 MBytes.
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] Internal AGP support requested, but kernel AGP support active.
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] Have to use kernel AGP support to avoid conflicts.
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] AGP detected, AgpState = 0x1f000217 (hardware caps of chipset)
Jun 26 23:55:07 TsunaXbook kernel: agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Jun 26 23:55:07 TsunaXbook kernel: agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
Jun 26 23:55:07 TsunaXbook kernel: agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] AGP enabled, AgpCommand = 0x1f000314 (selected caps)
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] free AGP = 54800384
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] max AGP = 54800384
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] free LFB = 114274304
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] max LFB = 114274304
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] free Inv = 0
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] max Inv = 0
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] total Inv = 0
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] total TIM = 0
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] total FB = 0
Jun 26 23:55:07 TsunaXbook kernel: [fglrx] total AGP = 16384
|
My 3D perf are poor and I think this might be the reason...
from what I understood, loading intel-agp and fglrx from /etc/modules.autoload.d/kernel-2.6 does load AGPGART automatically (since it's required as a dependency or something) and this prevents fglrx to load its own internal AGPGART module
You could say "ok right, why did you compile the kernel's internal AGPGART module then?"
Well simply because you have to compile it if you want to be able to also compile intel-agp which is absolutely required to access the AGP port...
So the question is: how can I tell my system to use fglrx's internal AGPGART module?
By the way, while searching on this forum, I found someone suggesting to add
Code: | Option "KernelModuleParm" "agplock=0" | in /etc/X11/xorg.conf, I tried and it doesn't change anything...
Any constructive suggestion/advice/solution would be appreciated
Thanks _________________ I am not sending subliminal messages |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bear Knuckle n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Jun 2005 Posts: 21
|
Posted: Sun Jun 26, 2005 10:13 pm Post subject: |
|
|
Not to use the internal apgart set Code: | Option "UseInternalAGPGART" "no" |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pogi Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 13 May 2005 Posts: 124 Location: Hungary
|
Posted: Sun Jun 26, 2005 10:17 pm Post subject: |
|
|
compile both (config_agpgart, config_agp_intel) as modules, then set
Code: | Option "UseInternalAGPGART" "yes" |
in your xorg.conf
pogi _________________ Free! Tibet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tsuna Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jan 2005 Posts: 147
|
Posted: Mon Jun 27, 2005 11:04 am Post subject: |
|
|
I do have Option "UseInternalAGPGART" "yes" in xorg.conf and I want to use the internal AGPGART module
maybe shall I just remove fglrx and intel-agp from /etc/modules.autoload.d/kernel-2.6 and let Xorg load the modules by itself, maybe is it using some special way to load the modules with fglrx's internal agpgart module or something... this is weird anyway _________________ I am not sending subliminal messages |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pogi Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 13 May 2005 Posts: 124 Location: Hungary
|
Posted: Mon Jun 27, 2005 1:27 pm Post subject: |
|
|
AFAIK, if kernel's agpgart is loaded before the fglrx driver, fglrx can not use its own module, so you have to prevent loading the kernel module if you want to use ATI's built-in driver.
pogi _________________ Free! Tibet |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tsuna Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jan 2005 Posts: 147
|
Posted: Mon Jun 27, 2005 6:47 pm Post subject: |
|
|
yes and how do I prevent it to load the kernel module please? _________________ I am not sending subliminal messages |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Wedge_ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4097379943fc120852d16f.jpg)
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Mon Jun 27, 2005 10:18 pm Post subject: |
|
|
Try only listing fglrx in your modules.autoload (remove intel-agp). _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tsuna Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jan 2005 Posts: 147
|
Posted: Tue Jun 28, 2005 12:25 am Post subject: |
|
|
ok thanks, I'll try now _________________ I am not sending subliminal messages |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tsuna Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jan 2005 Posts: 147
|
Posted: Fri Jul 01, 2005 9:32 pm Post subject: |
|
|
it's still not working! ![Sad :(](images/smiles/icon_sad.gif) _________________ I am not sending subliminal messages |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tsuna Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jan 2005 Posts: 147
|
Posted: Mon Jul 04, 2005 11:49 pm Post subject: |
|
|
help please
if I don't load anything about agp/dri in modules.autoload.d, I don't have DRI at all because fglrx doesn't load intel-agp (fglrx is loaded by Xorg since it's not in modules.autoload.d) so it can't access the AGP bridge fully and yeah this leads to NO DRI at all.
So I tried with
fglrx
intel-agp
agpgart
in modules.autoload.d, and it doesn't use INTERNAL AGPGART
I tried with
fglrx
intel-agp
same thing
with fglrx alone or with nothing, I don't have any DRI at all
any suggestion? _________________ I am not sending subliminal messages |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tsuna Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jan 2005 Posts: 147
|
Posted: Tue Jul 05, 2005 1:24 pm Post subject: |
|
|
bounce _________________ I am not sending subliminal messages |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|