Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
dmesg
[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.
Maybe this question is better suited for hardware...
EDIT:
Remembered about the drivers, downloaded the newest, install.sh 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...
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.
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).
Quote:
:~$ cd Desktop/Downloads/matrox_driver-x86_32-4.4.0
:~/Desktop/Downloads/matrox_driver-x86_32-4.4.0$ sudo sh install.sh
Password:
========================================
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.
:~/Desktop/Downloads/matrox_driver-x86_32-4.4.0$
Quote:
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 X.org 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 X.org 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:
sh install.sh
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
"/usr/X11R6/lib/modules/drivers".
The installation script makes a back-up copy of "mga_drv.o" and,
if it exists, of "mga_hal_drv.o".
Also:
Quote:
:~$ 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
:/lib/modules/2.6.18-6-686/kernel/drivers/char/agp$
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 install.sh does and doing it manually. Totally useless.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.