PDA

View Full Version : FC5 T3 and Xfree86


jult
3rd March 2006, 11:28 AM
Fresh install with the test3 isos went like a breeze on an Asus a7v333-x board with 256 MB RAM with 3 HDs in it and a Matrox G400 videocard on a CRT.
No display problems during install, but, like in MSWindows, full support for the Matrox card does not come out of the box. It now runs 800x600 maximum res. on generic drivers.
These are pretty common videocards by the way, so I'm a bit surprised.
I went looking for drivers.

The install script for the driver says the X server version is not supported, so I need to use the source, Matrox says:
If you've upgraded XFree86 and can't load DRI because of a version
mismatch error, you need to compile and install a new "mga.o"
module from within the XFree86 source tree. This can only be done
if you have the XFree86 source code installed, which isn't
included with XFree86 binary RPM ("Red Hat Package Manager")
packages. The kernel source must also be installed.

Here are the instructions for compiling and installing a new
"mga.o" module:

cd /xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel

make -f Makefile.linux mga.o

insmod agpgart

insmod mga.o

lsmod (to make sure the modules are loaded)

You may want to copy the "mga.o" module into the proper kernel
modules directory. This should be located in one of the following
locations:

/lib/modules/your_kernel_version/kernel/drivers/char/drm/

/lib/modules/your_kernel_version/misc/

This should allow you to load the module from within any directory
by using the "lsmod" command. Otherwise, you have to return to the
kernel directory each time you want to reload "mga.o". If there's
already an older "mga.o" module in the "misc" directory, you may
want to make a backup before installing the new version. You can
also have the "agpgart" and "mga.o" modules load automatically
each time you restart Linux by inserting "insmod agpgart" and
"insmod mga" at the bottom of "/etc/rc.local":

You can then configure the "XF86Config" file to load DRI. These
lines may already be in the "Module" section of your "XF86Config"
file:

Section "Module"
Load "glx"
Load "dri"
EndSection

After starting X, there should be a "direct rendering enabled"
message in the X server startup log. Please note that DRI isn't
enabled if you're using the Xinerama extension. You may want to
keep two "XF86Config" files on hand -- one for DRI and the other
for DualHead.

For more information on DRI, please visit the DRI project home
page (http://dri.sourceforge.net/).As I understand FC5 does not use XFree anymore, only x.org, how do I go about creating new drivers then? Any hint would be helpful.

neilloffhagen
3rd March 2006, 11:38 AM
Probably not much help to you, but I'm running FC5 Test3 with a Matrox G550 graphics card at 1280 x 1024? Just using the drivers that came with FC5. Did have to go into System -> Preferences -> Screen Resolution to change it after first boot, but it all seems to work fine. I'd have thought if G550 is supported so would a G400?

Neil.

jult
3rd March 2006, 11:43 AM

The option you mention wasn't there, so yeah, that's weird.
OK, I'm gonna check if a huge load of yum updates might have changed something.

Can you tell me which drivers FC picked to use for your card?
( where they are located from / )

By the way, I've picked KDE, so there was no "System > Preferences " here. ;)