Message boards :
Number crunching :
BOINC with Ubuntu 20.04
Message board moderation
Previous · 1 · 2 · 3 · 4 · 5 · 6 . . . 7 · Next
Author | Message |
---|---|
Ian&Steve C. Send message Joined: 28 Sep 99 Posts: 4267 Credit: 1,282,604,591 RAC: 6,640 |
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 |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14676 Credit: 200,643,578 RAC: 874 |
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. |
juan BFP Send message Joined: 16 Mar 07 Posts: 9786 Credit: 572,710,851 RAC: 3,799 |
@ 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. |
ML1 Send message Joined: 25 Nov 01 Posts: 21099 Credit: 7,508,002 RAC: 20 |
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. 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) |
Ian&Steve C. Send message Joined: 28 Sep 99 Posts: 4267 Credit: 1,282,604,591 RAC: 6,640 |
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 |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14676 Credit: 200,643,578 RAC: 874 |
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. |
Ian&Steve C. Send message Joined: 28 Sep 99 Posts: 4267 Credit: 1,282,604,591 RAC: 6,640 |
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 |
juan BFP Send message Joined: 16 Mar 07 Posts: 9786 Credit: 572,710,851 RAC: 3,799 |
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. |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
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 |
Ian&Steve C. Send message Joined: 28 Sep 99 Posts: 4267 Credit: 1,282,604,591 RAC: 6,640 |
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. 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 |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
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. |
Ian&Steve C. Send message Joined: 28 Sep 99 Posts: 4267 Credit: 1,282,604,591 RAC: 6,640 |
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 |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
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) |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
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. |
Ian&Steve C. Send message Joined: 28 Sep 99 Posts: 4267 Credit: 1,282,604,591 RAC: 6,640 |
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 |
ML1 Send message Joined: 25 Nov 01 Posts: 21099 Credit: 7,508,002 RAC: 20 |
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) |
ML1 Send message Joined: 25 Nov 01 Posts: 21099 Credit: 7,508,002 RAC: 20 |
... 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 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) |
Sirius B Send message Joined: 26 Dec 00 Posts: 24909 Credit: 3,081,182 RAC: 7 |
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. |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
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.... |
Ian&Steve C. Send message Joined: 28 Sep 99 Posts: 4267 Credit: 1,282,604,591 RAC: 6,640 |
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 |
©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.