Problems with matlab when compiz is activated

Bug #485792 reported by anabelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: compiz

I'm using matlab over an ssh -{X,Y} connection. I don't know if the problem exists if matlab is installed locally.

The result of executing the following lines of code is in the images attached:
surf(peaks(30))

I think this bugs affects a lot of people. At least the 30 belonging to my Lab. And not everybody has the patience of trying to debug the thing playing with compiz parameters.

Revision history for this message
anabelli (anabelli) wrote :
Revision history for this message
Travis Watkins (amaranth) wrote :

Does this happen if you enable the metacity compositor as well? It looks like matlab is foolishly using an ARGB pixmap with full alpha set which would work fine without compositing but gives the result shown when things start caring about alpha.

To enable metacity compositing run gconf-editor and change the /apps/metacity/general/compositing_enabled setting.

Changed in compiz (Ubuntu):
status: New → Incomplete
Revision history for this message
anabelli (anabelli) wrote :

I'll check it on monday.
Thanks.

Revision history for this message
anabelli (anabelli) wrote :

- travis

I found no "compositing_enabled" key, I actually activated "compositing_manager" and turned on "Normal" visual effects but the problem persists.

Revision history for this message
Travis Watkins (amaranth) wrote :

Don't turn on Normal visual effects after changing that setting, leave it on None and see if you get the same problem. That'll tell us if it's a compiz problem or a matlab problem.

Revision history for this message
Travis Watkins (amaranth) wrote :

Also make sure the window has a drop shadow just like it does when Normal effects are enabled. That'll be how you know the compositing_manager feature is enabled in metacity.

Revision history for this message
anabelli (anabelli) wrote :

Ok.
With compositing_manager activated it doesn't work.

Revision history for this message
Travis Watkins (amaranth) wrote :

Alright in that case it is a problem with matlab and you'll need to let MathWorks know about it so it can get corrected.

Changed in compiz (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
anabelli (anabelli) wrote :

I did and this was the answer:

Response from The MathWorks - 24 Nov, 2009 09:59:45 AM
Bonjour,

It seems an issue with Java in conjunction with COMPIZ Window Manager. There are some known sun bugs.
Using another window manager will probably resolve the issue
Several existing issues with Java and compiz are displayed on the sun bug database.

$$$

In fact, disabling opengl in matlab (`opengl neverselect`), de-activating compiz and activating metacity as composite manager works. Compiz has something to do with the affair (taken apart that java is evil other than slow).

cheers,
aa

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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