Uses wrong HTML5 Renderer in Windows 8.1

1 view
Skip to first unread message

tmsto...@gmail.com

unread,
Mar 12, 2014, 3:51:13 PM3/12/14
to node-...@googlegroups.com
I have a HTML5 game (made in Construct2) that should run in WebGL where compatible. On my Gaming Desktop PC, the game runs in WebGL on both Node-Webkit and web browsers.

However, on my laptop, it runs WebGL in Web Browsers (such as Google Chrome and Firefox), it runs in the slower Canvas2D in Node-Webkit.

My Laptop Specs:
- Windows 8.1 64-bit
- Intel Core i5-4200U CPU
- Intel® HD Graphics 4400

LZAntal

unread,
Mar 12, 2014, 4:26:58 PM3/12/14
to node-...@googlegroups.com
Hi,


First try to eliminate construct2. Open node-webkit with a raw WebGL only html file to see if it runs. If so then construct2 is not detecting WebGL properly.
I got lost the same setup as yours except i3 cpu and it runs WebGL without any issue.


Laszlo



--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tmsto...@gmail.com

unread,
Mar 12, 2014, 6:19:30 PM3/12/14
to node-...@googlegroups.com
Hey Laszlo,

I downloaded Node-Webkit 0.9.2 (Win32) and used it to navigate to the site http://get.webgl.org/

What I got was this message:
"Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card."

This is different from using Firefox or Chrome, where I get the wireframed spinning cube.

LZAntal

unread,
Mar 12, 2014, 6:32:51 PM3/12/14
to node-...@googlegroups.com
Hi,
Hmm thats weird. Try this, add this to your package.json file "chromium-args" : "--enable-webgl"

LZAntal

unread,
Mar 12, 2014, 6:47:51 PM3/12/14
to node-...@googlegroups.com
Hi,

If that fixes it please let me know. I haven't come across a win pc without dx pre-installed so I might need to add those to my project if thats the case.

Tim Stoddard

unread,
Mar 12, 2014, 7:03:33 PM3/12/14
to node-...@googlegroups.com
Hey it works now! And it's running much more smoothly! So yeah, I'm guessing Windows 8.1 removes DX9 components, probably in favour of DX10.1 or higher or something?

Anyways! Thanks!


On Wed, Mar 12, 2014 at 10:47 PM, LZAntal <lza...@gmail.com> wrote:
Hi,

If that fixes it please let me know. I haven't come across a win pc without dx pre-installed so I might need to add those to my project if thats the case.

Thank you

On Mar 12, 2014, at 3:32 PM, LZAntal <lza...@gmail.com> wrote:

Hi,


On Mar 12, 2014, at 3:19 PM, tmsto...@gmail.com wrote:

Hey Laszlo,

I downloaded Node-Webkit 0.9.2 (Win32) and used it to navigate to the site http://get.webgl.org/

What I got was this message:
"Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card."

This is different from using Firefox or Chrome, where I get the wireframed spinning cube.


Hmm thats weird. Try this, add this to your package.json file "chromium-args" : "--enable-webgl"


Laszlo
http://twitter.com/LZAntal


--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to a topic in the Google Groups "node-webkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-webkit/IP2vxk1cPt0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-webkit...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

LZAntal

unread,
Mar 12, 2014, 7:17:07 PM3/12/14
to node-...@googlegroups.com
Hi,

On Mar 12, 2014, at 4:03 PM, Tim Stoddard <tmsto...@gmail.com> wrote:

Hey it works now! And it's running much more smoothly! So yeah, I'm guessing Windows 8.1 removes DX9 components, probably in favour of DX10.1 or higher or something?

Anyways! Thanks!


Awesome!! So you had to install the DX9 or just add the chrome flag?

Thanks


Tim Stoddard

unread,
Mar 12, 2014, 7:18:45 PM3/12/14
to node-...@googlegroups.com
Had to install DX9 redist, adding the chrome flag didn't work.

LZAntal

unread,
Mar 12, 2014, 7:23:54 PM3/12/14
to node-...@googlegroups.com
Hi,

On Mar 12, 2014, at 4:18 PM, Tim Stoddard <tmsto...@gmail.com> wrote:

Had to install DX9 redist, adding the chrome flag didn't work.

Awesome thanks!! I'll add it with my build to avoid these edge cases.
Glad it works now :)

jdunc...@gmail.com

unread,
Mar 16, 2014, 10:00:52 PM3/16/14
to node-...@googlegroups.com, tmsto...@gmail.com
You are missing libEGL and libGLESv2 which aren't distributed on Windows 8 or 8.1. Thats why installing DX9 fixes the issue.
Reply all
Reply to author
Forward
0 new messages