2006-03-28 15:13:31

by cyber rigger

[permalink] [raw]
Subject: Need help reporting bug, no 3D accel with Matrox g400

I need help reporting a bug.


It appears that some later kernel versions
do not support 3D acceleration in some cases.
I'm getting this problem with Debain etch and Ubuntu
Dapper. I first thought it was a problem caused by
switching to xorg but Ubuntu 5.10 is fine and it uses
xorg.

----------------------------------------------------
The 3D acceleration doesn't work with xorg using the
mga driver for a Matrox g400.
My test case is ppracer which runs dreadfully slow.

This is a Debian etch machine with Debian's
2.6.15-1-k7 kernel.


This is what I have found so far.

Re: No direct rendering with recent kernels
http://lists.debian.org/debian-x/2006/01/msg00133.html[mga]


DRM for MGA broken since 2005-Aug-04.
https://bugs.freedesktop.org/show_bug.cgi?id=4797



The 3D acceleration for mga appears to still be
broken.

Where and how may I respectfully plead for this to be
fixed?

:^)


Thanks




__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


2006-03-28 15:43:55

by Paolo Ornati

[permalink] [raw]
Subject: Re: Need help reporting bug, no 3D accel with Matrox g400

On Tue, 28 Mar 2006 07:13:28 -0800 (PST)
cyber rigger <[email protected]> wrote:

> My test case is ppracer which runs dreadfully slow.

Isn't the output of this command enough to tell if direct rendering is
enabled or not?

glxinfo | grep ^direct

--
Paolo Ornati
Linux 2.6.16 on x86_64

2006-03-28 22:44:58

by Lee Revell

[permalink] [raw]
Subject: Re: Need help reporting bug, no 3D accel with Matrox g400

On Tue, 2006-03-28 at 07:13 -0800, cyber rigger wrote:
>
> DRM for MGA broken since 2005-Aug-04.
> https://bugs.freedesktop.org/show_bug.cgi?id=4797
>
>
>
> The 3D acceleration for mga appears to still be
> broken.

That bug is RESOLVED FIXED. Did you try 2.6.16? Do the xorg.conf
workarounds mentioned in that bug report help?

Lee

2006-03-28 22:56:11

by Dave Airlie

[permalink] [raw]
Subject: Re: Need help reporting bug, no 3D accel with Matrox g400

>
>
> It appears that some later kernel versions
> do not support 3D acceleration in some cases.
> I'm getting this problem with Debain etch and Ubuntu
> Dapper. I first thought it was a problem caused by
> switching to xorg but Ubuntu 5.10 is fine and it uses
> xorg.
>
> ----------------------------------------------------
> The 3D acceleration doesn't work with xorg using the
> mga driver for a Matrox g400.
> My test case is ppracer which runs dreadfully slow.
>
> This is a Debian etch machine with Debian's
> 2.6.15-1-k7 kernel.
>
>
> This is what I have found so far.
>
> Re: No direct rendering with recent kernels
> http://lists.debian.org/debian-x/2006/01/msg00133.html[mga]
>
>
> DRM for MGA broken since 2005-Aug-04.
> https://bugs.freedesktop.org/show_bug.cgi?id=4797
>
>
>
> The 3D acceleration for mga appears to still be
> broken.
>
> Where and how may I respectfully plead for this to be
> fixed?

Here, .. no pleading required.. I'm going to get my MGA out and setup
again, however I was sure we'd fixed this before... there is a problem
with the MGA userspace having broken locking,

I'm nearly sure I've fixed up most of the kernel side, but I'll try
and get time to test it again..

Dave.

2006-03-28 23:04:46

by Dave Airlie

[permalink] [raw]
Subject: Re: Need help reporting bug, no 3D accel with Matrox g400

> > It appears that some later kernel versions
> > do not support 3D acceleration in some cases.
> > I'm getting this problem with Debain etch and Ubuntu
> > Dapper. I first thought it was a problem caused by
> > switching to xorg but Ubuntu 5.10 is fine and it uses
> > xorg.
> >
> > ----------------------------------------------------
> > The 3D acceleration doesn't work with xorg using the
> > mga driver for a Matrox g400.
> > My test case is ppracer which runs dreadfully slow.
> >
> > This is a Debian etch machine with Debian's
> > 2.6.15-1-k7 kernel.
> >
> >
> > This is what I have found so far.
> >
> > Re: No direct rendering with recent kernels
> > http://lists.debian.org/debian-x/2006/01/msg00133.html[mga]
> >

Does adding Option "OldDMAInit" "true"
in xorg.conf

fix the issue for you?

Dave.

> >
> > DRM for MGA broken since 2005-Aug-04.
> > https://bugs.freedesktop.org/show_bug.cgi?id=4797
> >
> >
> >
> > The 3D acceleration for mga appears to still be
> > broken.
> >
> > Where and how may I respectfully plead for this to be
> > fixed?
>
> Here, .. no pleading required.. I'm going to get my MGA out and setup
> again, however I was sure we'd fixed this before... there is a problem
> with the MGA userspace having broken locking,
>
> I'm nearly sure I've fixed up most of the kernel side, but I'll try
> and get time to test it again..
>
> Dave.
>

2006-03-29 03:46:21

by cyber rigger

[permalink] [raw]
Subject: Re: Need help reporting bug, no 3D accel with Matrox g400

I tried the workarounds with a 2.6.15 kernel. They
didn't work for me.


I installed Debian's 2.6.16-1-k7 kernel (from sid).

The 3D acceleration WORKS now but I'm only getting
about HALF the frame rate (ppracer) as I did with
Debian's 2.6.8-3-k7 kernel (with xfree86).

Both test were with a Matrox g400.

Could the frame rate change just be a difference
between xfree86 and xorg?



--- Lee Revell <[email protected]> wrote:

> On Tue, 2006-03-28 at 07:13 -0800, cyber rigger
> wrote:
> >
> > DRM for MGA broken since 2005-Aug-04.
> > https://bugs.freedesktop.org/show_bug.cgi?id=4797
> >
> >
> >
> > The 3D acceleration for mga appears to still be
> > broken.
>
> That bug is RESOLVED FIXED. Did you try 2.6.16? Do
> the xorg.conf
> workarounds mentioned in that bug report help?
>
> Lee
>
>



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

2006-03-29 03:54:00

by Sergey Panov

[permalink] [raw]
Subject: Re: Need help reporting bug, no 3D accel with Matrox g400

Are you using dual-screen setup? Direct rendering is disabled when
Xinerama is enabled. In any case , look what your /var/log/Xorg.0.log
is saying about rendering settings.

Sergey

On Tue, 2006-03-28 at 07:13 -0800, cyber rigger wrote:
> I need help reporting a bug.
>
>
> It appears that some later kernel versions
> do not support 3D acceleration in some cases.
> I'm getting this problem with Debain etch and Ubuntu
> Dapper. I first thought it was a problem caused by
> switching to xorg but Ubuntu 5.10 is fine and it uses
> xorg.
>
> ----------------------------------------------------
> The 3D acceleration doesn't work with xorg using the
> mga driver for a Matrox g400.
> My test case is ppracer which runs dreadfully slow.
>
> This is a Debian etch machine with Debian's
> 2.6.15-1-k7 kernel.
>
>
> This is what I have found so far.
>
> Re: No direct rendering with recent kernels
> http://lists.debian.org/debian-x/2006/01/msg00133.html[mga]
>
>
> DRM for MGA broken since 2005-Aug-04.
> https://bugs.freedesktop.org/show_bug.cgi?id=4797
>
>
>
> The 3D acceleration for mga appears to still be
> broken.
>
> Where and how may I respectfully plead for this to be
> fixed?
>
> :^)
>
>
> Thanks
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2006-03-29 04:20:18

by cyber rigger

[permalink] [raw]
Subject: Re: Need help reporting bug, no 3D accel with Matrox g400

My g400 just has only one plug.
I'm using just one monitor.

The 3D acceleration WORKS with a 2.6.16 kernel (using
xorg)
but at only about half the frame rate
of 2.6.8 with xfree86.

The workarounds for 2.6.15 didn't work for me.

See attached Xorg.0.log for the 2.6.15 kernel.



--- Sergey Panov <[email protected]> wrote:

> Are you using dual-screen setup? Direct rendering is
> disabled when
> Xinerama is enabled. In any case , look what your
> /var/log/Xorg.0.log
> is saying about rendering settings.
>
> Sergey
>
> On Tue, 2006-03-28 at 07:13 -0800, cyber rigger
> wrote:
> > I need help reporting a bug.
> >
> >
> > It appears that some later kernel versions
> > do not support 3D acceleration in some cases.
> > I'm getting this problem with Debain etch and
> >Ubuntu
> > Dapper. I first thought it was a problem caused by
> > switching to xorg but Ubuntu 5.10 is fine and it
> uses
> > xorg.
> >
> >
> ----------------------------------------------------
> > The 3D acceleration doesn't work with xorg using
> the
> > mga driver for a Matrox g400.
> > My test case is ppracer which runs dreadfully
> slow.
> >
> > This is a Debian etch machine with Debian's
> > 2.6.15-1-k7 kernel.
> >
> >
> > This is what I have found so far.
> >
> > Re: No direct rendering with recent kernels
> >
>
http://lists.debian.org/debian-x/2006/01/msg00133.html[mga]
> >
> >
> > DRM for MGA broken since 2005-Aug-04.
> > https://bugs.freedesktop.org/show_bug.cgi?id=4797
> >
> >
> >
> > The 3D acceleration for mga appears to still be
> > broken.
> >
> > Where and how may I respectfully plead for this to
> be
> > fixed?
> >
> > :^)
> >
> >
> > Thanks
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> > -
> > To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> > the body of a message to [email protected]
> > More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
>
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Attachments:
Xorg.0.log (39.00 kB)
pat1776990414

2006-03-29 04:42:11

by Lee Revell

[permalink] [raw]
Subject: Re: Need help reporting bug, no 3D accel with Matrox g400

On Tue, 2006-03-28 at 20:20 -0800, cyber rigger wrote:
> My g400 just has only one plug.
> I'm using just one monitor.
>
> The 3D acceleration WORKS with a 2.6.16 kernel (using
> xorg)
> but at only about half the frame rate
> of 2.6.8 with xfree86.
>
> The workarounds for 2.6.15 didn't work for me.
>
> See attached Xorg.0.log for the 2.6.15 kernel.
>

Please, don't top post.

Lee