FAHControl on Ubuntu 19 / Debian 10 and variants
Moderators: Site Moderators, FAHC Science Team
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
Is all source code is available for a manual build?
There is a rumpkernel concept https://en.wikipedia.org/wiki/Rump_kernel
when all software package is built as a standalone OS-like application without any dependencies on the host system where it runs under virtualization supervisor.
I'm very surprised why the FAH package was not built as a tiny standalone OS image, for example, based on embedded Linux such as Buildroot, or a Docker guest.
Another option in case of some source code is proprietary is using compiling to LLVM low-level intermediate language (.ll files).
These files look like and factically is a platform-independent assembly code, which can be post-compiled on the concrete target hardware with all native optimizations, and libraries installed in the host system. And it should be noted that CUDA extensions also can use LLVM for computation kernels compilations.
There is a rumpkernel concept https://en.wikipedia.org/wiki/Rump_kernel
when all software package is built as a standalone OS-like application without any dependencies on the host system where it runs under virtualization supervisor.
I'm very surprised why the FAH package was not built as a tiny standalone OS image, for example, based on embedded Linux such as Buildroot, or a Docker guest.
Another option in case of some source code is proprietary is using compiling to LLVM low-level intermediate language (.ll files).
These files look like and factically is a platform-independent assembly code, which can be post-compiled on the concrete target hardware with all native optimizations, and libraries installed in the host system. And it should be noted that CUDA extensions also can use LLVM for computation kernels compilations.
-
- Site Moderator
- Posts: 6359
- Joined: Sun Dec 02, 2007 10:38 am
- Location: Bordeaux, France
- Contact:
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
Folding@Home components are closed source.
Keep in mind that this is Folding@Home ... you need to keep things simple for the average user. Plus, development resources of the project are limited so they're focusing on what will bring the most users.
Keep in mind that this is Folding@Home ... you need to keep things simple for the average user. Plus, development resources of the project are limited so they're focusing on what will bring the most users.
-
- Site Admin
- Posts: 7937
- Joined: Tue Apr 21, 2009 4:41 pm
- Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2 - Location: W. MA
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
Or at least some parts of Folding@home are closed source. Parts are open on the F@h GitHub, and parts are based on the open source OpenMM and Gromacs packages.
iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
If you have Elementary OS 5.1.2 Hera, DO NOT DO THIS. It completely blew up my system and I'm still trying to recover. (yes, there's a disclaimer at the top. PLEASE add to that disclaimer that people with Elementary OS shouldn't do this!)
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
You can change the dependencies of the fahcontrol package without downloading all these other packages and possibly screwing up your system. Everything that should be needed are the packages 'python-gtk2' and 'python-support'.
I posted my solution here:
I posted my solution here:
Code: Select all
https://askubuntu.com/a/1222631/1060925
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
FAHControl is a python app that is available on github. You can pull the repo and build it yourself. You can also add to the efforts to modernize the application. there is plenty of activity and they could use the help.
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
I ran the .run file provided by nVidia which nuked my X session, too. I didn't try that more than a few times (cue Homer Simpson: "DoooH") Eventually, I found packages distributed by friends of Ubuntu that did the necessary blacklisting of X components, installed a selected version of the proprietary driver, and then re-activated an undamaged X.wonko wrote:This completely nuked my X session and I had to ssh in from the laptop to fix the packages.
Didn't end up with it installed in the end either, sadly.
I hope they come out with the update soon.
-brian
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
Running the nvidia file is not recommended for Ubuntu distros.
Just install the one in the official repository. This has the advantage of pulling in other packages needed to actually do folding at home.
Just install the one in the official repository. This has the advantage of pulling in other packages needed to actually do folding at home.
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
Marks wrote:You can change the dependencies of the fahcontrol package without downloading all these other packages and possibly screwing up your system. Everything that should be needed are the packages 'python-gtk2' and 'python-support'.
I posted my solution here:Code: Select all
https://askubuntu.com/a/1222631/1060925
THIS!
Should be the Original Post.
Worked like a charm for Ubuntu 19.10. Thank you.
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
I did not change the python-gnome2 dependency to python-gtk2 but simply removed it so that the line in the control file became "Depends: python-support | dh-python" relying on the fact that all other python programs that use user interfaces actually run perfectly on my debian 10 computer.
At first I installed the fahcontrol_7.5.1-1_all.deb package by
but I got tired of having to remove it prior to all upgrades and reinstall it afterwords so I did as follows
I placed myself in the directory to which I downloaded the fahcontrol package and then
Edit the control file and change the Dependecy line by simply removing "python-gnome2, " and save the file (I used emacs)
and now it works (until the next version from the developers...)
Edit:
1. Forgot to say that you do all this as root. If you don't unpack and repack as root then you will fail as the files' permissions and ownership will be corrupted.
2. Clarification..
At first I installed the fahcontrol_7.5.1-1_all.deb package by
Code: Select all
dpkg --ignore-depends=python-gnome2 -i fahcontrol_7.5.1-1_all.deb
I placed myself in the directory to which I downloaded the fahcontrol package and then
Code: Select all
# make a temporary directory
mkdir tmp
# extract the control information and the package files.
dpkg-deb -R fahcontrol_7.5.1-1_all.deb tmp
# step into where the control file is
cd tmp/DEBIAN/
Code: Select all
# step out again
cd ../..
# rebuild the pckage
dpkg-deb -b tmp fahcontrol_7.5.1-1_all.deb
# install it
dpkg -i fahcontrol_7.5.1-1_all.deb
Edit:
1. Forgot to say that you do all this as root. If you don't unpack and repack as root then you will fail as the files' permissions and ownership will be corrupted.
2. Clarification..
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
Hi All,
In case it helps, I did a quick and dirty port of fah-control to Python3 and Gtk3 yesterday. As I just signed up to this forum, it doesn't seem to let me post the details in any way due to anti-spam filters unfortunately. Please let me know if anyone is interested.
EDIT: source is here https://github.com/neek78/fah-control-py3
It's a quick and dirty port, but it seems to work so far.
nick
In case it helps, I did a quick and dirty port of fah-control to Python3 and Gtk3 yesterday. As I just signed up to this forum, it doesn't seem to let me post the details in any way due to anti-spam filters unfortunately. Please let me know if anyone is interested.
EDIT: source is here https://github.com/neek78/fah-control-py3
It's a quick and dirty port, but it seems to work so far.
nick
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
You can try this viewtopic.php?f=106&t=34148Hk_ wrote:@brian
I have the same problem as you with my Debian distro. People should avoid this method with current versions.
Could you provide me with the packages you had to repair or remove?
Consulta como ver TV y leer noticias desde tu movil en una sola app con FeedTV.
Apoya la investigación desde esta imagen
Apoya la investigación desde esta imagen
-
- Posts: 1
- Joined: Tue May 05, 2020 5:57 pm
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
Thanks. I needed this after upgrading Pop!_OS 20.04. Icons still not populated in menus but I can launch from CLI.
Re: FAHControl on Ubuntu 19 / Debian 10 and variants
It is actually recommended on 18.10 and older versions to run the .run file instead of the repositories .deb file.ipkh wrote:Running the nvidia file is not recommended for Ubuntu distros.
Just install the one in the official repository. This has the advantage of pulling in other packages needed to actually do folding at home.
The .run file is able to allow multiple GPUs to overclock and adjust fan curve, without crashing the desktop, like the .deb file does.
The correct procedures, is to go into grub, recovery mode, shell.
Then do:
sudo init 3, before installing the .run file.
in rare occasions you'll need to disable your display manager service (sudo service sddm stop), where 'sddm' could be 'lightdm', 'gdm' or 'gdm3', depending on the distro.
The newest Nvidia drivers work fine even on Ubuntu 20.04, so long you install it via the recovery mode.
The .deb file is really only made for 1 GPU.
If you have a secondary GPU, you can't enable overclocking on the second GPU, without crashing the desktop.