upscayl icon indicating copy to clipboard operation
upscayl copied to clipboard

Cannot Save Image on Windows11

Open josemacedogoncalves opened this issue 1 year ago β€’ 7 comments

Checklist

Describe the Bug

I just downloaded the last version of Upscayl. I do upscale images with preview. and put on Output folder, but the image is not there saved.

When i put 4x scale it did not even upscale image.

my log is this.

βš™οΈ Getting saveImageAs from localStorage: jpg βš™οΈ Getting model from localStorage: {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"} βš™οΈ Setting gpuId to empty string πŸ”€ Setting model to πŸ”€ Setting model to realesrgan-x4plus πŸ”„ Resetting image paths πŸŽ’ BACKEND REPORTED: πŸ–ΌοΈ Updating Image Path: C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg πŸŽ’ BACKEND REPORTED: πŸ“„ Selected File Path: C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg πŸ–Ό Selected Image Path: C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg πŸ“ Selected Image Directory: C:\Users\josem\Desktop\Novas Fotos Ai πŸ–Ό imagePath: C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg πŸ”€ Extension: jpg πŸŽ’ BACKEND REPORTED: πŸ“ Updating Folder Path: C:\Users\josem\Desktop\Novas Fotos Ai πŸ—‚ Setting Output Path: C:\Users\josem\Desktop\Novas Fotos Ai πŸŽ’ BACKEND REPORTED: πŸ“ Selected Folder Path: C:\Users\josem\Desktop\Novas Fotos Ai βš™οΈ Getting saveImageAs from localStorage: jpg βš™οΈ Getting model from localStorage: {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"} βš™οΈ Setting gpuId to empty string βš™οΈ Getting saveImageAs from localStorage: jpg βš™οΈ Getting model from localStorage: {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"} βš™οΈ Setting gpuId to empty string πŸ”€ Setting model to πŸ”€ Setting model to realesrgan-x4plus πŸ”„ Resetting Upscaled Image Path 🏁 UPSCAYL πŸŽ’ BACKEND REPORTED: βœ… Upscayl Variables: {"model":"realesrgan-x4plus","gpuId":null,"saveImageAs":"jpg","inputDir":"C:\Users\josem\Desktop\Novas Fotos Ai","fileNameWithExt":"SHAPE-8.jpg","outputDir":"C:\Users\josem\Desktop\Novas Fotos Ai","outFile":"C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg","fileName":"SHAPE-8","scale":"2","compression":"0","customWidth":"","useCustomWidth":false,"tileSize":null} πŸŽ’ BACKEND REPORTED: πŸ“’ Upscayl Command: -i,C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg,-o,C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg,-s,2,-m,C:\Program Files\Upscayl\resources\models,-n,realesrgan-x4plus,-f,jpg,-c,0 πŸŽ’ BACKEND REPORTED: πŸ‘Ά Updating Child Processes: {"binary":"C:\Program Files\Upscayl\resources\bin\upscayl-bin","args":["C:\Program Files\Upscayl\resources\bin\upscayl-bin","-i","C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg","-o","C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg","-s","2","-m","C:\Program Files\Upscayl\resources\models","-n","realesrgan-x4plus","-f","jpg","-c","0"]} πŸŽ’ BACKEND REPORTED: πŸ›‘ Updating Stopped: false πŸŽ’ BACKEND REPORTED: [0 NVIDIA GeForce RTX 3070] queueC=2[8] queueG=0[16] queueT=1[2] [0 NVIDIA GeForce RTX 3070] bugsbn1=0 bugbilz=92 bugcopc=0 bugihfa=0 [0 NVIDIA GeForce RTX 3070] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1 [0 NVIDIA GeForce RTX 3070] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1

🚧 UPSCAYL_PROGRESS: [0 NVIDIA GeForce RTX 3070] queueC=2[8] queueG=0[16] queueT=1[2] [0 NVIDIA GeForce RTX 3070] bugsbn1=0 bugbilz=92 bugcopc=0 bugihfa=0 [0 NVIDIA GeForce RTX 3070] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1 [0 NVIDIA GeForce RTX 3070] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1

πŸŽ’ BACKEND REPORTED: πŸ’― Done upscaling upscaledImagePath: C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg πŸ’― UPSCAYL_DONE: C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg βš™οΈ Getting saveImageAs from localStorage: jpg βš™οΈ Getting model from localStorage: {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"} βš™οΈ Setting gpuId to empty string

To Reproduce

Download the last version on windows 11 - have NVIDIA GeForce RTX 3070

and upscale a 40mgbytes image to 2x or 4x

Upscayl Version (or commit hash)

2.11.5

Platform

Linux

OS Version

Windows 11 Pro 23H2

GPU Name

NVIDIA GeForce RTX 3070

Expected Behavior

It should have saved the upscaled image on the folder i put

Screenshots

Captura de ecrΓ£ 2024-10-23 194700 Captura de ecrΓ£ 2024-10-23 194700

Logs

βš™οΈ Getting saveImageAs from localStorage:  jpg
βš™οΈ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
βš™οΈ Setting gpuId to empty string
πŸ”€ Setting model to 
πŸ”€ Setting model to realesrgan-x4plus
πŸ”„ Resetting image paths
πŸŽ’ BACKEND REPORTED:  πŸ–ΌοΈ Updating Image Path:  C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg
πŸŽ’ BACKEND REPORTED:  πŸ“„ Selected File Path:  C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg
πŸ–Ό Selected Image Path:  C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg
πŸ“ Selected Image Directory:  C:\Users\josem\Desktop\Novas Fotos Ai
πŸ–Ό imagePath:  C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg
πŸ”€ Extension:  jpg
πŸŽ’ BACKEND REPORTED:  πŸ“ Updating Folder Path:  C:\Users\josem\Desktop\Novas Fotos Ai
πŸ—‚ Setting Output Path:  C:\Users\josem\Desktop\Novas Fotos Ai
πŸŽ’ BACKEND REPORTED:  πŸ“ Selected Folder Path:  C:\Users\josem\Desktop\Novas Fotos Ai
βš™οΈ Getting saveImageAs from localStorage:  jpg
βš™οΈ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
βš™οΈ Setting gpuId to empty string
βš™οΈ Getting saveImageAs from localStorage:  jpg
βš™οΈ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
βš™οΈ Setting gpuId to empty string
πŸ”€ Setting model to 
πŸ”€ Setting model to realesrgan-x4plus
πŸ”„ Resetting Upscaled Image Path
🏁 UPSCAYL
πŸŽ’ BACKEND REPORTED:  βœ… Upscayl Variables:  {"model":"realesrgan-x4plus","gpuId":null,"saveImageAs":"jpg","inputDir":"C:\\Users\\josem\\Desktop\\Novas Fotos Ai","fileNameWithExt":"SHAPE-8.jpg","outputDir":"C:\\Users\\josem\\Desktop\\Novas Fotos Ai","outFile":"C:\\Users\\josem\\Desktop\\Novas Fotos Ai\\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg","fileName":"SHAPE-8","scale":"2","compression":"0","customWidth":"","useCustomWidth":false,"tileSize":null}
πŸŽ’ BACKEND REPORTED:  πŸ“’ Upscayl Command:  -i,C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8.jpg,-o,C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg,-s,2,-m,C:\Program Files\Upscayl\resources\models,-n,realesrgan-x4plus,-f,jpg,-c,0
πŸŽ’ BACKEND REPORTED:  πŸ‘Ά Updating Child Processes:  {"binary":"C:\\Program Files\\Upscayl\\resources\\bin\\upscayl-bin","args":["C:\\Program Files\\Upscayl\\resources\\bin\\upscayl-bin","-i","C:\\Users\\josem\\Desktop\\Novas Fotos Ai\\SHAPE-8.jpg","-o","C:\\Users\\josem\\Desktop\\Novas Fotos Ai\\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg","-s","2","-m","C:\\Program Files\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-f","jpg","-c","0"]}
πŸŽ’ BACKEND REPORTED:  πŸ›‘ Updating Stopped:  false
πŸŽ’ BACKEND REPORTED:  [0 NVIDIA GeForce RTX 3070]  queueC=2[8]  queueG=0[16]  queueT=1[2]
[0 NVIDIA GeForce RTX 3070]  bugsbn1=0  bugbilz=92  bugcopc=0  bugihfa=0
[0 NVIDIA GeForce RTX 3070]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 NVIDIA GeForce RTX 3070]  subgroup=32  basic=1  vote=1  ballot=1  shuffle=1

🚧 UPSCAYL_PROGRESS:  [0 NVIDIA GeForce RTX 3070]  queueC=2[8]  queueG=0[16]  queueT=1[2]
[0 NVIDIA GeForce RTX 3070]  bugsbn1=0  bugbilz=92  bugcopc=0  bugihfa=0
[0 NVIDIA GeForce RTX 3070]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 NVIDIA GeForce RTX 3070]  subgroup=32  basic=1  vote=1  ballot=1  shuffle=1


🚧 UPSCAYL_PROGRESS:  68,69%

πŸŽ’ BACKEND REPORTED:  πŸ’― Done upscaling
upscaledImagePath:  C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg
πŸ’― UPSCAYL_DONE:  C:\Users\josem\Desktop\Novas Fotos Ai\SHAPE-8_upscayl_2x_realesrgan-x4plus.jpg
βš™οΈ Getting saveImageAs from localStorage:  jpg
βš™οΈ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
βš™οΈ Setting gpuId to empty string

josemacedogoncalves avatar Oct 23 '24 18:10 josemacedogoncalves

OlΓ‘ @josemacedogoncalves! Como posso ajudar vocΓͺ hoje? Sou um bot que pode ajudar a resolver bugs, responder perguntas e atΓ© mesmo ajudar vocΓͺ a se tornar um colaborador. Estou aqui para ajudar enquanto vocΓͺ aguarda a ajuda de um mantenedor humano.

There are a few potential reasons why the upscaled image might not be saved in the specified output folder on Windows 11 with an NVIDIA GeForce RTX 3070:

  1. Filename Length: If the output file path exceeds the maximum path length allowed by Windows (255 characters), the image will not be saved. Ensure that the total path length is within this limit [1].

  2. Overwrite Setting: If the file already exists and the overwrite option is not enabled, the image will not be saved again. Check if the file already exists and whether the overwrite option is enabled [1].

  3. Errors During Processing: If any errors occur during the upscaling process, the image will not be saved. Review the logs for any error messages that might indicate a problem during processing [1].

Additionally, there was a similar issue where the problem was related to the folder name containing special characters. Changing the folder name to only include alphabets and numbers resolved the issue [2].

Check these conditions to troubleshoot why the image is not being saved.

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Oct 23 '24 18:10 dosubot[bot]

Hi @dosu

Thank you for your reply.

The error continue. Filename is fine very short no special characters. Overwriting is ok Errors i dont understand which ones are they.

The upscale goes until the end it just does not saves...

josemacedogoncalves avatar Oct 24 '24 09:10 josemacedogoncalves

If the upscaling process completes but the image is not saved, consider these additional points:

  1. Read/Write Permissions: Ensure that you have the necessary read/write permissions for the output directory. Sometimes, permission issues can prevent files from being saved [1].

  2. GPU Errors: Although the process seems to complete, there might be underlying GPU-related issues that aren't immediately obvious. Check for any GPU error messages in the logs [2].

  3. Tile Size: If the tile size setting is incorrect, it might cause issues with saving the image. Try adjusting the tile size in the settings or setting it to 0 [2].

  4. Exception Errors: There might be exceptions occurring that aren't clearly logged. These can sometimes prevent the image from being saved even if the process appears to complete [2].

Review these aspects to see if they might be affecting the saving process. If possible, try running Upscayl with administrative privileges to rule out permission issues.

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Oct 24 '24 09:10 dosubot[bot]

@dosu

permissions are good. I am using Topaz Ai and it works fine. I wanted to try this one with 500+ photos but it seems not to work correctly

I tried Tile Size 0 as well. The Log seems to be ok. i unput the the full Log on first comment.

So i believe there is no solution.

josemacedogoncalves avatar Oct 24 '24 09:10 josemacedogoncalves

This is a tough nut to crack, could really use your help on this, @NayamAmarshe.

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Oct 24 '24 09:10 dosubot[bot]

Same issue here. Have tried and will try a bunch of things. For my info, what is the original resolution of the image you're trying to upscale? Mine is pretty high 19267x14467, I wonder if there are limits.

T-Six avatar Oct 25 '24 16:10 T-Six

Same issue here. Have tried and will try a bunch of things. For my info, what is the original resolution of the image you're trying to upscale? Mine is pretty high 19267x14467, I wonder if there are limits.

Okay yes, so I tried it with a 140x140 image and it works perfectly. I then made the image I actually wanted to enhance smaller in Photoshop and enhancing it works now. I hope this helps.

T-Six avatar Oct 25 '24 17:10 T-Six

This seems like a duplicate of #493.

aaronliu0130 avatar Nov 02 '24 20:11 aaronliu0130