I am running Rocky Linux 9.6 with two 4090 GPUs. I want to assign second GPU to Houdini - mostly for it's VRAM. No matter what I do, Houdini still uses 1st GPU which is connected to display.
In all of these options Houdini utilises mostly DEVICE 0 (1st GPU connected to monitor and it's RAM) Second GPU (DEVICE 1, which I intend to use) is used by Houdini with minimal impact.
Why all this hassle: simply because I want to assign Unreal Engine and Houdini between different GPUs and avoid VRAM exhaustion. Both GPUs are detected by system, and are powered on.
Update 2: For anyone interested, the cgroup approach works well, tested with Fusion Resolve and Houdini running on Device 1. Unreal running on Device 0. Both VRAMs utilised
Great thing is that now Linux runs Unreal + Houdini Engine session on one GPU, while having another Houdini instance running on 2nd GPU