Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-14-2009, 05:52 AM   #1
LQ Newbie
Registered: Jan 2009
Location: U.S.
Distribution: Debian 'Etch', Slackware 12.2
Posts: 6

Rep: Reputation: 0
Low fps in 3D games

Hi everyone! 1st post. Had Debian for almost a week.

None of the 3D games I've got work well. The fps is something like 0.7.

Everything else (browsing, 2D games, etc.) will work fine. WinXP can run 3D games fine.
Seems to me it's a framebuffer (or lack thereof).
My card is a Matrox Millenium G400 (single display). 16MB VidRAM may not be a lot, but it's enough to run most of the older games I own (in WinXP).
The only diagnostic error message I can find is:


[drm:mga_do_agp_dma_bootstrap] *ERROR* Unable to acquire AGP: -19
[drm] Initialized card for PCI DMA.

Other diagnostics:

glxinfo | grep render

direct rendering: Yes
OpenGL renderer string: Mesa DRI G400 20050609

glxgears is fine unless I move the cursor over the gears. I have no idea how you're supposed to see glxgears framerate.

lspci (trimmed)

00:00.0 Host bridge: Intel Corporation 82860 860 (Wombat) Chipset Host Bridge (MCH) (rev 04)
00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
00:02.0 PCI bridge: Intel Corporation 82860 860 (Wombat) Chipset AGP Bridge (rev 04)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400/G450 (rev 04)

Maybe this question is better suited for hardware...

Remembered about the drivers, downloaded the newest, doesn't work. Tried different ways of installing manually, managed to crash xorg once. The instructions on installing drivers don't help me at all.

Last edited by Icantmove; 01-14-2009 at 06:06 AM. Reason: Forgot...
Old 01-14-2009, 06:36 AM   #2
luiz 55
LQ Newbie
Registered: Dec 2008
Location: Brazil
Posts: 18

Rep: Reputation: 0
You need to install a driver in order to get 3D acceleration, but sometimes the newest one is not compatible with the graphics card. You might be able to install an older version of the driver, just check its description. Even if you're sure it's not about compatibility, I think it should be easier to install another version.
Old 01-14-2009, 06:36 AM   #3
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi, Welcome to LQ!

LQ has a fantastic search function that can save you time waiting for an answer. (no pun intended)

As for your Matrox Millenium G400, I've never used one,

maybe some one will respond to that part of your question.

glxgears, if run from a terminal like konsole(kde) or term,

usually outputs the frame rates (averaged) every 5 seconds. There's probably more options....

The gears them selves may be rotated within the box with the arrow keys. Check for smoothness.

Press Esc key to end or ctrl+c to quit the command in konsole/terminal.

drm/dri settings for agp are in the kernel config, (search here at LQ or google)..../dev/agpgart (AGP Support) (AGP)

some processors (cpu) like AMD have the agpgart on the cpu, others like Intel cpu's require the motherboard or graphics card to provide it.

current kernels provide for SiS, Intel and Via chipset support.

That's about it for me, Regards Glenn

ps. You may need to be root to install softwares, try

su [enter root password] then

cd to the directory where the file/package is.

sh ./

see how you go, regards Glenn

Last edited by GlennsPref; 01-14-2009 at 06:41 AM. Reason: You need to be root to install, sudo
Old 01-14-2009, 07:41 AM   #4
LQ Newbie
Registered: Jan 2009
Location: U.S.
Distribution: Debian 'Etch', Slackware 12.2
Posts: 6

Original Poster
Rep: Reputation: 0
I knew about search (also the HCL), it didn't help much. It seems like LQ does a better job (see bottom of page).
Tried xterm, tcsh, bash, GNOME terminal, still no glxgears fps. Rotates fine, same cursor garble thing (only for nearest 50 pixels or so). glxgears is smooth unless I take the terminal or something and thrash it around the screen, or I've got lots of windows (like 15).
:~$ cd Desktop/Downloads/matrox_driver-x86_32-4.4.0
:~/Desktop/Downloads/matrox_driver-x86_32-4.4.0$ sudo sh

Matrox Linux Driver Install Script

ERROR: The X server drivers included in this installation package
do not support the current version of your X server.

Description of this release

This release of the Matrox display driver includes support for
Matrox G200, G400, G450 and G550 based graphics hardware.

This driver package includes previously released drivers for XFree86
versions 4.3.0 and versions 6.7.0, 6.8.0, 6.8.1, 6.8.2, 6.9.0
and 7.0.0


Binary install

A working installation of XFree86 4.3.0, and versions 6.7.0,
6.8.0, 6.8.1, 6.8.2, 6.9.0, 7.0.0 is required before the binaries
can be installed.

To extract the driver files, enter the following command where
<mga_filename> is the name of the driver file you want to extract:

tar xvzf <mga_filename>.tgz

cd mgadrivers

To install the drivers, run the script as "root" with no option:


The install script prompts you to install both the XFree86 2D
driver ("mga_drv.o") and the HAL library ("mga_hal_drv.o"). Unless
otherwise specified, these files are placed in

The installation script makes a back-up copy of "mga_drv.o" and,
if it exists, of "mga_hal_drv.o".
:~$ cd /
:/$ cd lib/modules/2.6.18-6-686/kernel/drivers/char/agp
:/lib/modules/2.6.18-6-686/kernel/drivers/char/agp$ ls
agpgart.ko amd-k7-agp.ko intel-agp.ko sworks-agp.ko
ali-agp.ko ati-agp.ko nvidia-agp.ko via-agp.ko
amd64-agp.ko efficeon-agp.ko sis-agp.ko
What confuses me is the whole "recompile your kernel" business. agpgart.ko shows up as object code (in the search box) and from other things I've read it sounds like I have to recompile or something for the drivers, and maybe agpgart, to work. If I remember correctly, I had to apt-get agpgart.
I have tried reading what does and doing it manually. Totally useless.
Old 01-14-2009, 08:05 AM   #5
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
I was off topic, sorry.

So, What version of x do you have installed?

It may be too new, xorg 7.1 or what?

As I am not a debian user I should back off, it is quite different, although the agpgart modules are similar.

I was refering to the choices, with the Mandriva kernels, for agpgart that you can make static.

Unless you have to change the dri drm module, you probably won't have to recompile.

I think you need to match the driver module version with xorg version.

Cherrs, and good luck, Glenn

p.s. Watch the dates on the links below, some of them will be out dated. GW


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glxgears ( gives me low fps ) MalachiX Linux - Newbie 6 03-31-2005 03:01 PM
Very low (0-2) fps in 3D games, using radeon 9800 pro SubGnostic Linux - Games 6 03-14-2005 01:52 PM
Low FPS! HELP!!! cnastiuk Linux - Hardware 4 02-07-2005 06:16 AM
Low Fps Cedega Cs 1.6 v!ruz Linux - Games 2 12-06-2004 02:30 PM
Low fps in games with ProSavageDDR in Xfree86 RHL9 funkymunky Linux - Hardware 0 09-07-2003 10:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration