Message boards : Questions and problems : Problem install Nvidia and Ubuntu 16.04.1 + Boinc 7.6.31 (x64 )
Message board moderation
Author | Message |
---|---|
Send message Joined: 30 May 15 Posts: 265 |
Ritchie wrote: I'm seeing same kind of problems with my fresh installation (Ubuntu 16.04.1 + Boinc 7.6.31 (x64 ) ). My purpose was to try and learn if I could make a Nvidia GPU work with Boinc + Linux. I also wanted to try the Boinc Manager for the first time with Ubuntu. |
Send message Joined: 30 May 15 Posts: 265 |
Ritchie wrote: I'm seeing same kind of problems with my fresh installation (Ubuntu 16.04.1 + Boinc 7.6.31 (x64 ) ). My purpose was to try and learn if I could make a Nvidia GPU work with Boinc + Linux. I also wanted to try the Boinc Manager for the first time with Ubuntu. Firstly to be clear the names on Linux the GUI is a boinc manager called boincmgr (there are other options for managing boinc, boinccmd and an app boinctui) and boinc-client is a script for starting and stopping boinc (and reading status and the like) - there is also the more correct systemctl approach to stopping and starting boinc sudo systemctl --no-pager status boinc-client.service sudo systemctl --no-pager stop boinc-client.service sudo systemctl --no-pager start boinc-client.service I don't know if I was at right track at all, but this way I installed BOINC (after installing Nvidia drivers thru somewhere the Ubuntu Update tabs): Some wrong turns here. You have installed a (old) AMD driver fgrlx and I'm not certain of the need to install boinc-client-nvidia-cuda and boinc-client-opencl, kind of depends what gets installed when the graphics are installed. My normal approach is install if not working. I usallyy start with getting card working and with graphics drivers, it's not clear what state the graphics are at now as you have installed from two sources. I'll have to look at how up to date the repos are. The documentation Installing_BOINC_on_Ubuntu shows the correct install process. I'd suggest stopping boinc, remove all the apt-get (documentation describes how) and reinstalling. You might lose some gpu tasks though.
In the other post i have mentioned how to use boinccmd to see the true status. When you "exit manager" i think the default action may be to shutdown boinc unless you clear a tick-box. The systemctl status (see above) after exit will show that. example agentb@gluon:~/boinc$ sudo systemctl --no-pager status boinc-client ● boinc-client.service - Berkeley Open Infrastructure Network Computing Client Loaded: loaded (/lib/systemd/system/boinc-client.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2016-11-06 11:03:18 GMT; 1 day 10h ago Main PID: 942 (sh) CGroup: /system.slice/boinc-client.service ├─ 942 /bin/sh -c /usr/bin/boinc --dir /var/lib/boinc-client >/var/log/boinc.log 2>/var/log/boincerr.log ├─ 946 /usr/bin/boinc --dir /var/lib/boinc-client ├─26855 ../../projects/einstein.phys.uwm.edu/hsgamma_FGRPB1_1.05_x86_64-pc-linux-gnu__FGRPSSE-Beta --inputfile LATeah000... ├─26946 ../../projects/einstein.phys.uwm.edu/hsgamma_FGRPB1_1.05_x86_64-pc-linux-gnu__FGRPSSE-Beta --inputfile LATeah000... ├─27157 ../../projects/einstein.phys.uwm.edu/hsgamma_FGRPB1_1.05_x86_64-pc-linux-gnu__FGRPSSE-Beta --inputfile LATeah000... └─28928 ../../projects/einstein.phys.uwm.edu/einsteinbinary_BRP4G_1.52_x86_64-pc-linux-gnu__BRP4G-Beta-opencl-ati -i p20... Nov 06 11:03:18 gluon systemd[1]: Starting Berkeley Open Infrastructure Network Computing Client... Nov 06 11:03:18 gluon systemd[1]: Started Berkeley Open Infrastructure Network Computing Client. this shows boinc and several science tasks running.
They are fine. i've use the code formatting to make it a bit easier to read, permissions are changed with chmod and linux forums are better than i at explaining.
If you are new to linux, and have never used a command line before it will bite - it's like learning a new language, you will find it frustrating. If you know English, intuitive it is (to English speakers). I can not stress enough for beginners do not start typing commands without understanding what they mean. "man <command>" before "<command>" and spend some time to work through some command line tutorials to learns some basics. hth |
Send message Joined: 2 Jul 14 Posts: 186 |
AgentB wrote: Firstly to be clear the names on Linux the GUI is a boinc manager called boincmgr Thank you very much. I hadn't heard of those "systemctl" things at all. I'll try them. I had some couple of years old notes for myself that included lines ./run_client –daemonand sudo /etc/init.d/boinc-client restart but I think those are for situation if Boinc was running as a daemon. I don't remember. AgentB wrote: Some wrong turns here. You have installed a (old) AMD driver fgrlx and I'm not certain of the need to install boinc-client-nvidia-cuda and boinc-client-opencl, kind of depends what gets installed when the graphics are installed. My normal approach is install if not working. Okay. I didn't know that fglrx was for AMD. That one at least I could skip in the future. AgentB wrote: The documentation Installing_BOINC_on_Ubuntu shows the correct install process. I had read that guide and also the separate CUDA section there... https://help.ubuntu.com/community/Cuda ... but I saw there was such an old Nvidia driver mentioned and page edited last time for almost three years ago... so I wasn't sure if that CUDA guide would hold true anymore. I felt lazy and thought "oh my, do I have to go through all those commands". Googled more... and came up with something shorter: https://www.devmanuals.net/install/ubuntu/ubuntu-16-04-LTS-Xenial-Xerus/how-to-install-boinc-client-nvidia-cuda.html "Nice. Much easier to try out" ... so I went with that. Actually when I entered sudo apt-get install boinc-client-nvidia-cuda it said something like "suggested additional packages" and listed boinc-client-fglrx and also boinc-client-opencl if I remember right. Then I installed them also (without understanding the first one was for AMD). AgentB wrote: I'd suggest stopping boinc, remove all the apt-get (documentation describes how) and reinstalling. You might lose some gpu tasks though. I'll do that next time I log in to Linux (later this week). AgentB wrote:
Thanks again for all that information you gave. I appreciate really. I haven't gave up with linux for sure, but I'm still learning the basics (only knew a few commands what comes to command line). Originally I was considering to install Ubuntu 16.10, but I wasn't sure at all if that would'd introduced even additional challenges on getting Boinc to see the GPU. I'll practise usage with this LTS version first. |
Send message Joined: 30 May 15 Posts: 265 |
Thank you very much. I hadn't heard of those "systemctl" things at all. I'll try them. Ei ongelmaa. When ubuntu moved to "systemd" (16.04) systemctl is the command to control the systemd service manager (aka daemons), and boinc as installed by the debian based repos (includes ubuntu) runs under its control. I had some couple of years old notes for myself that included lines This how the non-repo (install ancient version from boinc website) is started and is not recommended. sudo /etc/init.d/boinc-client restart The systemctl equivalent is sudo systemctl --no-pager restart boinc-client.service They are interchangeable although the systemctl is the future. AgentB wrote:Removing unwanted packages means you don't get useless or damaging updates.Some wrong turns here. You have installed a (old) AMD driver fgrlx and I'm not certain of the need to install boinc-client-nvidia-cuda and boinc-client-opencl, kind of depends what gets installed when the graphics are installed. My normal approach is install if not working. https://www.devmanuals.net/install/ubuntu/ubuntu-16-04-LTS-Xenial-Xerus/how-to-install-boinc-client-nvidia-cuda.html Good link up to date.
I don't quite believe fglrx but i will test later. Thanks again for all that information you gave. I appreciate really. I haven't gave up with linux for sure, but I'm still learning the basics (only knew a few commands what comes to command line). Good choice, stick with the LTS releases until you are confident. The .10 releases are less stable, more buggy, and have a very short support life. Kind of crash-test-dummy releases. |
Send message Joined: 11 Oct 10 Posts: 13 |
I am running BOINC 7.2.42 using UBUNTU 16.04 with a NVIDIA card. Here is what I do starting with a "clean" UBUNTU installation. 1) G0 to the BOINC website and download the BOINC software (boinc_7.2.42_x86_64-pc-linux-gnu.sh) 2) Copy or move it to your home directory 3) Mark it for execution (Permissions) 4) Install BOINC (run the .sh file) 5) Copy run_manager to your Desktop (for convenience) 6) Open the Terminal, navigate to the Desktop, and run (start) BOINC (run_manager) 7) Check for errors (missing libraries) and correct any missing 8) Using apt-get or Synaptic install nvidia-361 9) When you start BOINC, check the Event Log to make sure there are two lines that indicate CUDA and Opencl were recognized. You should be good to go. Maybe this is the answer to a different question than is being addressed in this thread. |
Send message Joined: 4 Jul 12 Posts: 321 |
Bob: Your way might work but it has the serious flaw that BOINC is only running when you are logged in and also have started the BOINC Manager until then your computer is idle. You would also need to update this by hand where in contrast a package install would be automatically started at boot time and automatically be up to date (when using the correct repository). The Problem with GPUs is that you need to install extra packages (which are taken care of by boinc-client-nvidia-cuda). Also installing nvidia-361 might not be the best choice for everyone as nvidia dropped support of older cars in newer Linux drivers. |
Send message Joined: 11 Oct 10 Posts: 13 |
ChristianB - If my computer is turned on, I am always logged-in so that was never an issue for me. I have the run_manager in my UBUNTU Startup Application list. The BOINC Manager starts when I turn on my computer and automatically login. The boinc-client-nvidia-cuda that I never used is probably why I have that step about the missing libraries. That would make the installation process easier than trying to figure out what packages are missing. I will try that next time. I should have written "nvidia-361 or whatever driver version you want to use". Thanks for the comments. |
Send message Joined: 30 May 15 Posts: 265 |
I am running BOINC 7.2.42 using UBUNTU 16.04 with a NVIDIA card. Doing it this way - Use an old (more bugs) version. - Especially inherit a number of GPU detection bugs resolved around 7.6.32 - Never receive updates in the normal manner, keeping you system up to date. - Share your personal files with boinc and all the science applications. The correct install separates boinc and all the science applications to run as a user=boinc. There is a risk a bad application could delete files, and if user=boinc it should not be able to access user=you. - Unable to autostart on power up. A lot of work goes into getting repository installs correct and in the Debian family of Linux always look to the repos for software. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.