Miguel Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Aug 2002 Posts: 118
|
Posted: Mon Feb 17, 2003 1:39 pm Post subject: Problems (??) with XFree/AGP/DRI |
|
|
Ok, software versions first...
Machine: Toshiba Satellite 1900-303
Graphics Card: ATI Radeon Mobility M6 LY
XFree 4.2.1
Kernel 2.4.20 (Gentoo sources, DRI as module, AGPGART as module)
Important parts of XF86Config:
Code: |
Section "Module"
Load "GLcore"
Load "xtrap"
Load "speedo"
# Load "xie"
# Load "pex5"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "extmod"
# SubSection "extmod"
# Option "omit xfree86-dga"
# EndSubSection
Load "type1"
Load "freetype"
# Load "xtt"
EndSection
|
Code: |
Section "Device"
Identifier "Card0"
Driver "ati"
Option "AGPMode" "4"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
|
Well, my office mates here also have equal machines, and they get 100+ FPS in Quake 3 for example... While I don't get over 40... So I set out to find out why...
One thing that came to my attention was the aperture size:
modprobe -k agpgart says:
Code: |
kernel: agpgart: Maximum main memory to use for agp memory: 203M
kernel: agpgart: Detected Intel i845 chipset
kernel: agpgart: AGP aperture is 64M @ 0xec000000
|
modprobe -k radeon says:
Code: |
kernel: [drm] AGP 0.99 on Intel i845 @ 0xec000000 64MB
Feb 17 13:31:36 miguelduarte kernel: [drm] Initialized radeon 1.1.1 20010405 on minor 0
|
But X11 says:
Code: |
(II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xd286f000
(II) RADEON(0): [drm] mapped SAREA 0xd286f000 to 0x40014000
(II) RADEON(0): [drm] framebuffer handle = 0xf0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000217 [AGP 0x8086/0x1a30; Card 0x1002/0x4c59]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0xd2872000
(II) RADEON(0): [agp] ring handle = 0xec000000
(II) RADEON(0): [agp] Ring mapped at 0x42228000
(II) RADEON(0): [agp] ring read ptr handle = 0xec101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x40016000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xec102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x42329000
(II) RADEON(0): [agp] AGP texture map handle = 0xec302000
(II) RADEON(0): [agp] AGP Texture map mapped at 0x42529000
(II) RADEON(0): [drm] register handle = 0xe8000000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB AGP aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for AGP textures
|
Is it just me or X11 is really just using an 8MB aperture?
If so is there a way to force it to use the full 64MB?
Sorry for the long copy/paste... :p Just wanted to give as much information as possible.
Thanks in advance for any help.
EDIT: Also after compiling the kernel with agpgart as a module, my display shifted slightly up... :\ Don't know why since I didn't mess around with any config files... Just the kernel... Wait... I turned on Frame Buffer in the console... The console also has this behaviour... Maybe turning it off again? Gonna try that. ![Smile :)](images/smiles/icon_smile.gif) |
|