You are not logged in.
Pages: 1
Hi,
I've just installed AL and I got everything else working except 3D acceleration in Matrox Millennium G400. Any help would be welcome
My configuration:
> modprobe.conf
alias char-major-10-175 agpgart
install mga { /sbin/modprobe -k agpgart; } ; /sbin/modprobe --ignore-install mga
> XF86Config
Section "Module"
Load "dbe" # Double buffer extension
Load "extmod"
Load "type1"
Load "speedo"
Load "GLcore"
Load "glx"
Load "dri"
Load "xie"
Load "ddc"
Load "bitmap"
Load "freetype"
EndSection
Section "Device"
Identifier "Matrox Millennium G400 Dual head AGP"
VendorName "Matrox"
Driver "mga"
ChipSet "mgag400"
VideoRam 32768
Option "AGPMode" "2"
# BusID "PCI:1:0:0"
# Option "mga_sdram"
EndSection
Section "DRI"
Mode 0666
EndSection
> rc.conf
MODULES=(!usbserial !ide-scsi snd-sbawe snd-pcm-oss)
DAEMONS=(syslogd klogd !pcmcia network netfs crond)
Thanks in advance!
"I propose we leave math to the machines and go play outside." -- Calvin
Offline
If I recompile the kernel, where should I put those "-O2 -march=pentium3 -pipe" flags? Is it enough if I choose Pentium III from the menuconfig? I used the .config as a template.
And how do I include Supermount and Bootsplash? Do I need to include agpgart? I didn't find agpgart from the menus.
I already started compiling ("round 1!") so hopefully I'm little wiser soon. All help & suggestions are still welcome
"I propose we leave math to the machines and go play outside." -- Calvin
Offline
Is it like this?
export CHOST="i686-pc-linux-gnu"
export CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
export CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
Ok. Now I'll shut up
"I propose we leave math to the machines and go play outside." -- Calvin
Offline
wintermute,
You inquire:
Is it like this?
Code:
export CHOST="i686-pc-linux-gnu"
export CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
export CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"Ok. Now I'll shut up
Your optimization flags belong in /etc/makepkg.conf. Take a look at /etc/makepkg.conf and edit it appropriately. You should have no trouble with "-march=pentium3 -O2 -pipe -fomit-frame-pointer" unless you're running the 2.6.3 kernel, in which case you very well may have trouble building glibc and, perhaps, some other packages. I use -O3 and have had no trouble; you may or may not want to be that aggressive.
jlowell
Offline
Your optimization flags belong in /etc/makepkg.conf. Take a look at /etc/makepkg.conf and edit it appropriately.
Thanks!
I compiled the kernel and I got it running. It didn't fix my problem though. 3D acceleration is still not working... I must be doing something wrong.
Maybe Gentoo is better for installing multimedia devices? They seem to have quite good documentation also.
"I propose we leave math to the machines and go play outside." -- Calvin
Offline
Try adding the module for your display driver to your MODULES line in rc.conf. For instance I have nvidia in mine, I guess you would put mga.
Hobbes : Shouldn't we read the instructions?
Calvin : Do I look like a sissy?
Offline
Try adding the module for your display driver to your MODULES line in rc.conf. For instance I have nvidia in mine, I guess you would put mga.
Thanks!
Friends told me to put motherboard specific agp module into modprobe.conf. Something like this:
install agpgart /sbin/modprobe --ignore-install agpgart && { /sbin/modprobe intel-agp; /bin/true; }
Don't know if it works, but I'll try these suggestions as soon as I get home.
"I propose we leave math to the machines and go play outside." -- Calvin
Offline
wintermute,
I compiled the kernel and I got it running. It didn't fix my problem though. 3D acceleration is still not working... I must be doing something wrong.
Maybe Gentoo is better for installing multimedia devices? They seem to have quite good documentation also.
Direct Rendering under Character Devices in the 2.4 kernel (it may be somewhere else in 2.6) is the area with which to tinker when dealing with 3D, or at least that's how I've understood things. I have a G550 and two G450s here on this network but do not game, so it's been sufficient for me to configure the kernel sans all of that. But you may want to look at your kernel configuration to make certain that that area is addressed properly. And there is wdemoss' suggestion also.
I think it unlikely that, ultimately, Gentoo might be considered superior to Arch respecting multimedia devices. I say this to you both as a former Gentoo user and as one who makes very little use of multimedia, though. In this business knowing how to configure things is the key. What they can configure we can configure, eh?
jlowell
Offline
Do I need to include agpgart? I didn't find agpgart from the menus.
I'm still not clear about whether you have agpgart set up in your kernel or not - so apologies if you do and this sounds patronising.
You';re using the mga driver in XF86config so you need to make sure it's in the kernel. It's all under Device Drivers/Character Devices in kernel 2.6 - build agpgart and then your motherboard specific module. Then under Direct Rendering Manager select the g400 module (mga). Stick both of these in rc.conf and it should all work fine.
Offline
I'm still not clear about whether you have agpgart set up in your kernel or not - so apologies if you do and this sounds patronising.
No no, I'm really so lost that this is embarrasing
I haven't compiled intel-agp nor agpgart.
You';re using the mga driver in XF86config so you need to make sure it's in the kernel. It's all under Device Drivers/Character Devices in kernel 2.6
Now it should be, I selected it before I compiled the kernel.
- build agpgart and then your motherboard specific module.
I ran modules_install. It stated: "Install all modules". Is that ok?
Then under Direct Rendering Manager select the g400 module (mga). Stick both of these in rc.conf and it should all work fine.
In modules? Ok. I'll try that
"I propose we leave math to the machines and go play outside." -- Calvin
Offline
It seems that I don't have the agpgart module. How is it built? Was it buried somewhere in the menuconfig? I'm still not very familiar with make.
Thanks in advance!
"I propose we leave math to the machines and go play outside." -- Calvin
Offline
First, the best way to recompile your kernel by a mile is to use ABS. It's really simple, there's a guide here to compiling a custom kernel -
http://www.archlinux.org/docs/en/guide/ … guide.html
so all you need to do is go to /usr/src/linux-* and do make menuconfig like normal.
For agpgart select
< > /dev/agpgart (AGP Support) , it then brings up a list of chipsets, so choose the one appropriate to you.
Next select the next option down
[ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
then select
< > Matrox g200/g400 (NEW)
Once done save the .config to the kernel directory in ABS, and run makepkg as root. This creates a nice package you can install or remove easily. Then it's just a case of installing it with pacman (be aware that it overwrites your current stuff in /boot so you may want to back them up and create a new lilo entry in case it goes wrong). Reinstall lilo, then it's just a case of putting the modules in rc.conf to load - agpgart mga.
Hope this helps.
Offline
For agpgart select
< > /dev/agpgart (AGP Support) , it then brings up a list of chipsets, so choose the one appropriate to you.
Next select the next option down
[ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
then select
< > Matrox g200/g400 (NEW)
No luck. I'm propably missing something. I'll give up for the moment.
"I propose we leave math to the machines and go play outside." -- Calvin
Offline
Pages: 1