BOINC with Ubuntu 20.04

Message boards : Number crunching : BOINC with Ubuntu 20.04
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5 · 6 . . . 7 · Next

AuthorMessage
Ian&Steve C.
Avatar

Send message
Joined: 28 Sep 99
Posts: 4267
Credit: 1,282,604,591
RAC: 6,640
United States
Message 2047230 - Posted: 27 Apr 2020, 7:34:37 UTC
Last modified: 27 Apr 2020, 7:47:03 UTC

Here we are. an even more flexible version of boincmgr for people to enjoy. now covering even more of "everyone". It was a little more involved than making my 18-20 version, but not too bad. nothing some google searches and a cup of coffee couldn't solve.

Super flexible, should work with all Ubuntu 14.04-20.04. (I only tested 14/16/18/20 LTS)
no special dependencies for Ubuntu 16-20, but you might need to install gtk+3 for Ubuntu 14.04, its available in the repos though. (libgtk-3-0)
built with gtk+3 so No Lag in any OS, even 20.04, and better future proofed
less than 10MB in size

same link as before, but here it is again: https://drive.google.com/open?id=1Z0-EaHHtloPSY6zUC9GZlIxrOi2Eobm8
Seti@Home classic workunits: 29,492 CPU time: 134,419 hours

ID: 2047230 · Report as offensive     Reply Quote
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14660
Credit: 200,643,578
RAC: 874
United Kingdom
Message 2047240 - Posted: 27 Apr 2020, 8:39:10 UTC - in response to Message 2047230.  

And it works as a drop-in replacement for the repo manager under Mint, once I'd remembered to sort out my chmods and my passwords. Thanks.
ID: 2047240 · Report as offensive     Reply Quote
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 2047248 - Posted: 27 Apr 2020, 13:33:14 UTC

@ Ian if you store in the .7z format not in the exe form it will retain the permissions. This makes it smaller to DL and easy to use.

I could confirm worked as a drop-in replacement in 18.04. The gtk2 module is not needed anymore.
ID: 2047248 · Report as offensive     Reply Quote
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20621
Credit: 7,508,002
RAC: 20
United Kingdom
Message 2047257 - Posted: 27 Apr 2020, 14:09:52 UTC - in response to Message 2047230.  
Last modified: 27 Apr 2020, 14:10:22 UTC

Here we are. an even more flexible version of boincmgr for people to enjoy. now covering even more of "everyone". It was a little more involved than making my 18-20 version, but not too bad. nothing some google searches and a cup of coffee couldn't solve.

Super flexible, should work with all Ubuntu 14.04-20.04. (I only tested 14/16/18/20 LTS)...

Excellent! And excellent open source geekie competitiveness!!

Very good to share the useful result and the method.


Wondering upon the 'how':

Is that developed on the latest Ubuntu and then conditionals added to detect and select for the older versions?

Or have you done the trick of bundling all the dependencies and dependant versions with a static compile?


Good stuff! (Both yourself and TBar.)

Keep searchin'
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 2047257 · Report as offensive     Reply Quote
Ian&Steve C.
Avatar

Send message
Joined: 28 Sep 99
Posts: 4267
Credit: 1,282,604,591
RAC: 6,640
United States
Message 2047258 - Posted: 27 Apr 2020, 14:18:34 UTC - in response to Message 2047257.  
Last modified: 27 Apr 2020, 15:03:50 UTC

I compiled it in an Ubuntu 14.04 environment. you pretty much have to do that due to the dependency on glibc that gets baked in when compiling.

The biggest challenge was getting the PNG library statically linked properly. Ubuntu 14 and 16 use a different library not available in 18 and 20. And it’s about 7 or 8 software dependencies deep. So I had to compile about 8 or 9 different packages, in a specific order, with some custom tweaking on the configuration on a few of them.

really not that difficult, just a little tedious. if this is your day job it's probably much easier for you. this is not my field though, I'm just a clever Aerospace guy who's good at finding answers on google lol.
Seti@Home classic workunits: 29,492 CPU time: 134,419 hours

ID: 2047258 · Report as offensive     Reply Quote
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14660
Credit: 200,643,578
RAC: 874
United Kingdom
Message 2047265 - Posted: 27 Apr 2020, 15:04:55 UTC - in response to Message 2047258.  

And the finished product launches smoothly from a desktop icon, the one created by the repo tools. I had previously tried the Berkeley sea download, which provides an 'executable text file' to launch it (WTF?). That nags you whether you want to display it or run it. This solution is much the cleanest.
ID: 2047265 · Report as offensive     Reply Quote
Ian&Steve C.
Avatar

Send message
Joined: 28 Sep 99
Posts: 4267
Credit: 1,282,604,591
RAC: 6,640
United States
Message 2047282 - Posted: 27 Apr 2020, 17:14:07 UTC - in response to Message 2047248.  

I could confirm worked as a drop-in replacement in 18.04. The gtk2 module is not needed anymore.


just so people don't get confused. the appmenu-gtk2-module is only intended to speed up the launch time of apps that use gtk2, and is really only needed on ubuntu 20.04. it's not needed on ubuntu 18 or below. (no comment for short term releases). but if you built your app with wxwidgets not statically linked, or with a gtk2 dependency, and your newer OS doesnt have gtk2 by default, then you may need to install that library. I built my version of boincmgr specifically to avoid all that confusion, make it more future proofed, and a better user experience in any OS. it will work out of the box for all newer OS, and only maybe need libgtk-3-0 added on an old, un-updated OS install. for simplicity's sake, I only statically linked what I absolutely had to, I still relied on the shared libraries available in all OS's. Seemed simpler that way.
Seti@Home classic workunits: 29,492 CPU time: 134,419 hours

ID: 2047282 · Report as offensive     Reply Quote
juan BFP Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 16 Mar 07
Posts: 9786
Credit: 572,710,851
RAC: 3,799
Panama
Message 2047343 - Posted: 27 Apr 2020, 23:51:48 UTC

https://arkayn.us/forum/index.php?action=downloads;sa=view;down=147

Arkayn UL the latest build to the Crunchers Anonymous site. So anyone could DL and use.
ID: 2047343 · Report as offensive     Reply Quote
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 2047360 - Posted: 28 Apr 2020, 4:30:07 UTC
Last modified: 28 Apr 2020, 5:01:40 UTC

BTW, here's the post about appmenu-gtk2-module, https://askubuntu.com/questions/1184774/some-applications-on-ubuntu-19-10-very-slow-to-start/
So, if you are thinking about running 20.04, it might be a good idea to install this if Ubuntu still hasn't fixed it by then. Seems it's been around since 19.10 already, and affects quite a few Apps.
OK, so in 20.04 the AIO BOINC has possibly One dependency, it really doesn't effect how it runs at all, just makes it start a little faster.
sudo apt-get install appmenu-gtk2-module

Quite a thread to just identity an optional dependency in a proven App....

Also, I decided to install a fresh copy of 20.04 without using an existing Home folder, what a fiasco that turned out to be. I ended up here, https://askubuntu.com/questions/1229821/login-loop-after-installing-20-04
After installing it numerous times, I came to the best solution. DO NOT select Automatic-login when installing, login with your password after installing. Then Immediately install Nautilus-admin so you can right-click for Root privileges, then go to /etc/default/grub and open grub as Admin. Remove the quiet splash entry leaving just the two quotes "". Then run sudo update-grub
That should fix it, and you can then enable Automatic Login in Users.
Good luck with a kinda buggy 20.04, I'd suggest waiting a while as usual... maybe a year or so, as usual.
Here, https://bugs.launchpad.net/ubuntu/focal/+bugs
ID: 2047360 · Report as offensive     Reply Quote
Ian&Steve C.
Avatar

Send message
Joined: 28 Sep 99
Posts: 4267
Credit: 1,282,604,591
RAC: 6,640
United States
Message 2047364 - Posted: 28 Apr 2020, 4:59:29 UTC - in response to Message 2047360.  
Last modified: 28 Apr 2020, 5:01:05 UTC

OK, so in 20.04 the AIO BOINC has possibly One dependency, it really doesn't effect how it runs at all, just makes it start a little faster.
sudo apt-get install appmenu-gtk2-module

Quite a thread to just identity an optional dependency in a proven App....


it didn't need to take this long for you to finally admit it. improvements should always be welcomed and not always taken as personal criticism.

but fixing this optional dependency while also expanding the OS flexibility of the manager has been a great learning experience for me, thanks!
Seti@Home classic workunits: 29,492 CPU time: 134,419 hours

ID: 2047364 · Report as offensive     Reply Quote
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 2047365 - Posted: 28 Apr 2020, 5:04:38 UTC - in response to Message 2047364.  

So, tell me, Why didn't you link to that post? Why did you act like you came up with that on your Own? Most people would link to the source....
Don't bother answering, I already Know the answer.
ID: 2047365 · Report as offensive     Reply Quote
Ian&Steve C.
Avatar

Send message
Joined: 28 Sep 99
Posts: 4267
Credit: 1,282,604,591
RAC: 6,640
United States
Message 2047366 - Posted: 28 Apr 2020, 5:24:45 UTC - in response to Message 2047365.  
Last modified: 28 Apr 2020, 6:20:46 UTC

I found it on my own via google, and after verifying that it works and looking what it does I provided the necessary info. As I do with many things. I don’t need to link somewhere else when I can just embed the info right here. Keeps things simple. It’s a simple fix, most people don’t need the whole background of the nuts and bolts, they just want the solution.

I theorized from early on (offline, outside of this thread while working with Juan recompiling it) that gtk2 vs gtk3 was the reason. And when I found the workaround with the installation of that module, that solidified it, which prompted me to post it. It’s a legitimate problem that you were dismissive about from the very beginning. It’s silly to be upset about someone fixing something that you seem to be unwilling or unable to do yourself.
Seti@Home classic workunits: 29,492 CPU time: 134,419 hours

ID: 2047366 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2047370 - Posted: 28 Apr 2020, 6:49:58 UTC - in response to Message 2047366.  

In my case, the cure was worse than the disease.

i'll just learn to live with slow opening apps.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2047370 · Report as offensive     Reply Quote
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 2047371 - Posted: 28 Apr 2020, 7:01:57 UTC - in response to Message 2047370.  
Last modified: 28 Apr 2020, 7:04:50 UTC

The number of Apps affected by this is getting rather large, VLC, FileZilla, etc. I use both those Apps. Every time I see another post about it the list just gets longer. Not that many people used 19.10, many more will use 20.04 LTS. I don't see how Ubuntu can not fix this. This is approaching showstopper status. 18.04 is looking really good about now. I wouldn't worry about it if it were just BOINC, but the list is getting daunting. Not to mention the basic install is borked for nVidia users choosing Auto Login.
ID: 2047371 · Report as offensive     Reply Quote
Ian&Steve C.
Avatar

Send message
Joined: 28 Sep 99
Posts: 4267
Credit: 1,282,604,591
RAC: 6,640
United States
Message 2047402 - Posted: 28 Apr 2020, 13:59:42 UTC - in response to Message 2047371.  

I don't think most people should switch yet either, especially if they use it as a daily driver system, and not just a cruncher. but "don't switch" isn't a solution to the problem. so for the people that DO inevitably switch and come looking for a real solution, I provided them 2 solutions. use my manager, or use that module.

or you can update your manager, if you're still capable.
Seti@Home classic workunits: 29,492 CPU time: 134,419 hours

ID: 2047402 · Report as offensive     Reply Quote
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20621
Credit: 7,508,002
RAC: 20
United Kingdom
Message 2047416 - Posted: 28 Apr 2020, 14:54:09 UTC
Last modified: 28 Apr 2020, 14:57:43 UTC

Thanks all. Excellent hacking!

Interesting to follow and a good example of Free-Libre Open Source Software development at its best.


Myself, I only use Ubuntu very occasionally as a disposable test distro from a liveDVD...

I have a strong aversion to the unnecessary complexity and dependencies of using "systemd"... And that system is still controversial. Ubuntu (as do many other distros) have adopted systemd, for good reasons, but hey we have a choice! Hence I use other distros without the systemd.

My prejudice, without checking further, would guess that a looping boot up due to some error condition sounds very typical of the systemd way of things... :-(

Another aside: Does not the Ubuntu installer insist that there must be all the filesystem in place, including "/home" for your users, before continuing with installation? Any problems for that should get fixed very quickly!


All good stuff!

And always good to learn new things!!


Keep searchin',
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 2047416 · Report as offensive     Reply Quote
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20621
Credit: 7,508,002
RAC: 20
United Kingdom
Message 2047417 - Posted: 28 Apr 2020, 15:07:54 UTC - in response to Message 2047360.  
Last modified: 28 Apr 2020, 15:09:41 UTC

... Also, I decided to install a fresh copy of 20.04 without using an existing Home folder, what a fiasco that turned out to be. I ended up here, https://askubuntu.com/questions/1229821/login-loop-after-installing-20-04
After installing it numerous times, I came to the best solution. DO NOT select Automatic-login when installing, login with your password after installing. Then Immediately install Nautilus-admin so you can right-click for Root privileges, then go to /etc/default/grub and open grub as Admin. Remove the quiet splash entry leaving just the two quotes "". Then run sudo update-grub
That should fix it, and you can then enable Automatic Login in Users.
Good luck with a kinda buggy 20.04, I'd suggest waiting a while as usual... maybe a year or so, as usual.
Here, https://bugs.launchpad.net/ubuntu/focal/+bugs

OK, checking the link and there's two problems there:

The first is the use of a splash screen failing with the nVidia proprietary driver.

The second is not having a graceful error for that.

That sort of error condition is usually fixed quite quickly...


Agreed that computers can be very frustrating and very time wasting when they don't work first time!

Good luck,
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 2047417 · Report as offensive     Reply Quote
Sirius B Project Donor
Volunteer tester
Avatar

Send message
Joined: 26 Dec 00
Posts: 24891
Credit: 3,081,182
RAC: 7
Ireland
Message 2047425 - Posted: 28 Apr 2020, 16:56:53 UTC - in response to Message 2047417.  

Agreed that computers can be very frustrating and very time wasting when they don't work first time!
Nice to see you acknowledging that fact.
Well done Ian. That's what computing should be about. No arguing, just find/produce a complete solution or a workaround until a complete solution becomes available.
ID: 2047425 · Report as offensive     Reply Quote
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 2047430 - Posted: 28 Apr 2020, 17:35:16 UTC - in response to Message 2047417.  
Last modified: 28 Apr 2020, 18:14:36 UTC

The first is the use of a splash screen failing with the nVidia proprietary driver.
The problem with nVidia drivers has been around for quite some time, the Login Loop is legend. The problem seems to be the User is Logged in before the drivers are Authorized. That's why the simple fix is to Not use Auto Login. The other problem with Slow App launching is actually caused by a dbus timeout. You can find that in the first link that contain this link, https://bbs.archlinux.org/viewtopic.php?id=230036 So your WAG about a timeout seems to be close. I have found numerous log entries about dbus in the effected system. If Ian would have posted the original link about 19.10 We could have found the part about dbus sooner. It fits the facts, the facts are you Don't have any delay when launching as Root, that shouldn't happen if the problem was really missing GTK packages. You Don't need to install Anything about GTK to avoid the delay, just launch as Root, apparently that avoids the dbus timeout.
So, they need to fix dbus....
ID: 2047430 · Report as offensive     Reply Quote
Ian&Steve C.
Avatar

Send message
Joined: 28 Sep 99
Posts: 4267
Credit: 1,282,604,591
RAC: 6,640
United States
Message 2047433 - Posted: 28 Apr 2020, 18:27:51 UTC - in response to Message 2047430.  
Last modified: 28 Apr 2020, 18:29:11 UTC

I posted the link to the appmenu-gtk2-module package details. here it is again in case you skipped over it before: https://launchpad.net/ubuntu/bionic/+package/appmenu-gtk2-module

it wasn't so much as a WAG, as it was an educated guess based on knowing this compile difference and looking at the difference in behavior between the two. all you had to do was look at the look at the big bold text at the top of the page "GtkMenuShell D-Bus exporter (GTK+2.0)", which tells you this solves a problem with dbus export specifically relating to GTK+2.0... "GTK+ module for exporting old-style menus as GMenuModels."

which is why being built with GTK+3.0 gets around this issue entirely.
Seti@Home classic workunits: 29,492 CPU time: 134,419 hours

ID: 2047433 · Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · 4 · 5 · 6 . . . 7 · Next

Message boards : Number crunching : BOINC with Ubuntu 20.04


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.