k4yt3x / video2x

A lossless video/GIF/image upscaler achieved with waifu2x, Anime4K, SRMD and RealSR. Started in Hack the Valley II, 2018.
https://video2x.org
GNU Affero General Public License v3.0
9.64k stars 947 forks source link

SRMD not using AMD RX 7800 XT GPU (Ubuntu 22.04 HWE, amdgpu 6.0.60002, Vulkan 1.3.275) #1070

Open chucko58 opened 6 months ago

chucko58 commented 6 months ago

I built video2x from source. The RealSR and RIFE algorithms are making good use of the GPU. But SRMD is using the CPU. I can see the CPU temperatures go up running SRMD, but the GPU temps stay close to idle. RealSR gets the GPU hot, and RIFE also makes good use of the GPU.

Everything works, and there are plenty of CPU cores, I'm just curious why I'm not seeing SRMD take advantage of the GPU.

Hardware: ASRock X570 Pro4 M, AMD Ryzen 9 5950X, Sapphire Pulse RX 7800 XT, 64 GB RAM.

Software: Ubuntu Studio 22.04, HWE kernel 6.5.0-17 (mainline 6.5.8), amdgpu 6.0.60002, vulkan 1.3.275, vulkan-amdgpu 23.40, Python 3.10.13.

gemorgan commented 6 months ago

I have a GTX 1060 6GB and have the same problem in a dockerized install on linux. RealSR, Waifu2x peg the GPU while SRMD pegs all cores of the CPU and the GPU processing is near zero.