Closed ArchieMeng closed 5 years ago
BTW, my computer screen stuck when I was upscaling.
reproducible on my i7-7700 machine, intel hd graphics 630, fedora 29 + mesa 18.3.5 but it doesn't appear on my laptop with intel uhd graphics 620, windows 10
it seems that there is a driver issue in intel linux vulkan driver
Similar issue occur with AMD GPUs.
Windows 10 Ryzen 2400G VRAM 1GB Vulkan Driver Version 2.0.78 VULKANINFO https://pastebin.com/NhkAYmXh
I assumed that the cause of this issues was due to the small of VRAM capacity, and using the binary that changed the TILE_SIZE value from 400 to 128 did not solve the issue.
Setting TdrLevel to 0 solved this issue. The cause of this issue was not due to the small amount of VRAM capacity, but was likely due to the GPU processing timed out.
I am working on a new rewrite for tile processing to further reduce gpu memory usage. I will update it as soon as I finished it :)
I may upload a new binary tomorrow after more testing. It should resolve these issue but needs more testing...
20190413 binary release uploaded add a new command line option blocksize to reduce GPU memory usage reduce the amount of commands in one submit to get better operating system responding
the following platforms are tested gtx1070 on windows 10 gtx1070 on fedora 29 gt940m on fedora 29 intel hd graphics 5500 on fedora 29 a10-7850k on windows 10 (block size = 200)
Thank you. I confirmed that the issue was solved.
@ArchieMeng hi, please try the new version to see if the issue still exists.
How about multi processing, if I want to upscale many files at one time?
@nihui Yes, it works. Thxs!
Used the "1.png" as the original image, keep upscaling its upscaled result. The first result (1004 720) seems fine, but the second result (2008 1440) is a black image. The first result: The second result:
Vulkan info: