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] vkEnumeratePhysicalDevices failed -3 #675

Closed
4 of 5 tasks
Vortex1x1x1x opened this issue Jan 26, 2024 · 9 comments
Closed
4 of 5 tasks

[VULKAN] vkEnumeratePhysicalDevices failed -3 #675

Vortex1x1x1x opened this issue Jan 26, 2024 · 9 comments
Labels
vulkan Issues that concern with hardware and were open at least once after 2024-01-19

Comments

@Vortex1x1x1x
Copy link

Vortex1x1x1x commented Jan 26, 2024

Checklist

  • I have checked that this issue isn't addressed in the FAQ.
  • My error involves vkEnumeratePhysicalDevices or vkCreateInstance, which means I should ignore the other issues and file this one despite the next checkbox. I will try the last two checkboxes in the checklist.
  • I have checked that this issue isn't addressed in any other issue or pull request.
  • I have tried setting my GPU ID.
  • I am using Windows and I've tried common troubleshooting steps.

Describe the Bug

When i try to upscale an image it says the gpu must be Vulcan compatible.

To Reproduce

i upload an image and click upscale

Version (or commit hash)

v2.9.8

Platform

Linux

OS Version

Ubuntu 22.04

GPU Name

RX 7600

Expected Behavior

No response

Screenshots

image

Paste the 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
🐞 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
⚙️ Getting rememberOutputFolder from localStorage:  false
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
⚙️ Getting gpuId from localStorage:  0
🔀 Setting model to 
🔀 Setting model to realesrgan-x4plus
🔄 Resetting image paths
🐞 BACKEND REPORTED:  🖼️ Updating Image Path:  /home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1).png
🖼 Selected Image Path:  /home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1).png
📁 Selected Image Directory:  /home/vortex1x1x1x/ComfyUI/input
🖼 imagePath:  /home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1).png
🔤 Extension:  png
🐞 BACKEND REPORTED:  📄 Selected File Path:  /home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1).png
🔄 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":"0","saveImageAs":"png","inputDir":"/home/vortex1x1x1x/ComfyUI/input","outputDir":"/home/vortex1x1x1x/ComfyUI/input","fullfileName":"shark_depthmap (1).png","fileName":"shark_depthmap (1)","initialScale":"4","desiredScale":"4","outFile":"/home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1)_upscayl_4x_realesrgan-x4plus.png","compression":0}
🐞 BACKEND REPORTED:  📢 Upscayl Command:  -i,/home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1).png,-o,/home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1)_upscayl_4x_realesrgan-x4plus.png,-s,4,-m,/snap/upscayl/31/opt/Upscayl/resources/models,-n,realesrgan-x4plus,-g,0,-f,png
🐞 BACKEND REPORTED:  👶 Updating Child Processes:  {"binary":"/snap/upscayl/31/opt/Upscayl/resources/bin/upscayl-bin","args":["/snap/upscayl/31/opt/Upscayl/resources/bin/upscayl-bin","-i","/home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1).png","-o","/home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1)_upscayl_4x_realesrgan-x4plus.png","-s","4","-m","/snap/upscayl/31/opt/Upscayl/resources/models","-n","realesrgan-x4plus","-g","0","-f","png"]}
🐞 BACKEND REPORTED:  🛑 Updating Stopped:  false
🐞 BACKEND REPORTED:  image upscayl:  vkEnumeratePhysicalDevices failed -3
invalid gpu device

🔄 Resetting image paths
🚧 UPSCAYL_PROGRESS:  vkEnumeratePhysicalDevices failed -3
invalid gpu device

🐞 BACKEND REPORTED:  ❌ INVALID GPU OR FAILED
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
⚙️ Getting gpuId from localStorage:  0
⚙️ Getting rememberOutputFolder from localStorage:  false
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
⚙️ Getting gpuId from localStorage:  0
🔀 Setting model to 
🔀 Setting model to realesrgan-x4plus
🔄 Resetting image paths
🐞 BACKEND REPORTED:  🖼️ Updating Image Path:  /home/vortex1x1x1x/Desktop/20240102-BhutanSolstice_EN-US7410762908_UHD.jpg
🖼 Selected Image Path:  /home/vortex1x1x1x/Desktop/20240102-BhutanSolstice_EN-US7410762908_UHD.jpg
📁 Selected Image Directory:  /home/vortex1x1x1x/Desktop
🖼 imagePath:  /home/vortex1x1x1x/Desktop/20240102-BhutanSolstice_EN-US7410762908_UHD.jpg
🔤 Extension:  jpg
🐞 BACKEND REPORTED:  📄 Selected File Path:  /home/vortex1x1x1x/Desktop/20240102-BhutanSolstice_EN-US7410762908_UHD.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":"0","saveImageAs":"png","inputDir":"/home/vortex1x1x1x/Desktop","outputDir":"/home/vortex1x1x1x/Desktop","fullfileName":"20240102-BhutanSolstice_EN-US7410762908_UHD.jpg","fileName":"20240102-BhutanSolstice_EN-US7410762908_UHD","initialScale":"4","desiredScale":"4","outFile":"/home/vortex1x1x1x/Desktop/20240102-BhutanSolstice_EN-US7410762908_UHD_upscayl_4x_realesrgan-x4plus.png","compression":0}
🐞 BACKEND REPORTED:  📢 Upscayl Command:  -i,/home/vortex1x1x1x/Desktop/20240102-BhutanSolstice_EN-US7410762908_UHD.jpg,-o,/home/vortex1x1x1x/Desktop/20240102-BhutanSolstice_EN-US7410762908_UHD_upscayl_4x_realesrgan-x4plus.png,-s,4,-m,/snap/upscayl/31/opt/Upscayl/resources/models,-n,realesrgan-x4plus,-g,0,-f,png
🐞 BACKEND REPORTED:  👶 Updating Child Processes:  {"binary":"/snap/upscayl/31/opt/Upscayl/resources/bin/upscayl-bin","args":["/snap/upscayl/31/opt/Upscayl/resources/bin/upscayl-bin","-i","/home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1).png","-o","/home/vortex1x1x1x/ComfyUI/input/shark_depthmap (1)_upscayl_4x_realesrgan-x4plus.png","-s","4","-m","/snap/upscayl/31/opt/Upscayl/resources/models","-n","realesrgan-x4plus","-g","0","-f","png"]}
🐞 BACKEND REPORTED:  🛑 Updating Stopped:  false
🐞 BACKEND REPORTED:  image upscayl:  vkEnumeratePhysicalDevices failed -3
invalid gpu device

🔄 Resetting image paths
🚧 UPSCAYL_PROGRESS:  vkEnumeratePhysicalDevices failed -3
invalid gpu device

🐞 BACKEND REPORTED:  ❌ INVALID GPU OR FAILED
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"General Photo (Real-ESRGAN)","value":"realesrgan-x4plus"}
⚙️ Getting gpuId from localStorage:  0
⚙️ Getting rememberOutputFolder from localStorage:  false
@Vortex1x1x1x Vortex1x1x1x added the bug Something isn't working label Jan 26, 2024
@aaronliu0130
Copy link
Member

Try reinstalling Vulkan drivers. If that still doesn't work, tell me what https://github.com/SaschaWillems/VulkanCapsViewer shows.

@aaronliu0130 aaronliu0130 added vulkan Issues that concern with hardware and were open at least once after 2024-01-19 and removed bug Something isn't working labels Jan 26, 2024
@Joackk
Copy link

Joackk commented Jan 28, 2024

Try reinstalling Vulkan drivers. If that still doesn't work, tell me what https://github.com/SaschaWillems/VulkanCapsViewer shows.

Does the AMD graphics card require the installation of this driver to function properly?

@Joackk
Copy link

Joackk commented Jan 28, 2024

Has your problem been resolved? I am also using an AMD graphics card, the same issue.

@Joackk
Copy link

Joackk commented Jan 28, 2024

@aaronliu0130 My driver is already the latest version. Do I need to install any other drivers?
image

@NayamAmarshe
Copy link
Member

@aaronliu0130 My driver is already the latest version. Do I need to install any other drivers? image

Try this: https://github.com/upscayl/upscayl/wiki/Troubleshooting

@Joackk
Copy link

Joackk commented Jan 28, 2024

@NayamAmarshe Thank you very much. I rechecked him and found that I set the wrong model ID, which is causing it to work properly

@aaronliu0130
Copy link
Member

@Vortex1x1x1x Has your problem been fixed?

@Vortex1x1x1x
Copy link
Author

Vortex1x1x1x commented Jan 28, 2024 via email

@NayamAmarshe NayamAmarshe changed the title AMD GPU Vulcan compatible vkEnumeratePhysicalDevices failed -3 Jan 28, 2024
@NayamAmarshe NayamAmarshe changed the title vkEnumeratePhysicalDevices failed -3 [VULKAN] vkEnumeratePhysicalDevices failed -3 Apr 25, 2024
@NayamAmarshe NayamAmarshe mentioned this issue May 15, 2024
2 tasks
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
@NayamAmarshe NayamAmarshe reopened this May 21, 2024
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
@dosubot dosubot bot removed the stale We lack your response. Please reply to re-start the issue label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vulkan Issues that concern with hardware and were open at least once after 2024-01-19
Projects
None yet
Development

No branches or pull requests

4 participants