Results 1 to 8 of 8

Thread: Ubuntu 20.04

  1. #1
    Join Date
    Sep 2010
    Location
    Leiden, the Netherlands
    Posts
    4,372

    Ubuntu 20.04

    There is a new Ubuntu version, 20.04 -and therefore new Xubuntu and Lubuntu as well.

    The good: It comes with Boinc Client 7.16.6 -and Linux kernel 5.4

    The bad: It -the Open Source AMDGPU driver of Ubuntu 20.04- is not using OpenCL, so you are not able to crunch with it.

    The badder: If you enable OpenCL (by downloading the Oibaf drivers, which works with Linux Mint 19.3), the Boinc Manager comes up with 'GPU detection failed: process exited with status 1: Operation not permitted'...
    Code:
    1-5-2020 04:00:26	Starting BOINC client version 7.16.6 for x86_64-pc-linux-gnu	
    1-5-2020 04:00:26	log flags: file_xfer, sched_ops, task, coproc_debug	
    1-5-2020 04:00:26	Libraries: libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3	
    1-5-2020 04:00:26	Data directory: /var/lib/boinc-client	
    1-5-2020 04:00:26	[coproc] launching child process at /usr/bin/boinc	
    1-5-2020 04:00:26	[coproc] with data directory /var/lib/boinc-client	
    1-5-2020 04:00:27	GPU detection failed: process exited with status 1: Operation not permitted	
    1-5-2020 04:00:27	[coproc] read_coproc_info_file() returned error -108	
    1-5-2020 04:00:27	No usable GPUs found	
    1-5-2020 04:00:27	libc: Ubuntu GLIBC 2.31-0ubuntu9 version 2.31	
    1-5-2020 04:00:27	Host name: Asrock-AM1H-ITX	
    1-5-2020 04:00:27	Processor: 4 AuthenticAMD AMD Athlon(tm) 5350 APU with Radeon(tm) R3 [Family 22 Model 0 Stepping 1]	
    1-5-2020 04:00:27	Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor	
    1-5-2020 04:00:27	OS: Linux Ubuntu: Ubuntu 20.04 LTS [5.4.0-28-generic|libc 2.31 (Ubuntu GLIBC 2.31-0ubuntu9)]	
    1-5-2020 04:00:27	Memory: 15.08 GB physical, 2.00 GB virtual	
    1-5-2020 04:00:27	Disk: 109.04 GB total, 60.95 GB free	
    1-5-2020 04:00:27	Local time is UTC +2 hours	
    1-5-2020 04:00:27	VirtualBox version: 6.1.6_Ubuntur137129
    Note the total lack of OpenCL, even that for the CPU (POCL). Clinfo gives "CommandLine Error: Option 'limited-coverage-experimental' registered more than once!
    LLVM ERROR: inconsistency in registered CommandLine options"
    The culprit seems to be that various parts needed for crunching have been compiled using the same LLVM version, opening the same OpenCL...previously, under Xubuntu 18.04, my two (!) active drivers ran OpenCL 1.1 (GCN) and 1.2 (Radeon) on the single R3/HD8400 IGP.
    So: Hold off till 20.04.1 -as is the advice given at Xubuntu for users of AMD GPUs...
    Last edited by Dirk Broer; 05-01-2020 at 06:35 PM.


  2. #2
    Join Date
    Jul 2003
    Location
    Sydney, Australia
    Posts
    5,642
    Good to know, thanks for the warning.

  3. #3
    Join Date
    Sep 2010
    Location
    Leiden, the Netherlands
    Posts
    4,372
    I did a second test today, installing Lubuntu this time, installing clinfo afterwards as first: 0 platforms (OpenCL platforms)
    Replaced the Radeon driver -which was installed as default active- with the Open Source AMDGPU: 0 platforms
    Downloaded the Oibaf drivers from its PPA: 0 platforms
    Found out that -apart from Intel-OpenCL-ICD, which comes with installing the OpenCL part of BOINC- no OpenCL-ICD file was downloaded so far and activated POCL-OpenCL-ICD and Mesa-OpenCL-ICD: CommandLine Error: Option 'limited-coverage-experimental' registered more than once!
    Removed Intel-OpenCL-ICD and POCL-OpenCL-ICD: CommandLine Error: Option 'limited-coverage-experimental' registered more than once!
    I keep searching, the same thing happened with the introduction of 18.04 and I got that running too.

    Next test: Ubuntu 20.04 with an nVidia card. I have a dark-purple-brown feeling that this might work, otherwise you'll here me swearing and cussing across the oceans...
    Last edited by Dirk Broer; 05-03-2020 at 01:10 AM.


  4. #4
    Join Date
    Mar 2007
    Posts
    638
    Thanks for the updates on this as I"m currently looking at updating the farm to a fresher flavor of Linux. My antique server is running 16.04 on most of the blades and have been updating most of them in prep for WCG pandemic project. These will not have GPU in them and most do not have a GUI but hoping new kernels will support this older hardware. I hope you can get it figured out for your pharm as I look forward to this working well again. I wish the GPU support was as simple as it was on Linux mint and AMD drivers.



  5. #5
    Join Date
    Sep 2010
    Location
    Leiden, the Netherlands
    Posts
    4,372
    Linux Mint is for now 'safe' as it (Mint 19.x) is based upon Ubuntu 18.04, for which the GPU troubles were solved once kernel 5.x arrived (with as result that a much broader range of AMD GPUs became productive, e.g. the IGPs of my socket AM1 Athlon's), though you may have to use the Oibaf PPA for crunching-capable OpenCL drivers. CAL has stopped being supported since Ubuntu 16.04., leaving some pretty good cards useless. Out-of-the-box present Ubuntu will at best use the Open Source AMDGPU driver (and otherwise the Open Source Radeon driver), which is not accompanied by the files needed to crunch being enabled -and those files give the error mentioned when enabled by means of choosing the Oibaf drivers.
    OpenCL, for us crunchers a must-have, seems utterly unimportant for gamers and 'normal' users and testing a new release seems to be done with only the general user in mind -which is not us, crunchers.

    Ubuntu 20.04 system requirements
    • 2 GHz dual core processor.
    • 4 GiB RAM (system memory)
    • 25 GB of hard drive space (or USB stick, memory card or external drive but see LiveCD for an alternative approach)
    • VGA capable of 1024x768 screen resolution.
    • Either a CD/DVD drive or a USB port for the installer media.
    • Internet access is helpful.


    When it comes to have systems running that do not meet the requirements, without GPU and GUI, you should consider FreeBSD.
    I think that you can safely upgrade your server(s), without GPU and GUI, to Ubuntu 18.04 though. Ubuntu 18.04 LTS has normal LTS support for five years, until April 2023 and has paid ESM support available from Canonical for an additional five years, until April 2028. My guess is that by 2023 the problems with 20.04 are sorted out -which are OpenCL GPU problems, so not applicable to your situation anyway.
    Last edited by Dirk Broer; 05-06-2020 at 11:43 AM.


  6. #6
    Join Date
    Sep 2010
    Location
    Leiden, the Netherlands
    Posts
    4,372
    Partial success: Lubuntu 20.04 is now using its GPU. It -the Lubuntu system- didn't have the 'GPU detection failed: process exited with status 1: Operation not permitted' warning that the Xubuntu 20.04 system gave in the BOINC log in the first place.
    Code:
    12-5-2020 12:02:54	Starting BOINC client version 7.16.6 for x86_64-pc-linux-gnu	
    12-5-2020 12:02:54	log flags: file_xfer, sched_ops, task	
    12-5-2020 12:02:54	Libraries: libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3	
    12-5-2020 12:02:54	Data directory: /var/lib/boinc-client	
    12-5-2020 12:02:54	OpenCL: AMD/ATI GPU 0: AMD KABINI (DRM 3.35.0, 5.4.0-29-generic, LLVM 9.0.1) (driver version 20.2.0-devel, device version OpenCL 1.1 Mesa 20.2.0-devel (git-0bea2a1 2020-05-11 focal-oibaf, 3072MB, 3072MB available, 96 GFLOPS peak)	
    12-5-2020 12:02:54	libc: Ubuntu GLIBC 2.31-0ubuntu9 version 2.31	
    12-5-2020 12:02:54	Host name: MSI-AM1I	
    12-5-2020 12:02:54	Processor: 4 AuthenticAMD AMD Athlon(tm) 5350 APU with Radeon(tm) R3 [Family 22 Model 0 Stepping 1]	
    12-5-2020 12:02:54	Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor	
    12-5-2020 12:02:54	OS: Linux Ubuntu: Ubuntu 20.04 LTS [5.4.0-29-generic|libc 2.31 (Ubuntu GLIBC 2.31-0ubuntu9)]	
    12-5-2020 12:02:54	Memory: 15.09 GB physical, 0 bytes virtual	
    12-5-2020 12:02:54	Disk: 213.02 GB total, 176.93 GB free	
    12-5-2020 12:02:54	Local time is UTC +2 hours	
    12-5-2020 12:02:54	VirtualBox version: 6.1.6_Ubuntur137129
    Xubuntu still sucks. Next I will test the full Ubuntu 20.04 on a dedicated test system with a nVidia card.
    Last edited by Dirk Broer; 05-13-2020 at 01:30 AM.


  7. #7
    Join Date
    Mar 2007
    Posts
    638
    Thanks for all the great updates on your trials. I do hope we can get better support for AMD cards in the future as well. I may look at updating a few of my Linux mint installs and getting GPU's to work with it until we get better support.

    I have installed Ubuntu server 20.04 on a few blades that failed to update do to accidental reboots on the wrong blades. The server edition of Ubuntu 20.04 seems to be getting the job done well. I did make the mistake of installing boinc that triggered a GUI install as well. I will make sure to only install boinc-client on the rest that have trouble updating to 18.04. If Electricity rates keep going up like they are I may not need to go any farther then 18.04 on this old hardware. It is a very power hungry setup that is reserved for races and currently covid-19. It is a fun piece of hardware to experiment on and acquire badges at WCG.



  8. #8
    Join Date
    Sep 2010
    Location
    Leiden, the Netherlands
    Posts
    4,372
    I just have the Radeon R3 of one of my AM1 systems running under Lubuntu 20.04 again!

    I have always thought that is was just a software issue, even though some 'gurus' declared that the AMD APUs are not supported under Ubintu 20.04 variants when using the AMDGPU-PRO driver and then pointing to a list of supported cards where you indeed can find no R3 (AMD Kabini IGP on Socket AM1), R5 or R7 (AMD Carrizo IGP on Socket AM4, "Bristol Ridge"), VEGA 3 or VEGA 8 (Athlon 200GE, 3000GE, Ryzen 3 2200G on Socket AM4, "Raven Ridge"/Ryzen 3200G on Socket AM4, "Picasso"). I have always held high hopes for the Vega 11 (Ryzen 5 2400G on Socket AM4, "Raven Ridge"/3400G on Socket AM4, "Picasso"), as they present themselves as RX VEGA 11, but half the internet is full of people complaning they do not have OpenCL on their quite recent Ati/AMD cards and APUs.

    What is at least one of the software based errors that has been made? I encountered when searching for "KABINI not supported in kfd" this article, that makes clear to me that the install script goofs up, producing a line
    KERNEL=="kfd", GROUP=="video", MODE="0660" in /etc/udev/rules.d/70-amdgpu.rules.

    When you replace the two double == by single ones you get in the case of my Lubuntu 20.04 running Athlon 5350 on Socket AM1

    Code:
    MSI-AM1I
    1	Starting BOINC client version 7.16.6 for x86_64-pc-linux-gnu	
    2	log flags: file_xfer, sched_ops, task	
    3	Libraries: libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3	
    4	Data directory: /var/lib/boinc-client	
    5	OpenCL: AMD/ATI GPU 0: AMD Radeon Graphics (driver version 3224.4, device version OpenCL 1.2 AMD-APP (3224.4), 8966MB, 8966MB available, 154 GFLOPS peak)	
    6	OpenCL CPU: pthread-AMD Athlon(tm) 5350 APU with Radeon(tm) R3 (OpenCL driver vendor: The pocl project, driver version 1.4, device version OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-btver2)	
    7	libc: Ubuntu GLIBC 2.31-0ubuntu9.3 version 2.31	
    8	Host name: MSI-AM1I	
    9	Processor: 4 AuthenticAMD AMD Athlon(tm) 5350 APU with Radeon(tm) R3 [Family 22 Model 0 Stepping 1]	
    10	Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor	
    11	OS: Linux Ubuntu: Ubuntu 20.04.3 LTS [5.4.0-88-generic|libc 2.31 (Ubuntu GLIBC 2.31-0ubuntu9.3)]	
    12	Memory: 13.62 GB physical, 3.53 GB virtual	
    13	Disk: 213.02 GB total, 129.66 GB free	
    14	Local time is UTC +2 hours	
    15	VirtualBox version: 6.1.26_Ubuntur145957
    Last edited by Dirk Broer; 09-18-2022 at 12:41 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •