Cannot Save Image on Windows11
Checklist
- [X] I have tried ALL of the steps mentioned in the troubleshooting guide.
- [X] I have searched for this in the issues tab.
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
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
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:
-
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].
-
Overwrite Setting: If the file already exists and the
overwriteoption is not enabled, the image will not be saved again. Check if the file already exists and whether the overwrite option is enabled [1]. -
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.
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...
If the upscaling process completes but the image is not saved, consider these additional points:
-
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].
-
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].
-
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].
-
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.
@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.
This is a tough nut to crack, could really use your help on this, @NayamAmarshe.
To continue talking to Dosu, mention @dosu.
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.
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.
This seems like a duplicate of #493.