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

Can't run anything on Nvidia gpu #6

Open
Mopgix opened this issue May 26, 2024 · 4 comments
Open

Can't run anything on Nvidia gpu #6

Mopgix opened this issue May 26, 2024 · 4 comments

Comments

@Mopgix
Copy link

Mopgix commented May 26, 2024

Can't get this to run anything. I can run a game using nwjs just fine, but with this it opens a black screen and crashes immediately.
this is what I get from terminal:
ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
ERROR:gpu_process_host.cc(1003)] GPU process exited unexpectedly: exit_code=133
FATAL:gpu_data_manager_impl_private.cc(449)] GPU process isn't usable. Goodbye.
FATAL:resource_bundle.cc(363)] Check failed: g_shared_instance_ != nullptr.
Tried adding --disable-gpu-sandbox which fixed that error for other stuff but that didn't help here.

Using a Nvidia gpu, 1060.
EDIT: It works on integrated intel. Have an optimus setup in a reverse prime config.

@Mopgix Mopgix changed the title Can't run anything Can't run anything on Nvidia gpu May 26, 2024
@bakustarver
Copy link
Owner

You can try editing the default package.json file, it has settings for gpu.
Its location is "$HOME/desktopapps/nwjs/nwjs/packagefiles/package.json"

@Mopgix
Copy link
Author

Mopgix commented May 27, 2024

No dice, already tried messing with those. Tested on a desktop with a Nvidia gpu, worked fine there. It seems to be some optimus problem.

@bakustarver
Copy link
Owner

bakustarver commented May 28, 2024

I got a report that laptops with dual GPUs have problems with newer versions of nwjs.
nwjs/nw.js#8184
You can run rpgmaker mv/mz with options and set version 0.84.0 ( This version seems to launch well).
20240528_163919

@Mopgix
Copy link
Author

Mopgix commented May 28, 2024

.84 works without issue. Didn't expect upstream to break, my local testing was done with a not that much older version.

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

2 participants