Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webgl demo not working(webgl in general) in win7?? #185

Closed
aremes opened this issue Nov 15, 2012 · 21 comments
Closed

webgl demo not working(webgl in general) in win7?? #185

aremes opened this issue Nov 15, 2012 · 21 comments
Labels
Milestone

Comments

@aremes
Copy link

aremes commented Nov 15, 2012

I've been trying to get node-webkit to show any support for webgl under win7, but i've failed terribly.
Both systems i've tried on (7 Home, and 7 Pro) support webgl using chrome(testing done using both get.webgl.org as well as a custom html that just tries to get the experimental-webgl context from a canvas node)

trying to run the webgl demo or the custom html file described above doesn't work in node-webkit.
specifically, it says webgl disabled

i installed all the latest graphics drivers on both systems. no change.

graphics hardware is intel HD 945gm and ati radeon mobility hd4330 none of which show up under chrome's unsupported devices list.

btw, i've tried all of this with 0.3.3 and 0.3.2. --> same result.

@aremes
Copy link
Author

aremes commented Nov 15, 2012

I'll try it out on mac & linux tomorrow, and will post what i get there..

@rogerwang
Copy link
Member

it should be related to the difference on blacklist between the browser and content shell. Will look into this. Thanks for reporting.

@rogerwang
Copy link
Member

In the meantime you could try with this switch '--ignore-gpu-blacklist', as documented here: https://github.com/rogerwang/node-webkit/wiki/Command-line-switches

@aremes
Copy link
Author

aremes commented Nov 16, 2012

thanks for the quick response! :)

nw.exe --ignore-gpu-blacklist webgl
didn't do the trick on any one of three win-7 laptops i tried while get.webgl.org worked fine on all of them..
worked fine on mac without the switch. haven't been able to test using linux yet.

@rogerwang
Copy link
Member

You mean get.webgl.org works in node-webkit on win7 but your webgl code doesn't?

@aremes
Copy link
Author

aremes commented Nov 17, 2012

no, get.webgl.org works within chrome.(so the graphics card supports webgl). within node-webkit however, get.webgl.org says webgl ist disabled

@rogerwang
Copy link
Member

I see. We are able to reproduce it here. Will fix this soon. Thanks for reporting.

@rogerwang
Copy link
Member

@aremes , could you please provide these details of the non-working platform:

gfx chip model
gfx driver version

Thanks

@aremes
Copy link
Author

aremes commented Nov 18, 2012

  1. intel 945gm w/ driver: 8.15.10.2559
  2. intel gma 3600 w/ driver: 8.14.8.1083
  3. AMD Radeon HD 7550M w/ driver 8.951.9.3000
  4. nvidia geforce gt 230m w/ driver 9.18.13.697

still haven't gotten around to running it on linux.. thanks for all the work!

@rogerwang
Copy link
Member

We believe copying d3dx9_43.dll and d3dcompiler_43.dll from the Chrome browser install files to the directory of node-webkit will fix this. Will ship the DLLs in the next release.

@aremes
Copy link
Author

aremes commented Nov 19, 2012

Just tested on one workstation which had the same problem, and above solution worked like a charm! thank you very much! ill go ahead and try it on a few other systems today and if successful I'll close that issue.

@aremes aremes closed this as completed Nov 19, 2012
@rogerwang
Copy link
Member

We may not be able to just ship the DLL with our distribution, please see this: http://stackoverflow.com/questions/265376/directx-redistributable-package-breakdown

@aremes
Copy link
Author

aremes commented Nov 20, 2012

i understand. well, maybe this whole thing could be documented though, maybe in the readme.md? i'll see if i can figure out some eula compliant way of shipping the dlls with an app.. thanks for the info!

@aremes
Copy link
Author

aremes commented Nov 20, 2012

google chrome ships with those dlls.. doesnt seem to care

@rogerwang
Copy link
Member

good point, will doc it in the wiki

-------- Original Message --------
From: Raphael Siebenhofer [email protected]
Sent: Tue Nov 20 17:59:13 格林尼治标准时间+0800 2012
To: rogerwang/node-webkit [email protected]
Cc: Roger Wang [email protected]
Subject: Re: [node-webkit] webgl demo not working(webgl in general) in win7?? (#185)

i understand. well, maybe this whole thing could be documented though, maybe in the readme.md? i'll see if i can figure out some eula compliant way of shipping the dlls with an app.. thanks for the info!


Reply to this email directly or view it on GitHub:
#185 (comment)

@graphnode
Copy link

I have been hit with this problem, in one of the testing computers, and adding those files don't seem to solve it.

The page http://get.webgl.org/ seems to work in chrome (26.0.1410.12 dev-m) but not in node-webkit while saying: While your browser seems to support WebGL, it is disabled or unavailable.

canvas.getContext( 'experimental-webgl' ); seems to just return null, and using just webgl doesn't work either.

My chromium-args is --enable-webgl --ignore-gpu-blacklist.

The computer has the following:

Windows XP SP3
Intel(R) Q965/Q963 Express Chipset Family
    with driver version 6.14.10.4642 from 21-07-2006

Any idea how I can find what is the problem?

@myfingersarebroken
Copy link

Some evolution on this topic?

@graphnode
Copy link

Seems the problem was Windows XP (or the drivers?). After upgrading to a newer OS it works fine after copying d3dcompiler_43.dll to the exe folder.

@Stefdv
Copy link

Stefdv commented Jun 18, 2014

where exactly should i copy those d3dx9_43.dll and d3dcompiler_43.dlll files to ? Should they be in the same folder as libEGL.dll ?

@graphnode
Copy link

@Stefdv Yes, all *.dll files should be in the same directory as the node-webkit executable.

@meiyoulixiang
Copy link

win7下汉字不能正常显示,有的系统没有问题,有的系统存在问题,特别是32位的系统出现该情况的问题比较多一点,后经过再页面上将字体的字号写成18px以上,或者字体加上bold式样以后能正常显示,请问这该如何处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants