Re: Anyone have luck with Folding@Home and OpenCL on AMD RX580?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I've been able to run FAH on my GTX 1060.
They say the Nvidia setup should be much easier than for AMD GPU, but
it is still a pain ... :/

I had to configure a firewall, download proprietary NVIDIA drivers and
install them (which means switching the nouveau kernel module for the
proprietary one) and install some additional libraries (needed by
FAH).
I've lost a day trying to set it up, searching WHAT and HOW [1] has to
be done - since the help from FAH project side is close to zero.

At the end, you have no idea, if it works or not, until the GPU
actually starts computing. but since it may take hours to get a work
unit for your GPU, you may find the correct configuration, but not
knowing it ...
It also means, it may have worked with the nouveau drivers, but I
couldn't know ... it's a total mess.
I highly discourage trying it unless they (FAH upstream) will have
better support for ... everything. And probably also until they
opensource the project again, so people for different distros could
help them. They just stuck their head to the sand ...
I have it running on Windows 7 now. :(

Here is my DNF history related to this task:
  dnf  install ./fahclient-7.5.1-1.x86_64.rpm
./fahcontrol-7.5.1-1.noarch.rpm ./fahviewer-7.5.1-1.x86_64.rpm
  dnf install /usr/lib64/libcuda.so /usr/lib64/libOpenCL.so
  dnf install --disablerepo=*
/tmp/akmods.i6AeSrCB/results/kmod-nvidia-340xx-5.5.8-200.fc31.x86_64-340.108-1.fc31.x86_64.rpm
  dnf remove xorg-x11-drv-nvidia-340xx-cuda-340.108-1.fc31.x86_64
  dnf install nvidia-modprobe
  dnf install kernel-devel kernel-headers gcc make dkms acpid
libglvnd-glx libglvnd-opengl libglvnd-devel pkgconfig
  dnf remove xorg-x11-drv-nouveau
  dnf remove *xorg*nvidia*
  dnf reinstall kernel-core
  dnf install opencl* libclc*
  install ocl-icd-devel.i686
  install /usr/bin/clinfo



Hope you get the idea ...

[1] https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/

--

Michal Schorm
Software Engineer
Core Services - Databases Team
Red Hat

--

On Thu, Apr 2, 2020 at 8:23 PM Richard Shaw <hobbes1069@xxxxxxxxx> wrote:
>
> I recently setup Folding@Home on my Fedora 31 box and have it running on the CPU no problem but the package is not without issues...
>
> It installs a SysV init script which SystemD generates a service file from it, but fahclient runs as the fahclient user but AFAICT SystemD doesn't know that, which I've read can cause problems with accessing the GPU.
>
> So I went ahead and wrote a SystemD service file for fahclient, but no luck. I've also added fahclient to the video group, nope...
>
> I've installed the packages I think I need from AMD (which are really EL 8 packages) but they all install into /opt so my current theory is that FAH isn't finding the libraries...
>
> Current OpenCL error is:
> OpenCL: Not Detected: clGetDeviceIDs() returned -1
>
> Anyone successfully got this working?
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux