Hello William,

Uninstall the dri package from where? We're running CentOS here.

William Yang wrote:
> Oh, I think that might be the same problem we ran into here with glxgears on
> Ubuntu not running.  We just had to uninstall the dri package for OpenGL and
> then it would always use software automatically.  Can someone verify if that
> fixes Matlab as well?
> 
> William Yang
> 
>> -----Original Message-----
>> From: [email protected] [mailto:sunray-users-
>> [email protected]] On Behalf Of Jens Langner
>> Sent: Friday, April 16, 2010 7:30 AM
>> To: [email protected]
>> Subject: Re: [SunRay-Users] [SRSS 4.2] Xnewt segfault at
>> 00000000000166e0 ... [SEC=UNCLASSIFIED]
>>
>> Hi Tom,
>>
>> Am 16.04.10 12:59, schrieb Tom Crummey:
>>
>>> The workaround is to get matlab to use software opengl. We added the
>>> following to the matlab startup script at line 497 (version 2009b):
>>>
>>>> #####################################################
>>>> # Fix for SunRay issue running 3D Graphics via OpenGL
>>>> # Make sure that matlab uses software OpenGL
>>>> # 07/12/09, Lee Heagney
>>>> #####################################################
>>>>  ##################################################
>>>>  # If $UTAUDIODEV is not set, then set it to "NONE"
>>>>  ##################################################
>>>>  : ${UTAUDIODEV:="NONE"}
>>>>  if [ $UTAUDIODEV != "NONE" ]; then
>>>>    #################################################
>>>>    # The host is a SunRay, so enable software openGL
>>>>    #################################################
>>>>    usemesalinux=1
>>>>  fi
>>>> ############
>>>> # End of Fix
>>>> ############
>>> This forces matlab to link in its own MESA library.
>> Oh great, I didn't know that there is actually a work around for the
>> problem. So I just tried it here and here it even works when I startup
>> matlab with the option "-softwareopengl". However, hopefully Sun/Oracle
>> is going to fix that problem in one of the next updates/patches so that
>> we can get rid of that option.
>>
>> regards,
>> jens
>> --
>> Jens Langner                                         Ph: +49-351-2602757
>> Forschungszentrum Dresden-Rossendorf e.V.
>> Institute of Radiopharmacy - PET Center                 [email protected]
>> Germany                                               http://www.fzd.de/
>> _______________________________________________
>> SunRay-Users mailing list
>> [email protected]
>> http://www.filibeto.org/mailman/listinfo/sunray-users
> 
> _______________________________________________
> SunRay-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/sunray-users

-- 
Tom.

--------------------------------------------------------------------------
 Tom Crummey, Infrastructure Manager,         EMAIL: [email protected]
 Dept. of Electronic and Electrical Engineering,
 University College London, Roberts Building,   TEL: +44 (0)20 7679 3898
 Torrington Place,                              FAX: +44 (0)20 7388 9325
 London, UK, WC1E 7JE.
--------------------------------------------------------------------------
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to