Path: news.mathworks.com!not-for-mail
From: Brian Arnold <barnold@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Mac Intel OpenGL error
Date: Fri, 09 Mar 2007 18:58:42 -0500
Organization: The MathWorks, Inc.
Lines: 78
Message-ID: <45F1F4B2.1070000@mathworks.com>
References: <4521A66C.5060304@mathworks.com> <ef42ae2.1@webcrossing.raydaftYaTP> <epif0n$b20$1@fred.mathworks.com> <ef42ae2.5@webcrossing.raydaftYaTP> <45F1DE0A.7060709@mathworks.com> <ef42ae2.7@webcrossing.raydaftYaTP>
NNTP-Posting-Host: arnoldb-mac1.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1173484723 7065 144.212.108.69 (9 Mar 2007 23:58:43 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 9 Mar 2007 23:58:43 +0000 (UTC)
To: Brian Powell <powellb@ucsc.edu>
User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923)
X-Accept-Language: en-us, en
In-Reply-To: <ef42ae2.7@webcrossing.raydaftYaTP>
Xref: news.mathworks.com comp.soft-sys.matlab:396599



Hi,

I might be hopelessly optimistic but I think the MATLAB Desktop 
(Java-based) has been getting better in each release, but I'll agree we 
could be aiming higher.  It's worth noting that Apple's Java uses Cocoa 
under the skin and we sprinkle in native Cocoa code where it makes 
sense, but it remains to be seen whether our efforts will ever be seen 
as "truly native" (a true Cocoa app).

As for the menus not being in the screen menu bar, that's a dead 
giveaway we're not close yet.  With each release, we try putting them 
there, but we keep finding issues preventing us from leaving them this 
way.  In the Intel Mac beta, screen menus were actually enabled, and 
customers found several issues, some of which will require Apple 
updates, so we had to go back...again.  Not all of our problems have 
been Apple-related, but we depend a lot on Apple and Sun support for 
some of the more complicated things we do.  We have worked with Apple 
(and sometimes Sun) and both have been very supportive of our work; wish 
me luck that we get this right some day.

We are investigating the relatively poor result with SPARSE in bench on 
Intel-based Mac (this was reported by 7a pre-release customers and by 
internal users).

Thanks,

Brian


Brian Powell wrote:
> Brian, Thank you for the reply. Maybe I'm just stuck in my ways, but
> I dislike the java desktop environment, and use the terminal for
> matlab. I use the "matlab -nodesktop" option, which I would think
> triggers Java for the graphics; however, it still uses X11. I could
> care less about X11, but I like the terminal command window.
> 
> I tried 2007a with the java desktop and the menus aren't even in the
> menubar, is this supposed to happen? Using opengl with that
> environment was *stinking* fast! Kudos on that. My average bench
> scores for 3D were 0.32. I'm not sure why the mac intel bench scores
> so poorly on SPARSE. Everything else it does well.
> 
>  Brian Arnold wrote:
> 
>>
>>Hi Brian,
>>
>>This warning is an indication that we are starting to deprecate
>>X11-based graphics from the Mac version in this release. In
>>R2007a, we
>>eliminated the X11-based OpenGL renderer on the Mac, leaving just
>>the
>>native OpenGL renderer, so using OpenGL for graphics requires
>>running
>>with the Java JVM. You are also now not able to set
>>feature('javafigures',0) to get X11 figures with the JVM. If you
>>try,
>>you will get a link to information regarding this change. In a
>>future
>>release, you will not be able to use X11 for graphics.
>>
>>I realize this may upset some customers. If you really, really
>>love X11
>>graphics, consider switching to the Linux version. There is a much
>>
>>larger number of Mac customers who are impacted by the fact that we
>>
>>continue to depend on X11, and we regularly deal with install
>>issues,
>>runtime issues, and other basic usability issues. My goal is to
>>eventually drive X11 out of the Mac version.
>>
>>To run bench with the native OpenGL renderer without this warning,
>>you
>>must run with the Java JVM.
>>
>>Let me know if this helps,
>>