Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to use fglrx internal AGPGART module?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Tsuna
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 147

PostPosted: Sun Jun 26, 2005 10:08 pm    Post subject: How to use fglrx internal AGPGART module? Reply with quote

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
View user's profile Send private message
Bear Knuckle
n00b
n00b


Joined: 22 Jun 2005
Posts: 21

PostPosted: Sun Jun 26, 2005 10:13 pm    Post subject: Reply with quote

Not to use the internal apgart set
Code:
Option "UseInternalAGPGART"         "no"
Back to top
View user's profile Send private message
pogi
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 124
Location: Hungary

PostPosted: Sun Jun 26, 2005 10:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tsuna
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 147

PostPosted: Mon Jun 27, 2005 11:04 am    Post subject: Reply with quote

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
View user's profile Send private message
pogi
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 124
Location: Hungary

PostPosted: Mon Jun 27, 2005 1:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tsuna
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 147

PostPosted: Mon Jun 27, 2005 6:47 pm    Post subject: Reply with quote

yes and how do I prevent it to load the kernel module please?
_________________
I am not sending subliminal messages
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Mon Jun 27, 2005 10:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tsuna
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 147

PostPosted: Tue Jun 28, 2005 12:25 am    Post subject: Reply with quote

ok thanks, I'll try now
_________________
I am not sending subliminal messages
Back to top
View user's profile Send private message
Tsuna
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 147

PostPosted: Fri Jul 01, 2005 9:32 pm    Post subject: Reply with quote

it's still not working! :(
_________________
I am not sending subliminal messages
Back to top
View user's profile Send private message
Tsuna
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 147

PostPosted: Mon Jul 04, 2005 11:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tsuna
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 147

PostPosted: Tue Jul 05, 2005 1:24 pm    Post subject: Reply with quote

bounce
_________________
I am not sending subliminal messages
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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