Re: G550 and 3D acceleration

2003-11-12 Thread Piers Kittel
Hello Roberto;

 nForce2 GART support is in 2.4.22 and newer kernels.  The nVidia
 drivers have been modified (via a patch) to compile against 2.5.x and
 2.6.x kernels.  If you want I can email you the patch, or you can
 Goolge for it, or search the threads at nforcershq.com.
Aha.  Got a bit confused there for a bit, as I've got the 2.4.20 kernel 
patched to 2.4.21, couldn't see the option in make menuconfig, then 
realised you're talking about the .22 not the .21 kernel!  Doh. 
Compiling the 2.4.22 kernel at the moment, although can't reboot the 
computer as am at work and SSH'ing into my PC - can't recompile network 
card drivers without network card support ;)  But will sort it out 
tonight.  Hopefully that'll work now.

 modeversions.h is only present after you make
 [config|oldconfig|xconfig] and then 'make dep'
Aha.  But with the 2.6.0 kernel you don't have to do make dep - if I 
want modversions.h should I do a make dep or best get a patch for the 
nVidia drivers?  Might stick with the 2.4.22 kernel as it does have 
support for the NForce2 chipset.

 Also, what is in the Xfree86 log?

Which part exactly do you need to see?  If the whole lot, what's the 
best way to get it over?

Thanks very much for your help so far :)

Cheers - Piers

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-12 Thread Kjetil Kjernsmo
On Wednesday 12 November 2003 04:01, Marc Wilson wrote:
 On Tue, Nov 11, 2003 at 07:07:12AM -0800, [EMAIL PROTECTED] wrote:
  I try and take good notes setting things up, but all I have is
  doesn't work on secondary head.  My memory is that I saw a reason
  why it doesn't work on the secondary head but my Googling isn't
  finding that right now.  Oh, maybe it's because I'm using Xinerama.

 Correct.  No DRI on second head, means no acceleration on second
 head.  If you use Xinerama then you're not going to get acceleration
 on either head.

I just set up a local multi-user system using Backstreet Ruby and a 
modified X server. I was actually able to run DRI on the primary head 
by loading the DRI module, and then set
Option DRIFalse
on the second head (in the Device section). 

I don't know if it'll work for people with a different setup, but it is 
worth a shot.

Cheers,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/OpenPGP KeyID: 6A6A0BBC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-12 Thread Roberto Sanchez
Piers Kittel wrote:
Hello Roberto;

  nForce2 GART support is in 2.4.22 and newer kernels.  The nVidia
  drivers have been modified (via a patch) to compile against 2.5.x and
  2.6.x kernels.  If you want I can email you the patch, or you can
  Goolge for it, or search the threads at nforcershq.com.
Aha.  Got a bit confused there for a bit, as I've got the 2.4.20 kernel 
patched to 2.4.21, couldn't see the option in make menuconfig, then 
realised you're talking about the .22 not the .21 kernel!  Doh. 
Compiling the 2.4.22 kernel at the moment, although can't reboot the 
computer as am at work and SSH'ing into my PC - can't recompile network 
card drivers without network card support ;)  But will sort it out 
tonight.  Hopefully that'll work now.

Hope it works out.

  modeversions.h is only present after you make
  [config|oldconfig|xconfig] and then 'make dep'
Aha.  But with the 2.6.0 kernel you don't have to do make dep - if I 
want modversions.h should I do a make dep or best get a patch for the 
nVidia drivers?  Might stick with the 2.4.22 kernel as it does have 
support for the NForce2 chipset.

Not sure on the 2.6 kernel.  I run it on my laptop, but it doesn't have
anything exotic that I use (I don't use the winmodem anymore).  So I
just compile and install at one shteo.

  Also, what is in the Xfree86 log?

Which part exactly do you need to see?  If the whole lot, what's the 
best way to get it over?

Post it on the web. :-)

Thanks very much for your help so far :)

Cheers - Piers

-Roberto


pgp0.pgp
Description: PGP signature


Re: G550 and 3D acceleration

2003-11-12 Thread Piers Kittel
Hello Roberto again;

Have rebooted and sorted out PC regarding to the new kernel - it loads 
the AGPGART module and detects the G550 card no problem.  Still OpenGL 
doesn't work on both heads of the G550, I get:

[EMAIL PROTECTED]:~$ glxgears
Error: couldn't get an RGB, Double-buffered visual
[EMAIL PROTECTED]:~$
on both heads.

Looking at someone's else post about OpenGL and glxgears, I get around 
200fps on the Nvidia card as well so hardware rendering seems not to 
work on that either..

Here's a copy of the XFree86 log and dmesg;

http://www.biased.org/log/XFree86.0.log
http://www.biased.org/log/dmesg
Thanks very much for your help again :)

Cheers - Piers

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-11 Thread moseley
On Mon, Nov 10, 2003 at 08:57:56PM -0800, Marc Wilson wrote:

  Bill,  Fair enough, but it doesn't work on both heads, not just one.
 
 You should get accelerated OGL on both heads.

I try and take good notes setting things up, but all I have is doesn't 
work on secondary head.  My memory is that I saw a reason why it 
doesn't work on the secondary head but my Googling isn't finding that 
right now.  Oh, maybe it's because I'm using Xinerama.

ftp://ftp.matrox.com/pub/mga/archive/linux/2002/lnx200notes.txt

   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.

Hum, that just talks about DRI, not OpenGL.

On my main head I get about 200fps with glxgears.  On the second head 
the window goes black and my machine gets very slow.

BTW -- I also get:

 (EE) MGA: Failed to load module mga_hal (module does not exist, 0)

My guess is I upgraded my kernel at one point and didn't move over that 
module.  I thought that was for Matrox's PowerDesk, which I don't have 
installed.

   The HAL library is not required for basic DualHead support 
   (without a DVI monitor)

Which is my case.


-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-11 Thread Piers Kittel
Hello Marc,

 Don't know a thing about Quake... Quake puts me to sleep.  Can't see
 it as anything but a good thing that it doesn't work for you.
Heh... was using it as an example OpenGL - that was before someone told 
me about glxgears.

 Ewww... framebuffer.  Shoot immediately with extreme prejudice.
 Large caliber weapons.
Killed.

 Well gee, now you know why DRI doesn't work.  Provide support for your
 GART.
Have a Nforce2 motherboard, so GART for the NForce2 chipset isn't 
supported.  Upgraded to the 2.6.0-test9 kernel, worked fine, but as I'm 
using an on-board NIC, I have to use an driver from NVidia, and it 
wouldn't compile saying /usr/src/linux/modversions.h were missing - I 
guess its because its a different kernel entirely - so catch 22 
situation, either have GART support for NForce2 chipset, or have 
Internet access.  But then again, trying glxgears gave the same error 
message as the old kernel plus one more line, even tho dmesg shows the 
AGPGART driver finding the NForce2 chipset, and the G550 graphics card.

Any ideas?

Thanks very much for your help again :)

Cheers - Piers

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-11 Thread Roberto Sanchez
Piers Kittel wrote:
Hello Marc,

  Don't know a thing about Quake... Quake puts me to sleep.  Can't see
  it as anything but a good thing that it doesn't work for you.
Heh... was using it as an example OpenGL - that was before someone told 
me about glxgears.

  Ewww... framebuffer.  Shoot immediately with extreme prejudice.
  Large caliber weapons.
Killed.

  Well gee, now you know why DRI doesn't work.  Provide support for your
  GART.
Have a Nforce2 motherboard, so GART for the NForce2 chipset isn't 
supported.  Upgraded to the 2.6.0-test9 kernel, worked fine, but as I'm 
using an on-board NIC, I have to use an driver from NVidia, and it 
wouldn't compile saying /usr/src/linux/modversions.h were missing - I 
guess its because its a different kernel entirely - so catch 22 
situation, either have GART support for NForce2 chipset, or have 
Internet access.  But then again, trying glxgears gave the same error 
message as the old kernel plus one more line, even tho dmesg shows the 
AGPGART driver finding the NForce2 chipset, and the G550 graphics card.

Any ideas?

Thanks very much for your help again :)

nForce2 GART support is in 2.4.22 and newer kernels.  The nVidia drivers
have been modified (via a patch) to compile against 2.5.x and 2.6.x
kernels.  If you want I can email you the patch, or you can Goolge for
it, or search the threads at nforcershq.com.
modeversions.h is only present after you make [config|oldconfig|xconfig]
and then 'make dep'
Also, what is in the Xfree86 log?

-Roberto


pgp0.pgp
Description: PGP signature


Re: G550 and 3D acceleration

2003-11-11 Thread Marc Wilson
On Tue, Nov 11, 2003 at 07:07:12AM -0800, [EMAIL PROTECTED] wrote:
 I try and take good notes setting things up, but all I have is doesn't 
 work on secondary head.  My memory is that I saw a reason why it 
 doesn't work on the secondary head but my Googling isn't finding that 
 right now.  Oh, maybe it's because I'm using Xinerama.

Correct.  No DRI on second head, means no acceleration on second head.  If
you use Xinerama then you're not going to get acceleration on either head.

If you're getting only 200 fps in glxgears, then that's software rendering.

-- 
 Marc Wilson | Advice is a dangerous gift; be cautious about giving
 [EMAIL PROTECTED] | and receiving it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



G550 and 3D acceleration

2003-11-10 Thread Piers Kittel
Hello all

Does anyone know how to enable 3D acceleration / Open GL for my Matrox 
G550 AGP using Debian?

Thanks very much for your help in advance

Cheers - Piers

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-10 Thread Marc Wilson
On Mon, Nov 10, 2003 at 10:36:15AM +, Piers Kittel wrote:
 Does anyone know how to enable 3D acceleration / Open GL for my Matrox 
 G550 AGP using Debian?

Sure.  Make sure that whatever kernel you're using has support built for
it, load the module, and start up X.  Make sure you're loading the dri
module.

-- 
 Marc Wilson | Q: What's the difference between a car salesman and a
 [EMAIL PROTECTED] | computer salesman?  A: The car salesman can probably
 | drive!  -- Joan McGalliard ([EMAIL PROTECTED])


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-10 Thread Piers Kittel
Hello,

Sure.  Make sure that whatever kernel you're using has support built for
it, load the module, and start up X.  Make sure you're loading the dri
module.
Strange - as I've got 2 graphics cards and 3 monitors, an el cheapo TNT2 
and the G550.  The desktop on the TNT2 shows OpenGL applications just 
fine, but the desktops on the G550 won't show OpenGL applications, 
also that Quake 3 just crashes on the G550, but runs fine on the TNT2.

Thanks very much for your help again

Cheers - Piers

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-10 Thread moseley
On Mon, Nov 10, 2003 at 02:18:44PM +, Piers Kittel wrote:

 Strange - as I've got 2 graphics cards and 3 monitors, an el cheapo TNT2 
 and the G550.  The desktop on the TNT2 shows OpenGL applications just 
 fine, but the desktops on the G550 won't show OpenGL applications, 

I've got a G550 with two VGA monitors and I can only show OpenGL 
applications on the primary head.[1]


[1] That's what I remember -- I'm away from that machine right now.


-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-10 Thread Piers Kittel
To Aaron, Marc and Bill,

Marc - here's the Quake 3 error on the G550:

Sys_Error: GLimp_Init() - could not load OpenGL subsystem
But works fine on the TNT2
Bill,  Fair enough, but it doesn't work on both heads, not just one.

Aaron;

How do I check if its compiled in the kernel?  I think it seems to be 
working... (taken from /var/log/dmesg)

matroxfb: Matrox G550 detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x26208)
matroxfb: framebuffer at 0xE600, mapped to 0xe0805000, size 33554432
Console: switching to colour frame buffer device 80x30
fb0: MATROX VGA frame buffer device
a bit later
matroxfb_crtc2: secondary head of fb0 was registered as fb1
But then again, AGPART doesn't work:

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: unsupported bridge
agpgart: no supported devices found.
[drm:drm_init] *ERROR* Cannot initialize the agpgart module.
Taken from the XFree86.0.log:

(--) PCI: (1:6:0) NVidia Riva TNT2 M64 rev 21, Mem @ 0xeb00/24, 
0xe400/25
(--) PCI:*(2:0:0) Matrox MGA G550 AGP rev 1, Mem @ 0xe600/25, 
0xe800/14, 0xe900/23
snip
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400,
mgag550
(II) NVIDIA XFree86 Driver  1.0-4363  Sat Apr 19 17:49:42 PDT 2003
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 02:00:0
(--) Chipset mgag550 found
(--) Chipset mgag550 found
snip
*blah blah - lots lots lots of messages from the MGA and Nvidia drivers*

Although there's a few snippets:

(EE) MGA(1): Not initializing the DRI on the second head

Doesn't say for the first head though.

(==) MGA(1): Direct rendering disabled

Thanks very much for all your help so far ;)

Cheers - Piers

Aaron W. Hsu wrote:
I am not sure what type of system you are running, but if the card is
supported then you should be able to see if it is compiled into the
kernel.  If it isn't you may need to recompile your kernel with that
support.  It could also be a module, and you could use modconf to
enable it.
That is what I have to do to enable the ATI Rage128 card that I have.
I just get the kernel source, patch, and then compile it with the
support.  You may have to do the same.
Aaron Hsu



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-10 Thread Marc Wilson
On Mon, Nov 10, 2003 at 11:52:54PM +, Piers Kittel wrote:
 Marc - here's the Quake 3 error on the G550:
 Sys_Error: GLimp_Init() - could not load OpenGL subsystem
 But works fine on the TNT2

Don't know a thing about Quake... Quake puts me to sleep.  Can't see it as
anything but a good thing that it doesn't work for you.

 Bill,  Fair enough, but it doesn't work on both heads, not just one.

You should get accelerated OGL on both heads.

 matroxfb: Matrox G550 detected
 fb0: MATROX VGA frame buffer device

Ewww... framebuffer.  Shoot immediately with extreme prejudice.  Large
caliber weapons.

 But then again, AGPART doesn't work:
 Linux agpgart interface v0.99 (c) Jeff Hartmann
 agpgart: Maximum main memory to use for agp memory: 439M
 agpgart: unsupported bridge
 agpgart: no supported devices found.
 [drm:drm_init] *ERROR* Cannot initialize the agpgart module.

Well gee, now you know why DRI doesn't work.  Provide support for your
GART.

-- 
 Marc Wilson | I don't have to take this abuse from you -- I've
 [EMAIL PROTECTED] | got hundreds of people waiting to abuse me.  --
 | Bill Murray, Ghostbusters


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: G550 and 3D acceleration

2003-11-10 Thread Aaron W. Hsu
Hmmm, alright, here's what it looks like to me . . .

What you are seeing with the framebuffer stuff is for the console.
That's what allows your console to print its text.  When you load X it
is not loading the modules or it can't find them.

To find out whether there is support in the kernel, you really need to
install the source and take a look at it. In my 2.4.22 kernel source,
I find Matrox G400 drivers that claim to also work with the G450.  I
am not sure if they will also work with your G550, but perhaps it
will.  In order to use them, if the kernel image you are using right
now does not offer a module of it, or it is not compiled in [most
likely not]; the best thing I can recomend to you is to try those
modules and compile the drivers as modules with your new kernel.  I
don't know if you have compiled kernels or not before, but it isn't
too bad.

If that doesn't work, http://www.matrox.com has a listing of 3rd party
driver providers, and there are some commercial drivers available from
XIG [I think the URI is http://www.xig.com] but they should offer free
evaluation copies.  There are other sites offering drivers, so I would
check out the matrox site and see what you can find there as well if
recompiling the kernel with matrox drivers does not help.

I hope this helps,

Aaron Hsu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]