on node-webkit freeze or input lag issue

Discussion and feedback on Construct 2

Post » Mon Sep 01, 2014 11:54 am

You can download the latest Node-WebKit from here:
https://github.com/rogerwang/node-webkit

Just scroll down to "Downloads" and download v0.10.3 for your platform (Windows, Mac OS etc). Unzip and run the program, and paste the following URL in the address bar:
https://dl.dropboxusercontent.com/u/2425456/Nwtest/index.html

Watch the slider for some minutes to see if a freeze occurs (give it some time, maybe a few refreshes). I tried again with the latest version for Windows. On first try I waited 2 minutes then got a 5+ second freeze. Can someone else try the same thing and post the result?

In Chrome v37 or preview Node-WebKit from within Construct 2 I get no freezes.

@rogerwang
I haven't managed to find Chrome 35 unfortunately. The link you posted does not seem to work any longer I'm afraid (it just redirects to the official download page for the latest Chrome version)
B
18
S
3
Posts: 57
Reputation: 1,081

Post » Mon Sep 01, 2014 7:30 pm

i tried installing chrome 35, but i didn't work, how im suposed to do it?? i need to uninstall the chrome im using now first and then install 35 version??

i will do my best to give roger some data.

please people, lets get this fixed.
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Mon Sep 01, 2014 9:23 pm

@SirSpunky i runned the test using your instructions.

and it frozed after 1 minute for 10 seconds and after 1 minute more it froze again for 2 seconds...

@rogerwang is this what you were asking for roger?
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Tue Sep 02, 2014 5:54 am

This is frustrating to admit, but after hours of testing myself i dont seem to have an issue.. yet testers have expressed that they HAVE seen the issue. Could it be hardware related? I will be trying to setup some kind of "Broken CAPX" that shows the issue so I can have the testers run it to see if it hangs for them. Or has anyone prepared a CAPX of a simple file that *definitely* freezes for them? If so, could you share?
Made Cosmochoria - www.cosmochoria.com
Currently working on Slayaway Camp - www.slayawaycamp.com
B
27
S
8
G
3
Posts: 384
Reputation: 5,020

Post » Tue Sep 02, 2014 10:06 am

@80bit
That's interesting. Are you running Windows 8.1 as well?

I used the simple capx from Giganten. It uses a sine behaviour for movement, which causes freezing for me after some minutes (not in preview Node-WebKit but full export):
https://www.dropbox.com/sh/iyia6jc30cv3 ... .capx?dl=1

I'm still curious what difference there is between Node-WebKit previews and full exports, as there's obviously some important change that's causing the freezes to appear in the exported version only.
B
18
S
3
Posts: 57
Reputation: 1,081

Post » Tue Sep 02, 2014 3:01 pm

@SirSpunky - Not having any issues in Windows 7 actually. The reports I am getting from testers are running in Windows XP.
Made Cosmochoria - www.cosmochoria.com
Currently working on Slayaway Camp - www.slayawaycamp.com
B
27
S
8
G
3
Posts: 384
Reputation: 5,020

Post » Tue Sep 02, 2014 3:06 pm

I made a new version for diagnostic. If you hit the freeze issue. Please download this, run the executable, navigate to 'chrome://gpu' and post the result here. And also please do the same in Chrome browser and post the result if your game works well in Chrome.

>>http://dl.node-webkit.org/live-build/09-02-2014/win64_master-build-161-982168c-8c5bc86-731b9e2-0f7c844-3d94950-86728d1/node-webkit-v0.10.3-win-ia32.zip<<
>>http://dl.node-webkit.org/live-build/09-02-2014/mac64_master-build-163-982168c-8c5bc86-731b9e2-0f7c844-3d94950-86728d1/node-webkit-v0.10.3-osx-x64.zip<<
>>http://dl.node-webkit.org/live-build/09-02-2014/linux64_master-build-158-982168c-8c5bc86-731b9e2-0f7c844-3d94950-86728d1/node-webkit-v0.10.3-linux-x64.tar.gz<<

@SirSpunky
@80bit
@Lunatrap
@vlweb3d
@Giganten
@megatronx
B
4
Posts: 16
Reputation: 330

Post » Tue Sep 02, 2014 3:28 pm

You can overwrite the version of node-webkit C2 uses by pasting the node-webkit files over the ones at <install path>\exporters\html5\node-webkit.

@rogerwang - my best theory is since it doesn't happen in Chrome that the blocking is happening in node.js. However I can't explain why the threaded compositing option would affect it.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250

Post » Tue Sep 02, 2014 4:15 pm

@rogerwang

I tested on Mac OSX and on Windows 7 (Running in Parallels) and basically tried:

Opening the test file (http://3030.ca/freeze) in your recently provided nodewebkit 0.10.3 and right next to it, opened the same URL in chrome 36 (i cant find chrome 35 -- is that important? if so I'll look harder). Here are the results of each test:

Windows 7 64bit (via Parallels)
Chrome 36: Freeze? No -- Diagnostics @ http://pastebin.com/2s4PyU30
NodeWebkit 0.10.3: Freeze? Yes -- Diagnostics @ http://pastebin.com/yiVPuj57

Mac OSX 10.9.4
Chrome 36: Freeze? No -- Diagnostics @ http://pastebin.com/iDYSvZMR
NodeWebkit 0.10.3: Freeze? No -- Diagnostics @ http://img.80bit.com/Cursor_and_New_pro ... xi_net.png (couldnt copy paste)


Let me know if you want screenshot style ones for the other ones too - also if you need the whole thing or just a section...

Thanks!
nate
Last edited by 80bit on Tue Sep 02, 2014 11:01 pm, edited 2 times in total.
Made Cosmochoria - www.cosmochoria.com
Currently working on Slayaway Camp - www.slayawaycamp.com
B
27
S
8
G
3
Posts: 384
Reputation: 5,020

Post » Tue Sep 02, 2014 4:35 pm

@rogerwang
Thanks for taking the time to look into this.

Here's my log from NW v0.10.3 win32 from your last post, which gives me freezes:
https://dl.dropboxusercontent.com/u/242 ... gpu_nw.htm

Here's the log from my Chrome v37 installation, where I don't get freezes:
https://dl.dropboxusercontent.com/u/242 ... chrome.htm

I'm running Windows 8.1 64-bit.
B
18
S
3
Posts: 57
Reputation: 1,081

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: jefftrier, vikuserro and 8 guests