Re: Connection Problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Connection Problems

Howard Stearns
This is a function that is defined by the version of openGL we use.  
There are some subtleties that I don't quite understand:

1) There are graphics drivers that screw with OpenGL.  Some of these  
are laptop-specific (e.g., the laptop cannot use the drivers on the  
graphics card manufacturer's Web site). Some are Microsoft issues  
(e.g., distributing drivers that do not work quite right for anything  
but DirectX). I'm not aware of a missing glLoadTraposeMatrixf being  
caused by these, but that doesn't mean much.

2) There's a Windows memory management issue in which large footprint  
programs (including Squeak) seem to cause the opengl library to not  
load up the stuff it needs. Andreas created a new Windows VM that  
tries to avoid this, and which is included in Versions 7 and 8 of the  
Croquet Collaborative distribution and also at squeakvm.org.

Interestingly, all the failure examples I can find seem to involve  
Dell machines. (Andreas' VM definitely fixed my office Dell laptop's  
problem.)

Regardless of the cause, Oliver Bye posted ("Error rendering world")  
a workaround that uses matrixes in a different form, using an  
additional operation.

!OpenGL methodsFor: 'GL_ARB_transpose_matrix' stamp: 'oib 9/24/2006  
09:20'!
glLoadTransposeMatrixf: m
"Hack to support Dell Latitude D610 Intel Graphics"
        ^self glLoadMatrixf: m transposed.! !

!OpenGL methodsFor: 'GL_ARB_transpose_matrix' stamp: 'oib 9/24/2006  
09:22'!
glMultTransposeMatrixf: m
"Hack to support Dell Latitude D610 Intel graphics"
        ^self glMultMatrixf: m transposed.! !


On Mar 9, 2007, at 4:16 PM, Laurence Rozier wrote:

> Hi,
>
> On several Dell Windows XP machines 1-2 years old, I get the error:
>
> Failed to find glLoadTransposeMatrixf
>
> after clicking on the 'Click me' button to start Croquet. At least  
> one of these machines used to be able to load Jasmine. All run  
> Second Life fine. I've tried updating the graphics drivers to no  
> avail - any hints?
>
> TIA,
>
> Laurence

Reply | Threaded
Open this post in threaded view
|

Re: Re: Connection Problems

Bert Freudenberg
Aargh, that transpose matrix problem again. This has cropped up for a  
few times. Wasn't this fix included?

        https://lists.wisc.edu/read/messages?id=896920

Additionally, the discussion here resulted in a method that tries the  
OpenGL version first before doing the transpose manually (which is  
slow):

        https://lists.wisc.edu/read/messages?id=1115329

- Bert -

On Mar 10, 2007, at 4:10 , Howard Stearns wrote:

> This is a function that is defined by the version of openGL we use.  
> There are some subtleties that I don't quite understand:
>
> 1) There are graphics drivers that screw with OpenGL.  Some of  
> these are laptop-specific (e.g., the laptop cannot use the drivers  
> on the graphics card manufacturer's Web site). Some are Microsoft  
> issues (e.g., distributing drivers that do not work quite right for  
> anything but DirectX). I'm not aware of a missing  
> glLoadTraposeMatrixf being caused by these, but that doesn't mean  
> much.
>
> 2) There's a Windows memory management issue in which large  
> footprint programs (including Squeak) seem to cause the opengl  
> library to not load up the stuff it needs. Andreas created a new  
> Windows VM that tries to avoid this, and which is included in  
> Versions 7 and 8 of the Croquet Collaborative distribution and also  
> at squeakvm.org.
>
> Interestingly, all the failure examples I can find seem to involve  
> Dell machines. (Andreas' VM definitely fixed my office Dell  
> laptop's problem.)
>
> Regardless of the cause, Oliver Bye posted ("Error rendering  
> world") a workaround that uses matrixes in a different form, using  
> an additional operation.
>
> !OpenGL methodsFor: 'GL_ARB_transpose_matrix' stamp: 'oib 9/24/2006  
> 09:20'!
> glLoadTransposeMatrixf: m
> "Hack to support Dell Latitude D610 Intel Graphics"
> ^self glLoadMatrixf: m transposed.! !
>
> !OpenGL methodsFor: 'GL_ARB_transpose_matrix' stamp: 'oib 9/24/2006  
> 09:22'!
> glMultTransposeMatrixf: m
> "Hack to support Dell Latitude D610 Intel graphics"
> ^self glMultMatrixf: m transposed.! !
>
>
> On Mar 9, 2007, at 4:16 PM, Laurence Rozier wrote:
>
>> Hi,
>>
>> On several Dell Windows XP machines 1-2 years old, I get the error:
>>
>> Failed to find glLoadTransposeMatrixf
>>
>> after clicking on the 'Click me' button to start Croquet. At least  
>> one of these machines used to be able to load Jasmine. All run  
>> Second Life fine. I've tried updating the graphics drivers to no  
>> avail - any hints?
>>
>> TIA,
>>
>> Laurence
>


Reply | Threaded
Open this post in threaded view
|

Re: Re: Connection Problems

Howard Stearns
It looks like neither your original fix was included, nor the dynamic-
define-a-slower-method-on-fall-through fix you discussed with Enrico.

I've created a ticket (http://bugs.impara.de/squeak/view.php?id=6338).

Andreas owns the package (OpenGL-Core), but he's completely swamped  
right now. I'm going to go out on limb, though, and suggest that if  
someone offers a tested new version of this package, we can find a  
way to get into the repository. I can offer some naive testing by  
using the pre-1.0.5 Windows VM on a box that wasn't handling ARB before.

On Mar 10, 2007, at 2:24 AM, Bert Freudenberg wrote:

> Aargh, that transpose matrix problem again. This has cropped up for  
> a few times. Wasn't this fix included?
>
> https://lists.wisc.edu/read/messages?id=896920
>
> Additionally, the discussion here resulted in a method that tries  
> the OpenGL version first before doing the transpose manually (which  
> is slow):
>
> https://lists.wisc.edu/read/messages?id=1115329
>
> - Bert -
>
> On Mar 10, 2007, at 4:10 , Howard Stearns wrote:
>
>> This is a function that is defined by the version of openGL we  
>> use. There are some subtleties that I don't quite understand:
>>
>> 1) There are graphics drivers that screw with OpenGL.  Some of  
>> these are laptop-specific (e.g., the laptop cannot use the drivers  
>> on the graphics card manufacturer's Web site). Some are Microsoft  
>> issues (e.g., distributing drivers that do not work quite right  
>> for anything but DirectX). I'm not aware of a missing  
>> glLoadTraposeMatrixf being caused by these, but that doesn't mean  
>> much.
>>
>> 2) There's a Windows memory management issue in which large  
>> footprint programs (including Squeak) seem to cause the opengl  
>> library to not load up the stuff it needs. Andreas created a new  
>> Windows VM that tries to avoid this, and which is included in  
>> Versions 7 and 8 of the Croquet Collaborative distribution and  
>> also at squeakvm.org.
>>
>> Interestingly, all the failure examples I can find seem to involve  
>> Dell machines. (Andreas' VM definitely fixed my office Dell  
>> laptop's problem.)
>>
>> Regardless of the cause, Oliver Bye posted ("Error rendering  
>> world") a workaround that uses matrixes in a different form, using  
>> an additional operation.
>>
>> !OpenGL methodsFor: 'GL_ARB_transpose_matrix' stamp: 'oib  
>> 9/24/2006 09:20'!
>> glLoadTransposeMatrixf: m
>> "Hack to support Dell Latitude D610 Intel Graphics"
>> ^self glLoadMatrixf: m transposed.! !
>>
>> !OpenGL methodsFor: 'GL_ARB_transpose_matrix' stamp: 'oib  
>> 9/24/2006 09:22'!
>> glMultTransposeMatrixf: m
>> "Hack to support Dell Latitude D610 Intel graphics"
>> ^self glMultMatrixf: m transposed.! !
>>
>>
>> On Mar 9, 2007, at 4:16 PM, Laurence Rozier wrote:
>>
>>> Hi,
>>>
>>> On several Dell Windows XP machines 1-2 years old, I get the error:
>>>
>>> Failed to find glLoadTransposeMatrixf
>>>
>>> after clicking on the 'Click me' button to start Croquet. At  
>>> least one of these machines used to be able to load Jasmine. All  
>>> run Second Life fine. I've tried updating the graphics drivers to  
>>> no avail - any hints?
>>>
>>> TIA,
>>>
>>> Laurence
>>
>
>