You are not logged in.

#1 2025-03-26 17:33:56

gps1539
Member
From: Los Gatos, CA
Registered: 2013-11-06
Posts: 164

(Solved) Enable GPUs for Graxpert on Arch linux

I've been playing with graxpert on Arch linux directly and via siril 1.3.6. The denoise looks interesting, but it is very slow on a CPU. It seems it supports GPUs via Cuda and I have an Nvidia GPU in my laptop that supports Cuda, so I'm hoping I can speed things up.

From a graxpert git page it seems that cuda and libcudnn are the dependencies for linux. I installed them using pacman and tried denoise in graxpert it complained that onnx is missing. When I install onnx (again from pacman) and tried again, this time onnx complained about missing dependencies. From the onnx website it looks like the onnx version (1.17) available for arch is not compatible with the cudnn version from Arch (9.8.0). Alas I can't figure the recipe to get this to work.

If you have successfully enabled GPUs for Graxpert on Linux, could you share how. Thanks

Last edited by gps1539 (2025-03-27 21:06:08)

Offline

#2 2025-03-27 08:54:38

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,213

Re: (Solved) Enable GPUs for Graxpert on Arch linux

I think you need onnxruntime instead of onnx (if that even exists). It also has a optional cuda dependecy.

Can you post the error messages?


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#3 2025-03-27 10:19:52

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,845

Re: (Solved) Enable GPUs for Graxpert on Arch linux

https://github.com/Steffenhir/GraXpert/ … ements.txt lists everything graxpert itself needs .

Are all those installed ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2025-03-27 10:38:36

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,213

Re: (Solved) Enable GPUs for Graxpert on Arch linux

Lone_Wolf wrote:

https://github.com/Steffenhir/GraXpert/ … ements.txt lists everything graxpert itself needs .

Those are the requirements for non-cuda. Saw those too.


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#5 2025-03-27 21:00:16

gps1539
Member
From: Los Gatos, CA
Registered: 2013-11-06
Posts: 164

Re: (Solved) Enable GPUs for Graxpert on Arch linux

GraXpert 3.0.2 has a weird combination of dependencies with cuda 12 and libcudnn8 (default today is 9) due to a onnxruntime dependency. I installed the GraXpert 3.1rc build with the latest cuda, cudnn and onnxruntime, it seems to be running on GPU :-)

cuda 12.8.
cudnn 9.8.0.87
onnxruntime 1.20.2-7
GraXpert version: 3.1.0rc2

Not looking forward to the dependency hell as things update. Makes me really appreciate pacman!

Last edited by gps1539 (2025-03-27 21:01:37)

Offline

#6 2025-03-27 21:03:33

gps1539
Member
From: Los Gatos, CA
Registered: 2013-11-06
Posts: 164

Re: (Solved) Enable GPUs for Graxpert on Arch linux

Lone_Wolf wrote:

https://github.com/Steffenhir/GraXpert/ … ements.txt lists everything graxpert itself needs .

Are all those installed ?

Yes, Graxpert was running on CPU without issue.

Offline

#7 2025-03-27 21:05:19

gps1539
Member
From: Los Gatos, CA
Registered: 2013-11-06
Posts: 164

Re: (Solved) Enable GPUs for Graxpert on Arch linux

jl2 wrote:

I think you need onnxruntime instead of onnx (if that even exists). It also has a optional cuda dependecy.

Can you post the error messages?

I think you are correct, but I couldn't find a onnxruntime build with the older 1.17 version.

Offline

Board footer

Powered by FluxBB