upscayl / upscayl

πŸ†™ Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.

Home Page:https://upscayl.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[VULKAN] vkCreateInstance failed -9

Uchihatheghost opened this issue Β· comments

Checklist

  • I have tried ALL of the steps mentioned in the troubleshooting guide.
  • I have searched for this in the issues tab.
  • My error involves vkEnumeratePhysicalDevices or vkCreateInstance, which means I should ignore the other issues and file this one despite the last checkbox.

Describe the Bug

Upscayl

DECODING ERROR: vkCreateInstance failed -9

Additional Info: This image is possibly corrupt or not supported by Upscayl, or your GPU drivers are acting funny (PLEASE READ THE UPSCAYL WIKI). You could try converting the image into another format and upscaling again, Also make sure that the output path is correct and you have the proper write permissions for the diuctory, If not, then unfortunately there's not much we can do to help sorry.

I want to know that how to change "logs" ?

To Reproduce

I don't know

Upscayl Version (or commit hash)

2.10.0

Platform

Windows

OS Version

Window 10 pro

GPU Name

Device Name :- DESKTOP-FUHMNDG

Expected Behavior

DECODING ERROR: vkCreateInstance failed -9

I want to know that how to change "logs" ?

Screenshots

Screenshot 2024-04-09
Screenshot 2024-04-09 213032

Logs

🐞 BACKEND REPORTED:  πŸ’Ύ Updating Save Output Folder:  false
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ 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
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
βš™οΈ Setting gpuId to empty string
βš™οΈ Getting rememberOutputFolder from localStorage:  false
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ 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
πŸ”„ Resetting image paths
‡️ Dropped file:  {"type":"image/jpeg","filePath":"C:\\Users\\user\\Pictures\\ritik.jpg","extension":"jpg"}
πŸ–Ό Setting image path:  C:\Users\user\Pictures\ritik.jpg
πŸ—‚ Setting output path:  C:\Users\user\Pictures
πŸ–Ό imagePath:  C:\Users\user\Pictures\ritik.jpg
πŸ”€ Extension:  jpg
πŸ”„ Resetting Upscaled Image Path
🏁 UPSCAYL
🐞 BACKEND REPORTED:  πŸ–ΌοΈ Updating No Image Processing:  false
🐞 BACKEND REPORTED:  πŸ“ Updating Compression:  0
🐞 BACKEND REPORTED:  Is Default Model? :  true
🐞 BACKEND REPORTED:  βœ… Upscayl Variables:  {"model":"realesrgan-x4plus","gpuId":null,"saveImageAs":"png","inputDir":"C:\\Users\\user\\Pictures","outputDir":"C:\\Users\\user\\Pictures","fullfileName":"ritik.jpg","fileName":"ritik","initialScale":"4","desiredScale":"4","outFile":"C:\\Users\\user\\Pictures\\ritik_upscayl_4x_realesrgan-x4plus.png","compression":0}
🐞 BACKEND REPORTED:  πŸ“’ Upscayl Command:  -i,C:\Users\user\Pictures\ritik.jpg,-o,C:\Users\user\Pictures\ritik_upscayl_4x_realesrgan-x4plus.png,-s,4,-m,C:\Users\user\Downloads\Upscayl\resources\models,-n,realesrgan-x4plus,-f,png
🐞 BACKEND REPORTED:  πŸ‘Ά Updating Child Processes:  {"binary":"C:\\Users\\user\\Downloads\\Upscayl\\resources\\bin\\upscayl-bin","args":["C:\\Users\\user\\Downloads\\Upscayl\\resources\\bin\\upscayl-bin","-i","C:\\Users\\user\\Pictures\\ritik.jpg","-o","C:\\Users\\user\\Pictures\\ritik_upscayl_4x_realesrgan-x4plus.png","-s","4","-m","C:\\Users\\user\\Downloads\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-f","png"]}
🐞 BACKEND REPORTED:  πŸ›‘ Updating Stopped:  false
🐞 BACKEND REPORTED:  image upscayl:  vkCreateInstance failed -9

πŸ”„ Resetting image paths
🚧 UPSCAYL_PROGRESS:  vkCreateInstance failed -9

🐞 BACKEND REPORTED:  ❌ INVALID GPU OR FAILED
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
βš™οΈ Setting gpuId to empty string
βš™οΈ Getting rememberOutputFolder from localStorage:  false
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ 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
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
βš™οΈ Setting gpuId to empty string
βš™οΈ Getting rememberOutputFolder from localStorage:  false
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ 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\user\Pictures\ritik.jpg
🐞 BACKEND REPORTED:  πŸ“„ Selected File Path:  C:\Users\user\Pictures\ritik.jpg
πŸ–Ό Selected Image Path:  C:\Users\user\Pictures\ritik.jpg
πŸ“ Selected Image Directory:  C:\Users\user\Pictures
πŸ–Ό imagePath:  C:\Users\user\Pictures\ritik.jpg
πŸ”€ Extension:  jpg
πŸ”„ Resetting Upscaled Image Path
🏁 UPSCAYL
🐞 BACKEND REPORTED:  πŸ–ΌοΈ Updating No Image Processing:  false
🐞 BACKEND REPORTED:  πŸ“ Updating Compression:  0
🐞 BACKEND REPORTED:  Is Default Model? :  true
🐞 BACKEND REPORTED:  βœ… Upscayl Variables:  {"model":"realesrgan-x4plus","gpuId":null,"saveImageAs":"png","inputDir":"C:\\Users\\user\\Pictures","outputDir":"C:\\Users\\user\\Pictures","fullfileName":"ritik.jpg","fileName":"ritik","initialScale":"4","desiredScale":"4","outFile":"C:\\Users\\user\\Pictures\\ritik_upscayl_4x_realesrgan-x4plus.png","compression":0}
🐞 BACKEND REPORTED:  πŸ“’ Upscayl Command:  -i,C:\Users\user\Pictures\ritik.jpg,-o,C:\Users\user\Pictures\ritik_upscayl_4x_realesrgan-x4plus.png,-s,4,-m,C:\Users\user\Downloads\Upscayl\resources\models,-n,realesrgan-x4plus,-f,png
🐞 BACKEND REPORTED:  πŸ‘Ά Updating Child Processes:  {"binary":"C:\\Users\\user\\Downloads\\Upscayl\\resources\\bin\\upscayl-bin","args":["C:\\Users\\user\\Downloads\\Upscayl\\resources\\bin\\upscayl-bin","-i","C:\\Users\\user\\Pictures\\ritik.jpg","-o","C:\\Users\\user\\Pictures\\ritik_upscayl_4x_realesrgan-x4plus.png","-s","4","-m","C:\\Users\\user\\Downloads\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-f","png"]}
🐞 BACKEND REPORTED:  πŸ›‘ Updating Stopped:  false
🐞 BACKEND REPORTED:  image upscayl:  vkCreateInstance failed -9

πŸ”„ Resetting image paths
🚧 UPSCAYL_PROGRESS:  vkCreateInstance failed -9

🐞 BACKEND REPORTED:  ❌ INVALID GPU OR FAILED
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
βš™οΈ Setting gpuId to empty string
βš™οΈ Getting rememberOutputFolder from localStorage:  false
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ 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
πŸ”„ Resetting image paths
‡️ Dropped file:  {"type":"image/jpeg","filePath":"C:\\Users\\user\\Pictures\\ritik.jpg","extension":"jpg"}
πŸ–Ό Setting image path:  C:\Users\user\Pictures\ritik.jpg
πŸ—‚ Setting output path:  C:\Users\user\Pictures
πŸ–Ό imagePath:  C:\Users\user\Pictures\ritik.jpg
πŸ”€ Extension:  jpg
πŸ”„ Resetting Upscaled Image Path
🏁 UPSCAYL
🐞 BACKEND REPORTED:  πŸ–ΌοΈ Updating No Image Processing:  false
🐞 BACKEND REPORTED:  πŸ“ Updating Compression:  0
🐞 BACKEND REPORTED:  Is Default Model? :  true
🐞 BACKEND REPORTED:  βœ… Upscayl Variables:  {"model":"realesrgan-x4plus","gpuId":null,"saveImageAs":"png","inputDir":"C:\\Users\\user\\Pictures","outputDir":"C:\\Users\\user\\Pictures","fullfileName":"ritik.jpg","fileName":"ritik","initialScale":"4","desiredScale":"4","outFile":"C:\\Users\\user\\Pictures\\ritik_upscayl_4x_realesrgan-x4plus.png","compression":0}
🐞 BACKEND REPORTED:  πŸ“’ Upscayl Command:  -i,C:\Users\user\Pictures\ritik.jpg,-o,C:\Users\user\Pictures\ritik_upscayl_4x_realesrgan-x4plus.png,-s,4,-m,C:\Users\user\Downloads\Upscayl\resources\models,-n,realesrgan-x4plus,-f,png
🐞 BACKEND REPORTED:  πŸ‘Ά Updating Child Processes:  {"binary":"C:\\Users\\user\\Downloads\\Upscayl\\resources\\bin\\upscayl-bin","args":["C:\\Users\\user\\Downloads\\Upscayl\\resources\\bin\\upscayl-bin","-i","C:\\Users\\user\\Pictures\\ritik.jpg","-o","C:\\Users\\user\\Pictures\\ritik_upscayl_4x_realesrgan-x4plus.png","-s","4","-m","C:\\Users\\user\\Downloads\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-f","png"]}
🐞 BACKEND REPORTED:  πŸ›‘ Updating Stopped:  false
🐞 BACKEND REPORTED:  image upscayl:  vkCreateInstance failed -9

πŸ”„ Resetting image paths
🚧 UPSCAYL_PROGRESS:  vkCreateInstance failed -9

🐞 BACKEND REPORTED:  ❌ INVALID GPU OR FAILED
πŸ”„ Resetting image paths
πŸ”„ Resetting image paths
‡️ Dropped file:  {"type":"image/jpeg","filePath":"C:\\Users\\user\\Pictures\\ritik.jpg","extension":"jpg"}
πŸ–Ό Setting image path:  C:\Users\user\Pictures\ritik.jpg
πŸ—‚ Setting output path:  C:\Users\user\Pictures
πŸ–Ό imagePath:  C:\Users\user\Pictures\ritik.jpg
πŸ”€ Extension:  jpg
πŸ”„ Resetting Upscaled Image Path
🏁 UPSCAYL
🐞 BACKEND REPORTED:  πŸ–ΌοΈ Updating No Image Processing:  false
🐞 BACKEND REPORTED:  πŸ“ Updating Compression:  0
🐞 BACKEND REPORTED:  Is Default Model? :  true
🐞 BACKEND REPORTED:  βœ… Upscayl Variables:  {"model":"realesrgan-x4plus","gpuId":null,"saveImageAs":"png","inputDir":"C:\\Users\\user\\Pictures","outputDir":"C:\\Users\\user\\Pictures","fullfileName":"ritik.jpg","fileName":"ritik","initialScale":"4","desiredScale":"4","outFile":"C:\\Users\\user\\Pictures\\ritik_upscayl_4x_realesrgan-x4plus.png","compression":0}
🐞 BACKEND REPORTED:  πŸ“’ Upscayl Command:  -i,C:\Users\user\Pictures\ritik.jpg,-o,C:\Users\user\Pictures\ritik_upscayl_4x_realesrgan-x4plus.png,-s,4,-m,C:\Users\user\Downloads\Upscayl\resources\models,-n,realesrgan-x4plus,-f,png
🐞 BACKEND REPORTED:  πŸ‘Ά Updating Child Processes:  {"binary":"C:\\Users\\user\\Downloads\\Upscayl\\resources\\bin\\upscayl-bin","args":["C:\\Users\\user\\Downloads\\Upscayl\\resources\\bin\\upscayl-bin","-i","C:\\Users\\user\\Pictures\\ritik.jpg","-o","C:\\Users\\user\\Pictures\\ritik_upscayl_4x_realesrgan-x4plus.png","-s","4","-m","C:\\Users\\user\\Downloads\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-f","png"]}
🐞 BACKEND REPORTED:  πŸ›‘ Updating Stopped:  false
🐞 BACKEND REPORTED:  image upscayl:  vkCreateInstance failed -9
πŸ”„ Resetting image paths
🚧 UPSCAYL_PROGRESS:  vkCreateInstance failed -9
🐞 BACKEND REPORTED:  ❌ INVALID GPU OR FAILED
🐞 BACKEND REPORTED:  image upscayl:  

🚧 UPSCAYL_PROGRESS:  

🐞 BACKEND REPORTED:  🚫 File Operation Cancelled
🐞 BACKEND REPORTED:  🚫 File Operation Cancelled
🐞 BACKEND REPORTED:  🚫 File Operation Cancelled
πŸ”„ Resetting image paths
🐞 BACKEND REPORTED:  🚫 File Operation Cancelled
βš™οΈ Getting saveImageAs from localStorage:  png
βš™οΈ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
βš™οΈ Setting gpuId to empty string
βš™οΈ Getting rememberOutputFolder from localStorage:  false

Duplicate of #752

@NayamAmarshe as said above these are usually isolated hardware issues

By device name we mean the manufacturer and model of your device.

I ran into the same problem. GTX 1660ti version2.10 and2.19

Please file a new issue.

Please file a new issue.

I don't think we should be creating more issues for this error. Logs should be fine :)

Filling a new issue has one (hopefully) going through the troubleshooting guide. This issue is usually something to do with hardware.