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

Decoding error #502

Closed
3 tasks done
ldize opened this issue Oct 2, 2023 · 9 comments
Closed
3 tasks done

Decoding error #502

ldize opened this issue Oct 2, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@ldize
Copy link

ldize commented Oct 2, 2023

Checklist

  • I have checked that this issue isn't addressed in the FAQ.
  • I have checked that this issue isn't addressed in any other issue or pull request.
  • I have tried setting my GPU ID.

Paste the logs

⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"Digital Art","value":"realesrgan-x4plus-anime"}
⚙️ Getting gpuId from localStorage:  0
🔀 Setting model to 
🔄 Resetting image paths
🔀 Setting model to realesrgan-x4plus-anime
🐞 BACKEND REPORTED:  💾 Updating Save Output Folder:  false
🐞 BACKEND REPORTED:  📐 Updating Compression:  0
🐞 BACKEND REPORTED:  📝 Updating Overwrite:  false
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"Digital Art","value":"realesrgan-x4plus-anime"}
⚙️ Getting gpuId from localStorage:  0
⚙️ Getting rememberOutputFolder from localStorage:  false
⚙️ Getting compression from localStorage 0
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"Digital Art","value":"realesrgan-x4plus-anime"}
⚙️ Getting gpuId from localStorage:  0
🔀 Setting model to 
🔀 Setting model to realesrgan-x4plus-anime
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"Digital Art","value":"realesrgan-x4plus-anime"}
⚙️ Getting gpuId from localStorage:  0
⚙️ Getting rememberOutputFolder from localStorage:  false
⚙️ Getting compression from localStorage 0
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"Digital Art","value":"realesrgan-x4plus-anime"}
⚙️ Getting gpuId from localStorage:  0
🔀 Setting model to 
🔀 Setting model to realesrgan-x4plus-anime
🔄 Resetting image paths
🐞 BACKEND REPORTED:  🚫 File Operation Cancelled
🔄 Resetting image paths
🐞 BACKEND REPORTED:  🖼️ Updating Image Path:  C:\Users\lucas\Downloads\Sem título.jpg
🐞 BACKEND REPORTED:  📄 Selected File Path:  C:\Users\lucas\Downloads\Sem título.jpg
🖼 Selected Image Path:  C:\Users\lucas\Downloads\Sem título.jpg
📁 Selected Image Directory:  C:\Users\lucas\Downloads
🖼 imagePath:  C:\Users\lucas\Downloads\Sem título.jpg
🔤 Extension:  jpg
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"Digital Art","value":"realesrgan-x4plus-anime"}
⚙️ Getting gpuId from localStorage:  0
⚙️ Getting rememberOutputFolder from localStorage:  false
⚙️ Getting compression from localStorage 0
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"Digital Art","value":"realesrgan-x4plus-anime"}
⚙️ Getting gpuId from localStorage:  0
🔀 Setting model to 
🔀 Setting model to realesrgan-x4plus-anime
🔄 Resetting Upscaled Image Path
🏁 UPSCAYL
🐞 BACKEND REPORTED:  📝 Updating Overwrite:  false
🐞 BACKEND REPORTED:  ✅ Upscayl Variables:  [object Object]
🐞 BACKEND REPORTED:  📢 Upscayl Command:  -i,C:\Users\lucas\Downloads\Sem título.jpg,-o,C:\Users\lucas\Downloads\Sem título_upscayl_4x_realesrgan-x4plus-anime.png,-s,4,-m,C:\Program Files\Upscayl\resources\models,-n,realesrgan-x4plus-anime,-g,0,-f,png
🐞 BACKEND REPORTED:  👶 Updating Child Processes:  [object Object]
🐞 BACKEND REPORTED:  🛑 Updating Stopped:  false
🐞 BACKEND REPORTED:  image upscayl:  [0 AMD Radeon(TM) Graphics]  queueC=1[2]  queueG=0[1]  queueT=2[1]
[0 AMD Radeon(TM) Graphics]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[0 AMD Radeon(TM) Graphics]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 AMD Radeon(TM) Graphics]  subgroup=64  basic=1  vote=1  ballot=1  shuffle=1

🚧 UPSCAYL_PROGRESS:  [0 AMD Radeon(TM) Graphics]  queueC=1[2]  queueG=0[1]  queueT=2[1]
[0 AMD Radeon(TM) Graphics]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[0 AMD Radeon(TM) Graphics]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 AMD Radeon(TM) Graphics]  subgroup=64  basic=1  vote=1  ballot=1  shuffle=1

🐞 BACKEND REPORTED:  image upscayl:  vkAllocateMemory failed -2

🔄 Resetting image paths
🚧 UPSCAYL_PROGRESS:  vkAllocateMemory failed -2

🔄 Resetting image paths
🐞 BACKEND REPORTED:  ❌ INVALID GPU OR FAILED
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"Digital Art","value":"realesrgan-x4plus-anime"}
⚙️ Getting gpuId from localStorage:  0
⚙️ Getting rememberOutputFolder from localStorage:  false
⚙️ Getting compression from localStorage 0

Describe the Bug

I can't upscale any image.

To Reproduce

Upscale the image

Version/Commit Hash

2.8.6

OS Specifics

Ryzen 5600g integrated graphics, Windows 10

Expected Behavior

No response

Screenshots

error

@ldize ldize added the bug Something isn't working label Oct 2, 2023
@NayamAmarshe
Copy link
Member

Please read the wiki for troubleshooting guide.

@ldize
Copy link
Author

ldize commented Oct 2, 2023

Please read the wiki for troubleshooting guide.

Hi, I did everything I could. But thank you for your time anyway.

@aaronliu0130
Copy link
Member

aaronliu0130 commented Oct 2, 2023

Yes, unfortunately. NCNN Vulkan requires a Vulkan compatible GPU. Upscayl won't work with most iGPUs or CPUs.

I have checked that this issue isn't addressed in the FAQ.

compulsory rickrolls are issued for duplicates of issues and the FAQ and normies who use intelgrated GPUs


Try clicking the link at the bottom of https://github.com/upscayl/upscayl/wiki

@aaronliu0130 aaronliu0130 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2023
@NayamAmarshe
Copy link
Member

I do believe Ryzen 5600g should work. Maybe it's just a driver thing.

Reinstalling DirectX, VCRedist and the driver might fix it.

@aaronliu0130
Copy link
Member

If they tried troubleshooting then they’ve probably done these and DirectX repair already

@NayamAmarshe
Copy link
Member

If they tried troubleshooting then they’ve probably done these and DirectX repair already

Yeah, fair point.

@ldize
Copy link
Author

ldize commented Oct 3, 2023

I do believe Ryzen 5600g should work. Maybe it's just a driver thing.

Reinstalling DirectX, VCRedist and the driver might fix it.

I reinstalled the windows 10 and updated everything. And GPU-Z says my graphics is vulkan ready. I had an I5 3570 and a rx470 and it was working fine, but the rx470 died than I bought this 5600g.

Do you guys know what "vkAllocateMemory failed -2" means?

@aaronliu0130
Copy link
Member

That looks like you ran out of memory.

In any case, try the link at the bottom of the wiki which should bring you to #390 .

@ldize
Copy link
Author

ldize commented Jan 9, 2024

Hi guys, after a long time I came back to try it, and after the updates you guys made now it is working fine. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants