upscayl / upscayl

🆙 Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.
https://upscayl.org
GNU Affero General Public License v3.0
29.36k stars 1.33k forks source link

Upscayl does nothing on the RTX 2060 #840

Closed ryuk8053 closed 3 months ago

ryuk8053 commented 3 months ago

Checklist

Describe the Bug

no matter what linux distribution, this error always occurs as in the screenshot + file is not saved on disk. I've tried changing GPU ID settings, reinstalling drivers, changing models - still the same

To Reproduce

?

Upscayl Version (or commit hash)

2.11.0

Platform

Linux

OS Version

Pop!_OS 22.04 LTS

GPU Name

Nvidia RTX 2060

Expected Behavior

No response

Screenshots

image

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 
🔀 Setting model to realesrgan-x4plus-anime
🔄 Resetting image paths
🎒 BACKEND REPORTED:  🖼️ Updating Image Path:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg
🎒 BACKEND REPORTED:  📄 Selected File Path:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg
🖼 Selected Image Path:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg
📁 Selected Image Directory:  /home/wolfy/Загрузки
🖼 imagePath:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg
🔤 Extension:  jpg
🔄 Resetting image paths
🎒 BACKEND REPORTED:  🚫 File Operation Cancelled
🔄 Resetting image paths
🎒 BACKEND REPORTED:  🖼️ Updating Image Path:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg
🖼 Selected Image Path:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg
📁 Selected Image Directory:  /home/wolfy/Загрузки
🖼 imagePath:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg
🔤 Extension:  jpg
🎒 BACKEND REPORTED:  📄 Selected File Path:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg
🎒 BACKEND REPORTED:  📁 Updating Folder Path:  /home/wolfy/Загрузки
🗂 Setting Output Path:  /home/wolfy/Загрузки
🎒 BACKEND REPORTED:  📁 Selected Folder Path:  /home/wolfy/Загрузки
🔄 Resetting Upscaled Image Path
🏁 UPSCAYL
🎒 BACKEND REPORTED:  ✅ Upscayl Variables:  {"model":"realesrgan-x4plus-anime","gpuId":"0","saveImageAs":"png","inputDir":"/home/wolfy/Загрузки","fileNameWithExt":"wallpaperflare.com_wallpaper.jpg","outputDir":"/home/wolfy/Загрузки","outFile":"/home/wolfy/Загрузки/wallpaperflare.com_wallpaper_upscayl_2x_realesrgan-x4plus-anime.png","fileName":"wallpaperflare.com_wallpaper","scale":"2","compression":"0","customWidth":"","useCustomWidth":false,"tileSize":null}
🎒 BACKEND REPORTED:  📢 Upscayl Command:  -i,/home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg,-o,/home/wolfy/Загрузки/wallpaperflare.com_wallpaper_upscayl_2x_realesrgan-x4plus-anime.png,-s,2,-m,/app/upscayl/resources/models,-n,realesrgan-x4plus-anime,-g,0,-f,png,-c,0
🎒 BACKEND REPORTED:  👶 Updating Child Processes:  {"binary":"/app/upscayl/resources/bin/upscayl-bin","args":["/app/upscayl/resources/bin/upscayl-bin","-i","/home/wolfy/Загрузки/wallpaperflare.com_wallpaper.jpg","-o","/home/wolfy/Загрузки/wallpaperflare.com_wallpaper_upscayl_2x_realesrgan-x4plus-anime.png","-s","2","-m","/app/upscayl/resources/models","-n","realesrgan-x4plus-anime","-g","0","-f","png","-c","0"]}
🎒 BACKEND REPORTED:  🛑 Updating Stopped:  false
🎒 BACKEND REPORTED:  🚀 Starting Upscayl - Copyright © 2024
✨ Detected scale x4
✨ Using the default scale x4

🚧 UPSCAYL_PROGRESS:  🚀 Starting Upscayl - Copyright © 2024
✨ Detected scale x4
✨ Using the default scale x4

🎒 BACKEND REPORTED:  [0 NVIDIA GeForce RTX 2060]  queueC=2[8]  queueG=0[16]  queueT=1[2]
[0 NVIDIA GeForce RTX 2060]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[0 NVIDIA GeForce RTX 2060]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 NVIDIA GeForce RTX 2060]  subgroup=32  basic=1  vote=1  ballot=1  shuffle=1
[1 llvmpipe (LLVM 17.0.6, 256 bits)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[1 llvmpipe (LLVM 17.0.6, 256 bits)]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[1 llvmpipe (LLVM 17.0.6, 256 bits)]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[1 llvmpipe (LLVM 17.0.6, 256 bits)]  subgroup=8  basic=1  vote=1  ballot=1  shuffle=1

🚧 UPSCAYL_PROGRESS:  [0 NVIDIA GeForce RTX 2060]  queueC=2[8]  queueG=0[16]  queueT=1[2]
[0 NVIDIA GeForce RTX 2060]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[0 NVIDIA GeForce RTX 2060]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 NVIDIA GeForce RTX 2060]  subgroup=32  basic=1  vote=1  ballot=1  shuffle=1
[1 llvmpipe (LLVM 17.0.6, 256 bits)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[1 llvmpipe (LLVM 17.0.6, 256 bits)]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[1 llvmpipe (LLVM 17.0.6, 256 bits)]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[1 llvmpipe (LLVM 17.0.6, 256 bits)]  subgroup=8  basic=1  vote=1  ballot=1  shuffle=1

🎒 BACKEND REPORTED:  0.00%

🚧 UPSCAYL_PROGRESS:  0.00%

🎒 BACKEND REPORTED:  1.67%

🚧 UPSCAYL_PROGRESS:  1.67%

🎒 BACKEND REPORTED:  3.33%

🚧 UPSCAYL_PROGRESS:  3.33%

🎒 BACKEND REPORTED:  5.00%

🚧 UPSCAYL_PROGRESS:  5.00%

🎒 BACKEND REPORTED:  6.67%

🚧 UPSCAYL_PROGRESS:  6.67%

🎒 BACKEND REPORTED:  8.33%

🚧 UPSCAYL_PROGRESS:  8.33%

🎒 BACKEND REPORTED:  10.00%

🚧 UPSCAYL_PROGRESS:  10.00%

🎒 BACKEND REPORTED:  11.67%

🚧 UPSCAYL_PROGRESS:  11.67%

🎒 BACKEND REPORTED:  13.33%

🚧 UPSCAYL_PROGRESS:  13.33%

🎒 BACKEND REPORTED:  15.00%
100.00%

🚧 UPSCAYL_PROGRESS:  15.00%
100.00%

🎒 BACKEND REPORTED:  16.67%

🚧 UPSCAYL_PROGRESS:  16.67%

🎒 BACKEND REPORTED:  18.33%

🚧 UPSCAYL_PROGRESS:  18.33%

🎒 BACKEND REPORTED:  20.00%

🚧 UPSCAYL_PROGRESS:  20.00%

🎒 BACKEND REPORTED:  21.67%

🚧 UPSCAYL_PROGRESS:  21.67%

🎒 BACKEND REPORTED:  23.33%

🚧 UPSCAYL_PROGRESS:  23.33%

🎒 BACKEND REPORTED:  25.00%

🚧 UPSCAYL_PROGRESS:  25.00%

🎒 BACKEND REPORTED:  26.67%

🚧 UPSCAYL_PROGRESS:  26.67%

🎒 BACKEND REPORTED:  28.33%

🚧 UPSCAYL_PROGRESS:  28.33%

🎒 BACKEND REPORTED:  30.00%

🚧 UPSCAYL_PROGRESS:  30.00%

🎒 BACKEND REPORTED:  31.67%
100.00%

🚧 UPSCAYL_PROGRESS:  31.67%
100.00%

🎒 BACKEND REPORTED:  33.33%

🚧 UPSCAYL_PROGRESS:  33.33%

🎒 BACKEND REPORTED:  35.00%

🚧 UPSCAYL_PROGRESS:  35.00%

🎒 BACKEND REPORTED:  36.67%

🚧 UPSCAYL_PROGRESS:  36.67%

🎒 BACKEND REPORTED:  38.33%

🚧 UPSCAYL_PROGRESS:  38.33%

🎒 BACKEND REPORTED:  40.00%

🚧 UPSCAYL_PROGRESS:  40.00%

🎒 BACKEND REPORTED:  41.67%

🚧 UPSCAYL_PROGRESS:  41.67%

🎒 BACKEND REPORTED:  43.33%

🚧 UPSCAYL_PROGRESS:  43.33%

🎒 BACKEND REPORTED:  45.00%

🚧 UPSCAYL_PROGRESS:  45.00%

🎒 BACKEND REPORTED:  46.67%

🚧 UPSCAYL_PROGRESS:  46.67%

🎒 BACKEND REPORTED:  48.33%
100.00%

🚧 UPSCAYL_PROGRESS:  48.33%
100.00%

🎒 BACKEND REPORTED:  50.00%

🚧 UPSCAYL_PROGRESS:  50.00%

🎒 BACKEND REPORTED:  51.67%

🚧 UPSCAYL_PROGRESS:  51.67%

🎒 BACKEND REPORTED:  53.33%

🚧 UPSCAYL_PROGRESS:  53.33%

🎒 BACKEND REPORTED:  55.00%

🚧 UPSCAYL_PROGRESS:  55.00%

🎒 BACKEND REPORTED:  56.67%

🚧 UPSCAYL_PROGRESS:  56.67%

🎒 BACKEND REPORTED:  58.33%

🚧 UPSCAYL_PROGRESS:  58.33%

🎒 BACKEND REPORTED:  60.00%

🚧 UPSCAYL_PROGRESS:  60.00%

🎒 BACKEND REPORTED:  61.67%

🚧 UPSCAYL_PROGRESS:  61.67%

🎒 BACKEND REPORTED:  63.33%

🚧 UPSCAYL_PROGRESS:  63.33%

🎒 BACKEND REPORTED:  65.00%
100.00%

🚧 UPSCAYL_PROGRESS:  65.00%
100.00%

🎒 BACKEND REPORTED:  66.67%

🚧 UPSCAYL_PROGRESS:  66.67%

🎒 BACKEND REPORTED:  68.33%

🚧 UPSCAYL_PROGRESS:  68.33%

🎒 BACKEND REPORTED:  70.00%

🚧 UPSCAYL_PROGRESS:  70.00%

🎒 BACKEND REPORTED:  71.67%

🚧 UPSCAYL_PROGRESS:  71.67%

🎒 BACKEND REPORTED:  73.33%

🚧 UPSCAYL_PROGRESS:  73.33%

🎒 BACKEND REPORTED:  75.00%

🚧 UPSCAYL_PROGRESS:  75.00%

🎒 BACKEND REPORTED:  76.67%

🚧 UPSCAYL_PROGRESS:  76.67%

🎒 BACKEND REPORTED:  78.33%

🚧 UPSCAYL_PROGRESS:  78.33%

🎒 BACKEND REPORTED:  80.00%

🚧 UPSCAYL_PROGRESS:  80.00%

🎒 BACKEND REPORTED:  81.67%
100.00%

🚧 UPSCAYL_PROGRESS:  81.67%
100.00%

🎒 BACKEND REPORTED:  83.33%

🚧 UPSCAYL_PROGRESS:  83.33%

🎒 BACKEND REPORTED:  85.00%

🚧 UPSCAYL_PROGRESS:  85.00%

🎒 BACKEND REPORTED:  86.67%

🚧 UPSCAYL_PROGRESS:  86.67%

🎒 BACKEND REPORTED:  88.33%

🚧 UPSCAYL_PROGRESS:  88.33%

🎒 BACKEND REPORTED:  90.00%

🚧 UPSCAYL_PROGRESS:  90.00%

🎒 BACKEND REPORTED:  91.67%

🚧 UPSCAYL_PROGRESS:  91.67%

🎒 BACKEND REPORTED:  93.33%

🚧 UPSCAYL_PROGRESS:  93.33%

🎒 BACKEND REPORTED:  95.00%

🚧 UPSCAYL_PROGRESS:  95.00%

🎒 BACKEND REPORTED:  96.67%

🚧 UPSCAYL_PROGRESS:  96.67%

🎒 BACKEND REPORTED:  98.33%
100.00%

🚧 UPSCAYL_PROGRESS:  98.33%
100.00%

🎒 BACKEND REPORTED:  🏞️ Resizing image according to output scale

🚧 UPSCAYL_PROGRESS:  🏞️ Resizing image according to output scale

🎒 BACKEND REPORTED:  🏞️ Resized image from 1920x1080 to 3840x2160

🚧 UPSCAYL_PROGRESS:  🏞️ Resized image from 1920x1080 to 3840x2160

🎒 BACKEND REPORTED:  💯 Done upscaling
upscaledImagePath:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper_upscayl_2x_realesrgan-x4plus-anime.png
💯 UPSCAYL_DONE:  /home/wolfy/Загрузки/wallpaperflare.com_wallpaper_upscayl_2x_realesrgan-x4plus-anime.png
⚙️ Getting saveImageAs from localStorage:  png
⚙️ Getting model from localStorage:  {"label":"Digital Art","value":"realesrgan-x4plus-anime"}
⚙️ Getting gpuId 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
dosubot[bot] commented 3 months ago

It looks like the upscaling process is being initiated but the output file is not being saved correctly. Here are some steps to troubleshoot and potentially resolve this issue:

  1. Check File Permissions: Ensure the directory where you are trying to save the upscaled image has the correct write permissions:

    chmod -R 755 /home/wolfy/Загрузки
  2. Verify Output Path: Double-check the output path to ensure it is correct and accessible. The logs indicate the output path as /home/wolfy/Загрузки/wallpaperflare.com_wallpaper_upscayl_2x_realesrgan-x4plus-anime.png. Make sure this path exists and is writable.

  3. Run Upscayl with Elevated Permissions: Try running Upscayl with elevated permissions to rule out any permission-related issues:

    sudo flatpak run org.upscayl.Upscayl
  4. Check for Special Characters in Paths: Ensure that the file paths do not contain any special characters or spaces. Rename the directories and files if necessary.

  5. Reinstall Vulkan and Graphics Drivers: Ensure that Vulkan and your graphics drivers are correctly installed and up-to-date:

    sudo apt update
    sudo apt install vulkan-utils
    sudo apt install nvidia-driver-525
  6. Set GPU ID Correctly: Ensure that the GPU ID is set correctly. According to the logs, the GPU ID is set to 0, which corresponds to your Nvidia RTX 2060. You can try setting it explicitly in the Upscayl settings.

  7. Check for Errors in Logs: Monitor the logs for any specific error messages that might indicate what is going wrong. The logs you provided do not show any explicit errors, but keep an eye out for any new messages.

By following these steps, you should be able to identify and resolve the issue with Upscayl on your Nvidia RTX 2060 GPU. If the problem persists, please provide any additional error messages or logs that might help in further diagnosing the issue.

#### Details **Sources** - [Is the GeForce GT 635M not compatible with upscayl?](https://github.com/orgs/upscayl/discussions/810) - [Windows app does not launch](https://github.com/upscayl/upscayl/issues/777) - [upscaled pictures cannot be saved, shown as black](https://github.com/upscayl/upscayl/issues/354) - [No output displayed nor saved](https://github.com/upscayl/upscayl/issues/409) - [docs/Troubleshooting.md](https://github.com/upscayl/upscayl/blob/main/docs/Troubleshooting.md) - [electron/commands/double-upscayl.ts](https://github.com/upscayl/upscayl/blob/main/electron/commands/double-upscayl.ts) - [flatpak/org.upscayl.Upscayl.json](https://github.com/upscayl/upscayl/blob/main/flatpak/org.upscayl.Upscayl.json) - [renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx](https://github.com/upscayl/upscayl/blob/main/renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx) - [docs/Guide.md](https://github.com/upscayl/upscayl/blob/main/docs/Guide.md)
**About Dosu** This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

ryuk8053 commented 3 months ago

@dosu Thank you! I think I figured out what the problem was: because of using Cyrillic characters, I created a folder in English and everything worked fine. When installing upscayl from linux store already by default asked for administrator rights, based on this gogo problems with folder permissions I had no problems and my video card supports everything that was stated above. Sorry for my stupidity

dosubot[bot] commented 3 months ago

No problem at all! Glad to hear you figured it out. Using non-Cyrillic characters in file paths can indeed resolve such issues. If you encounter any more problems or have further questions, feel free to ask. Happy upscaling!

#### Details **About Dosu** This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

NayamAmarshe commented 3 months ago

@aaronliu0130 Gotta say, this bot is good

aaronliu0130 commented 3 months ago

We're tracking this in #802!