Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VULKAN] vkCreateInstance failed -9 #772

Closed
3 tasks done
Uchihatheghost opened this issue Apr 9, 2024 · 8 comments
Closed
3 tasks done

[VULKAN] vkCreateInstance failed -9 #772

Uchihatheghost opened this issue Apr 9, 2024 · 8 comments
Labels
bug Something isn't working stale We lack your response. Please reply to re-start the issue

Comments

@Uchihatheghost
Copy link

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
@Uchihatheghost Uchihatheghost added the bug Something isn't working label Apr 9, 2024
@NayamAmarshe
Copy link
Member

Duplicate of #752

@NayamAmarshe NayamAmarshe marked this as a duplicate of #752 Apr 9, 2024
@NayamAmarshe NayamAmarshe closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2024
@aaronliu0130
Copy link
Member

@NayamAmarshe as said above these are usually isolated hardware issues

@aaronliu0130 aaronliu0130 reopened this Apr 11, 2024
@aaronliu0130 aaronliu0130 marked this as not a duplicate of #752 Apr 11, 2024
@aaronliu0130
Copy link
Member

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

@Fade1025
Copy link

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

@aaronliu0130
Copy link
Member

Please file a new issue.

@NayamAmarshe
Copy link
Member

Please file a new issue.

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

@aaronliu0130
Copy link
Member

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

@NayamAmarshe NayamAmarshe changed the title DECODING ERROR: vkCreateInstance failed -9 [VULKAN] vkCreateInstance failed -9 Apr 25, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still happening, please reply to indicate so.

@github-actions github-actions bot added the stale We lack your response. Please reply to re-start the issue label May 16, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale We lack your response. Please reply to re-start the issue
Projects
None yet
Development

No branches or pull requests

4 participants