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

Steam Overlay doesn't work #4982

Closed
merixstudio opened this issue Jun 15, 2016 · 9 comments
Closed

Steam Overlay doesn't work #4982

merixstudio opened this issue Jun 15, 2016 · 9 comments
Assignees

Comments

@merixstudio
Copy link

merixstudio commented Jun 15, 2016

Steam Overlay and thus other Steam features (Steam Controller, Steam Link) doesn't work with NW.js.

This is probably due to the fact that NW.js launches a separate process for the GPU and Steam can't find this process. Adding the "--in-process-gpu" flag previously fixed this issue, but now this flag hangs the NW.js after random time.

To reproduce this just launch Steam and add nw.exe to your library using Steam UI. Then launch nw.exe from Steam. No need to create own index.html or package.json. Pressing Shift+Tab should show Steam Overlay rendered inside NW.js window, but it doesn't do that.

Note that this issue is very important to game developers making desktop games and using Steam as main distribution platform.

Oh, and screen recording software don't work with NW.js too, e.g. Fraps or Bandicam, it's probably related.

Tested with versions 0.12, 0.13, 0.14 and 0.15 on Windows.

@rogerwang
Copy link
Member

Does "--in-process-gpu" hang when running from Steam or not?

And does Chromium works with Steam overlay?

@merixstudio
Copy link
Author

Does "--in-process-gpu" hang when running from Steam or not?

Yes, but note that it's not always hanging. Sometimes it can run longer, e.g. 30 minutes. Some players reported that "--in-process-gpu" doesn't hang at all for them.

And does Chromium works with Steam overlay?

Will check.

@merixstudio
Copy link
Author

merixstudio commented Jun 22, 2016

And does Chromium works with Steam overlay?

Unfortunately not. We've tested the build available at https://download-chromium.appspot.com (revision 401228).

@merixstudio
Copy link
Author

merixstudio commented Jul 8, 2016

Just discovered that --single-process enables Steam Overlay (but don't know yet does it crashes after random time).

Update: --single-process prevents somehow the native greenworks module from working, so the flag cannot be used. Greenworks is needed to communicate with Steam.

@rogerwang rogerwang self-assigned this Oct 13, 2016
@rogerwang
Copy link
Member

We'll fix '--single-process' in 0.18.x, which could help this.

@merixstudio
Copy link
Author

merixstudio commented Oct 13, 2016

We'll fix '--single-process' in 0.18.x, which could help this.

Great!

In the meantime from our limited testing it seems that as of at least 0.17.5
'--in-process-gpu' doesn't randomly freezes an app.

@rogerwang
Copy link
Member

Please try this build from nightly, which supports '--single-process' argument.

http://dl.nwjs.io/live-build/10-14-2016/nw18-76a0565-b67084e-ed8a267-209e190/v0.18.1/

(In previous versions '--single-process' works too but Node integration is broken.)

@merixstudio
Copy link
Author

It seems to work fine, which is a great news!

@rogerwang
Copy link
Member

released with 0.18.1

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

No branches or pull requests

1 participant