bakustarver / rpgmakermlinux-cicpoffs

Run any RPG Maker MV/MZ game on linux natively
GNU General Public License v3.0
58 stars 2 forks source link

Can't run anything on Nvidia gpu #6

Open Mopgix opened 1 month ago

Mopgix commented 1 month ago

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_sharedinstance != 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.

bakustarver commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

Mopgix commented 1 month ago

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