I've been trying to install FAH on a new machine to work with the two GPUs in it, a 750Ti and a 1060 3GB. 390.67 drivers. They work fine with all BOINC projects.
After awhile I noticed there were no OpenCL devices reported, because libOpenCL.so was not found. I did:
cd /usr/lib/x86_64-linux-gnu ; sudo ln -s libOpenCL.so.1 libOpenCL.so
That got the OpenCL devices reported as existing.
But when I try to add a GPU slot the client just says, "No available GPUs". There's also a setting that appears in the Advanced section that says something like "GPUs: False". I keep removing it, but that doesn't change anything. I also keep removing the client with apt purge and reinstalling. (as Anonymous so as not to mess up my account key anymore.)
What can I try next?
Fix was removing "gpu=false" and rebooting.
Last edited by Ken_g6 on Thu Jun 14, 2018 5:29 pm, edited 1 time in total.
Even though the log says GPUs 0 have you tried adding a gpu slot? Most of my linux GPU folders say the same thing but they all fold just fine on their GPUs. I'm not sure but it may be just a cosmetic error.
Also, where it says:
23:50:23: <gpu v='false'/>
that should say true or just remove the line.
Yes I've tried adding a slot both with and without gpu=false. All I get is "No available GPUs".
Previously I got some really weird behavior. Once I got a GPU added and the WU ran on a single CPU core. But I have no logs of that, and now all I get is that one error.
It's beginning to sound like a driver problem. Where did you get the drivers from and how did you install them?
btw: a simple pause and reboot got FAHControl to show my GPUs correctly in the log and System Info. You could try that first to see if your GPUs show up and if they do add your slots. Don't forget to change that line about gpus being false to true before the reboot.
You may need to completely uninstall folding, including data, reinstall the drivers and then reinstall folding, in that order if we can't find the source for your problem. If you go that route please set your cpu slot to Finish and let it do so before proceeding.
bollix47 wrote:btw: a simple pause and reboot got FAHControl to show my GPUs correctly in the log and System Info. You could try that first to see if your GPUs show up and if they do add your slots.
I read this, did this, and it didn't work. However, I didn't see this the first time:
bollix47 wrote:Don't forget to change that line about gpus being false to true before the reboot.
That done, one more reboot, and voila, it works! Thanks!
When a driver problem is fixed or a GPU is added, the GPU=false prevents FAH from trying to find more GPUs. (and in that case, you can't manually add a GPU slot.) Under those conditions, what error message did you get?
I'm confused by your question. I was getting GPU=false set on a fresh install, all previous data purged. I got "No available GPUs" whether or not GPU=false was present, until I rebooted without it present.
When you start FAH the first time it will attempt to detect supported GPUs with functional drivers. If it finds one or more, it creates GPU slots for them. If it doesn't find any, it will set the value of GPU so that it will create a CPU-only client and "Set client configured" Then it will no longer take the extra time to search for GPUs. Later, if you attempt to add a GPU slot manually, it will give you an error message. What did it say?
You said: "The save came after I tried to add a GPU slot, and got the error." but I don't see any evidence of a slot being created or any evidence of whatever the error was at that point.
I saw the error "No available GPUs" appear in a dialog box, in a little box at the bottom of the window, and in the command-line output of FAHControl, whenever I attempted to add a GPU slot. I didn't see it appear anywhere in the logs, which is weird. No slot was added when that error appeared.
Isn't it also strange that the log showed "GPUs: 0", but then listed two CUDA and OpenCL devices? The log now lists the GPUs:
Here's another odd message I'm seeing in the logs now. No idea if it's related, or even if it's a problem. It doesn't seem to be interfering with credits granted. I did a search for it but found nothing:
08:52:49:WARNING:FS02:Size of positions 2579 does not match topology 2577
09:16:16:WARNING:FS02:Size of positions 2583 does not match topology 2581
That pops up periodically for every WU in FS02, it seems like. It does not appear for FS01, and I've suspended FS00 for now, until I'm done with other CPU work. The numbers changed between two WUs, but haven't changed since.