[Bug 347569] Re: [RS482] glxgears low fps

2009-06-08 Thread Jeremy Wilkins
After testing the patch on amd64, I have not noticed any instabilities,
and all GL programs tested so far seem to work normally and much faster.
The whole system is tremendously more responsive and my GLX gears get
double the scores on my Radeon 200M that it was getting with the
unpatched mesa.  The results were immediately noticeable upon
installation.

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-08 Thread Irom Nike
i have the same problem with my toshiba a215 laptop.

$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
1311 frames in 5.0 seconds = 262.136 FPS
1573 frames in 5.0 seconds = 314.562 FPS
1609 frames in 5.0 seconds = 321.686 FPS
1532 frames in 5.0 seconds = 306.386 FPS
1607 frames in 5.0 seconds = 321.279 FPS

$ lspci |grep VGA
01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 
Series]

$ uname -a
Linux laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 
GNU/Linux

and i have no idea how to use any patches...

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-08 Thread Jeremy Wilkins
Irom Nike: You should be able to try out the .deb file posted above, but
be warned that it is an untested binary and may break something.  If you
installed the jaunty-updates version of mesa, then you may need all the
mesa related packages updated with the patch versions.  I am on my
laptop (a 64bit platform) right now and 300kms from home, but I could
assist in compiling a full set of 32bit binaries once I get home, since
my home server is a 32bit OS.  I might even be able to compile them
remotely, but I have been having troubles with that computer since I
upgraded it to jaunty (Almost a cliche).  It isn't jaunty's fault on
that machine, it has been sick for some time, the upgrade just exposed
its issues.

BTW.  I have done more tests with that patch against desktop effects,
games, wined3d, etc.  It has been rock solid for me, but my computer has
no TCL.  I am uncertain whether a card with TCL would break or not.

Bryce Harrington: I am curious if a personal ppa is in order?  Will this
patch get pushed to updates or backports?  If not, I am ok to open a ppa
in the mean time for only those with cards that are suffering until the
radeon-rewrite code becomes the norm.  In testing this code on my 200M
fairly well with all the 3d pressure of desktop effects with magic lamp
and desktop cube enabled, it hasn't crashed once and has run like a
dream.  It is faster than I ever remember my card functioning and the
constant memory leak issues that I used to experience seem to have gone
away.  Videos that used to pin my cpu (3d texture mapped) now don't even
make the computer busy at all.  3D video games run faster than I ever
remember them running, and likewise don't tax the computer anymore, and
the general stability of the system seems to have improved.  Obviously,
because of the reduced cpu usage my computer consistently runs cooler
and the battery lasts longer.  I would like those with TCL capabilities
to offer their experiences too.  If it locks up TCL supporting cards, we
obviously can't send the patch to the updates repo, but we can reserve
it only to certain models in a ppa.

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-08 Thread Bryce Harrington
** Package changed: xserver-xorg-video-ati (Ubuntu) = mesa (Ubuntu)

** Changed in: mesa (Ubuntu)
   Importance: Undecided = High

** Changed in: mesa (Ubuntu)
   Status: Confirmed = Triaged

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-08 Thread Bryce Harrington
Hi Jeremy,

Thanks for chasing down a patch.  I've packaged it for jaunty and stuck
it in my ppa for testing:

  https://edge.launchpad.net/~bryceharrington/+archive/ppa

It might be feasible for an SRU, so I'll add the jaunty task and mark it
fixed in karmic since this patch is already included in the version we
have there.  But I'd like to see more extensive testing done to be sure
it doesn't cause regressions first.  If you can scare up half a dozen
people to give it a try and we find no regressions, then we can look at
SRUing it.

** Also affects: mesa (Ubuntu Jaunty)
   Importance: Undecided
   Status: New

** Changed in: mesa (Ubuntu)
   Status: Triaged = Fix Released

** Summary changed:

- [RS482] glxgears low fps
+ [RS482] low performance due to removal of _tnl_ProgramCacheInit()

-- 
[RS482] low performance due to removal of _tnl_ProgramCacheInit()
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-07 Thread Jeremy Wilkins
I also have a 200M chipset on a laptop and have been experiencing the
same troubles.  I followed the link that sergks left there and installed
those components, I also installed the newer radeon drivers, but it
messed up my ability to run any GL programs that would run before, GLX
gears runs beautifully however, and so does desktop effects.  I will try
using the older driver again to be sure that it isn't as a result of the
new driver alone.

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-07 Thread Jeremy Wilkins
More on the previous post.  It appears that the updated Mesa does fix this 
problem, but other programs like warzone 2100 and wine are built against mesa 
1.4 libraries and they crash the whole system.  The updated radeon drivers 
don't seem to have any noticeable effect.  In order to implement this fix with 
the 1.6 base, just about every Mesa linked 3D program would also need updating. 
 I doubt this will ever happen, but the fix mentioned above can be applied to 
the 1.4.0 branch.  The details of the official patch are here:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed4c6cbe017b4e8bacb7e012d4baaf77a20a2c33

We just need to backport it.

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-07 Thread Jeremy Wilkins
This is the official patch, but it may or may not work against 1.4
sources.

** Attachment added: r300 performance fix
   http://launchpadlibrarian.net/27633393/r300_context_tnlcache_fix.patch

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-07 Thread Jeremy Wilkins
This patch applies successfully on the 1.4 branch, I am compiling a test
package to confirm success or failure on the stability side.

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-07 Thread Jeremy Wilkins
This patch is the wrong one.  It is an old patch.  The correct patch has
similar results to the mesa libraries mentioned above.

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 347569] Re: [RS482] glxgears low fps

2009-06-07 Thread Jeremy Wilkins
Updated patch.  This one moves one of the TNL lines.  Apparently it
improves performance, but as the author mentioned it causes lockups for
some things.  I will test is thoroughly.

** Attachment added: r300 performance fix
   http://launchpadlibrarian.net/27634168/r300_context_tnlcache_fix.patch

-- 
[RS482] glxgears low fps
https://bugs.launchpad.net/bugs/347569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs