Message boards :
Number crunching :
version? gpu id? effect?
Message board moderation
Author | Message |
---|---|
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
Hi all- Per another thread, i have moved from a Win10 system to running Linux Mint. I have seti@home installed, and it's clearly been running, even though i miss the screensaver. I notice a few differences in things between the Win and Linux versions, so i thought i'd ask about them. Boinc on the newer system is an earlier version (7.9) than what Win10 was using (7.14). Is that simply the result of what has been made available for linux vs win? Maybe the win version has required more updates for various reasons? Is there an actual difference in processing? Second, i notice that my gpu is no longer listed. Under Win10 i see in my stats the RX470 listed. I am still using that same card, but it's not listed anymore in my stats. Is that because of the Boinc version, or do i need to do something to update my Linux system with correct graphics drivers, or something else? My average has gone up significantly. I'm not sure if that means i'm actually processing more, or maybe it's more efficient not having to run the graphical screensaver, or what. This assumes i understand what the average means, in this context, but it makes it look like i'm ~30x more efficient now, because my run preferences are the same as before. Any thoughts? Thanks! -Fizz |
IntenseGuy Send message Joined: 25 Sep 00 Posts: 190 Credit: 23,498,825 RAC: 9 |
Looks like you need to install the drivers for your GPU. I don't know how you do this (I use nVidia). |
cRunchy Send message Joined: 3 Apr 99 Posts: 3555 Credit: 1,920,030 RAC: 3 |
As far as I am aware average in this case will mean units over time. It may take time for the average to settle down into a realistic figure? I am not a linux officionado so just general thoughts. (I run Linuxmint in a virtual box but not for BOINC.) Forgive me if you have already gone through this process: Do you see your card in console \ terminal using: lshw -c video OR inxi -G Have you looked at: AMD site linux driver install notes. Is this post still an issue with the RX470 Linuxmint install process. . |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
Looks like you need to install the drivers for your GPU. I don't know how you do this (I use nVidia). I copied this from an Einstein post from a AMD user that is very knowledgeable. I did this from (L)Ubuntu 18.04 There are no BOINC Linux developers. So the last official BOINC version created by the BOINC developers is ancient and broken. Anyone using Linux has to depend on either their distro maintainers packaging up BOINC for their users or the user has to download and compile the BOINC source for their Linux OS on their own. The distro maintainers don't grab the latest and greatest BOINC version normally but stick with a tried and proven release. There are numerous improvements in later BOINC versions. So typically Linux BOINC versions are well behind the automatically generated latest Windows releases. It really depends on the distro what BOINC version it offers. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
The Seti science apps use OpenCL which means anyone using a graphics card needs some flavor the OpenCL drivers. Intel drivers for iGPUS, AMD drivers for AMD cards and Nvidia drivers for Nvidia cards. Only if the client detects the correct OpenCL drivers for the installed gpus will it report finding a gpu during startup. You need to install the AMD OpenCL drivers for your RX470. Just a FYI, don't attempt to use a RX 5700 or 5700XT for distributed processing. The OpenCL drivers are broken and the cards only produce invalid results. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
Wow- lots of replies in such a short period of time. My understanding has been that the AMDGPU drivers are open source, and now integrated into the linux kernel.
Yep, inxi -G tells me the following: Graphics: Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X] driver: amdgpu v: kernel Display: x11 server: X.Org 1.19.6 driver: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa resolution: 2560x1080~60Hz OpenGL: renderer: AMD Radeon RX 470 Graphics (POLARIS10 DRM 3.23.0 4.15.0-55-generic LLVM 8.0.0) v: 4.5 Mesa 19.0.8 So i do have a driver installed. Looks like i'm slightly behind (19.0 rather than 19.3), but i doubt it makes a huge difference. I have done some tests using Unigine's Heaven and Superposition benchmarks. The values i get from those are about 80% what i got from my Win10 machine. But, under Win10 those tests were using DirectX, whereas i'm using OpenGL on my new linux machine. My understanding is that OpenGL is not as fast as DX, and that 80% is about right.
From the overview there, it looks like i have the All-Open Stack.
Ah, so did my Windows version have OpenCL without me realizing it? I had not heard of OpenCL until i moved to linux. And to get that, it looks like i need the Pro Stack, have i got that right? Or is there an Open Stack that includes OpenCL? And same for Vulkan? I did download a Mesa Vulkan package through Mint's software manager, and it is installed, but i have no idea if it's doing anything (i presume not). Actually, i just found a package on Mint's software manager called Mesa-opencl-icd, a free implementation of the OpenCL api icd runtime. So maybe if i install that Boinc can make use of it. I also notice a Boinc-client-opencl metapackage. Hmmm.
I had been considering one of these cards (once i get into gaming again), but i wouldn't be using it for distributed processing. So does that mean i'd be safe and it would work for seti@home? You know, i like linux so far, but drivers seem much more complicated... heh. -Fizz |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
The open source AMD drivers are just the basic video drivers sufficient for driving a display or playing a game. They do not support distributed computing. Only the ROCM drivers are designed specifically for compute. You need to install the legacy OpenCL drivers I posted in the Einstein instructions. No the Mesa OpenCL drivers are insufficient for Seti and most BOINC projects. You need to get the official OpenCL drivers directly downloaded from AMD to be usable at Seti. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
The open source AMD drivers are just the basic video drivers sufficient for driving a display or playing a game. They do not support distributed computing. Only the ROCM drivers are designed specifically for compute. You need to install the legacy OpenCL drivers I posted in the Einstein instructions. OK, thanks. I will give that a try tomorrow. I'll let you know how it goes. Is it safe to say that OpenCL and Vulkan are newer sets of computing / graphics apis (like DirectX or OpenGL) that just aren't well supported yet? I ask because i see them oft-mentioned, but i've yet to see them in any significant programs (other than seti@home now). For example, my 3d benchmarking programs uses OpenGL (or DirectX in windows), but there is no Vulkan option. Or am i not understanding the role of these newer packages? -Fizz |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
OpenCL has nothing do with graphics. They are solely used for compute. OpenComputingLanguage. Vulkan is just for graphics. ROCm is for compute. https://www.khronos.org/opencl/ https://rocm.github.io/ Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
tullio Send message Joined: 9 Apr 04 Posts: 8797 Credit: 2,930,782 RAC: 1 |
On standard SuSE Leap 15.0 the BOINC client is 7.8.3, on Tumbleweed development version is 7.14.2, both supplied by OpenSuSE. Tullio |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
Hi all-You can use the Berkeley BOINC version in the BOINC-All-In-One folder I created for Linux nVidia users. The only difference would be you would have to create your own app_info.xml for the AMD/ATI App, and provide your own copies of the AMD/ATI and CPU App. This machine was using the BOINC-All-In-One Package, https://setiathome.berkeley.edu/show_host_detail.php?hostid=8316299, note the BOINC version = 7.14.2. The machine really only had One RX570, running two tasks at a time. In Linux, with around RX470/570 and higher, it produces more work running two tasks at a time. Also, in Linux the AMD/ATI AstroPulse App works correctly with the newer drivers, unlike Windows. You do have to install the Pro Driver downloaded from AMD and specify Which version of OpenCL to install. AMD for some reason has a Different OpenCL driver for Vega 10 and above GPUs, make sure you install the version for RX470 GPUs, i.e. --opencl=legacy, https://amdgpu-install.readthedocs.io/en/latest/install-script.html#scenarios OpenCL is installed using the --opencl option, as follows: Option Description --opencl=pal Installs PAL OpenCL. --opencl=legacy Installs legacy OpenCL. --opencl=pal,legacy Installs both PAL and legacy OpenCL. Applicable examples on this page demonstrate installation of both OpenCL implementations. |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
OK, i have done the install, and it seems to have gone correctly- no obvious errors mentioned. I presume i will need to reboot the OS for the change to take place, correct? Or should i be seeing something different before that? If for whatever reason i need to uninstall these and go back to the previous drivers, how would i do that? -Fizz |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
Hi again all- I thought i installed the drivers, but after a reboot, and waiting a few days, i'm not convinced anything has changed. When i run the install, i get the following output: deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./ Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B] Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B] Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg Ign:4 http://packages.linuxmint.com tessa InRelease Hit:5 http://packages.linuxmint.com tessa Release Hit:7 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:8 http://archive.canonical.com/ubuntu bionic InRelease Hit:9 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:11 https://download.opensuse.org/repositories/home:/munix9:/unstable/Ubuntu_18.04 ./ InRelease Hit:12 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Reading package lists... Done apt Usage: apt command [options] apt help command [options] Commands: ... ... ... ... with a whole pile of command descriptions. So i am not sure it installed at all, or just extracted the packages. How can i tell what version of the driver is in use, and how can i tell if OpenCL was installed? And if it didn't install, why not? What is missing? -Fizz |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
Likely you just downloaded the packages. You need to do the install after you have retrieved the packages. The easiest way to determine what OpenCL drivers are installed is to install the clinfo utility which prints out all vendors detected OpenCL drivers. sudo apt install clinfo Then just enter clinfo on the command line to see what drivers are installed. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
Well, the documentation is wrong then, because it says (as do the other messages here) to run amdgpu-pro-install. And the flags say which versions to install. It even says, after running amdgpu-pro-install to reboot the computer. There are no other instructions than that. So if it didn't do the install, how is the rest installed? I've got a pile of .deb files here and not sure which ones i need or not. I'm going to do one more reboot and see if that does anything. -Fizz |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
I would look at my machine with the AMD RX570, However, it appears that suspect power supply has now died completely. Working from memory, I downloaded the driver from the link, and expanded it to the Home folder. I then opened a terminal and changed the directory to the new folder. From there, I believe I ran something like sudo ./amdgpu-pro-install --opencl=legacy and it installed the driver. After a reboot the RX570 appeared in BOINC ready to work. Dang, now I need yet another power supply... https://amdgpu-install.readthedocs.io/en/latest/install-script.html#invoking-the-amdgpu-install-script |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
A .deb file is just a package. You need to install it by running it in terminal. Double-clicking it or running the gdebi package manager. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
I would look at my machine with the AMD RX570, However, it appears that suspect power supply has now died completely. Working from memory, I downloaded the driver from the link, and expanded it to the Home folder. I then opened a terminal and changed the directory to the new folder. From there, I believe I ran something like sudo ./amdgpu-pro-install --opencl=legacy and it installed the driver. After a reboot the RX570 appeared in BOINC ready to work. Well, that command is exactly what i ran (except i added the openCL pal too, since i intend to upgrade later). But i can't determine what i have. The best i have is using inxo -G, which says "4.5 Mesa 19.0.8", but i should be installing 19.3 (or so i thought). Do i need to run this from a particular directory. I had downloaded and exported all the files into their own directory, as i assumed the install script would move things to where they need to be. -Fizz |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
All i get from running clinfo is: Number of platforms 0 -Fizz |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
That is expected since you haven't installed any recognizable OpenCL drivers yet. The Mesa drivers aren't compatible with compute on almost every BOINC project. You need to get the legacy OpenCL drivers for your card. [Edit] Or you haven't rebooted the computer yet. Graphics drivers are compiled into the Linux kernel and are not usable until you restart the computer to load the newly compiled kernel. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
©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.