Solved. See here: https://support.sgo.es/support/solutions/articles/1000285962-how-to-configur... That was one part. But not the only part: Since the programs were using the X server to deal with images, and I had started them via ssh with X forwarding on (which sets DISPLAY to wind up where I ran the ssh command), the image buffers were, in all likelihood, being sent over ssh to my local laptop (from where I logged in via ssh) for rendering. It is going to be interesting to see how the processing speed changes after all is set right! I wish the software did direct GPU stuff and did not rely on X. But that is of course another can of worms. Still, our own YOLO image detector works without X. But it is not as portable. On Fri, Sep 18, 2020 at 1:20 PM Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I have a couple systems on which I want to run some software that does GLX operations on images. These seem to rely on the X server having access to a GPU. Without this, they do their operations very very slowly.
I have a very decent NVIDIA GPU (GeForce GTX 1660 SUPER) installed in all systems. In my own applications that are specifically compiled to use an NVIDIA GPU (no X server involved), all works great. nvidia-smi correctly shows that my application is using the GPU.
The problem I am having with other applications (e.g., nona, a part of hugin) is that it seems that the NVIDIA driver is not loading. In this case, the system does not have a display attached. For my own apps that use the GPU direct, this is no problem. It uses libcuda only. No X. For the problem apps, since the nvdia driver is not loading, the X driver it falls back on does not do GPU.
Is it a requirement for the nvidia proprietary drivers that a display be connected? I have googled this, but all discussions are about connected displays not being found or used.
This is on Leap 15.1 and NVIDIA 440.82 drivers.
If a display is required, could it perhaps be defined in a config file so the nvidia driver loads? We have a cluster of computers like this and we do not want to hook up a display just for this.
-- Roger Oberholtzer
-- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org