Jump to content

Playground on mac safari


Hersir
 Share

Recommended Posts

@Jaskar Yes , sorry, 

Mac OS: 10.12.4

Safari:  10.1

Unable to compile effect,
Error: ERROR: unsupported shader version,

Uniforms:  world, view, viewProjection, vEyePosition, vLightsType, vAmbientColor, vDiffuseColor, vSpecularColor, vEmissiveColor, vFogInfos, vFogColor, pointSize, vDiffuseInfos, vAmbientInfos, vOpacityInfos, vReflectionInfos, vEmissiveInfos, vSpecularInfos, vBumpInfos, vLightmapInfos, vRefractionInfos, mBones, vClipPlane, diffuseMatrix, ambientMatrix, opacityMatrix, reflectionMatrix, emissiveMatrix, specularMatrix, bumpMatrix, lightmapMatrix, refractionMatrix, depthValues, diffuseLeftColor, diffuseRightColor, opacityParts, reflectionLeftColor, reflectionRightColor, emissiveLeftColor, emissiveRightColor, refractionLeftColor, refractionRightColor, logarithmicDepthConstant, vLightData0, vLightDiffuse0, vLightSpecular0, vLightDirection0, vLightGround0, lightMatrix0, shadowsInfo0, diffuseSampler, ambientSampler, opacitySampler, reflectionCubeSampler, reflection2DSampler, emissiveSampler, specularSampler, bumpSampler, lightmapSampler, refractionCubeSampler, refraction2DSampler, shadowSampler0

Playground: http://www.babylonjs-playground.com/?2 but even basic scene fails

Fails when run is clicked or switch to different scene

Link to comment
Share on other sites

@Deltakosh Works great in chrome, firefox, opera, just safari is broken.

 

Safari: WebGL v1 - WebGL 1.0 (2.1 INTEL-10.24.45) - Intel Iris Pro OpenGL Engine

Chrome, Opera: WebGL v2 - WebGL 2.0 (OpenGL ES 3.0 Chromium) - Intel Iris Pro OpenGL Engine

Firefox: Inspector is not scrollable so I can't see version :)

Link to comment
Share on other sites

I can test - but I've had no problems with the playground.  Although I have intentionally kept my OS a few steps back - as the latest ones seem to be quite buggy.

 

i.e. I'm on Safari 10.0.3

 

El Capitan was a bit of a joke - it brought my Macbook to a grinding halt - thankfully I 'time machined' it before I upgraded..

 

Link to comment
Share on other sites

I'll try upgrading Safari only first - I may have to upgrade the OS as well...  As I'm only on Yosemite which is 10.10.5

As mentioned I started to avoid upgrading my Mac once it became apparent that El Capitan (10.11) was breaking lots of stuff...

 

Link to comment
Share on other sites

I've 'only' upgraded Safari, not the OS but I get a blank screen - just like Hersir.

 

I've attached a screen grab, showing the errors I now get...

 

I'm going to restore my machine now..!

 

Screen Shot 2017-04-28 at 16.46.43.png

Link to comment
Share on other sites

Quite.  Although as mentioned it does work initially - but as soon as you press Run it then stops working.

 

I've attached a log from the initial time, with it working and then the start of the log once it goes wrong...  There's a lot of output once it does go wrong.

I guess the question Hersir was raising was why does it work initially and then not work when Run is pressed?  Something is different.

 

Screen Shot 2017-04-28 at 16.59.24.png

Screen Shot 2017-04-28 at 17.00.09.png

Link to comment
Share on other sites

@Deltakosh Sorry but I think not.

macOS 10.12.3 - Safari 10.0.3 : Create a basic scene, then recreate an engine and another scene : OK

macOS 10.12.4 - Safari 10.1 : Same thing : OK

 

In the playground, display well, but when I click on "Run" button I got an error (a lot of errors!!!) about "Unsupported shader version". An idea ?

(If you need help tesing, ping me ;) )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...