r300 needs swtcl update for 200m

Bug #148902 reported by Pavel Rojtberg
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

the r300 driver needs an update from git, which would fix:
- Geometry disortions in PPracer, Quake3
- compiz crashing the xserver
- PPracer performance

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Thanks, would you be able to point to the relevant fixes needed?

Changed in mesa:
assignee: nobody → tormodvolden
status: New → Incomplete
Revision history for this message
Pavel Rojtberg (rojtberg) wrote :

basically it should be git up to here:
http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=commit;h=6257ed8663eddb4ebdf99ba69cfe2ced82182ed3

but the recent git does not hurt either. (patched ubuntus mesa myself)

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I think recent git would be too risky and intrusive for Gutsy at least, and for Hardy we'll hope for a new upstream release. But if we can identify some real bug fixes like the commit you linked to (as opposed to enhancements and new developments and rework), we can try to backport them one by one. Do you know if that commit alone fixes compiz crashes? Do you have a bug link for these crashes?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

BTW, does the 7.0.1-2 from Debian fix these issues? That version would maybe be easier to merge into Ubuntu, and it has all fixes from the 7.0.1 git branch. However, Gutsy is pretty much frozen ATM.

Revision history for this message
Pavel Rojtberg (rojtberg) wrote :

mesa 7.0.1 does not contain Dave Airlies swtcl branch yet, so it would not help either. Hence this means that probably all commits regarding swtcl by Dave Airlie would have to be added. Which would proably be indeed too much, considering that I have the "dirty" patched mesa in my PPA already.

regarding the compiz crashes:
https://bugs.edge.launchpad.net/ubuntu/+source/compiz/+bug/146138
http://airlied.livejournal.com/46648.html

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Thanks. Yes, I am afraid this will have to wait then AFAICT.

Changed in mesa:
assignee: tormodvolden → nobody
status: Incomplete → Confirmed
Timo Aaltonen (tjaalton)
Changed in mesa:
importance: Undecided → Low
Revision history for this message
Pavel Rojtberg (rojtberg) wrote :

mesa 7.0.2 in hardy still has this problem...

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I guess the commits didn't go into the 7-0 branch. They will be in 7.1 or 8.0... BTW, the second part of the patch in comment 2 seems like an obvious typo that safely can be backported, but I guess it won't help much.

Revision history for this message
Pavel Rojtberg (rojtberg) wrote :

it would be a pity, if 200m users would have to be another release for basic OpenGL. I have running the attached patch since the gutsy release w/o problems, though I admit is quite intrusive, but perhaps we could test it during the developing releases now...

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I was going to suggest you try that patch on the Hardy version and make your own PPA, but then I checked and it seems you already did :) Can you link to/post a debdiff and changelog for your PPA version?

Revision history for this message
Pavel Rojtberg (rojtberg) wrote :

you can get both if you add "deb-src http://ppa.launchpad.net/madman2k/ubuntu hardy main" to your source list. But basically all I did is applying the patch in comment #9.
The patch replaces the r300 DRI driver with the git version from 2007-07-02 (comment2).

Revision history for this message
ideefixe (ivan-babkin) wrote :

I've tried the packages from http://ppa.launchpad.net/madman2k/ubuntu, and I can confirm that they work much better with my xpress 200m:
1. No more "psychedelic" texture effects in xmoto
2. compiz no longer crashes X

Thank you, Pavel, for providing these packages!

Still compiz is not really usable - there are problems with scaling, everything is too large

Revision history for this message
damagedspline (icpazi) wrote :

According to David Airlie, it is now solved.

http://airlied.livejournal.com/59351.html

Revision history for this message
Andrius Štikonas (stikonas) wrote :

Experimental packages for hardy without any WARRANTY. They may not work as expected.
deb http://ppa.launchpad.net/stikonas/ubuntu hardy main

Revision history for this message
ideefixe (ivan-babkin) wrote : Re: [Bug 148902] Re: r300 needs swtcl update for 200m

Thank for the packages, Andrius!

Compiz now works great with my Xpress 200M and Hardy!

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Pavel and Andrius, thanks for building test packages. I think it would be easier to evaluate your changes if you keep the original orig.tar.gz from the released Ubuntu package and just make a new diff.gz.

Revision history for this message
Andrius Štikonas (stikonas) wrote :

airlied mentioned in his blog (http://airlied.livejournal.com/59351.html) that he plans to backport changes to mesa 7.0 branch. If everything goes this way Ubuntu 8.10 will have xpress 200m working without any patches.

Revision history for this message
Andrius Štikonas (stikonas) wrote :

Tormod, now mesa_7.0.3.diff.gz can be downloaded from my repository, as you have requested.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

mesa 7.1~rc1-0ubuntu1 is now in Intrepid.

Changed in mesa:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.