Direct Rendering Infrastructure

[ Home ] [ Status ] [ Contribute ] [ Downloads ] [ Documentation ] [ Help & FAQ ] [ Links ] [ Project ]


How can I change the AGP mode of the driver?

Posted by: Frank


By default all drivers use AGP 1x mode. If your motherboard and graphics card support a faster AGP mode you can change this by putting the following in your XF86Config file:

Section "Device"
     ...
     Option "AGPMode" "n"
End Section
Where "n" is one of "1", "2" or "4".

Your XF86Config file is usually located at /etc/X11/XF86Config.

User Comments

Post a Comment...

anonymus(remove S_P_A_M_ to send an email)

Do the current DRI drivers support Side Band Addressing, Direct Memory Execution, Fast Write with the respective modes?

The only feature i can enable in xfree86 config file is AGPmode 1,2,4.

anonymus(remove S_P_A_M_ to send an email)

Do the current DRI drivers support Side Band Addressing, Direct Memory Execution, Fast Write with the respective modes?

The only feature i can enable in xfree86 config file is AGPmode 1,2,4.

Glen(remove S_P_A_M_ to send an email)

My voodoo3 does not use the AGPMode option. Is there a listing of a options supported by each card?

LM Gendron(remove S_P_A_M_ to send an email)

My ATI Radeon SDR is PCI, will it be supported by DRI?

Richard Loos(remove S_P_A_M_ to send an email)

I have added the AGPMode options as described above, but glxinfo still reports it to be in AGP 1x mode when n=2 and when n=4. I am using XFree86 4.0.2 with the latest g400 drivers. Are there any known bugs concering AGP mode? Further everything is working great, only the speed is lacking at the moment.

Davide Guerri(remove S_P_A_M_ to send an email)

Same problem of Richard: glxinfo reports AGP 1x... I have a radeon on VIA KT133A, kernel 2.4.2 and Xfree 4.0.3. btw: great work!!! :)

HaPPyJaXX(remove S_P_A_M_ to send an email)

Richard and Davide... Try the AGPMode2x in the device section... I don't know for ATI but g400 (Matrox drivers btw) should work I think.

example from my dual-head config

Section "Device"
Identifier "G400_1"
Driver "mga"
BusID "PCI:01:0:0"
Screen 0
Option "AGPMode2x"
Option "DPMS"
EndSection

Robert Ruedisueli(remove S_P_A_M_ to send an email)

That's good for the clock rate, but what about the aperature size. My stupid thing is giving me a crappy 8MB.

I'm mailing the mailing list too, but I posted to make sure it gets listed here for other people with the same problem. (since it's probably a quick fix solution)

Nilmoni Deb(remove S_P_A_M_ to send an email)

I am using kernel-2.4.3 with XFree86-4.1.0 . The video is S3 Prosavage KM133 (device id 8a26 in hexadecimel). Its onboard and AGP 4X. The X log in /var/log says:

(WW) SAVAGE(0): Option "AGPMode" is not used

This is true at any depth (16, 24).
I desperatekly need a valid AGPMode option that will work with the XF86Config-4 file. Any ideas ?

Murthy(remove S_P_A_M_ to send an email)

To increase AGP aperture use:
Option "AGPSize" "64" # (or 128, etc.)

Kevin Kwan(remove S_P_A_M_ to send an email)

Okay, so how do I get DRI working on a PCI card? From the conflicting documentation it seems as if PCI and DRI doesn't work together.

Hypnos(remove S_P_A_M_ to send an email)

I've used the AGPMode option to set the AGP mode to 4, and glxinfo reflects the change, but glxgears, Q3A and RtCW performance has not improved. Is there anything else I'm missing?

I have a Radeon 7500 Mobile with i845 AGP chipset.

xam(remove S_P_A_M_ to send an email)

Hi,
I'm running debian unstable (last update 30. Sept. 2002),
linux kernel 2.4.19 (compiled with gcc-3.2) and
XFree86-4.2.0. The computer is a Dell Latitude 610, it
has ATI Radeon Mobility LY (AGP 4x, 16MB) graphics.
Busmaster is automatically enabled.


I also installed and reinstalled the GATOS drivers (ati.2). The following problem occurs with radeon.o from dri.sourceforge.net and also with the one from gatos.sf.net. Using the XFree86 from the extras package still gives the same error:

drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) RADEON(0): [drm] drmSetBusid failed (7, PCI:1:0:0), Permission denied
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.

(sometimes "open result" is 6)

It seems to be the same problem as posted by another user in http://www.xfree86.org/pipermail/xpert/2002-February/015416.html

The X server works (accelerated 2D), but uses software 3D.
I was running (suid) X as root and as also as normal user. Of course there is a Section "DRI", I also removed /dev/dri just to get sure. The device file /dev/dri/card0 is created, has proper permissions (rw-rw-rw-) and is accessible. radeon-fb, agpgart and mtrr are compiled into the kernel.

XF86Config:

Driver "ati"
Option "AGPMode" "4"
BusID "PCI:01:0:0"

Uncommenting the last two lines doen't change anything.
I also tried changing DefaultDepth to 16 instead of 24, and this didn't work either.
3D was working perfectly with Windows2000 (1024x768x24bit).

Any hints?

GAV(remove S_P_A_M_ to send an email)

My 3dfx Velocity 100 can't use AGPMode - why?
And, sorry, but, can I enable secondary TMU, if this disabled?

mail-to:


[ Home ] [ Status ] [ Contribute ] [ Downloads ] [ Documentation ] [ Help & FAQ ] [ Links ] [ Project ]