[VULKAN] vkCreateInstance failed -9
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
When i try to upscayl now any image , nothing happened and the error appear but before i could upscayl without any problem with same gpu
To Reproduce
Load image, upscale, nothing upscaled and the error appear.
Upscayl Version (or commit hash)
2.11.0
Platform
Windows
OS Version
WINDOWS 10 22H2
GPU Name
GTX 1660
Expected Behavior
No response
Screenshots
Logs
⚙️ 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 saveImageAs from localStorage: png
⚙️ Getting model from localStorage: {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
⚙️ Getting gpuId from localStorage: 1
🔀 Setting model to
🔀 Setting model to realesrgan-x4plus
🔄 Resetting image paths
🎒 BACKEND REPORTED: 🖼️ Updating Image Path: F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg
🖼 Selected Image Path: F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg
📁 Selected Image Directory: F:\betterdiscord
🖼 imagePath: F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg
🔤 Extension: jpg
🎒 BACKEND REPORTED: 📄 Selected File Path: F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg
🔄 Resetting Upscaled Image Path
🏁 UPSCAYL
🎒 BACKEND REPORTED: ✅ Upscayl Variables: {"model":"realesrgan-x4plus","gpuId":"1","saveImageAs":"png","inputDir":"F:\\betterdiscord","fileNameWithExt":"1_DibnrFdrgonJhTTg1BhcXA.jpg","outputDir":"F:\\betterdiscord","outFile":"F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA_upscayl_2x_realesrgan-x4plus.png","fileName":"1_DibnrFdrgonJhTTg1BhcXA","scale":"2","compression":"0","customWidth":"","useCustomWidth":false,"tileSize":null}
🎒 BACKEND REPORTED: 📢 Upscayl Command: -i,F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg,-o,F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA_upscayl_2x_realesrgan-x4plus.png,-s,2,-m,C:\Program Files\Upscayl\resources\models,-n,realesrgan-x4plus,-g,1,-f,png,-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","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA.jpg","-o","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA_upscayl_2x_realesrgan-x4plus.png","-s","2","-m","C:\\Program Files\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-g","1","-f","png","-c","0"]}
🎒 BACKEND REPORTED: 🛑 Updating Stopped: false
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
🔄 Resetting image paths
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
⚙️ Getting saveImageAs from localStorage: png
⚙️ Getting model from localStorage: {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
⚙️ Getting gpuId from localStorage: 1
🔄 Resetting image paths
🎒 BACKEND REPORTED: 🖼️ Updating Image Path: F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg
🖼 Selected Image Path: F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg
📁 Selected Image Directory: F:\betterdiscord
🖼 imagePath: F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg
🔤 Extension: jpg
🎒 BACKEND REPORTED: 📄 Selected File Path: F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg
⚙️ Setting saveImageAs to png
🔀 Setting model to 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":"1","saveImageAs":"png","inputDir":"F:\\betterdiscord","fileNameWithExt":"337c9ebbecf25ac9be2bda57390d48b0.jpg","outputDir":"F:\\betterdiscord","outFile":"F:\\betterdiscord\\337c9ebbecf25ac9be2bda57390d48b0_upscayl_2x_realesrgan-x4plus.png","fileName":"337c9ebbecf25ac9be2bda57390d48b0","scale":"2","compression":"0","customWidth":"","useCustomWidth":false,"tileSize":null}
🎒 BACKEND REPORTED: 📢 Upscayl Command: -i,F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg,-o,F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0_upscayl_2x_realesrgan-x4plus.png,-s,2,-m,C:\Program Files\Upscayl\resources\models,-n,realesrgan-x4plus,-g,1,-f,png,-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","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA.jpg","-o","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA_upscayl_2x_realesrgan-x4plus.png","-s","2","-m","C:\\Program Files\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-g","1","-f","png","-c","0"]}
🎒 BACKEND REPORTED: 🛑 Updating Stopped: false
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
🔄 Resetting image paths
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
⚙️ Getting saveImageAs from localStorage: png
⚙️ Getting model from localStorage: {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
⚙️ Setting gpuId to empty string
⚙️ 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 Upscaled Image Path
🚫 No valid image selected
🔄 Resetting Upscaled Image Path
🚫 No valid image selected
🔄 Resetting Upscaled Image Path
🚫 No valid image selected
🔄 Resetting image paths
🎒 BACKEND REPORTED: 🖼️ Updating Image Path: F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg
🖼 Selected Image Path: F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg
📁 Selected Image Directory: F:\betterdiscord
🖼 imagePath: F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg
🔤 Extension: jpg
🎒 BACKEND REPORTED: 📄 Selected File Path: F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg
🔄 Resetting Upscaled Image Path
🏁 UPSCAYL
🎒 BACKEND REPORTED: ✅ Upscayl Variables: {"model":"realesrgan-x4plus","gpuId":"1","saveImageAs":"png","inputDir":"F:\\betterdiscord","fileNameWithExt":"1_DibnrFdrgonJhTTg1BhcXA.jpg","outputDir":"F:\\betterdiscord","outFile":"F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA_upscayl_5x_realesrgan-x4plus.png","fileName":"1_DibnrFdrgonJhTTg1BhcXA","scale":"5","compression":"0","customWidth":"","useCustomWidth":false,"tileSize":null}
🎒 BACKEND REPORTED: 📢 Upscayl Command: -i,F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA.jpg,-o,F:\betterdiscord\1_DibnrFdrgonJhTTg1BhcXA_upscayl_5x_realesrgan-x4plus.png,-s,5,-m,C:\Program Files\Upscayl\resources\models,-n,realesrgan-x4plus,-g,1,-f,png,-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","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA.jpg","-o","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA_upscayl_2x_realesrgan-x4plus.png","-s","2","-m","C:\\Program Files\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-g","1","-f","png","-c","0"]}
🎒 BACKEND REPORTED: 🛑 Updating Stopped: false
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
🔄 Resetting image paths
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
🔄 Resetting Upscaled Image Path
🚫 No valid image selected
🔄 Resetting Upscaled Image Path
🚫 No valid image selected
🔄 Resetting Upscaled Image Path
🚫 No valid image selected
🔄 Resetting image paths
🎒 BACKEND REPORTED: 🖼️ Updating Image Path: F:\betterdiscord\Frieren_anime_profile_3.png
🖼 Selected Image Path: F:\betterdiscord\Frieren_anime_profile_3.png
📁 Selected Image Directory: F:\betterdiscord
🖼 imagePath: F:\betterdiscord\Frieren_anime_profile_3.png
🔤 Extension: png
🎒 BACKEND REPORTED: 📄 Selected File Path: F:\betterdiscord\Frieren_anime_profile_3.png
🔄 Resetting Upscaled Image Path
🏁 UPSCAYL
🎒 BACKEND REPORTED: ✅ Upscayl Variables: {"model":"realesrgan-x4plus","gpuId":"1","saveImageAs":"png","inputDir":"F:\\betterdiscord","fileNameWithExt":"Frieren_anime_profile_3.png","outputDir":"F:\\betterdiscord","outFile":"F:\\betterdiscord\\Frieren_anime_profile_3_upscayl_5x_realesrgan-x4plus.png","fileName":"Frieren_anime_profile_3","scale":"5","compression":"0","customWidth":"","useCustomWidth":false,"tileSize":null}
🎒 BACKEND REPORTED: 📢 Upscayl Command: -i,F:\betterdiscord\Frieren_anime_profile_3.png,-o,F:\betterdiscord\Frieren_anime_profile_3_upscayl_5x_realesrgan-x4plus.png,-s,5,-m,C:\Program Files\Upscayl\resources\models,-n,realesrgan-x4plus,-g,1,-f,png,-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","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA.jpg","-o","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA_upscayl_2x_realesrgan-x4plus.png","-s","2","-m","C:\\Program Files\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-g","1","-f","png","-c","0"]}
🎒 BACKEND REPORTED: 🛑 Updating Stopped: false
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
🔄 Resetting image paths
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
🔄 Resetting image paths
🎒 BACKEND REPORTED: 🖼️ Updating Image Path: F:\betterdiscord\Frieren_anime_profile_3.png
🖼 Selected Image Path: F:\betterdiscord\Frieren_anime_profile_3.png
📁 Selected Image Directory: F:\betterdiscord
🖼 imagePath: F:\betterdiscord\Frieren_anime_profile_3.png
🔤 Extension: png
🎒 BACKEND REPORTED: 📄 Selected File Path: F:\betterdiscord\Frieren_anime_profile_3.png
🔄 Resetting Upscaled Image Path
🏁 UPSCAYL
🎒 BACKEND REPORTED: ✅ Upscayl Variables: {"model":"realesrgan-x4plus","gpuId":"1","saveImageAs":"png","inputDir":"F:\\betterdiscord","fileNameWithExt":"Frieren_anime_profile_3.png","outputDir":"F:\\betterdiscord","outFile":"F:\\betterdiscord\\Frieren_anime_profile_3_upscayl_5x_realesrgan-x4plus.png","fileName":"Frieren_anime_profile_3","scale":"5","compression":"0","customWidth":"","useCustomWidth":false,"tileSize":null}
🎒 BACKEND REPORTED: 📢 Upscayl Command: -i,F:\betterdiscord\Frieren_anime_profile_3.png,-o,F:\betterdiscord\Frieren_anime_profile_3_upscayl_5x_realesrgan-x4plus.png,-s,5,-m,C:\Program Files\Upscayl\resources\models,-n,realesrgan-x4plus,-g,1,-f,png,-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","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA.jpg","-o","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA_upscayl_2x_realesrgan-x4plus.png","-s","2","-m","C:\\Program Files\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-g","1","-f","png","-c","0"]}
🎒 BACKEND REPORTED: 🛑 Updating Stopped: false
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
🔄 Resetting image paths
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
🔄 Resetting image paths
🎒 BACKEND REPORTED: 🖼️ Updating Image Path: F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg
🖼 Selected Image Path: F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg
📁 Selected Image Directory: F:\betterdiscord
🖼 imagePath: F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg
🔤 Extension: jpg
🎒 BACKEND REPORTED: 📄 Selected File Path: F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg
🔄 Resetting Upscaled Image Path
🏁 UPSCAYL
🎒 BACKEND REPORTED: ✅ Upscayl Variables: {"model":"realesrgan-x4plus","gpuId":"1","saveImageAs":"png","inputDir":"F:\\betterdiscord","fileNameWithExt":"337c9ebbecf25ac9be2bda57390d48b0.jpg","outputDir":"F:\\betterdiscord","outFile":"F:\\betterdiscord\\337c9ebbecf25ac9be2bda57390d48b0_upscayl_5x_realesrgan-x4plus.png","fileName":"337c9ebbecf25ac9be2bda57390d48b0","scale":"5","compression":"0","customWidth":"","useCustomWidth":false,"tileSize":null}
🎒 BACKEND REPORTED: 📢 Upscayl Command: -i,F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0.jpg,-o,F:\betterdiscord\337c9ebbecf25ac9be2bda57390d48b0_upscayl_5x_realesrgan-x4plus.png,-s,5,-m,C:\Program Files\Upscayl\resources\models,-n,realesrgan-x4plus,-g,1,-f,png,-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","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA.jpg","-o","F:\\betterdiscord\\1_DibnrFdrgonJhTTg1BhcXA_upscayl_2x_realesrgan-x4plus.png","-s","2","-m","C:\\Program Files\\Upscayl\\resources\\models","-n","realesrgan-x4plus","-g","1","-f","png","-c","0"]}
🎒 BACKEND REPORTED: 🛑 Updating Stopped: false
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🎒 BACKEND REPORTED: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
🔄 Resetting image paths
🚧 UPSCAYL_PROGRESS: vkCreateInstance failed -9
🚨 Error: Invalid GPU Device
⚙️ Getting saveImageAs from localStorage: png
⚙️ Getting model from localStorage: {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
⚙️ Setting gpuId to empty string
Hey there, @Fl1mzy! I'm a bot designed to help you with bugs, questions, and contributions. I'm here to assist you while you wait for a human maintainer. Let's tackle this issue together!
To resolve the "Invalid GPU Device" error when trying to upscale images using Upscayl version 2.11.0 on your Windows 10 (22H2) system with a GTX 1660 GPU, you can try the following steps:
-
Set the app to performance mode: Follow the instructions in this video to set the app to performance mode.
-
Ensure you have the right redistributables: Make sure all necessary redistributables are installed on your system.
-
Try DirectX repair: Use the DirectX repair tool to fix any potential DirectX issues.
-
Disable switchable graphics: If your system has switchable graphics, follow this guide to disable them.
-
Enable hardware-accelerated GPU scheduling: Follow this guide to enable hardware-accelerated GPU scheduling.
-
Reinstall graphics drivers: Before reinstalling your graphics drivers, run VulkanCapsViewer to check for Vulkan support. If Vulkan support is confirmed, proceed with reinstalling the drivers.
Additionally, according to the Upscayl Compatibility List, all dedicated GPUs are assumed to work except for the GTX 7xx series and GT 920M. Since your GTX 1660 is not listed among the non-working GPUs, it should be compatible [1][2].
To continue talking to Dosu, mention @dosu.
Can we order dosu to automatically remove the bug label?
Can we order dosu to automatically remove the bug label?
I don't think so
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.