UpscalerJS icon indicating copy to clipboard operation
UpscalerJS copied to clipboard

Upscaling finishes but no change in image. GPU process exited unexpectedly

Open NayamAmarshe opened this issue 1 year ago • 3 comments

Describe the bug

$ electron ./dist/main.bundle.js
[518473:0804/111543.477611:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=512
[518534:0804/111543.460699:ERROR:command_buffer_proxy_impl.cc(329)] GPU state invalid after WaitForGetOffsetInRange.
Done in 206.53s.

To Reproduce I'm using React.js in Electron.js. The code is exactly the same as in the code examples, the only difference is it's running in electron.js

Expected behavior Upscaled Image should be different

Screenshots image

Additional context I also get this in console image

NayamAmarshe avatar Aug 04 '22 05:08 NayamAmarshe

Any suggestions?

NayamAmarshe avatar Aug 11 '22 16:08 NayamAmarshe

Sorry, I haven't had a chance to look at this yet. I'm not very familiar with Electron, could you provide a repo that reproduces this?

thekevinscott avatar Aug 12 '22 11:08 thekevinscott

This can happen if you use a large source image and do not enable tiling by setting the patchSize and padding options. Can you set patchSize=256 and padding=4 and retest?

danwexler avatar Aug 19 '22 18:08 danwexler

Added an example working with Electron at https://upscalerjs.com/documentation/guides/browser/implementations/electron

thekevinscott avatar Jul 30 '23 12:07 thekevinscott