NWJS export warning

0 favourites
  • 12 posts
  • If making a build for Steam Deck (linux64)

    I found that my game only gets up to 20 FPS when using NJWS latest version 72.

    But I get average of 60 FPS when using the previous NWJS version 71.

  • Could be related to the Vulkan renderer failing to initialize. Check your user agent in the browser console. It should automatically log all of that stuff there.

    Another thing you can do. Export your project using both versions and check if any files are missing. Maybe Scirra removed some by accident in the latest version of NWjs.

  • Thanks for the comment!

    I did another fresh pair of builds, to compare nwjs 71 and 72.

    The problem still exists.

    Both have the same amount of files.

    I wasn't able to figure out how to do the log thing on the Deck easily.

    Interestingly, Deck's inbuilt FPS counter always shows 60, regardless of the game's performance (in both builds).

  • latest NWJS version 73 is still performing terribly on Deck/Linux.

    I get 20 FPS on it.

    Compared to 60 FPS with 71.

    Interestingly, in 73, despite running so awfully, when using the Deck's own FPS overlay, it reports that it's "60", and the GPU/CPU are both low values too.

    Which seems to indicate that in this version of NWJS, something is artificially slowing or limiting the FPS cap?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I heard that windows games work on the Deck. Have you tried win32 and win64 exports?

  • Good idea, thanks! I tried checking win64 with proton experimental on the Deck, but doesn't seem to work for me.

  • alastair Did you have any luck? Seems like we have the same issue with our project - very poor performance on Steam Deck.

  • dop2000 that's unfortunate! But it's helpful to hear another confirmation.

    The only solution I'm aware of so far is to stick with the old nwjs version 71.

    Did you try testing with that one too?

  • I don't have a deck to test, unfortunately.

    Have you tried exporting one of the official game examples in Construct, for example the "Kiwi Story"? If it also runs poorly with nwjs v72, you can report it as a bug.

  • Good idea, thanks!

    I tested with the new rally game which felt slow, and also Demonoire which was going at roughly 24 FPS!

    But with the older Njws71, Demonoire runs at roughly 60 fps!

    I have attempted a bug report github.com/Scirra/Construct-bugs/issues/6747

  • Are you using Greenworks? I thought that only goes up to 0.71 (I'm only just looking at integrating Steam now, so I genuinely don't know)?

  • Ashley found that WebGL support on Linux was dropped from v0.72!

    github.com/nwjs/nw.js/issues/8043

    I think WebGPU is coming to Chrome soon, so I wonder how that will affect things.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)