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 17:22:02 -0500
Organization: The MathWorks, Inc.
Lines: 110
Message-ID: <45F1DE0A.7060709@mathworks.com>
References: <steve.sell-0A90C7.15414902102006@news.jpl.nasa.gov> <4521A66C.5060304@mathworks.com> <ef42ae2.1@webcrossing.raydaftYaTP> <epif0n$b20$1@fred.mathworks.com> <ef42ae2.5@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 1173478922 19664 144.212.108.69 (9 Mar 2007 22:22:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 9 Mar 2007 22:22:02 +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.5@webcrossing.raydaftYaTP>
Xref: news.mathworks.com comp.soft-sys.matlab:396586



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,

- Brian

Brian Arnold
Mac Developer
The MathWorks, Inc.

Brian Powell wrote:
> Greetings Brian,
> 
> I just installed the R2007a release on my MacBook Pro (core duo)
> 2.0GHz, and when I run 'bench' in matlab, I get:
> 
> Warning: Mac X11-based OpenGL rendering is currently unavailable.
> 
> I never tried the 2007a beta, only the 2006b beta release. Is there a
> setting I must update?
> 
> Thanks!
> 
>  Brian Arnold wrote:
> 
>>
>>Hi Alessandro,
>>
>>This has been addressed. You may download the R2007a pre-release
>>for
>>Intel-based Mac, or you may contact support@mathworks.com to find
>>out
>>how to obtain the OpenGL support library for the beta.
>>
>>I recommend the pre-release, as it has numerous other fixes and
>>enhancements.
>>
>>- Brian
>>
>>Brian Arnold
>>Mac Developer
>>The MathWorks, Inc.
>>
>>Alessandro Malatesta wrote:
>>
>>>So...what?
>>>Is there a solution or it is necessary to wait until you fix
> 
> it?
> 
>>And,
>>
>>>in that case, how long is it going to take?
>>>--Alex
>>>
>>>Brian Arnold wrote:
>>>
>>>
>>>>Hi,
>>>>
>>>>The library glren.dylib, which is MATLAB's OpenGL library,
> 
> is not
> 
>>>>in the
>>>>beta, due to threading issues which we are investigating.
>>>>
>>>>Brian
>>>>
>>>>Steve Sell wrote:
>>>>
>>>>
>>>>>Hello,
>>>>>
>>>>>I just installed the beta and when I try to run bench I
> 
> get an
> 
>>>>OpenGL
>>>>
>>>>
>>>>>error. I then ran the "opengl info" command and get:
>>>>>
>>>>>Warning: Could not access OpenGL library
>>>>>
>>>>>I am running on a 15" MacBook Pro 2GB Ram, OSX 10.4.8
>>>>>
>>>>>Any ideas?
>>>>>
>>>>>-Steve
>>>>